fixing apt-get on debian


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » System Level

fixing apt-get on debianLast Modified: Oct 28, 2012, 7:32 pm
If your apt-get servers are not working correctly for debian 3.1, edit /etc/apt/sources.list and set

# Main
deb http://http.us.debian.org/debian/ stable main non-free contrib
# Source
deb-src http://http.us.debian.org/debian/ stable main non-free contrib
# Security
deb http://security.debian.org/ stable/updates main contrib non-free

Then type:

apt-get update

Once fixed you can run your usual apt-get commands.

For debian 4.0, another sources.list file may look like:

deb http://ftp.tr.debian.org/debian/ etch main
deb-src http://ftp.tr.debian.org/debian/ etch main
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib



For Debian 5.0:

deb http://ftp.ca.debian.org/debian/ lenny main
deb-src http://ftp.ca.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main



Debian 6, 32-bit:

deb http://debian.mirror.iweb.ca/debian/ squeeze main
deb-src http://debian.mirror.iweb.ca/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main contrib
deb-src http://security.debian.org/ squeeze/updates main contrib

deb http://debian.mirror.iweb.ca/debian/ squeeze-updates main contrib
deb-src http://debian.mirror.iweb.ca/debian/ squeeze-updates main contrib

2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST