Dpkg: Difference between revisions

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

Revision as of 09:17, 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

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