This is an old revision of the document!
The debian administrator's handbook, Raphael Hertzog, Roland Mas, 2015
[*][*][*][*][*][*][*][*][ ][ ] => [8] [*][*][*][*][*][ ][ ][ ][ ][ ] => [5] Basic => Intermediate
dpkg --unpack pkg.deb dpkg --configure pkg.deb
/var/lib/dpkg/status dpkg -S /bin/foo == apt-file search /bin/foo dpkg -l => just list the installed pkgs dpkg -l "pattern" => list every pkg that matches de pattern included the non installed dpkg --compare-versions 1.2.0pre lt 1.2.0-1 dpkg --compare-versions 1.2.0~pre lt 1.2.0-1
wnpp-alert / print out all the packages installed on the system you're running which are orphaned.
//requiere deb-src debcheckout pkg debcheckout repository-url
fakeroot deb-reversion -k hook pkg.deb pkglocal.deb