ublue-os / bazzite

Bazzite is a cloud native image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices - including your favorite handheld.
https://bazzite.gg
Apache License 2.0
4.09k stars 250 forks source link

Trying to rebase to fedora 41 on bazzite bug on openrazer-meta and razergenie #1783

Open yodatak opened 1 month ago

yodatak commented 1 month ago

Describe the bug

Hello i know its just in testing but love to iron bugs

so when i try to rebase my ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome-nvidia to ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome-nvidia:testing (fedora 40 to 41)

i got

rpm-ostree rebase ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome-nvidia:testing
Pulling manifest: ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome-nvidia:testing
Importing: ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome-nvidia:testing (digest: sha256:88d245235899fdb613bcd6882acf3f39ecc74022add63dfd76d33393e835a7ac)
ostree chunk layers already present: 3
ostree chunk layers needed: 70 (4,7 Go)
Fetching ostree chunk sha256:d123e54628bf (271,5 Mo)... done
Fetching ostree chunk sha256:39e8d9f8a449 (16,8 Mo)... done
Fetching ostree chunk sha256:974f0e836793 (86,6 Mo)... done
Fetching ostree chunk sha256:e5aaeeb4d04f (9,7 Mo)... done
Fetching ostree chunk sha256:79833deef375 (28,3 Mo)... done
Fetching ostree chunk sha256:02ff4d205d25 (25,7 Mo)... done
Fetching ostree chunk sha256:7e0ad8a36350 (180,8 Mo)... done
Fetching ostree chunk sha256:62c45baada62 (13,7 Mo)... done
Fetching ostree chunk sha256:a770a4b47c04 (111,7 Mo)... done
Fetching ostree chunk sha256:edfa49b14291 (24,3 Mo)... done
Fetching ostree chunk sha256:102e41c42dfa (251,4 Mo)... done
Fetching ostree chunk sha256:ddd26f149cf6 (15,2 Mo)... done
Fetching ostree chunk sha256:11e60ca9b016 (246,2 Mo)... done
Fetching ostree chunk sha256:af7b606bfc40 (93,4 Mo)... done
Fetching ostree chunk sha256:dc4f1a49fac1 (302,8 Mo)... done
Fetching ostree chunk sha256:fe0bc0a39c15 (95,4 Mo)... done
Fetching ostree chunk sha256:470d446a31fc (155,3 Mo)... done
Fetching ostree chunk sha256:6be9f613b8ab (21,1 Mo)... done
Fetching ostree chunk sha256:796c1895c750 (17,9 Mo)... done
Fetching ostree chunk sha256:1e93173ad3f9 (14,1 Mo)... done
Fetching ostree chunk sha256:615e12356468 (67,0 Mo)... done
Fetching ostree chunk sha256:284566a31605 (27,4 Mo)... done
Fetching ostree chunk sha256:dcf5064bcf9b (5,9 Mo)... done
Fetching ostree chunk sha256:1060bd4a7288 (91,3 Mo)... done
Fetching ostree chunk sha256:98f99aa438ba (416,6 Mo)... done
Fetching ostree chunk sha256:67053f761440 (1,0 Mo)... done
Fetching ostree chunk sha256:9899b2a1dac2 (8,8 Mo)... done
Fetching ostree chunk sha256:6083e6d2c658 (16,4 Mo)... done
Fetching ostree chunk sha256:3d5c55887610 (108,4 Mo)... done
Fetching ostree chunk sha256:67ecef41618f (261,9 Mo)... done
Fetching ostree chunk sha256:a91057df7214 (20,6 Mo)... done
Fetching ostree chunk sha256:e43e4dc2ae25 (15,8 Mo)... done
Fetching ostree chunk sha256:91c68a6a4d3c (39,2 Mo)... done
Fetching ostree chunk sha256:05102061db46 (76,7 Mo)... done
Fetching ostree chunk sha256:6338799956ea (57,3 Mo)... done
Fetching ostree chunk sha256:546ddb1c5c5c (14,9 Mo)... done
Fetching ostree chunk sha256:b1200976a8ae (23,5 Mo)... done
Fetching ostree chunk sha256:ebf0a7cb0ed7 (44,6 Mo)... done
Fetching ostree chunk sha256:e0e0d50a7fd3 (6,5 Mo)... done
Fetching ostree chunk sha256:7a961e88db24 (34,0 Mo)... done
Fetching ostree chunk sha256:5a0b3992cde5 (20,8 Mo)... done
Fetching ostree chunk sha256:9e51ed36f4d6 (26,2 Mo)... done
Fetching ostree chunk sha256:b57307390d5f (20,3 Mo)... done
Fetching ostree chunk sha256:7371945e3df4 (32,3 Mo)... done
Fetching ostree chunk sha256:bf549e4d33f8 (17,5 Mo)... done
Fetching ostree chunk sha256:39993499c23a (43,6 Mo)... done
Fetching ostree chunk sha256:cd5e461e8bd1 (42,4 Mo)... done
Fetching ostree chunk sha256:59d4b10cc2b5 (27,6 Mo)... done
Fetching ostree chunk sha256:2bd68b26f9ef (42,9 Mo)... done
Fetching ostree chunk sha256:2d02a984eea7 (30,8 Mo)... done
Fetching ostree chunk sha256:987ea6ccc8a2 (35,3 Mo)... done
Fetching ostree chunk sha256:9e269466b712 (35,6 Mo)... done
Fetching ostree chunk sha256:53637ba1b245 (28,2 Mo)... done
Fetching ostree chunk sha256:0a022ca787d5 (52,2 Mo)... done
Fetching ostree chunk sha256:8d1f7d6dd6d7 (25,0 Mo)... done
Fetching ostree chunk sha256:1531d8287430 (18,8 Mo)... done
Fetching ostree chunk sha256:b0fb4431e3e7 (21,0 Mo)... done
Fetching ostree chunk sha256:3ba8e02e85ac (32,8 Mo)... done
Fetching ostree chunk sha256:ae36c8a2b921 (41,2 Mo)... done
Fetching ostree chunk sha256:07babbbbe11c (161,3 Mo)... done
Fetching ostree chunk sha256:a8f1236c4857 (31,1 Mo)... done
Fetching ostree chunk sha256:96323746e270 (93,9 Mo)... done
Fetching ostree chunk sha256:8710fe150f52 (308,5 Mo)... done
Fetching ostree chunk sha256:dcf7eeba48cb (4,2 Mo)... done
Fetching ostree chunk sha256:a0fac3d89452 (8,4 Mo)... done
Fetching ostree chunk sha256:5f0b967cdb31 (74,4 Mo)... done
Fetching ostree chunk sha256:a89877c63bc8 (5,1 Mo)... done
Fetching ostree chunk sha256:2431d3395fa8 (7,2 Mo)... done
Fetching ostree chunk sha256:0d5875119a24 (127,0 Mo)... done
Fetching ostree chunk sha256:a6b198178d70 (7,2 Mo)... done
Checking out tree df12232... done
Enabled rpm-md repositories: copr:copr.fedorainfracloud.org:matte-schwartz:sunshine copr:copr.fedorainfracloud.org:rodoma92:kde-cdemu-manager copr:copr.fedorainfracloud.org:rodoma92:rmlint copr:copr.fedorainfracloud.org:rok:cdemu updates fedora hardware_razer updates-archive
Updating metadata for 'copr:copr.fedorainfracloud.org:matte-schwartz:sunshine'... done
Updating metadata for 'copr:copr.fedorainfracloud.org:rodoma92:kde-cdemu-manager'... done
Updating metadata for 'copr:copr.fedorainfracloud.org:rodoma92:rmlint'... done
Updating metadata for 'copr:copr.fedorainfracloud.org:rok:cdemu'... done
Updating metadata for 'updates'... done
Updating metadata for 'fedora'... done
Updating metadata for 'hardware_razer'... done
Updating metadata for 'updates-archive'... done
Importing rpm-md... done
rpm-md repo 'copr:copr.fedorainfracloud.org:matte-schwartz:sunshine'; generated: 2024-08-12T15:47:19Z solvables: 2
rpm-md repo 'copr:copr.fedorainfracloud.org:rodoma92:kde-cdemu-manager'; generated: 2024-10-20T05:35:43Z solvables: 0
rpm-md repo 'copr:copr.fedorainfracloud.org:rodoma92:rmlint'; generated: 2024-10-20T05:36:44Z solvables: 0
rpm-md repo 'copr:copr.fedorainfracloud.org:rok:cdemu'; generated: 2024-10-21T13:15:21Z solvables: 23
rpm-md repo 'updates'; generated: 2018-02-20T19:18:14Z solvables: 0
rpm-md repo 'fedora'; generated: 2024-10-25T08:41:19Z solvables: 76624
rpm-md repo 'hardware_razer'; generated: 2024-10-06T15:58:25Z solvables: 15
rpm-md repo 'updates-archive'; generated: 2024-08-16T12:55:57Z solvables: 0
Resolving dependencies... done
error: Could not depsolve transaction; 2 problems detected:
 Problem 1: package openrazer-meta-3.9.0-1.1.noarch from hardware_razer requires python3-openrazer, but none of the providers can be installed
  - conflicting requests
  - nothing provides python(abi) = 3.12 needed by python3-openrazer-3.9.0-1.1.noarch from hardware_razer
  - nothing provides python3.12dist(dbus-python) >= 1.2 needed by python3-openrazer-3.9.0-1.1.noarch from hardware_razer
  - nothing provides python3.12dist(numpy) >= 1.11 needed by python3-openrazer-3.9.0-1.1.noarch from hardware_razer
 Problem 2: package razergenie-1.1.0-1.1.x86_64 from hardware_razer requires openrazer-daemon, but none of the providers can be installed
  - conflicting requests
  - nothing provides python(abi) = 3.12 needed by openrazer-daemon-3.9.0-1.1.noarch from hardware_razer
  - nothing provides python3.12dist(dbus-python) >= 1.2 needed by openrazer-daemon-3.9.0-1.1.noarch from hardware_razer
  - nothing provides python3.12dist(pyudev) >= 0.16.1 needed by openrazer-daemon-3.9.0-1.1.noarch from hardware_razer
  - nothing provides python3.12dist(daemonize) >= 2.4.7 needed by openrazer-daemon-3.9.0-1.1.noarch from hardware_razer
  - nothing provides python3.12dist(pygobject) >= 3.20 needed by openrazer-daemon-3.9.0-1.1.noarch from hardware_razer
  - nothing provides python3.12dist(setproctitle) >= 1.1.8 needed by openrazer-daemon-3.9.0-1.1.noarch from hardware_razer
  - package razergenie-1.1.0-1.1.aarch64 from hardware_razer does not have a compatible architecture
  - nothing provides ld-linux-aarch64.so.1()(64bit) needed by razergenie-1.1.0-1.1.aarch64 from hardware_razer
  - nothing provides ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) needed by razergenie-1.1.0-1.1.aarch64 from hardware_razer

