Difference between revisions of "Sources"

Line 42: Line 42:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 +
!! Don't forget to replace 'saucy' by the distribution name !!
 +
 +
====Take changes into account====
 +
 +
<syntaxhighlight lang="bash">
 +
sudo apt-get update && sudo apt-get upgrade
 +
</syntaxhighlight>
  
 
===Debian===
 
===Debian===
 
To be adjusted
 
To be adjusted

Revision as of 19:27, 16 November 2013

This section explain how to adjust the repositories list.

Ubuntu desktop

Edit the sources.list

sudo vim /etc/apt/sources.list

Disable source repositories

You don't need to use the sources for a daily use. Just remove or comment all deb-src lines using a #

#deb-src http://se.archive.ubuntu.com/ubuntu/ saucy-updates main restricted

Required repositories

You need to enable:

  • Ubuntu official repositories
  • Backport - community repositories
  • Ubuntu partners - commercial packages
  • 3rd parties - from non-related providers

Your file should look like that:

##
## Ubuntu repositories
## Distro: 13.10
##

## Ubuntu official repos
deb http://se.archive.ubuntu.com/ubuntu/ saucy main restricted universe multiverse
deb http://se.archive.ubuntu.com/ubuntu/ saucy-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu saucy-security main restricted universe multiverse

## Backports
deb http://se.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse

## Ubuntu partners
deb http://archive.canonical.com/ubuntu saucy partner

## 3rd parties libraries
deb http://extras.ubuntu.com/ubuntu saucy main

!! Don't forget to replace 'saucy' by the distribution name !!

Take changes into account

sudo apt-get update && sudo apt-get upgrade

Debian

To be adjusted