Commandes:
apt-get update # obtient la nouvelle liste des paquets disponibles
apt-get upgrade --dry-run # mise à jour en mode test (sans modification)
apt-get upgrade # mise à jour du système
apt-get install nomPaquet # installe un paquet
Fichiers:
/etc/apt/sources.list # liste des dépôts de paquet disponible (repository list)
Bugs (wheezy)
W: There is no public key available for the following key IDs: 7638D0442B90D010 7638D0442B90D010 9D6D8F6BC857C906
apt-get install debian-archive-keyring
Bugs (sid)
2018-02-13
apt-get upgrade
...
Preparing to unpack .../sound-theme-freedesktop_0.8-2_all.deb ...
Unpacking sound-theme-freedesktop (0.8-2) ...
dpkg: error processing archive /var/cache/apt/archives/sound-theme-freedesktop_0.8-2_all.deb (--unpack):
trying to overwrite '/usr/share/sounds/freedesktop/index.theme', which is also in package freedesktop-sound-theme 0.7.dfsg-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/sound-theme-freedesktop_0.8-2_all.deb
Solution:
# commande vue sur https://askubuntu.com/questions/176121/dpkg-error-trying-to-overwrite-file-which-is-also-in
dpkg -P freedesktop-sound-theme
# redémarrage de l'installation
apt --fix-broken install