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 squeeze main
deb-src squeeze main
deb squeeze/updates main
deb-src squeeze/updates main
# squeeze-updates, previously known as 'volatile'
deb squeeze-updates main
deb-src squeeze-updates main
#Manually added to download postgresql 9.1
deb 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
# for how to upgrade to newer versions of the distribution.
deb jessie main contrib non-free
deb-src jessie main contrib non-free

## Major bug fix updates produced after the final release of the
## distribution.
deb jessie/updates main contrib non-free
deb-src jessie/updates main contrib non-free
deb jessie-updates main contrib non-free
deb-src jessie-updates main contrib non-free

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s