>
> dpkg: error processing package oscar (--remove):
>  package is in a very bad inconsistent state; you should
>  reinstall it before attempting a removal
> dpkg: too many errors, stopping
> Errors were encountered while processing:
>  oscar
> Processing was halted because there were too many errors.
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>

> 2 not fully installed or removed.
>

Looking through the command output it doesn't look like you ever ran the
"sudo apt-ge autoremove" command?

The general first steps advice when dealing w. a bad package state is to
run the auto-remove command and then attempt to fix any missing and/or
broken pkgs w. the  "sudo apt-get install -f " command

If you still run into problems, then you can try the below command.
Reference - https://linuxhint.com/apt_get_fix_missing_broken_packages/

sudo dpkg --remove -force --force-remove-reinstreq Package_Name
_______________________________________________
PLUG: https://pdxlinux.org
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to