PDA

View Full Version : APT HELP!



Myles
12-18-2004, 09:00 AM
I am kind of new to the whole debian scene...

I updated my sources.list file to this:
# Unstable
deb http://ftp.us.debian.org/debian unstable main contrib non-free
deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free

# Unstable Sources
deb-src http://ftp.us.debian.org/debian unstable main contrib non-free
deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free

and my apt.conf file to this:
APT::Default-Release "unstable";
APT::Cache-Limit 10000000;
Apt::Get::Purge;

And i kept getting errors this error:
Failed to fetch http://non-us.debian.org/debian-non-US/dists/unstable/non-US/contrib/source/Sources.gz Temporary failure resolving 'non-us.debian.org'
Failed to fetch http://non-us.debian.org/debian-non-US/dists/unstable/non-US/contrib/source/Release Temporary failure resolving 'non-us.debian.org'
Failed to fetch http://non-us.debian.org/debian-non-US/dists/unstable/non-US/non-free/source/Sources.gz Temporary failure resolving 'non-us.debian.org'
Failed to fetch http://non-us.debian.org/debian-non-US/dists/unstable/non-US/non-free/source/Release Temporary failure resolving 'non-us.debian.org'
Reading Package Lists... Error!
W: Couldn't stat source package list http://ftp.us.debian.org unstable/main Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_unstable_main_binar y-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org unstable/contrib Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_unstable_contrib_bi nary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.us.debian.org unstable/non-free Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_unstable_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://non-us.debian.org unstable/non-US/main Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_unstable_non-US_main_binary-i386_Packages) - stat (2 No such file or directory)
E: Read error - read (21 Is a directory)
E: Problem opening /var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_unstable_non-US_contrib_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.


Could anyone help me!

robwelch100
12-18-2004, 07:18 PM
It looks to me like apt-get was unable to make a conection to the server.

Temporary failure resolving 'non-us.debian.org'
Reading Package Lists... Error!

Try again and see if you get a better response. I have tried to get stuff from apt-get and had it not connect before and this looks like what happened.