Apt giving error --fix-broken not working

Colin Watson cjwatson at ubuntu.com
Thu Apr 25 23:34:39 UTC 2024


On Thu, Apr 25, 2024 at 12:49:34PM -0700, MR wrote:
> You have to give apt a directive, like install, along with the --fix-broken
> option.
> 
> Iirc, you also need to specify a package to act on.

This is incorrect.  "apt --fix-broken install" with no package names is
legitimate, as a way to ask apt to install whatever's needed to fix
broken dependencies (on a system that's broken, but not as broken as
this one is).  It just isn't useful in this particular case.

-- 
Colin Watson (he/him)                              [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list