fedora-silverblue / issue-tracker

Fedora Silverblue issue tracker
https://fedoraproject.org/atomic-desktops/silverblue/
123 stars 3 forks source link

Unable to add layered packages on top of 38.20230221.n.1 #422

Closed MateusRodCosta closed 1 year ago

MateusRodCosta commented 1 year ago

This issue tracker is intended only for Silverblue specific issues. We would like to ask you to try to reproduce the issue on a relevant Fedora Workstation release. If you will be able to reproduce there, then please report it in Red Hat Bugzilla (see How to file a bug) or in upstream (preferred for GNOME projects) and not in this issue tracker.

Describe the bug Apparently I am unable to upgrade to 38.20230221.n.1 with my layered packages. Resetting overlays and then relayering them also gives the same error message.

The error message:

Checking out tree d6c9eee... done
Enabled rpm-md repositories: fedora-cisco-openh264 fedora-modular updates-modular updates fedora google-chrome code rpmfusion-free-updates-testing rpmfusion-free rpmfusion-nonfree-updates-testing rpmfusion-nonfree updates-archive
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2022-10-06T10:49:41Z solvables: 4
rpm-md repo 'fedora-modular' (cached); generated: 2023-02-20T09:16:19Z solvables: 1082
rpm-md repo 'updates-modular' (cached); generated: 2018-02-20T19:18:14Z solvables: 0
rpm-md repo 'updates' (cached); generated: 2018-02-20T19:18:14Z solvables: 0
rpm-md repo 'fedora' (cached); generated: 2023-02-20T09:23:27Z solvables: 68414
rpm-md repo 'google-chrome' (cached); generated: 2023-02-17T17:32:02Z solvables: 3
rpm-md repo 'code' (cached); generated: 2023-02-21T06:44:15Z solvables: 3077
rpm-md repo 'rpmfusion-free-updates-testing' (cached); generated: 2023-02-19T20:17:37Z solvables: 27
rpm-md repo 'rpmfusion-free' (cached); generated: 2023-02-19T20:30:14Z solvables: 477
rpm-md repo 'rpmfusion-nonfree-updates-testing' (cached); generated: 2023-02-19T20:50:58Z solvables: 2
rpm-md repo 'rpmfusion-nonfree' (cached); generated: 2023-02-19T20:57:16Z solvables: 223
rpm-md repo 'updates-archive' (cached); generated: 2022-11-11T05:17:33Z solvables: 0
Resolving dependencies... done
error: Could not depsolve transaction; 6 problems detected:
 Problem 1: The operation would result in removing the following protected packages: systemd
 Problem 2: The operation would result in removing the following protected packages: systemd
 Problem 3: The operation would result in removing the following protected packages: systemd
 Problem 4: The operation would result in removing the following protected packages: systemd
 Problem 5: The operation would result in removing the following protected packages: systemd
 Problem 6: The operation would result in removing the following protected packages: systemd

To Reproduce Please describe the steps needed to reproduce the bug:

  1. Have a bunch of layered packages, such as some from RPMFusion
  2. Try to update

Expected behavior Would upgrade without issues

Screenshots If applicable, add screenshots to help explain your problem.

OS version:

State: idle
BootedDeployment:
● fedora:fedora/38/x86_64/silverblue
                  Version: 38.20230221.n.1 (2023-02-21T11:55:53Z)
             BootedCommit: d6c9eee903ab8c57488eb5a007c4dcf87dda7a5d4c3095a73178939a6ec713d2
               LiveCommit: e442b4491a867b598daf66bef6e7a48d39357f2137fcfe3e9c7af956f7c466c0
                 LiveDiff: 2 added
             GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464
                   Pinned: yes
                 Unlocked: transient

Additional context My rpm-ostree status:

State: idle
Deployments:
  fedora:fedora/38/x86_64/silverblue
                  Version: 38.20230221.n.1 (2023-02-21T11:55:53Z)
               BaseCommit: d6c9eee903ab8c57488eb5a007c4dcf87dda7a5d4c3095a73178939a6ec713d2
                   Commit: e442b4491a867b598daf66bef6e7a48d39357f2137fcfe3e9c7af956f7c466c0
             GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464
                     Diff: 2 added
            LocalPackages: rpmfusion-free-release-38-0.2.noarch rpmfusion-nonfree-release-38-0.2.noarch

