Saturday, February 24, 2024
 Popular · Latest · Hot · Upcoming
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2033  / 3 Years ago, sat, june 26, 2021, 7:45:14

I currently have a 14.04 machine with a broken package (A), such that when it tries to dpkg --configure it hangs for hours and then fails. The details are unimportant, and are not what I'm trying to fix here.

Whenever I try to install/upgrade something else (B) via apt, it tries to run the configuration for package A again.

Is there a way to make apt skip the dpkg --configure for package A, but otherwise proceed as normal when installing new package B?

The other alternative I can see is to manually get and install the .deb for package B instead of using apt.

More From » 14.04


There doesn't seem to be an option to do this, so I had to manually manage the packages instead.

Use apt download PKG to get a .deb file, then install it with sudo dkpg -i FILE.

There may be an error "dpkg: dependency problems prevent configuration of PGK". In which case, the listed packages also need to be dowloaded, and all installed together (e.g. sudo dpkg -i *.deb).

[#6574] Monday, June 28, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 157
Total Questions: 132
Total Answers: 108

Location: Honduras
Member since Mon, Apr 5, 2021
3 Years ago