BackTrack 5 on Ubuntu 12.04: how to add backtrack repository to Ubuntu 12.04

Posted: October 22, 2012 in Linux

I want to have BackTrack 5 R3 on one of my Desktop computer but it already has Ubuntu 12.04 64bit in it and I like it that way.
BackTrack 5 basically is an Ubuntu distro with a kernel patch that will granted it’s user (a hacker) with packet injection for WiFi hacking but since I don’t need that kernel patch (I don’t have to hack into my home WiFi, do I?) I guess I can just add a BackTrack 5 repository onto the existing Ubuntu 12.04 64bit repository list and use the default Ubuntu kernel instead ;)

So here’s what I do

(1) Adding BackTrack 5 Repository to Ubuntu 12.04 64bit repository

rumy@cbug-nest:~$ sudo su
 root@cbug-nest:/home/rumy# cat >> /etc/apt/sources.list <<
 > deb http://all.repository.backtrack-linux.org revolution main microverse non-free testing
 > deb http://source.repository.backtrack-linux.org revolution main microverse non-free testing
 > deb http://64.repository.backtrack-linux.org revolution main microverse non-free testing
 > eof

(2) Add gpg key

rumy@cbug-nest:~$ wget -q http://all.repository.backtrack-linux.org/backtrack.gpg -O- | sudo apt-key add - 
 OK

(3) Update repository

rumy@cbug-nest:~$ sudo apt-get update

(4) Got this error when updating the 64 bit section

Fetched 13.2 MB in 8min 59s (24.6 kB/s) 
 W: Failed to fetch http://64.repository.backtrack-linux.org/dists/revolution/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
 rumy@cbug-nest:~$

(5) Download apt_0.7.25.3ubuntu9.13_amd64.deb  and downgrading apt to the one BackTrack have

rumy@cbug-nest:~$ sudo dpkg -i Programs/Linux/apt_0.7.25.3ubuntu9.13_amd64.deb 
 dpkg: warning: downgrading apt from 0.8.16~exp12ubuntu10.5 to 0.7.25.3ubuntu9.13.
 (Reading database ... 237850 files and directories currently installed.)
 Preparing to replace apt 0.8.16~exp12ubuntu10.5 (using .../apt_0.7.25.3ubuntu9.13_amd64.deb) ...
 Unpacking replacement apt ...
 Setting up apt (0.7.25.3ubuntu9.13) ...
 Installing new version of config file /etc/apt/apt.conf.d/01autoremove ...
 Installing new version of config file /etc/cron.daily/apt ...
 Processing triggers for man-db ...
 Processing triggers for libc-bin ...
 ldconfig deferred processing now taking place
 rumy@cbug-nest:~$

(6) Increase cache limit

rumy@cbug-nest:~$ sudo su
 root@cbug-nest:/home/rumy# echo APT::Cache-Limit "60000000"; >> /etc/apt/apt.conf.d/70debconf
 APT::Cache-Limit 60000000
 root@cbug-nest:/home/rumy#

(7) Update again and I have BackTrack on my Ubuntu 12.04 64bit

Comments
  1. shivangpatel says:

    thanks for this Repsitoy setting….
    r u sure….it’s working fine? any errors?

  2. Inca Tatto says:

    thankx its work perfectly

  3. Less says:

    I got this error:

    Hit http://mx.archive.ubuntu.com precise-backports/restricted Translation-en
    Hit http://mx.archive.ubuntu.com precise-backports/universe Translation-en
    Fetched 14.3 MB in 6min 33s (36.2 kB/s)
    W: Failed to fetch http://64.repository.backtrack-linux.org/dists/revolution/Release Unable to find expected entry ‘main/binary-i386/Packages’ in Release file (Wrong sources.list entry or malformed file)

    E: Some index files failed to download. They have been ignored, or old ones used instead.

    root@administrator2013:/home/administrator2013# sudo dpkg -i Programs/Linux/apt_0.7.25.3ubuntu9.13_amd64.deb
    dpkg: error processing Programs/Linux/apt_0.7.25.3ubuntu9.13_amd64.deb (–install):
    cannot access archive: No such file or directory
    Errors were encountered while processing:
    Programs/Linux/apt_0.7.25.3ubuntu9.13_amd64.deb

    Ho to fix this problem? Thanks in advance.

  4. Anonymous says:

    asdfasdf:/home/ubuntu# apt-get install backtrack-ultimate-64
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    backtrack-ultimate-64 : Depends: afflib but it is not going to be installed
    Depends: aircrack-ng but it is not going to be installed
    Depends: autopsy but it is not going to be installed
    Depends: beef but it is not going to be installed
    Depends: bulk-extractor but it is not going to be installed
    Depends: ettercap-desktop but it is not installable
    Depends: gerix-wifi-cracker-ng but it is not going to be installed
    Depends: greenbone-security-assistant but it is not going to be installed
    Depends: greenbone-security-desktop but it is not going to be installed
    Depends: honeycomb but it is not going to be installed
    Depends: ida-pro-free but it is not going to be installed
    Depends: mdk3 but it is not going to be installed
    Depends: mingw but it is not going to be installed
    Depends: ollydbg but it is not going to be installed
    Depends: ollydbg but it is not going to be installed
    Depends: openvas but it is not going to be installed
    Depends: openvas-administrator but it is not going to be installed
    Depends: openvas-check-setup but it is not going to be installed
    Depends: openvas-cli but it is not going to be installed
    Depends: openvas-libraries but it is not going to be installed
    Depends: openvas-manager but it is not going to be installed
    Depends: openvas-scanner but it is not going to be installed
    Depends: ptk but it is not going to be installed
    Depends: sleuthkit but it is not going to be installed
    Depends: thcsslcheck but it is not going to be installed
    Depends: volatility but it is not going to be installed
    Depends: w3af but it is not going to be installed
    Depends: warvox but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

  5. SMSDN says:

    thanxxxx

  6. vais sai says:

    how to download social enginner toolkit..?

  7. hi .. how i can upgrade my bt5 r3 32bit to ubuntu 12.04?

Leave a comment