fixing apt-get on debian

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. eg:

apt-get install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules

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
 
system/debian.txt · Last modified: 2010/02/22 00:23 by muscardin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Please visit Automatic Backlinks to start earning free backlinks Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki Клиника мрт центр. Кузьминки.