454 shaares
40 private links
40 private links
• Re-télécharger les paquets dans le cache:
dpkg -l | grep "^ii" | awk ' {print $2} ' | xargs sudo apt-get -y --force-yes install --reinstall --download-only
Pratique pour les paranos :)
J'ajoute tout ça dans mon borg pour être capable de restaurer n'importe quelle sauvegarde d'un soft si besoin !
Par contre:
--force-yes
Force yes; this is a dangerous option that will cause apt to continue
without prompting if it is doing something potentially harmful. It
should not be used except in very special situations. Using force-yes
can potentially destroy your system! Configuration Item:
APT::Get::force-yes. This is deprecated and replaced by
--allow-downgrades, --allow-remove-essential,
--allow-change-held-packages in 1.1.