qubes-issues icon indicating copy to clipboard operation
qubes-issues copied to clipboard

`qubes-dom0-update` downloading from `current-testing` but not installing

Open ydirson opened this issue 3 years ago • 1 comments

On current 4.1, requesting kernel-latest from current-testing causes the download to occur, but not the install. clean packages does remove it from the cache, but subsequent tries fail in the same way (which seem to make the problem different from the known issue, that a package already in the cache won't get installed)

[yann@dom0 ~]$ sudo qubes-dom0-update --console --show-output --enablerepo=qubes-dom0-current-testing --action=clean packages
Using sys-firewall as UpdateVM to download updates for Dom0; this may take some time...
warning: Converting database from bdb_ro to sqlite backend
1 file removed
0 files removed
[yann@dom0 ~]$ sudo qubes-dom0-update --console --show-output --enablerepo=qubes-dom0-current-testing kernel-latest
Using sys-firewall as UpdateVM to download updates for Dom0; this may take some time...
warning: Converting database from bdb_ro to sqlite backend
Fedora 32 - x86_64                               41 kB/s | 4.5 kB     00:00    
Fedora 32 - x86_64 - Updates                     46 kB/s | 4.4 kB     00:00    
Qubes Dom0 Repository (updates)                  42 kB/s | 2.7 kB     00:00    
Qubes Dom0 Repository (updates-testing)          43 kB/s | 2.9 kB     00:00    
Qubes Dom0 Repository (security-testing)         42 kB/s | 2.9 kB     00:00    
Package kernel-latest-1000:5.18.16-1.fc32.qubes.x86_64 is already installed.
Package kernel-latest-1000:5.16.18-2.fc32.qubes.x86_64 is already installed.
Package kernel-latest-1000:5.18.9-1.fc32.qubes.x86_64 is already installed.
Dependencies resolved.
================================================================================
 Package       Arch   Version                  Repository                  Size
================================================================================
Installing:
 kernel-latest x86_64 1000:5.19.9-1.fc32.qubes qubes-dom0-current-testing  71 M
Removing:
 kernel-latest x86_64 1000:5.16.18-2.fc32.qubes
                                               @System                    337 M

Transaction Summary
================================================================================
Install  1 Package
Remove   1 Package

Total download size: 71 M
DNF will only download packages for the transaction.
Downloading Packages:
kernel-latest-5.19.9-1.fc32.qubes.x86_64.rpm    5.5 MB/s |  71 MB     00:12    
--------------------------------------------------------------------------------
Total                                           5.4 MB/s |  71 MB     00:13     
Complete!
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Qubes OS Repository for Dom0                                                                                                                                  2.9 MB/s | 3.0 kB     00:00    
Qubes OS Repository for Dom0                                                                                                                                  2.6 MB/s |  59 kB     00:00    
Package kernel-latest-1000:5.16.18-2.fc32.qubes.x86_64 is already installed.
Package kernel-latest-1000:5.18.9-1.fc32.qubes.x86_64 is already installed.
Package kernel-latest-1000:5.18.16-1.fc32.qubes.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

ydirson avatar Sep 19 '22 14:09 ydirson

This problem is around for a while.

I have been using this workaround - after the package is downloaded, use sudo dnf install package:version manually.

This is awkward though as it is not easy to get the package string and version string right - kernel-latest-1000:5.19.9-1.fc32.qubes.x86_64 is the correct string but does not appear directly from the qubes-dom0-update output.

logoerthiner1 avatar Sep 20 '22 04:09 logoerthiner1

Works for me. 5.19.9-1 installed fine, unfortunately.

On Mon, Sep 19, 2022 at 07:19:10AM -0700, Yann Dirson wrote:

On current 4.1, requesting kernel-latest from current-testing causes the download to occur, but not the install. clean packages does remove it from the cache, but subsequent tries fail in the same way (which seem to make the problem different from the known issue, that a package already in the cache won't get installed)

***@***.*** ~]$ sudo qubes-dom0-update --console --show-output --enablerepo=qubes-dom0-current-testing --action=clean packages
Using sys-firewall as UpdateVM to download updates for Dom0; this may take some time...
warning: Converting database from bdb_ro to sqlite backend
1 file removed
0 files removed
***@***.*** ~]$ sudo qubes-dom0-update --console --show-output --enablerepo=qubes-dom0-current-testing kernel-latest
Using sys-firewall as UpdateVM to download updates for Dom0; this may take some time...
warning: Converting database from bdb_ro to sqlite backend
Fedora 32 - x86_64                               41 kB/s | 4.5 kB     00:00    
Fedora 32 - x86_64 - Updates                     46 kB/s | 4.4 kB     00:00    
Qubes Dom0 Repository (updates)                  42 kB/s | 2.7 kB     00:00    
Qubes Dom0 Repository (updates-testing)          43 kB/s | 2.9 kB     00:00    
Qubes Dom0 Repository (security-testing)         42 kB/s | 2.9 kB     00:00    
Package kernel-latest-1000:5.18.16-1.fc32.qubes.x86_64 is already installed.
Package kernel-latest-1000:5.16.18-2.fc32.qubes.x86_64 is already installed.
Package kernel-latest-1000:5.18.9-1.fc32.qubes.x86_64 is already installed.
Dependencies resolved.
================================================================================
 Package       Arch   Version                  Repository                  Size
================================================================================
Installing:
 kernel-latest x86_64 1000:5.19.9-1.fc32.qubes qubes-dom0-current-testing  71 M
Removing:
 kernel-latest x86_64 1000:5.16.18-2.fc32.qubes
                                               @System                    337 M

Transaction Summary
================================================================================
Install  1 Package
Remove   1 Package

Total download size: 71 M
DNF will only download packages for the transaction.
Downloading Packages:
kernel-latest-5.19.9-1.fc32.qubes.x86_64.rpm    5.5 MB/s |  71 MB     00:12    
--------------------------------------------------------------------------------
Total                                           5.4 MB/s |  71 MB     00:13     
Complete!
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Qubes OS Repository for Dom0                                                                                                                                  2.9 MB/s | 3.0 kB     00:00    
Qubes OS Repository for Dom0                                                                                                                                  2.6 MB/s |  59 kB     00:00    
Package kernel-latest-1000:5.16.18-2.fc32.qubes.x86_64 is already installed.
Package kernel-latest-1000:5.18.9-1.fc32.qubes.x86_64 is already installed.
Package kernel-latest-1000:5.18.16-1.fc32.qubes.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

-- Reply to this email directly or view it on GitHub: https://github.com/QubesOS/qubes-issues/issues/7783 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

unman avatar Sep 24 '22 15:09 unman