User Tools

Site Tools



  • Fix the There is no public key available error when adding a repository :
    apt-key adv --keyserver --recv-keys KEYID
  • Force package removal when post-uninstall script fails :
    dpkg --purge --force-all <package>
  • Force package removal when pre-uninstall script fails : look at /var/lib/dpkg/info/<package>.postinst, locate the line that fails, comment it out and try to purge again. Repeat until success.
  • Fixing apt-get “Error occured during the signature verification” :
cd /var/lib/apt
mv lists lists.old
mkdir -p lists/partial
aptitude update
  • Configure an unattached bridge :
auto br0
interface br0 inet static
bridge_ports none
sysadmin_misc/debian.txt · Last modified: 2018/09/25 15:00 (external edit)