Dpkg: Difference between revisions
From DWIKI
mNo edit summary Tag: wikieditor |
Tag: wikieditor |
||
| (One intermediate revision by the same user not shown) | |||
| Line 11: | Line 11: | ||
==Output of '''dpkg -l'''== | ==Output of '''dpkg -l'''== | ||
man dpkg-query | |||
===first column=== | ===first column=== | ||
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 07: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
