LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   apt-get errors (https://www.linuxquestions.org/questions/debian-26/apt-get-errors-382555/)

gvaught 11-12-2005 07:36 PM

apt-get errors
 
I keep getting the following errors or warnings ("W") when I run apt-get. It says I should do apt-get update, but I've done that with no change. I went to the point of removing all of the deb-source entries in my sources.list file. Still it gives me grief.

Code:

W: Couldn't stat source package list ftp://ftp.debian.org stable/main Packages (/var/lib/apt/lists/ftp.debian.org_debian_dists_stable_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.us.debian.org stable/main Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_stable_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://mirrors.kernel.org stable/main Packages (/var/lib/apt/lists/mirrors.kernel.org_debian_dists_stable_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems

One piece of info that may give someone some indication of how I got here:
I have just installed Sarge (Debian 3.1r0) on my file server and was attempting to do a apt-get dist-upgrade when I started getting a number of other messages indicating that some packages were unable to be reached. So I came to LQ and searched. Under the advice of a couple of people (I'd have to search them out and post links to their posts, blah, blah) I added a number of lines to my sources.list file. Then, per one individual's advice, I went through and put all of my source listings (except security, of course) to unstable and did another apt-get dist-upgrade. Seems like it just hasn't been right since then.

I have no idea what all was upgraded with the dist-upgrade command. Do I need to start over and ignore the advice of well-meaning geeks who give advice that I am not ready to utilize?

Help...

kmoffat 11-12-2005 10:13 PM

Yes, you can start over and stick with stable, or work your way up through testing to unstable. I think as a newbie you should stop at testing, but you might be up for an adventure.

They call it unstable for a reason, but I have generally found it to be quite usable, so if I were you I'd wait until tomorrow, then try the dist-upgrade again. Sometimes you can catch unstable at a bad moment.


All times are GMT -5. The time now is 11:27 AM.