User Tools

Site Tools


sysadmin_misc:debian

Debian

  • Fix the There is no public key available error when adding a repository :
    apt-key adv --keyserver keyserver.ubuntu.com --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
address 10.1.0.253
netmask 255.255.255.0
bridge_ports none
sysadmin_misc/debian.txt · Last modified: 2018/09/25 15:00 (external edit)