[Touch-packages] [Bug 1869721] Re: Apt error message gives incorrect syntax
psl: You have some locally hacked up apt script, this is not the real apt binary. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1869721 Title: Apt error message gives incorrect syntax Status in apt package in Ubuntu: Invalid Bug description: in Apt, when trying to reinstall or remove problem packages, if the process is unable to run, it says there are unmet dependencies. It then suggest a command to run to fix the problems. This would be the proper procedure for this, however the suggested command it provides is wrong. $ lsb_release -rd Description: Linux Mint 19.3 Tricia Release: 19.3 apt: Installed: 1.6.12 Candidate: 1.6.12 Version table: *** 1.6.12 500 500 http://mirrors.tripadvisor.com/ubuntu bionic-updates/main amd64 Packages 100 /var/lib/dpkg/status 1.6.6ubuntu0.1 500 500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages 1.6.1 500 500 http://mirrors.tripadvisor.com/ubuntu bionic/main amd64 Packages Expected behavior: failed reinstall/uninstall command should show correct syntax for recommended command. In this case it should be "apt install --fix- broken", or "sudo apt install --fix-broken" (verified myself by running that command). Actual behavior: output from failed command ended with "E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)." Running the command as it is shown there results in apt giving a syntax summary, rather than running the intended command. It was only by guessing at alternative formats on the command that got it to work. The format as shown in the incorrect example would have seemed more logical, as the older apt-get equivalent was "apt-get -f install", with the option switch before the command. It is up to the devs to decide whether the switch before or after the command is correct, just as long as the correct and functional form is shown in the error. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1869721/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1869721] Re: Apt error message gives incorrect syntax
This is from Mint 19.3 (based on Ubuntu 18.04), "apt --fix-broken install" is just not correct, please, fix this cosmetic bug... # apt version apt 1.6.12ubuntu0.2 # apt --fix-broken install apt Usage: apt command [options] apt help command [options] Commands: add-repository - Add entries to apt sources.list autoclean- Erase old downloaded archive files autoremove - Remove automatically all unused packages This works: # apt install --fix-broken Reading package lists... Done Building dependency tree -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1869721 Title: Apt error message gives incorrect syntax Status in apt package in Ubuntu: Invalid Bug description: in Apt, when trying to reinstall or remove problem packages, if the process is unable to run, it says there are unmet dependencies. It then suggest a command to run to fix the problems. This would be the proper procedure for this, however the suggested command it provides is wrong. $ lsb_release -rd Description: Linux Mint 19.3 Tricia Release: 19.3 apt: Installed: 1.6.12 Candidate: 1.6.12 Version table: *** 1.6.12 500 500 http://mirrors.tripadvisor.com/ubuntu bionic-updates/main amd64 Packages 100 /var/lib/dpkg/status 1.6.6ubuntu0.1 500 500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages 1.6.1 500 500 http://mirrors.tripadvisor.com/ubuntu bionic/main amd64 Packages Expected behavior: failed reinstall/uninstall command should show correct syntax for recommended command. In this case it should be "apt install --fix- broken", or "sudo apt install --fix-broken" (verified myself by running that command). Actual behavior: output from failed command ended with "E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)." Running the command as it is shown there results in apt giving a syntax summary, rather than running the intended command. It was only by guessing at alternative formats on the command that got it to work. The format as shown in the incorrect example would have seemed more logical, as the older apt-get equivalent was "apt-get -f install", with the option switch before the command. It is up to the devs to decide whether the switch before or after the command is correct, just as long as the correct and functional form is shown in the error. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1869721/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1869721] Re: Apt error message gives incorrect syntax
Actually, I highlighted the message on the terminal, and pasted it in. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1869721 Title: Apt error message gives incorrect syntax Status in apt package in Ubuntu: Invalid Bug description: in Apt, when trying to reinstall or remove problem packages, if the process is unable to run, it says there are unmet dependencies. It then suggest a command to run to fix the problems. This would be the proper procedure for this, however the suggested command it provides is wrong. $ lsb_release -rd Description: Linux Mint 19.3 Tricia Release: 19.3 apt: Installed: 1.6.12 Candidate: 1.6.12 Version table: *** 1.6.12 500 500 http://mirrors.tripadvisor.com/ubuntu bionic-updates/main amd64 Packages 100 /var/lib/dpkg/status 1.6.6ubuntu0.1 500 500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages 1.6.1 500 500 http://mirrors.tripadvisor.com/ubuntu bionic/main amd64 Packages Expected behavior: failed reinstall/uninstall command should show correct syntax for recommended command. In this case it should be "apt install --fix- broken", or "sudo apt install --fix-broken" (verified myself by running that command). Actual behavior: output from failed command ended with "E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)." Running the command as it is shown there results in apt giving a syntax summary, rather than running the intended command. It was only by guessing at alternative formats on the command that got it to work. The format as shown in the incorrect example would have seemed more logical, as the older apt-get equivalent was "apt-get -f install", with the option switch before the command. It is up to the devs to decide whether the switch before or after the command is correct, just as long as the correct and functional form is shown in the error. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1869721/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1869721] Re: Apt error message gives incorrect syntax
Thanks for your bug report, but it seems you made a typo somewhere, as both `--fix-broken install` and `install --fix-broken` work - apt does not care about argument order. ** Changed in: apt (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1869721 Title: Apt error message gives incorrect syntax Status in apt package in Ubuntu: Invalid Bug description: in Apt, when trying to reinstall or remove problem packages, if the process is unable to run, it says there are unmet dependencies. It then suggest a command to run to fix the problems. This would be the proper procedure for this, however the suggested command it provides is wrong. $ lsb_release -rd Description: Linux Mint 19.3 Tricia Release: 19.3 apt: Installed: 1.6.12 Candidate: 1.6.12 Version table: *** 1.6.12 500 500 http://mirrors.tripadvisor.com/ubuntu bionic-updates/main amd64 Packages 100 /var/lib/dpkg/status 1.6.6ubuntu0.1 500 500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages 1.6.1 500 500 http://mirrors.tripadvisor.com/ubuntu bionic/main amd64 Packages Expected behavior: failed reinstall/uninstall command should show correct syntax for recommended command. In this case it should be "apt install --fix- broken", or "sudo apt install --fix-broken" (verified myself by running that command). Actual behavior: output from failed command ended with "E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)." Running the command as it is shown there results in apt giving a syntax summary, rather than running the intended command. It was only by guessing at alternative formats on the command that got it to work. The format as shown in the incorrect example would have seemed more logical, as the older apt-get equivalent was "apt-get -f install", with the option switch before the command. It is up to the devs to decide whether the switch before or after the command is correct, just as long as the correct and functional form is shown in the error. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1869721/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp