0

Fix missing and broken packages on Linux

Question:
To fix missing dependencies and broken packages which command is used?

Linux Ubuntu Add a comment
ethan
asked Mar 25 2021

Answer

0

Answer:
After trying
sudo apt-get update –fix-missing
and
sudo dpkg –configure -a
and
sudo apt-get install -f
the problem of a broken package still exist the solution is to edit the dpkg status file manually.
$ sudo nano /var/lib/dpkg/status
Locate the corrupt package, and remove the whole block of information about it and save the file.

Add a comment
linuxhelp
asked Mar 25 2021
Post your Answer