Apt

De whats Wiki

Dreceres ràpides: navegació, cerca

Contingut

INTRODUCCIO

APT-GET

APT_KEY

Per afegir una clau al fitxer de claus de l'apt

apt-key add <fitxer-de-clau>

Descarregar una clau i afegir-la

root@wekk:/tmp# gpg --keyserver pgp.mit.edu --recv-key C514AF8E4BA401C3
gpg: requesting key 971B7E08 from hkp server pgp.mit.edu
gpg: key 971B7E08: public key "Ivan Ristic <ivanr@webkreator.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1
gpg --export -a C514AF8E4BA401C3 | apt-key add -
OK

APT-CAHE

Per veure versió instal·lada, i versió que s'instal·laria

$ apt-cache policy dvd+rw-tools 
dvd+rw-tools:
 Installed: 5.21.4.10.8-1.1
 Candidate: 5.21.4.10.8-1
$ apt-cache policy nget
nget:
 Installed: 0.27.1-1.1
 Candidate: 0.27.1-1

PROBLEMES

Dynamic MMap ran out of room

/etc/apt/apt.conf
APT::Cache-Limit "33554432";