[[http://f.javier.io/public/books/debian-handbook.pdf|The debian administrator's handbook, Raphael Hertzog, Roland Mas, 2015]] [*][*][*][*][*][*][*][*][ ][ ] => [8] [*][*][*][*][*][ ][ ][ ][ ][ ] => [5] Basic => Intermediate ====== Repackage software the quick & dirty way ====== dpkg --unpack pkg.deb dpkg --configure pkg.deb ====== Fix conflicts the hard way ====== /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 ====== Fake pkgs ====== * equivs-control file * equivs-build file