Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upqubes-dom0-update throws non-zero error code when package already installed #3299
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
tasket
Nov 9, 2017
Hmmm, I tried this with qubes-template-debian-9 (already installed) and it says "No packages downloaded... Nothing to do" and 0 return code. Can't reproduce on rc2.
tasket
commented
Nov 9, 2017
|
Hmmm, I tried this with qubes-template-debian-9 (already installed) and it says "No packages downloaded... Nothing to do" and 0 return code. Can't reproduce on rc2. |
andrewdavidwong
added
bug
C: core
labels
Nov 10, 2017
andrewdavidwong
added this to the Release 4.0 milestone
Nov 10, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
andrewdavidwong
Nov 10, 2017
Member
"No match for argument" sounds like there was a typo in the command.
It looks like that might be happening here:
PROMPT> qubes-dom0-update qubes-template-fedora-26-minimal
.... No match for argument qubes-template-fedora-26 minimal
^ Missing hyphen?
|
"No match for argument" sounds like there was a typo in the command. It looks like that might be happening here:
|
andrewdavidwong
modified the milestones:
Release 4.0,
Release 4.0 updates
Mar 31, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
r-cheologist commentedNov 9, 2017
Qubes OS version:
4.0-rc2
Affected TemplateVMs:
dom0
Steps to reproduce the behavior:
Expected behavior:
Along the lines of plain
qubes-dom0-update- it statesNo new updates availableand gracefully exits with error code 0 when nothing is to be done. Maybequbes-dom0-update <PACKAGE>should state something likePackage <PACKAGE> already installed, but it should DEFINITELY NOT throw an error code1.Actual behavior:
If the package is already installed
qubes-dom0-update <PACKAGE>states the misleading/falseNo Match for argument <PACKAGE>and returns error code1.General notes:
Related issues: