[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt-get problems,...



I'm new to Debian and not very familiar with apt-get. I installed via burning a minimal .iso at Lord Sutch. Installation went very smooth. My only 'issue' now is i have a very min. system and need to add packages. Here is my (original, after the .iso install) /etc/apt/sources.conf file.

#########################

deb cdrom:[Debian GNU/Linux 3.0pre _Woody_ - LordSutch.com MiniCD i386 Binary-1 (20020830)]/ unstable main non-US/main

deb http://security.debian.org/ stable/updates main contrib

##########################

the only problem with this was i wasn't able to add any packages apparently, because if i ran: apt-get install netselect for instance i would get.

Reading Package Lists...
Building Dependency Tree...
unable to install docs... (or something to this effect)

i thought that this was because i was missing apt-get sources other then jsut security, so i added:

# see sources.list(5) for more info especially
# Remember that you can only use http, ftp or file URI's
# CDROM's are managed through the apt-cdrom tool.

#deb cdrom:[Debian GNU/Linux 3.0pre _Woody_ - LordSutch.com MiniCD i386 Binary-1 (20020830)]/ unstable main non-US/main

#deb http://http.us.debian.org/ debian stable/updates main contrib non-free
#deb http://non-us.debian.org/ debian-non-US stable/non-US main contrib non-free
#deb http://ftp.us.debian.org/ debian stable/updates main contrib non-free

deb http://http.us.debian.org/ debian stable/updates main contrib non-free
deb http://security.debian.org/ stable/updates main contrib

#Uncomment if you want apt-get source function to work
#deb-src http://http.us.debian.org/debian stable main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US stable non-US

some paths and mirrors i found at the debian site and tried different combo's of address, this was the last one i tried with only the two lines not commented out.

this would produce the following result when trying apt-get install netselect

Reading Package Lists...
Building Dependency Tree...
W: Couldn't stat source package list http://http.us.debian.org debian/stable/updates Packages (/var/lib/apt/lists/http.us.debian.org_dists_debian_stable_updates_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://http.us.debian.org debian/main Packages (/var/lib/apt/lists/http.us.debian.org_dists_debian_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://http.us.debian.org debian/contrib Packages (/var/lib/apt/lists/http.us.debian.org_dists_debian_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://http.us.debian.org debian/non-free Packages (/var/lib/apt/lists/http.us.debian.org_dists_ debian_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Couldn't find package netselect

most of the errors relate to the path, like can't find:

/var/lib/apt/lists/http.us.debian.org_dists_debian_stable_updates_binary-i386_Packages - right it doesn't exist. Do i have to add this before i run apt-get, i thought it would add these itself automatically.

 

If i try running apt-get i get a similiar message:

Err http://http.us.debian.org debian/stable/updates Packages
  404 Not Found [IP: 204.152.189.120 80]
Ign http://http.us.debian.org debian/stable/updates Release
Err http://http.us.debian.org debian/main Packages
  404 Not Found [IP: 204.152.189.120 80]
Ign http://http.us.debian.org debian/main Release
Err http://http.us.debian.org debian/contrib Packages
  404 Not Found [IP: 204.152.189.120 80]
Ign http://http.us.debian.org debian/contrib Release
Err http://http.us.debian.org debian/non-free Packages
  404 Not Found [IP: 204.152.189.120 80]
Ign http://http.us.debian.org debian/non-free Release
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Hit http://security.debian.org stable/updates/contrib Packages
Hit http://security.debian.org stable/updates/contrib Release
Failed to fetch http://http.us.debian.org/dists/debian/stable/updates/binary-i386/Packages  404 Not Found [IP: 204.152.189.120 80]
Failed to fetch http://http.us.debian.org/dists/debian/main/binary-i386/Packages  404 Not Found [IP: 204.152.189.120 80]
Failed to fetch http://http.us.debian.org/dists/debian/contrib/b inary-i386/Packages  404 Not Found [IP: 204.152.189.120 80]
Failed to fetch http://http.us.debian.org/dists/debian/non-free/binary-i386/Packages  404 Not Found [IP: 204.152.189.120 80]
Reading Package Lists...
Building Dependency Tree...
W: Couldn't stat source package list http://http.us.debian.org debian/stable/updates Packages (/var/lib/apt/lists/http.us.debian.org_dists_debian_stable_updates_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://http.us.debian.org debian/main Packages (/var/lib/apt/lists/http.us.debian.org_dists_debian_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://http.us.debian.org debian/contrib Packages (/var/lib /apt/lists/http.us.debian.org_dists_debian_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://http.us.debian.org debian/non-free Packages (/var/lib/apt/lists/http.us.debian.org_dists_debian_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.

Thanks for your help, i'm sure i'm overlooking something fairly simple or obvious, i'm just not seeing it. thank you

-david



Do you Yahoo!?
Yahoo! News - Today's headlines
Reply to: