apt and dpkg — assorted notes

Февраль 18th, 2014 | Posted by elenst in Pensieve

Get detailed information about a package:
apt-cache show package-name

Find which package a file belongs to:
apt-file search filename
(might need to run apt-file update
dpkg -S filename

Find package names by a substring:
apt-cache search string

Hold a version (lock updates)
Did not check myself
apt-mark hold package-name package-name
and unhold to undo

You can follow any responses to this entry through the RSS 2.0 Both comments and pings are currently closed.