Repository per Debian 7 x64
Su qualsiasi distribuzione Linux una delle prime cose da configurare sono i repository tramite i quali è possibile installare drivers e programmi.
Nel caso specifico di Debian i repository si trovano nel file /etc/apt/sources.list
ed il Wiki ci da molte informazioni su come utilizzarli.
Su Debian 7 x64 è possibile aggiungere i repository necessari editando il file sources.list in questo modo:
#
## deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD Binary-1 20130615-23:06]/ wheezy contrib main
## Debian Stable (Wheezy)
deb http://ftp.it.debian.org/debian/ wheezy main contrib non-free
# deb-src http://ftp.it.debian.org/debian/ wheezy main contrib non-free
## Aggiornamenti della sicurezza
deb http://security.debian.org/ wheezy/updates main contrib non-free
# deb-src http://security.debian.org/ wheezy/updates main contrib non-free
## Debian Unstable (Sid)
# deb http://ftp.it.debian.org/debian/ unstable main contrib non-free
# deb-src http://ftp.it.debian.org/debian/ unstable main
## Wheezy-updates, previously known as 'volatile'
deb http://ftp.it.debian.org/debian/ wheezy-updates main contrib non-free
# deb-src http://ftp.it.debian.org/debian/ wheezy-updates main contrib non-free
## Wheezy Backports
deb http://ftp.it.debian.org/debian/ wheezy-backports main
## Wheezy DotDeb
deb http://packages.dotdeb.org wheezy all
# deb-src http://packages.dotdeb.org wheezy all
## HWraid per Debian Wheezy
deb http://hwraid.le-vert.net/debian wheezy main
# deb-src http://hwraid.le-vert.net/debian wheezy main
## LinuxMint Debian Edition
deb http://packages.linuxmint.com/ debian main import upstream backport romeo
## Wheezy deb-multimedia repository (Marillat) (Stable)
deb http://www.deb-multimedia.org wheezy main non-free
## Wheezy deb-multimedia repository (Marillat) (Unstable - Sid)
# deb http://www.deb-multimedia.org sid main
##Wheezy Debian Mozilla Repository
deb http://mozilla.debian.net/ wheezy-backports iceweasel-release
# deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main
# deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main
e occorre firmare alcuni dei repository con i seguenti comandi:
sudo apt-get install debian-keyring
sudo gpg --keyserver keys.gnupg.net --recv-key 06C4AE2A
sudo gpg -a --export 06C4AE2A | apt-key add -
sudo gpg --keyring /usr/share/keyrings/debian-keyring.gpg -a --export 07DC563D1F41B907 |apt-key add -
sudo gpg --keyserver pgp.mit.edu --recv-keys 3EE67F3D0FF405B2
sudo gpg --export 3EE67F3D0FF405B2 > 3EE67F3D0FF405B2.gpg
sudo apt-key add ./3EE67F3D0FF405B2.gpg
sudo rm ./3EE67F3D0FF405B2.gpg
sudo gpg --keyserver keys.gnupg.net --recv-key 89DF5277
sudo gpg -a --export 89DF5277 | sudo apt-key add -
wget -O - http://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key | sudo apt-key add -
sudo apt-get update
per evitare questi errori:
NO_PUBKEY 85A3D26506C4AE2A
NO_PUBKEY 07DC563D1F41B907
NO_PUBKEY 3EE67F3D0FF405B2
NO_PUBKEY E9C74FEEA2098A6E
NO_PUBKEY 6005210E23B3D3B4
1 comments
Alcuni appunti:
Alcuni appunti:
Il repository deb-multimedia e' considerato insicuro e non piu' supportato in quanto i pacchetti son stati tutti inclusi nei repo ufficiali.
Eviterei di mischiare repository per Stable, testing (quelli di mint) ed Unstable senza un corretto pinning.
Manca l'utile Liquorix
deb http://liquorix.net/debian sid main
e
apt-get install '^liquorix-([^-]+-)?keyring.?'
in ultimo la struttura a file unico e' deprecata, attualmente si consiglia di usare file separati dei vari repo messi nella cartella /etc/apt/sources.list.d/ ad esempio:
/etc/apt/sources.list.d/liquorix.list
/etc/apt/sources.list.d/mozilla.list
ecc...