Dpkg: Difference between revisions

From DWIKI
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
If that fails/hangs kill the package causing it
If that fails/hangs kill the package causing it
  dpkg --remove --force-remove-reinstreq <package>
  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

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