This is a very short post to record me how to fix the installation block on Ubuntu.
Accurately say, it’s not Ubunut, it’s lintmint but based on Ubuntu, so the commands are also suit for Ubuntu.
When I installed a .deb
package and failed (The command: sudo dpkg -i ./<package_name>.deb
).
Followed the warning message, I use apt install --fix-broken
but fixed failed.
So I know I needed to delete this software.
sudo dpkg --remove --force-remove-reinstreq <package_name>
but still failed.
If you encountered the same issue, Please delete the package file.
rm /var/lib/dpkg/info/<package_name>
Then re-execute: sudo apt autoremove && sudo apt update
If anything wrong this time, follow the warning message should be OK.