What did you expect to happen?

rebase it ;) i try to remove the razer thing to makje the rebase work i let you know

Output of rpm-ostree status

rpm-ostree status
State: busy
  Initiator: client(id:cli dbus:1.313 unit:run-r1750b388bf4f4784ae06e0e9223826d9.scope uid:1000)
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome-nvidia:stable
                   Digest: sha256:28e9785f1f90699d38063655319286a01669aacdbb7ed75a90a84f78c4944799
                  Version: 40.20241020 (2024-10-21T05:06:50Z)
          LayeredPackages: conda fido2-tools flatpak-builder gnome-boxes guestfs-tools libguestfs-tools libvirt mold ocrmypdf openrazer-meta qemu-common qemu-kvm razergenie sunshine vagrant virt-install virt-manager

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome-nvidia:stable
                   Digest: sha256:28e9785f1f90699d38063655319286a01669aacdbb7ed75a90a84f78c4944799
                  Version: 40.20241020 (2024-10-21T05:06:50Z)
          LayeredPackages: conda fido2-tools flatpak-builder gnome-boxes guestfs-tools libguestfs-tools libvirt mold ocrmypdf openrazer-meta qemu-common qemu-kvm razergenie sunshine vagrant virt-install virt-manager

Hardware

No response

Extra information or context

