libdnf icon indicating copy to clipboard operation
libdnf copied to clipboard

[DNF5] Problem: The operation would result in removing of running kernel: kernel-core-0:5.18.15-100.fc35.x86_64

Open hroncok opened this issue 1 year ago • 0 comments

I decided to experiment with dnf5 for a bit.

I run Fedora 35. Here is what I did to get it:

$ sudo dnf copr enable rpmsoftwaremanagement/dnf5-unstable
$ sudo dnf install dnf5
...
  dnf5-5.0.0-20220921012242.2.g5f6db92d.fc35.x86_64
  libdnf5-5.0.0-20220921012242.2.g5f6db92d.fc35.x86_64
  libdnf5-cli-5.0.0-20220921012242.2.g5f6db92d.fc35.x86_64

Here's what happened when I tried to use it:

$ sudo dnf5 upgrade 
Updating and loading repositories:
[0/0] RPM Fusion for Fedora 35 - Nonfre 100% |   2.5 KiB/s |   3.7 KiB |  00m02s
>>> Downloading successful, but checksum doesn't match. Calculated: 74221c0a8a35
>>> Downloading successful, but checksum doesn't match. Calculated: 74221c0a8a35
>>> Downloading successful, but checksum doesn't match. Calculated: 74221c0a8a35
>>> Downloading successful, but checksum doesn't match. Calculated: 74221c0a8a35
>>> Downloading successful, but checksum doesn't match. Calculated: 74221c0a8a35
>>> Downloading successful, but checksum doesn't match. Calculated: 74221c0a8a35
>>> Downloading successful, but checksum doesn't match. Calculated: 74221c0a8a35
>>> Downloading successful, but checksum doesn't match. Calculated: 74221c0a8a35
>>> Downloading successful, but checksum doesn't match. Calculated: 74221c0a8a35
>>> Downloading successful, but checksum doesn't match. Calculated: 74221c0a8a35
>>> Downloading successful, but checksum doesn't match. Calculated: 74221c0a8a35
>>> Downloading successful, but checksum doesn't match. Calculated: 74221c0a8a35
>>> Librepo error: Cannot download repomd.xml: Cannot download repodata/repomd.x
Repositories loaded.
Failed to resolve the transaction:
Problem: The operation would result in removing of running kernel: kernel-core-0:5.18.15-100.fc35.x86_64

OK, what about without rpmfusion:

$ sudo dnf5 upgrade --disablerepo=rpmfusion\*
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: The operation would result in removing of running kernel: kernel-core-0:5.18.15-100.fc35.x86_64

Old dnf upgrades just fine.

$ LANG=en_US.utf-8 dnf upgrade
Last metadata expiration check: 0:05:31 ago on Wed 21 Sep 2022 01:06:58 PM CEST.
Dependencies resolved.
================================================================================
 Package                                Arch   Version           Repo      Size
================================================================================
Installing:
 kernel                                 x86_64 5.19.9-100.fc35   updates  262 k
 kernel-core                            x86_64 5.19.9-100.fc35   updates   50 M
 kernel-devel                           x86_64 5.19.9-100.fc35   updates   16 M
 kernel-modules                         x86_64 5.19.9-100.fc35   updates   58 M
 kernel-modules-extra                   x86_64 5.19.9-100.fc35   updates  3.7 M
