Get packaging error you have run into
dpkg -i --force-overwrite /var/cache/apt/archives/.deb
Reconfigure
dpkg --configure -a
Purge a package
apt-get remove -f --purge
which package supplies the file?
dpkg --search /path/to/file/myfile
grep myfile /var/lib/dpkg/info/*.list
extract a .deb:
dpkg-deb -x
list files installed by .deb:
dpkg-deb -c
list files in .deb archive format:
ar tv
extract archive from .deb:
ar x
Show package info:
dpkg-deb -I
Package can't install because of overwrite file from other package:
cd /var/cache/apt/archives
dpkg --force-overwrite -i koffice-data-kde4_1%3a1.9.98.2-0ubuntu3~intrepid2_all.deb
apt-get install -f
Show versions available:
apt-cache policy
Install specific version:
apt-get install