Como adicionar os repositórios Dotdeb ao Debian Jessie
Contents
Dotdeb é um repositório alternativo que mantém diversos pacotes atualizados para servidores Debian. Suporta as versões 8.x “Jessie” e Debian 7.x “Wheezy”, para as arquiteturas amd64 and i386.
Adicionar os repositórios
Adicionar a lista de fontes do repositório dotdeb ao ficheiro /etc/apt/sources.list.d/dotdeb.list
:
# file: /etc/apt/sources.list.d/dotdeb.list
deb http://packages.dotdeb.org jessie all
deb-src http://packages.dotdeb.org jessie all
Instalar as chave GnuPPG
root@server:~# wget -qO - http://www.dotdeb.org/dotdeb.gpg | sudo apt-key add -
OK
Atualizar a lista de pacotes
root@server:~# apt update
Get:1 http://packages.dotdeb.org jessie InRelease [6755 B]
Ign http://ftp.debian.org jessie InRelease
Hit http://security.debian.org jessie/updates InRelease
Hit http://ftp.debian.org jessie-updates InRelease
Get:2 http://packages.dotdeb.org jessie/all amd64 Packages [93.1 kB]
# [...]
Hit http://ftp.debian.org jessie Release
Hit http://ftp.debian.org jessie/main amd64 Packages
Hit http://ftp.debian.org jessie/contrib amd64 Packages
Hit http://ftp.debian.org jessie/non-free amd64 Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Fetched 211 kB in 2s (94.1 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@server:~#
Listar as atualizações disponíveis
root@server:~# apt list --upgradable
Listing... Done
nginx/jessie 1.10.1-1~dotdeb+8.2 all [upgradable from: 1.9.10-1~bpo8+3]
nginx-common/jessie 1.10.1-1~dotdeb+8.2 all [upgradable from: 1.9.10-1~bpo8+3]
nginx-doc/jessie 1.10.1-1~dotdeb+8.2 all [upgradable from: 1.9.10-1~bpo8+3]
nginx-full/jessie 1.10.1-1~dotdeb+8.2 amd64 [upgradable from: 1.9.10-1~bpo8+3]
php-pear/jessie 1:1.10.1+submodules+notgz-8.1 all [upgradable from: 5.6.26+dfsg-0+deb8u1]
root@server:~#
Os pacotes estão prontos a ser instalados com os comandos apt
ou apt-get
, como habitualmente.
Referências
Author Fernando Ribeiro
LastMod 2016-10-29