Upgrading:
 binutils                               x86_64 2.37-25.fc35      updates  5.9 M
 binutils-gold                          x86_64 2.37-25.fc35      updates  725 k
 black                                  noarch 22.8.0-1.fc35     updates  254 k
 crun                                   x86_64 1.6-2.fc35        updates  192 k
 curl                                   x86_64 7.79.1-6.fc35     updates  309 k
 emoji-picker                           noarch 2.19.0-1.fc35     updates   57 k
 fedpkg                                 noarch 1.43-2.fc35       updates   96 k
 ghostscript                            x86_64 9.56.1-2.fc35     updates   37 k
 ghostscript-tools-fonts                x86_64 9.56.1-2.fc35     updates   12 k
 ghostscript-tools-printing             x86_64 9.56.1-2.fc35     updates   12 k
 git                                    x86_64 2.37.3-1.fc35     updates   65 k
 git-core                               x86_64 2.37.3-1.fc35     updates  4.0 M
 git-core-doc                           noarch 2.37.3-1.fc35     updates  2.4 M
 git-gui                                noarch 2.37.3-1.fc35     updates  247 k
 gitk                                   noarch 2.37.3-1.fc35     updates  162 k
 go-srpm-macros                         noarch 3.2.0-1.fc35      updates   26 k
 ibus-typing-booster                    noarch 2.19.0-1.fc35     updates  1.0 M
 java-11-openjdk-headless               x86_64 1:11.0.16.1.1-1.fc35
                                                                 updates   38 M
 libcurl                                x86_64 7.79.1-6.fc35     updates  291 k
 libcurl-devel                          x86_64 7.79.1-6.fc35     updates  858 k
 libgs                                  x86_64 9.56.1-2.fc35     updates  3.5 M
 meld                                   noarch 3.22.0-1.fc35     updates  822 k
 minizip-compat                         x86_64 1.2.11-32.fc35    updates   30 k
 nmap-ncat                              x86_64 3:7.93-2.fc35     updates  223 k
 open-vm-tools                          x86_64 12.1.0-1.fc35     updates  851 k
 open-vm-tools-desktop                  x86_64 12.1.0-1.fc35     updates  160 k
 perl-Git                               noarch 2.37.3-1.fc35     updates   42 k
 perl-Net-Ping                          noarch 2.75-1.fc35       updates   49 k
 perl-Type-Tiny                         noarch 1.016008-2.fc35   updates  376 k
 python3-dnf-plugin-system-upgrade      noarch 4.0.17-1.fc35     updates   30 k
 python3-dnf-plugins-extras-common      noarch 4.0.17-1.fc35     updates   62 k
 python3-ogr                            noarch 0.40.0-1.fc35     updates  143 k
 python3-rpkg                           noarch 1.65-2.fc35       updates  174 k
 python3-rpmfusion-cert                 noarch 0.7.2-4.fc35      rpmfusion-free-updates
                                                                           25 k
 python3.7                              x86_64 3.7.14-1.fc35     updates   17 M
 python3.8                              x86_64 3.8.14-1.fc35     updates   16 M
 qa-tools-workstation                   noarch 4.4-25.fc35       copr:copr.devel.redhat.com:lpol:qa-tools
                                                                          420 k
 qemu-audio-alsa                        x86_64 2:6.1.0-16.fc35   updates   22 k
 qemu-audio-jack                        x86_64 2:6.1.0-16.fc35   updates   21 k
 qemu-audio-oss                         x86_64 2:6.1.0-16.fc35   updates   21 k
 qemu-audio-pa                          x86_64 2:6.1.0-16.fc35   updates   22 k
 qemu-audio-sdl                         x86_64 2:6.1.0-16.fc35   updates   20 k
 qemu-audio-spice                       x86_64 2:6.1.0-16.fc35   updates   19 k
 qemu-block-curl                        x86_64 2:6.1.0-16.fc35   updates   24 k
 qemu-block-dmg                         x86_64 2:6.1.0-16.fc35   updates   17 k
 qemu-block-gluster                     x86_64 2:6.1.0-16.fc35   updates   26 k
 qemu-block-iscsi                       x86_64 2:6.1.0-16.fc35   updates   32 k
 qemu-block-nfs                         x86_64 2:6.1.0-16.fc35   updates   25 k
 qemu-block-rbd                         x86_64 2:6.1.0-16.fc35   updates   28 k
 qemu-block-ssh                         x86_64 2:6.1.0-16.fc35   updates   27 k
 qemu-char-baum                         x86_64 2:6.1.0-16.fc35   updates   21 k
 qemu-char-spice                        x86_64 2:6.1.0-16.fc35   updates   20 k
 qemu-common                            x86_64 2:6.1.0-16.fc35   updates  480 k
 qemu-device-display-qxl                x86_64 2:6.1.0-16.fc35   updates   42 k
 qemu-device-display-vhost-user-gpu     x86_64 2:6.1.0-16.fc35   updates  113 k
 qemu-device-display-virtio-gpu         x86_64 2:6.1.0-16.fc35   updates   36 k
 qemu-device-display-virtio-gpu-gl      x86_64 2:6.1.0-16.fc35   updates   23 k
 qemu-device-display-virtio-gpu-pci     x86_64 2:6.1.0-16.fc35   updates   18 k
 qemu-device-display-virtio-gpu-pci-gl  x86_64 2:6.1.0-16.fc35   updates   17 k
 qemu-device-display-virtio-vga         x86_64 2:6.1.0-16.fc35   updates   19 k
 qemu-device-display-virtio-vga-gl      x86_64 2:6.1.0-16.fc35   updates   17 k
 qemu-device-usb-host                   x86_64 2:6.1.0-16.fc35   updates   30 k
 qemu-device-usb-redirect               x86_64 2:6.1.0-16.fc35   updates   37 k
 qemu-device-usb-smartcard              x86_64 2:6.1.0-16.fc35   updates   25 k
 qemu-guest-agent                       x86_64 2:6.1.0-16.fc35   updates  195 k
 qemu-img                               x86_64 2:6.1.0-16.fc35   updates  1.7 M
 qemu-kvm                               x86_64 2:6.1.0-16.fc35   updates   13 k
 qemu-kvm-core                          x86_64 2:6.1.0-16.fc35   updates   13 k
 qemu-system-s390x-core                 x86_64 2:6.1.0-16.fc35   updates  2.7 M
 qemu-system-x86                        x86_64 2:6.1.0-16.fc35   updates   14 k
 qemu-system-x86-core                   x86_64 2:6.1.0-16.fc35   updates  7.0 M
 qemu-ui-curses                         x86_64 2:6.1.0-16.fc35   updates   26 k
 qemu-ui-egl-headless                   x86_64 2:6.1.0-16.fc35   updates   18 k
 qemu-ui-gtk                            x86_64 2:6.1.0-16.fc35   updates   40 k
 qemu-ui-opengl                         x86_64 2:6.1.0-16.fc35   updates   23 k
 qemu-ui-sdl                            x86_64 2:6.1.0-16.fc35   updates   28 k
 qemu-ui-spice-app                      x86_64 2:6.1.0-16.fc35   updates   19 k
 qemu-ui-spice-core                     x86_64 2:6.1.0-16.fc35   updates   36 k
 qemu-user-static                       x86_64 2:6.1.0-16.fc35   updates   16 M
 qt5-qtwebengine                        x86_64 5.15.10-1.fc35    updates   53 M
 redhat-rpm-config                      noarch 202-1.fc35        updates   63 k
 rfpkg                                  noarch 1.27.1-1.fc35     rpmfusion-free-updates
                                                                           48 k
 rhpkg                                  noarch 1.44-1.fc35eng    rcm-tools-fedora-rpms
                                                                          134 k
 rpkg-common                            noarch 1.65-2.fc35       updates   20 k
 rpmfusion-packager                     noarch 0.7.2-4.fc35      rpmfusion-free-updates
                                                                           26 k
 thunderbird                            x86_64 102.2.1-1.fc35    updates  101 M
 thunderbird-librnp-rnp                 x86_64 102.2.1-1.fc35    updates  1.2 M
 vim-data                               noarch 2:9.0.412-1.fc35  updates   25 k
 vim-filesystem                         noarch 2:9.0.412-1.fc35  updates   20 k
 vim-minimal                            x86_64 2:9.0.412-1.fc35  updates  758 k
 zlib                                   x86_64 1.2.11-32.fc35    updates   90 k
 zlib-devel                             x86_64 1.2.11-32.fc35    updates   44 k
Removing:
 kernel                                 x86_64 5.19.4-100.fc35   @updates   0  
 kernel-core                            x86_64 5.19.4-100.fc35   @updates  92 M
 kernel-devel                           x86_64 5.19.4-100.fc35   @updates  64 M
 kernel-modules                         x86_64 5.19.4-100.fc35   @updates  58 M
 kernel-modules-extra                   x86_64 5.19.4-100.fc35   @updates 3.4 M
Removing dependent packages:
 kmod-VirtualBox-5.19.4-100.fc35.x86_64 x86_64 6.1.36-1.fc35     @@commandline
                                                                          859 k

Transaction Summary
================================================================================
Install   5 Packages
Upgrade  92 Packages
Remove    6 Packages

Total download size: 406 M
...

hroncok avatar Sep 21 '22 11:09 hroncok