Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fedora VMs fail to upgrade: unrecognized arguments: --dist_upgrade #339

Closed
eloquence opened this issue Nov 14, 2019 · 4 comments · Fixed by #356
Closed

fedora VMs fail to upgrade: unrecognized arguments: --dist_upgrade #339

eloquence opened this issue Nov 14, 2019 · 4 comments · Fixed by #356
Labels

Comments

@eloquence
Copy link
Member

eloquence commented Nov 14, 2019

STR:

Run sudo /etc/cron.daily/securedrop-update in dom0

Expected behavior:

Al VMs are updated

Actual behavior:

Output looks like this:

fedora-30: OK
fedora-29: ERROR (exit code 20, details in /var/log/qubes/mgmt-fedora-29.log)
sd-proxy-template: OK
sd-export-template: OK
whonix-gw-14: OK
whonix-gw-15: OK
sd-svs-disp-template: OK
fedora-30: ERROR (exit code 20, details in /var/log/qubes/mgmt-fedora-30.log)
debian-9: ERROR (exit code 20, details in /var/log/qubes/mgmt-debian-9.log)
...

The fedora logs show "dnf upgrade: error: unrecognized arguments: --dist_upgrade"

@eloquence eloquence added the bug label Nov 14, 2019
@eloquence
Copy link
Member Author

(Note the "fedora-30: OK" entry at the top, followed by an error for the same VM later)

@eloquence
Copy link
Member Author

eloquence commented Nov 14, 2019

Incidentally, the Debian error appears to be unrelated:

Error running 'pkg.upgrade': E: The repository 'https://deb.debian.org/debian jessie-backports 
Release' does no longer have a Release file.

@sssoleileraaa
Copy link
Contributor

i see this too

@conorsch
Copy link
Contributor

conorsch commented Nov 15, 2019

Rather than running dist-upgrade directly, we should be reusing the update.qubes-vm Salt SLS, maintained by the Qubes team. That state file is smart enough to handle differences between Debian/Fedora intelligently, and it ensures CVE patches, e.g. #249.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants