Wednesday, 5 September 2012

#4 Fixing the Update Resource List

Fixing the Update Resource List
 
During the install of DHCP3-Server i found out that someone forgot to put in a line of code needed for the updateing of Backtrack 5r3. This is a quick guide on how to put it back in.
 
First got to the desktop and select Places > Computer > File System
 

Then navigate trough the following 2 folders etc > apt

You should then see sources.list

Now right click it and select Open With.. > gedit Text Editor

You should now see the same as the picture below:


At the bottom of this file add the text in bold below

deb http://updates.repository.backtrack-linux.org main microverse non-free testing

Now save and close the file and you be all good. While were here lets have a quick upgrade.

Open a new terminal and enter in the text in bold below.

apt-get update

and when thats done enter the text in bold below

apt-get upgrade

You have just upgrade Backtrack :)

9 comments:

  1. Hi mate,

    I've checked your quick solution. Unfortunately not every time is working or at least for 64bit Gnome version it doesn't:

    Err http://updates.repository.backtrack-linux.org main/microverse Packages
    404 Not Found
    Err http://updates.repository.backtrack-linux.org main/non-free Packages
    404 Not Found
    Err http://updates.repository.backtrack-linux.org main/testing Packages
    404 Not Found
    W: Failed to fetch http://updates.repository.backtrack-linux.org/dists/main/microverse/binary-amd64/Packages.gz 404 Not Found

    W: Failed to fetch http://updates.repository.backtrack-linux.org/dists/main/non-free/binary-amd64/Packages.gz 404 Not Found

    W: Failed to fetch http://updates.repository.backtrack-linux.org/dists/main/testing/binary-amd64/Packages.gz 404 Not Found

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

    ReplyDelete
  2. This is a guide for the 32bit Gnome VM Backtrack 5R3 version.

    But anyway the fix should work on all Gnome versions. (maybe even KDE versions)

    I think this error may of been caused by the repositories being down, no internet connection or other reasons.

    The CLI output shows it tried to download files from the place we added and this means we fixed the problem.... you just seem to have another.

    ReplyDelete
  3. Your screenshot is correct but need to change your bolded text to add "revolution" to sources.list i.e. (as root)

    echo "deb http://updates.repository.backtrack-linux.org revolution main microverse non-free testing" >> /etc/apt/sources.list

    apt-get update

    apt-get upgrade

    This should also allow you to install DHCP server afterwards

    apt-get install dhcp3-server


    Regards,
    Behan

    ReplyDelete
  4. apt-get source wicd
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: You must put some 'source' URIs in your sources.list
    showing this prop
    what should do
    I have save source url in /etc/apt/sources.list
    any suggestion

    ReplyDelete
  5. Problem still not gone. It says the same error everytimes.........

    ReplyDelete
  6. I think the default sources mentioned in the sources.list file are outdated and offline

    ReplyDelete
  7. y not put kali linux 2.0 source code since is their upgrade

    ReplyDelete
  8. because backtrack site is no longer giving download
    so repository shouldn't be active.
    maybe they can be using kali repository instead.

    ReplyDelete