No response

yodatak commented 1 month ago

For fix i have to rpm-ostree remove openrazer-meta razergenie

kyleduvall commented 3 weeks ago

I had the same issue when updating from Bazzite 40 stable to Bazzite 41 stable today. I can confirm that removing the razer related packages allows the update to complete successfully. After the update I tried to reinstall openrazer with ujust install-openrazer and the command failed with the following output.

$ ujust install-openrazer
sudo wget https://download.opensuse.org/repositories/hardware:/razer/Fedora_$(rpm -E %fedora)/hardware:razer.repo -O /etc/yum.repos.d/hardware:razer.repo && ublue-update --wait && rpm-ostree install -y openrazer-meta razergenie && if ! grep -q "plugdev" /etc/group; then sudo bash -c 'grep "plugdev" /lib/group >> /etc/group' ; fi && sudo usermod -a -G plugdev $USER && echo "Please reboot to apply needed changes."
[sudo] password for kduvall: 
/etc/yum.repos.d/har 100% [===========================================================================================>]     260     --.-KB/s
                          [Files: 1  Bytes: 260  [635 B/s] Redirects: 0  Todo: 0  Errors: 0                            ]
Checking out tree 8e85633... done
Enabled rpm-md repositories: copr:copr.fedorainfracloud.org:lukenukem:asus-linux copr:copr.fedorainfracloud.org:matte-schwartz:sunshine copr:copr.fedorainfracloud.org:rodoma92:kde-cdemu-manager copr:copr.fedorainfracloud.org:rodoma92:rmlint copr:copr.fedorainfracloud.org:rok:cdemu updates fedora hardware_razer updates-archive
Importing rpm-md... done
rpm-md repo 'copr:copr.fedorainfracloud.org:lukenukem:asus-linux' (cached); generated: 2024-08-30T10:56:31Z solvables: 5
rpm-md repo 'copr:copr.fedorainfracloud.org:matte-schwartz:sunshine' (cached); generated: 2024-08-12T15:47:19Z solvables: 2
rpm-md repo 'copr:copr.fedorainfracloud.org:rodoma92:kde-cdemu-manager' (cached); generated: 2024-10-29T12:13:12Z solvables: 16
rpm-md repo 'copr:copr.fedorainfracloud.org:rodoma92:rmlint' (cached); generated: 2024-10-29T12:31:09Z solvables: 4
rpm-md repo 'copr:copr.fedorainfracloud.org:rok:cdemu' (cached); generated: 2024-10-21T13:15:21Z solvables: 23
rpm-md repo 'updates' (cached); generated: 2024-10-29T04:10:52Z solvables: 3400
rpm-md repo 'fedora' (cached); generated: 2024-10-25T08:41:19Z solvables: 76624
rpm-md repo 'hardware_razer' (cached); generated: 2024-10-06T15:58:25Z solvables: 15
rpm-md repo 'updates-archive' (cached); generated: 2024-08-16T12:55:57Z solvables: 0
Resolving dependencies... done
error: Could not depsolve transaction; 2 problems detected:
 Problem 1: package openrazer-meta-3.9.0-1.1.noarch from hardware_razer requires python3-openrazer, but none of the providers can be installed
  - conflicting requests
  - nothing provides python(abi) = 3.12 needed by python3-openrazer-3.9.0-1.1.noarch from hardware_razer
  - nothing provides python3.12dist(dbus-python) >= 1.2 needed by python3-openrazer-3.9.0-1.1.noarch from hardware_razer
  - nothing provides python3.12dist(numpy) >= 1.11 needed by python3-openrazer-3.9.0-1.1.noarch from hardware_razer
 Problem 2: package razergenie-1.1.0-1.1.x86_64 from hardware_razer requires openrazer-daemon, but none of the providers can be installed
  - conflicting requests
  - nothing provides python(abi) = 3.12 needed by openrazer-daemon-3.9.0-1.1.noarch from hardware_razer
  - nothing provides python3.12dist(dbus-python) >= 1.2 needed by openrazer-daemon-3.9.0-1.1.noarch from hardware_razer
  - nothing provides python3.12dist(pyudev) >= 0.16.1 needed by openrazer-daemon-3.9.0-1.1.noarch from hardware_razer
  - nothing provides python3.12dist(daemonize) >= 2.4.7 needed by openrazer-daemon-3.9.0-1.1.noarch from hardware_razer
  - nothing provides python3.12dist(pygobject) >= 3.20 needed by openrazer-daemon-3.9.0-1.1.noarch from hardware_razer
  - nothing provides python3.12dist(setproctitle) >= 1.1.8 needed by openrazer-daemon-3.9.0-1.1.noarch from hardware_razer
  - package razergenie-1.1.0-1.1.aarch64 from hardware_razer does not have a compatible architecture
  - nothing provides ld-linux-aarch64.so.1()(64bit) needed by razergenie-1.1.0-1.1.aarch64 from hardware_razer
  - nothing provides ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) needed by razergenie-1.1.0-1.1.aarch64 from hardware_razer
error: Recipe `install-openrazer` failed on line 58 with exit code 1
randyoles commented 3 weeks ago

I can confirm same missing python errors for me just now.

Just ran rpm-ostree install openrazer-daemon again and problem is resolved for me now. No more missing libraries :)

kyleduvall commented 2 weeks ago

Can confirm that it appears to be fixed now.