otter2
August 10, 2024, 6:02am
1
Inistructions in How to re-install a package seem to be erroneous.
Can anyone try it to make sure that this is not a problem with my setup?
If you follow instructions:
sudo qubes-dom0-update <package>
results in:
Dependencies resolved.
Nothing to do.
Complete!
No packages downloaded
and sudo dnf reinstall <package>
throws an error:
Installed package <package> (from <source>) not available.
Error: No packages marked for reinstall.
<package>
is the name of the package you want to install
1 Like
otter2
August 10, 2024, 6:21am
3
Reinstall of any package fails. This includes both packages from qubes repos and fedora repos.
Sorry, I shouldâve been clearer that <package>
is just a placeholder
You can try to download package like this:
sudo qubes-dom0-update --action=download <package>
otter2
August 10, 2024, 6:28am
5
No such command: download. Please use /usr/bin/dnf-3.anondist-orig --help
It could be a DNF plugin command, but loading of plugins is currently disabled.
/usr/bin/dnf-3.anondist-orig --help
results in No such file or directory
I have just dnf-3
though
--action=downloadonly
doesnât work either.
otter2
August 10, 2024, 6:37am
6
I can run sudo qubes-dom0-update --downloadonly
directly, although it isnât documented.
It results in the same error when trying to run sudo dnf reinstall
.
otter2
August 10, 2024, 6:46am
7
Does it work on your machine?
I tried on my Qubes OS and I can reinstall the package like this:
sudo qubes-dom0-update --action=reinstall <package>
To only download the package use this command:
sudo qubes-dom0-update --downloadonly --action=reinstall <package>
1 Like
Iâve created a PR to fix the docs:
QubesOS:main
â apparatius:fix-dom0-downgrade-reinstall-cmds
opened 07:29AM - 10 Aug 24 UTC
Related forum topic:
https://forum.qubes-os.org/t/documentation-error-in-how-to⌠-install-software-in-dom0/28190
1 Like