Home Tutorial / Ubuntu

Forced Removing Damaged Packages on Ubuntu

Forced Removing Ubuntu Packages

Forced Removing Damaged Packages on Ubuntu.

Sometime ago, I had a problem with installing the kernel on Ubuntu, and was instead presented with an additional error because the package could not be uninstalled.

Well, on Ubuntu you can forcibly remove the broken package. Force removal here means that the process will not check whether the package is a package that other packages depend on.

Normally, when we want to delete a certain package in Ubuntu, and it turns out the package that we want to delete is needed by another package, the uninstall process will fail.

But with this forced method, the uninstall process will be successfully carried out. Yes, of course you have to understand what you are going to do, because if not, it is not impossible that the system will eventually become an error because there are dependencies needed to be removed.

Okay just go ahead without further ado, the way is to use the following command:


sudo dpkg --remove --force-remove-reinstreq the package name


The following example:

Removing Damaged Packages on Ubuntu

Okay maybe that's the tutorial this time. may be useful hahaha. If you have something to ask, you can comment below.

Baca juga :

to Top