Debian/Ubuntu – Sources for apt-get

I use these sources to install/upgrade software onto my Debian/Ubunto box:

Navigate to ‘/etc/apt/’ and open ‘sources.list’

deb http://ftp.us.debian.org/debian/ squeeze main
deb-src http://ftp.us.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main
# squeeze-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ squeeze-updates main
deb-src http://ftp.us.debian.org/debian/ squeeze-updates main
#Manually added to download postgresql 9.1
deb http://backports.debian.org/debian-backports squeeze-backports main

Recently, I tried to install a package on debian box and got this message:
Media change: please insert the disc labeled
‘Debian GNU/Linux 6.0.5 _Squeeze_ – Official amd64 CD Binary-1 20120512-14:34’
in the drive ‘/media/cdrom/’ and press enter

The fix was easy, open up /etc/apt/sources.list and comment out the following line:

#deb cdrom:[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 CD Binary-1 20120512-14:34]/ squeeze main

Sources for the latest Jessie release

# See http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.html
# for how to upgrade to newer versions of the distribution.
deb http://httpredir.debian.org/debian jessie main contrib non-free
deb-src http://httpredir.debian.org/debian jessie main contrib non-free

## Major bug fix updates produced after the final release of the
## distribution.
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
deb http://httpredir.debian.org/debian jessie-updates main contrib non-free
deb-src http://httpredir.debian.org/debian jessie-updates main contrib non-free
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s