apt --fix-broken-install thinks I have other options and fails

Bug #1867653 reported by fcole90
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
New
Undecided
Unassigned

Bug Description

If I run `sudo apt --fix-broken-install` I receive

```
E: Command line option --fix-broken-install is not understood in combination with the other options
```

even if I don't have any other option.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: apt 1.9.10
ProcVersionSignature: Ubuntu 5.4.0-14.17-generic 5.4.18
Uname: Linux 5.4.0-14-generic x86_64
ApportVersion: 2.20.11-0ubuntu20
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon Mar 16 19:00:14 2020
InstallationDate: Installed on 2019-02-03 (406 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
fcole90 (fcole90) wrote :
Revision history for this message
Juhani Numminen (jsonic) wrote :

It really seems to be a confusing way of saying "unknown option". Please try without the final dash

    sudo apt --fix-broken install

where there's a space between "--fix-broken" and "install".

Revision history for this message
fcole90 (fcole90) wrote :

Thanks, yes it works. I didn't realised of the typo. I agree then that's just a confusing error message

Revision history for this message
fcole90 (fcole90) wrote :

Papercut?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.