Dpkg: Difference between revisions
From DWIKI
m (→FAQ) |
m (→first column) |
||
Line 16: | Line 16: | ||
what to do | what to do | ||
i = install | i = install | ||
u =uninstall | u = uninstall | ||
r = remove | r = remove | ||
p = purge | p = purge |
Latest revision as of 09:20, 9 April 2025
Links
FAQ
dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
If that fails/hangs kill the package causing it
dpkg --remove --force-remove-reinstreq <package>
Output of dpkg -l
man dpkg-query
first column
what to do
i = install u = uninstall r = remove p = purge
second column
actual state
i = installed n = not installed
ii
installed and will stay installed
un
no longer available ("unknown") and not installed, but since it's listed at all it was available once and the system hasn't forgotten about it yet