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: Sep 14, 2017, 9:57 pm
If your apt-get servers are not working correctly for debian 3.1, edit /etc/apt/sources.list and set

# Main
deb stable main non-free contrib
# Source
deb-src stable main non-free contrib
# Security
deb 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 etch main
deb-src etch main
deb etch/updates main contrib
deb-src etch/updates main contrib

For Debian 5.0:

deb lenny main
deb-src lenny main

deb lenny/updates main
deb-src lenny/updates main

deb lenny/volatile main
deb-src lenny/volatile main

Debian 6, 32-bit:

deb squeeze main
deb-src squeeze main

deb squeeze/updates main contrib
deb-src squeeze/updates main contrib

deb squeeze-updates main contrib
deb-src squeeze-updates main contrib

Debian 8, 64-bit

deb jessie main
deb-src jessie main

deb jessie/updates main
deb-src jessie/updates main

# jessie-updates, previously known as 'volatile'
deb jessie-updates main
deb-src jessie-updates main

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