Debian Linux: Add backtrack 5 gpg key and its repositories.

Get the backtrack gpg key and add to debian.

The use of piping of adding the key.

If you are not familiar with piping this is what this long string of command means:

1. wget http://all.repository.backtrack-linux.org/backtrack.gpg

2. sudo apt-key add backtrack.gpg

wget http://all.repository.backtrack-linux.org/backtrack.gpg -O –

This means download backtrack.gpg and output to stdout (standard output stream)

sudo apt-key add –

This means add apt-key from the stdin (standard input stream)

wget http://all.repository.backtrack-linux.org/backtrack.gpg -O – | sudo apt-key add –

Add the repositories

Edit the file /etc/apt/sources.list with your favourite text editor.

#backtrack
deb http://all.repository.backtrack-linux.org revolution main microverse non-free testing
deb http://all.repository.backtrack-linux.org revolution main microverse non-free testing
deb http://all.repository.backtrack-linux.org revolution main microverse non-free testing

Update the apt database

sudo apt-get update

Without the gpg key apt-get will reject the database download. From here on you can download the pentest tools directly from backtrack-linux repositories.

Duplicates

Reading package lists… Done
W: Duplicate sources.list entry http://all.repository.backtrack-linux.org/ revolution/main i386 Packages (/var/lib/apt/lists/all.repository.backtrack-linux.org_dists_revolution_main_binary-i386_Packages)
W: Duplicate sources.list entry http://all.repository.backtrack-linux.org/ revolution/microverse i386 Packages (/var/lib/apt/lists/all.repository.backtrack-linux.org_dists_revolution_microverse_binary-i386_Packages)
W: Duplicate sources.list entry http://all.repository.backtrack-linux.org/ revolution/non-free i386 Packages (/var/lib/apt/lists/all.repository.backtrack-linux.org_dists_revolution_non-free_binary-i386_Packages)
W: Duplicate sources.list entry http://all.repository.backtrack-linux.org/ revolution/testing i386 Packages (/var/lib/apt/lists/all.repository.backtrack-linux.org_dists_revolution_testing_binary-i386_Packages)
W: Duplicate sources.list entry http://all.repository.backtrack-linux.org/ revolution/main i386 Packages (/var/lib/apt/lists/all.repository.backtrack-linux.org_dists_revolution_main_binary-i386_Packages)
W: Duplicate sources.list entry http://all.repository.backtrack-linux.org/ revolution/microverse i386 Packages (/var/lib/apt/lists/all.repository.backtrack-linux.org_dists_revolution_microverse_binary-i386_Packages)
W: Duplicate sources.list entry http://all.repository.backtrack-linux.org/ revolution/non-free i386 Packages (/var/lib/apt/lists/all.repository.backtrack-linux.org_dists_revolution_non-free_binary-i386_Packages)
W: Duplicate sources.list entry http://all.repository.backtrack-linux.org/ revolution/testing i386 Packages (/var/lib/apt/lists/all.repository.backtrack-linux.org_dists_revolution_testing_binary-i386_Packages)

If you encounter duplicate sources.list run sudo apt-get update one more time.

6 thoughts on “Debian Linux: Add backtrack 5 gpg key and its repositories.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s