Welcome! Log In Create A New Profile

Advanced

apt-get not working

Posted by Brandon 
Brandon
apt-get not working
March 15, 2011 05:40PM
Everything has been running fine for the past couple months, but now I'm having problems with apt-get. I last updated about a month ago and now whenever I try and update, there are no new updates, which is a little strange. I've installed Tor and didn't know if that would interfere with apt-get.

root@debian:~# apt-get update
Hit http://cdn.debian.net squeeze Release.gpg
Ign http://cdn.debian.net/debian/ squeeze/main Translation-en
Hit http://cdn.debian.net squeeze Release
Hit http://cdn.debian.net squeeze/main armel Packages
Reading package lists... Done
root@debian:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Re: apt-get not working
March 16, 2011 05:11AM
You're running Squeeze, which has finally transitioned to be the stable release. As a result, it doesn't get updates anymore until a new release comes out. 6.0.1 should be out in a week or two, so I expect the stable repositories to have updates then.

In the meantime, put these into /etc/apt/sources.list
deb     http://security.debian.org/ squeeze/updates main contrib non-free
deb     http://ftp.us.debian.org/debian squeeze-updates main

That way, you'll get important security updates and other important updates that can't wait for an incremental release. Change the URLs to be your preferred mirror.
Brandon
Re: apt-get not working
March 16, 2011 01:31PM
Thanks! That worked perfectly!
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: