coreos / rpm-ostree

⚛📦 Hybrid image/package system with atomic upgrades and package layering
https://coreos.github.io/rpm-ostree
Other
872 stars 196 forks source link

"GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code26:" during special rpm-ostree command when re-trying #5075

Open rugk opened 2 months ago

rugk commented 2 months ago

Describe the bug

Due to https://github.com/fedora-silverblue/issue-tracker/issues/590 I try to resolve the actual issue after reinstalling libavcodec-freeworld.

I guess, this has not much to do with the actual underlaying issue though, but more about network problems/interrupted rpm-ostree setups.

Reproduction steps

  1. I uninstalled libavcodec-freeworld.
  2. Installing the upgrade again:
    $ rpm-ostree upgrade --install libavcodec-freeworld  
    note: automatic updates (stage) are enabled
    Receiving objects; 68% (780/1146) 233,3 KB/s 73,3 MB... done
    error: While pulling fedora/40/x86_64/silverblue: While fetching https://d2uk5hbyrobdzx.cloudfront.net/objects/ed/f807129eb942dd7165de083d803cfc85712c9f08985fada540cccb9276e125.filez: [28] Timeout was reached

    Note this ran into a timeout as I was on German train wifi, so this can only fail… :upside_down_face: So in any case, I had some network issues…

  3. Hours/days later, try again – note the differing behavior when I add --install libavcodec-freeworld or not add it and that canceling does not work at all:
    $ rpm-ostree upgrade --install libavcodec-freeworld
    note: automatic updates (stage) are enabled
    error: Updating deployment: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code26: Transaction in progress: upgrade (download only)
     You can cancel the current transaction with `rpm-ostree cancel`
    $ rpm-ostree upgrade --install libavcodec-freeworld
    note: automatic updates (stage) are enabled
    error: Updating deployment: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code26: Transaction in progress: upgrade (download only)
     You can cancel the current transaction with `rpm-ostree cancel`
    $ rpm-ostree upgrade --install libavcodec-freeworld
    note: automatic updates (stage) are enabled
    error: Updating deployment: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code26: Transaction in progress: upgrade (check only)
     You can cancel the current transaction with `rpm-ostree cancel`
    $ rpm-ostree cancel                                
    Cancelling transaction: upgrade (check only)
    Cancelled.
    $ rpm-ostree upgrade --install libavcodec-freeworld
    note: automatic updates (stage) are enabled
    error: Updating deployment: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code26: Transaction in progress: upgrade (download only)
     You can cancel the current transaction with `rpm-ostree cancel`
    $ rpm-ostree cancel                                
    Cancelling transaction: upgrade (download only)
    Cancelled.
    $ rpm-ostree upgrade --install libavcodec-freeworld
    note: automatic updates (stage) are enabled
    error: Updating deployment: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code26: Transaction in progress: upgrade (download only)
     You can cancel the current transaction with `rpm-ostree cancel`
    $ rpm-ostree cancel                                
    Cancelling transaction: upgrade (download only)
    Cancelled.
    $ rpm-ostree cancel
    Cancelling transaction: upgrade (check only)
    Cancelled.
    $ rpm-ostree upgrade                               
    note: automatic updates (stage) are enabled
    error: Transaction in progress: upgrade (check only)
     You can cancel the current transaction with `rpm-ostree cancel`
    $ rpm-ostree upgrade --install libavcodec-freeworld
    note: automatic updates (stage) are enabled
    error: Updating deployment: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code26: Transaction in progress: upgrade (download only)
     You can cancel the current transaction with `rpm-ostree cancel`

Expected behavior

Upgrade? Or at least let me cancel that?

Actual behavior

I guess the error is somewhat strange/some internal one? And that cancelling does not work may show this is not a usual error.

System details

Fedora Silverblue 40

$ rpm-ostree --version   
rpm-ostree:
 Version: '2024.7'
 Git: 21911f1510b44d8962b28ff86a92f789f1db0095
 Features:
  - rust
  - compose
  - container
  - fedora-integration
$ rpm-ostree status -b -v
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: last run 5 days ago
BootedDeployment:
● fedora:fedora/40/x86_64/silverblue (index: 1)
                  Version: 40.20240824.0 (2024-08-24T00:44:20Z)
               BaseCommit: 7ea3754b87033235543607e096a12da9bb1e0277e298796a7ab23c3ff4867d7b
                           ├─ repo-0 (2024-04-14T18:51:11Z)
                           ├─ repo-1 (2024-08-24T00:16:28Z)
                           └─ repo-2 (2024-08-24T00:23:40Z)
                   Commit: f7319626a50b1b932ed08e4b9d909050d5b2126f8631a156cae6204099d0e465
                           ├─ fedora (2024-04-14T18:51:11Z)
                           ├─ fedora-cisco-openh264 (2024-03-12T11:45:42Z)
                           ├─ rpmfusion-free (2024-04-20T12:11:51Z)
                           ├─ rpmfusion-free-updates (2024-08-22T08:59:43Z)
                           ├─ updates (2024-08-24T01:44:57Z)
                           └─ updates-archive (2024-08-21T03:52:59Z)
                StateRoot: fedora
             GPGSignature: 1 signature
                           Signature made Sa 24 Aug 2024 02:45:49 CEST using RSA key ID 0727707EA15B79CC
                           Good signature from "Fedora <fedora-40-primary@fedoraproject.org>"
      RemovedBasePackages: noopenh264 0.1.0~openh264_2.4.0-1.fc40
          LayeredPackages: adb blivet-gui brightnessctl btop dconf-editor git git-credential-libsecret git-subtree gnome-themes-extra gnome-tweaks gparted gstreamer1-plugin-openh264 heimdall htop httpie keepassxc
                           kid3 lshw mozilla-openh264 nextcloud-client nextcloud-client-nautilus nvme-cli openh264 openssl pipewire-codec-aptx podman-compose rpmfusion-free-release simple-scan smartmontools sushi
                           tldr zsh

AvailableUpdate:
        Version: 40.20240901.0 (2024-09-01T01:57:50Z)
         Commit: cf7f7a6e62c5353223d16c9d6fab0c9e0191c2c6848f6fcf7773180d0152d18d
   GPGSignature: 1 signature
                 Signature made So 01 Sep 2024 03:59:05 CEST using RSA key ID 0727707EA15B79CC
                 Good signature from "Fedora <fedora-40-primary@fedoraproject.org>"
  SecAdvisories: FEDORA-2024-5c5c384fa7  Moderate   microcode_ctl-2:2.1-61.2.fc40.x86_64
                 FEDORA-2024-6b8845e3f0  Moderate   javascriptcoregtk4.1-2.44.3-2.fc40.x86_64
                 FEDORA-2024-6b8845e3f0  Moderate   javascriptcoregtk6.0-2.44.3-2.fc40.x86_64
                 FEDORA-2024-6b8845e3f0  Moderate   webkit2gtk4.1-2.44.3-2.fc40.x86_64
                 FEDORA-2024-6b8845e3f0  Moderate   webkitgtk6.0-2.44.3-2.fc40.x86_64
                   CVE-2024-40776 webkitgtk: Use after free may lead to Remote Code Execution [fedora-all]
                   https://bugzilla.redhat.com/show_bug.cgi?id=2301844
                   CVE-2024-40779 webkitgtk: Out-of-bounds read was addressed with improved bounds checking [fedora-all]
                   https://bugzilla.redhat.com/show_bug.cgi?id=2302095
                   CVE-2024-40780 webkitgtk: Out-of-bounds read was addressed with improved bounds checking [fedora-all]
                   https://bugzilla.redhat.com/show_bug.cgi?id=2302096
                   CVE-2024-40789 webkitgtk: Processing maliciously crafted web content may lead to an unexpected process crash [fedora-all]
                   https://bugzilla.redhat.com/show_bug.cgi?id=2302097
                   CVE-2024-40782 webkitgtk: Use after free may lead to Remote Code Execution [fedora-all]
                   https://bugzilla.redhat.com/show_bug.cgi?id=2302101
                 FEDORA-2024-80d1fe51d0  Moderate   python-unversioned-command-3.12.5-1.fc40.noarch
                 FEDORA-2024-80d1fe51d0  Moderate   python3-3.12.5-1.fc40.x86_64
                 FEDORA-2024-80d1fe51d0  Moderate   python3-libs-3.12.5-1.fc40.x86_64
                   CVE-2024-6923 python3.12: email module doesn't properly quotes newlines in email headers, allowing header injection [fedora-all]
                   https://bugzilla.redhat.com/show_bug.cgi?id=2303159
                 FEDORA-2024-c0e7a4f5ef  Important  less-643-6.fc40.x86_64
                   CVE-2024-32487 less: OS command injection
                   https://bugzilla.redhat.com/show_bug.cgi?id=2274980
       Upgraded: anthy-unicode 1.0.0.20240502-1.fc40 -> 1.0.0.20240502-8.fc40
                 bubblewrap 0.8.0-3.fc40 -> 0.10.0-1.fc40
                 buildah 1.37.0-1.fc40 -> 1.37.1-1.fc40
                 containers-common 5:0.60.0-1.fc40 -> 5:0.60.1-1.fc40
                 containers-common-extra 5:0.60.0-1.fc40 -> 5:0.60.1-1.fc40
                 cups 1:2.4.10-3.fc40 -> 1:2.4.10-6.fc40
                 cups-client 1:2.4.10-3.fc40 -> 1:2.4.10-6.fc40
                 cups-filesystem 1:2.4.10-3.fc40 -> 1:2.4.10-6.fc40
                 cups-ipptool 1:2.4.10-3.fc40 -> 1:2.4.10-6.fc40
                 cups-libs 1:2.4.10-3.fc40 -> 1:2.4.10-6.fc40
                 gnome-bluetooth 1:46.0-1.fc40 -> 1:46.1-1.fc40
                 gnome-bluetooth-libs 1:46.0-1.fc40 -> 1:46.1-1.fc40
                 gnome-control-center 46.3-1.fc40 -> 46.4-1.fc40
                 gnome-control-center-filesystem 46.3-1.fc40 -> 46.4-1.fc40
                 gnome-user-docs 46.1-1.fc40 -> 46.4-1.fc40
                 gtk4 4.14.4-2.fc40 -> 4.14.5-1.fc40
                 intel-vpl-gpu-rt 24.2.4-1.fc40 -> 24.2.5-1.fc40
                 javascriptcoregtk4.1 2.44.2-2.fc40 -> 2.44.3-2.fc40
                 javascriptcoregtk6.0 2.44.2-2.fc40 -> 2.44.3-2.fc40
                 kio-extras 24.05.2-1.fc40 -> 24.08.0-1.fc40
                 less 643-4.fc40 -> 643-6.fc40
                 libX11 1.8.10-1.fc40 -> 1.8.10-2.fc40
                 libX11-common 1.8.10-1.fc40 -> 1.8.10-2.fc40
                 libX11-xcb 1.8.10-1.fc40 -> 1.8.10-2.fc40
                 libbytesize 2.10-3.fc40 -> 2.11-99.fc40
                 libdrm 2.4.122-1.fc40 -> 2.4.123-1.fc40
                 libkexiv2-qt6 24.05.2-1.fc40 -> 24.08.0-1.fc40
                 libvpl 1:2.11.0-1.fc40 -> 1:2.12.0-1.fc40
                 microcode_ctl 2:2.1-61.1.fc40 -> 2:2.1-61.2.fc40
                 podman 5:5.2.1-1.fc40 -> 5:5.2.2-1.fc40
                 python-unversioned-command 3.12.4-1.fc40 -> 3.12.5-1.fc40
                 python3 3.12.4-1.fc40 -> 3.12.5-1.fc40
                 python3-boto3 1.34.162-1.fc40 -> 1.35.7-1.fc40
                 python3-botocore 1.34.162-1.fc40 -> 1.35.7-1.fc40
                 python3-bytesize 2.10-3.fc40 -> 2.11-99.fc40
                 python3-libs 3.12.4-1.fc40 -> 3.12.5-1.fc40
                 python3-regex 2024.4.16-1.fc40 -> 2024.4.28-1.fc40
                 qemu-guest-agent 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-aarch64 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-alpha 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-arm 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-cris 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-hexagon 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-hppa 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-loongarch64 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-m68k 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-microblaze 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-mips 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-nios2 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-or1k 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-ppc 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-riscv 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-s390x 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-sh4 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-sparc 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-x86 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 qemu-user-static-xtensa 2:8.2.2-1.fc40 -> 2:8.2.6-3.fc40
                 spirv-tools-libs 2024.3-1.fc40 -> 2024.3-2.fc40
                 webkit2gtk4.1 2.44.2-2.fc40 -> 2.44.3-2.fc40
                 webkitgtk6.0 2.44.2-2.fc40 -> 2.44.3-2.fc40
        Removed: add-determinism-0.3.5-1.fc40.x86_64

Additional information

I also checked GNOME Software does not do something currently (it someone does it's auto-update and blocks it). Also I see sth. is already downloaded?

Okay when I just tried again it does sth. hmm strange error anyway?

$ killall gnome-software
$ rpm-ostree upgrade --install libavcodec-freeworld
note: automatic updates (stage) are enabled
⠂ Receiving metadata objects: 1/(estimating) 196 Bytes/s 196 Bytes...                                                                                                                                               2 metadata, 0 content objects fetched; 788 B transferred in 2 seconds; 0 Bytes content written
Receiving metadata objects: 1/(estimating) 196 Bytes/s 196 Bytes... done
Checking out tree cf7f7a6... done
Enabled rpm-md repositories: fedora rpmfusion-free fedora-cisco-openh264 updates rpmfusion-free-updates updates-archive
Importing rpm-md... done
rpm-md repo 'fedora' (cached); generated: 2024-04-14T18:51:11Z solvables: 74881
rpm-md repo 'rpmfusion-free' (cached); generated: 2024-04-20T12:11:51Z solvables: 422
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2024-03-12T11:45:42Z solvables: 3
rpm-md repo 'updates' (cached); generated: 2024-09-01T02:39:29Z solvables: 25791
rpm-md repo 'rpmfusion-free-updates' (cached); generated: 2024-08-28T18:10:06Z solvables: 154
rpm-md repo 'updates-archive' (cached); generated: 2024-08-21T03:52:59Z solvables: 36142
Resolving dependencies... done
Will download: 96 packages (101,6 MB)
Downloading from 'fedora'... done
Downloading from 'updates'... done
Downloading from 'rpmfusion-free'... done
Downloading from 'rpmfusion-free-updates'... done
Importing packages... done
Applying 1 override and 371 overlays
Processing packages... done
Running pre scripts... done
Running post scripts... done
Running posttrans scripts... done
Writing rpmdb... done
[…]