Dpkg: Difference between revisions

From DWIKI
mNo edit summary
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

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