What does this error code mean? How should I respond?
Updating dom0
Error on updating dom0: Command ‘[‘sudo’, ‘qubesctl’, ‘–dom0-only’, ‘–no-color’, ‘pkg.upgrade’, ‘refresh=True’]’ returned non-zero exit status 1.
[ERROR ] Command ‘systemd-run’ failed with return code: 1
[ERROR ] stderr: Running scope as unit: run-r74d1e57dcc374feba3a1f58ce04d5a4e.scope
Using sys-whonix as UpdateVM to download updates for Dom0; this may take some time…
Running ‘/usr/lib/qubes/qubes-download-dom0-updates.sh --doit --nogui ‘–exclude=qubes-template-*’ ‘–quiet’ ‘-y’ ‘–clean’ ‘–action=upgrade’’ on sys-whonix
sys-whonix: command failed with code: 1
[ERROR ] retcode: 1
Error running ‘pkg.upgrade’: Problem encountered upgrading packages. Additional info follows:
changes:
----------
result:
----------
pid:
38857
retcode:
1
stderr:
Running scope as unit: run-r74d1e57dcc374feba3a1f58ce04d5a4e.scope
Using sys-whonix as UpdateVM to download updates for Dom0; this may take some time…
Running ‘/usr/lib/qubes/qubes-download-dom0-updates.sh --doit --nogui ‘–exclude=qubes-template-*’ ‘–quiet’ ‘-y’ ‘–clean’ ‘–action=upgrade’’ on sys-whonix
sys-whonix: command failed with code: 1
stdout:
Error on updating dom0: Command ‘[‘sudo’, ‘qubesctl’, ‘–dom0-only’, ‘–no-color’, ‘pkg.upgrade’, ‘refresh=True’]’ returned non-zero exit status 1.
[ERROR ] Command ‘systemd-run’ failed with return code: 1
[ERROR ] stderr: Running scope as unit: run-r05ffd26b2034495386952e635c2cff3d.scope
Using sys-whonix as UpdateVM to download updates for Dom0; this may take some time…
Running ‘/usr/lib/qubes/qubes-download-dom0-updates.sh --doit --nogui ‘–exclude=qubes-template-*’ ‘–quiet’ ‘-y’ ‘–clean’ ‘–action=upgrade’’ on sys-whonix
sys-whonix: command failed with code: 1
[ERROR ] retcode: 1
Error running ‘pkg.upgrade’: Problem encountered upgrading packages. Additional info follows:
changes:
----------
result:
----------
pid:
83769
retcode:
1
stderr:
Running scope as unit: run-r05ffd26b2034495386952e635c2cff3d.scope
Using sys-whonix as UpdateVM to download updates for Dom0; this may take some time…
Running ‘/usr/lib/qubes/qubes-download-dom0-updates.sh --doit --nogui ‘–exclude=qubes-template-*’ ‘–quiet’ ‘-y’ ‘–clean’ ‘–action=upgrade’’ on sys-whonix
sys-whonix: command failed with code: 1
stdout:
What debug output do you have if you run this command in sys-whonix terminal? /usr/lib/qubes/qubes-download-dom0-updates.sh --doit --nogui '–exclude=qubes-template-*' '-y' '–clean' '–action=upgrade'
/usr/lib/qubes/qubes-download-dom0-updates.sh --doit --nogui '–exclude=qubes-template-’ ‘-y’ ‘–clean’ ‘–action=upgrade’
Unable to detect release version (use ‘–releasever’ to specify release version)
3isec Qubes Dom0 Repository (updates) 2.1 kB/s | 3.0 kB 00:01
No match for argument: –exclude=qubes-template-
No match for argument: –clean
No match for argument: –action=upgrade
Error: Unable to find a match: –exclude=qubes-template-* –clean –action=upgrade
[user@dom0 ~]$ sudo dnf upgrade
Qubes OS Repository for Dom0 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository ‘qubes-dom0-cached’:
Curl error (37): Couldn’t read a file:// file for file:///var/lib/qubes/updates/repodata/repomd.xml [Couldn’t open file /var/lib/qubes/updates/repodata/repomd.xml]
Error: Failed to download metadata for repo ‘qubes-dom0-cached’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: qubes-dom0-cached
Dependencies resolved.
Nothing to do.
Complete!
Try this one instead, the double -- was replaced with – because of forum formatting: /usr/lib/qubes/qubes-download-dom0-updates.sh --doit --nogui '--exclude=qubes-template-*' '-y' '--clean' '--action=upgrade'
user@host:~$ /usr/lib/qubes/qubes-download-dom0-updates.sh --doit --nogui ‘–exclude=qubes-template-*’ ‘-y’ ‘–clean’ ‘–action=upgrade’
cp: cannot stat ‘/var/lib/qubes/dom0-updates/var/lib/rpm’: No such file or directory
Unable to detect release version (use ‘–releasever’ to specify release version)
0 files removed
Unable to detect release version (use ‘–releasever’ to specify release version)
Unable to detect release version (use ‘–releasever’ to specify release version)
Error: There are no enabled repositories in “/var/lib/qubes/dom0-updates/etc/yum.repos.d”.