● fedora:fedora/38/x86_64/silverblue
                  Version: 38.20230221.n.1 (2023-02-21T11:55:53Z)
             BootedCommit: d6c9eee903ab8c57488eb5a007c4dcf87dda7a5d4c3095a73178939a6ec713d2
               LiveCommit: e442b4491a867b598daf66bef6e7a48d39357f2137fcfe3e9c7af956f7c466c0
                 LiveDiff: 2 added
             GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464
                   Pinned: yes
                 Unlocked: transient

  fedora:fedora/38/x86_64/silverblue
                  Version: 38.20230220.n.0 (2023-02-20T08:06:55Z)
               BaseCommit: f2130e63f0c3e23f60afe16bc4607390b7b6bcc1718bd6a7f5789b1c95093b03
                   Commit: f868ec08b0fc731e11eeee14000e788d906f41f207828a8eec354ce544fb216f
             GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464
      RemovedBasePackages: firefox firefox-langpacks 110.0-3.fc38 nano-default-editor 7.2-2.fc38
          LayeredPackages: akmod-nvidia code distrobox dptfxtract gnome-shell-extension-appindicator gnome-shell-extension-drive-menu gnome-shell-extension-gsconnect gnome-tweaks google-chrome-stable htop intel-media-driver
                           java-11-openjdk java-11-openjdk-devel libratbag-ratbagd libva-utils libvirt neofetch neovim rpmfusion-free-release rpmfusion-nonfree-release steam-devices syncthing vim-default-editor virt-manager waydroid
                           xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda xorg-x11-drv-nvidia-power
            LocalPackages: duplicati-2.0.6.3-2.0.6.3_beta_20210617.noarch

  fedora:fedora/37/x86_64/silverblue
                  Version: 37.20230221.0 (2023-02-21T00:44:37Z)
               BaseCommit: 521691fcb10306daf330ad64fa04ad23097a05b5adaebe2f1ef4c170c679b9e8
                   Commit: b958f1a4d383a01c8413ac6f105820144f5d4d9c13a5eb3b362896b50e02e42e
             GPGSignature: Valid signature by ACB5EE4E831C74BB7C168D27F55AD3FB5323552A
      RemovedBasePackages: firefox firefox-langpacks 110.0-3.fc37 nano-default-editor 6.4-1.fc37
          LayeredPackages: akmod-nvidia code distrobox dptfxtract gnome-shell-extension-appindicator gnome-shell-extension-drive-menu gnome-shell-extension-gsconnect gnome-tweaks google-chrome-stable htop intel-media-driver
                           java-11-openjdk java-11-openjdk-devel libratbag-ratbagd libva-utils libvirt neofetch neovim rpmfusion-free-release rpmfusion-nonfree-release steam-devices syncthing vim-default-editor virt-manager waydroid
                           xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda xorg-x11-drv-nvidia-power
            LocalPackages: duplicati-2.0.6.3-2.0.6.3_beta_20210617.noarch
                   Pinned: yes
travier commented 1 year ago

Can you try with only packages from Fedora?

CleoMenezesJr commented 1 year ago

This week, a few days ago, I am no longer able to rebase Fedora 38 precisely because of the same problem.

❯ rpm-ostree rebase fedora:fedora/38/x86_64/silverblue
2 metadata, 0 content objects fetched; 788 B transferred in 2 seconds; 0 bytes content written
Checking out tree d5ab1b7... done
Enabled rpm-md repositories: fedora-cisco-openh264 fedora-modular updates-modular updates fedora rpmfusion-nonfree-nvidia-driver updates-archive
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2022-10-06T10:49:41Z solvables: 4
rpm-md repo 'fedora-modular' (cached); generated: 2023-02-20T09:16:19Z solvables: 1082
rpm-md repo 'updates-modular' (cached); generated: 2018-02-20T19:18:14Z solvables: 0
rpm-md repo 'updates' (cached); generated: 2018-02-20T19:18:14Z solvables: 0
rpm-md repo 'fedora' (cached); generated: 2023-02-20T09:23:27Z solvables: 68414
rpm-md repo 'rpmfusion-nonfree-nvidia-driver' (cached); generated: 2023-02-15T21:40:23Z solvables: 30
rpm-md repo 'updates-archive' (cached); generated: 2022-11-11T05:17:33Z solvables: 0
Resolving dependencies... done
error: Could not depsolve transaction; 8 problems detected:
 Problem 1: The operation would result in removing the following protected packages: systemd
 Problem 2: The operation would result in removing the following protected packages: systemd
 Problem 3: The operation would result in removing the following protected packages: systemd
 Problem 4: The operation would result in removing the following protected packages: systemd
 Problem 5: The operation would result in removing the following protected packages: systemd
 Problem 6: The operation would result in removing the following protected packages: systemd
 Problem 7: The operation would result in removing the following protected packages: systemd
 Problem 8: The operation would result in removing the following protected packages: systemd
travier commented 1 year ago

Please try with packages from Fedora only, or try to find the package creating this conflict.

travier commented 1 year ago

In case it's not clear: RPM Fusion is not part of Fedora.

MateusRodCosta commented 1 year ago

In case it's not clear: RPM Fusion is not part of Fedora.

Hi, sorry, yeah I will try to open an issue with the RPMFusion people later today.

At least on my system it seems the Nvidia packages are 4 of the 6 packages that cause problems.

So I guess maybe there was a change in systemd packaging that RPMFusion didn't adapt to yet

CleoMenezesJr commented 1 year ago

Please try with packages from Fedora only, or try to find the package creating this conflict.

Oh, sorry. She hadn't paid attention. Once again, the day has been saved thanks to NVIDIA. /s

MateusRodCosta commented 1 year ago

Ok, I kept my layered packages and it seems this error doesn't appear anymore.

So, likely really a conflict between RPMFusion packages and that commit at that speicfifc point (mostly Nvidia packages and a few other packages).

I will keep the bug on rpm-ostree open though, because it would be useful if it showed which packages are causing issues so it becomes easier to debug similar issues in the future.