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

Initial update of debian-11-minimal reported as failure with no explanation

Open andrewdavidwong opened this issue 3 years ago • 3 comments

How to file a helpful issue

Qubes OS release

Qubes 4.1.1 Debian 11 minimal template

Brief summary

Updating debian-11-minimal for the first time in the Qubes Update tool returns a red X and "returned non-zero exit status 20" and 1 out of 2 failed states, but many packages appear to have updated successfully, and there is no explanation of what failed.

Steps to reproduce

  1. Install Qubes 4.1.1.
  2. Install debian-11-minimal.
  3. Use the Qubes Update tool to update debian-11-minimal.

Expected behavior

Either a successful update, or an unsuccessful update with an explanation of why it was unsuccessful.

Actual behavior

The Qubes Update tool returns a red X with the following in the "details" pane:

Updating debian-11-minimal

Error on updating debian-11-minimal: Command '['sudo', 'qubesctl', '--skip-dom0', '--targets=debian-11-minimal', '--show-output', 'state.sls', 'update.qubes-vm']' returned non-zero exit status 20.
debian-11-minimal:
  ----------
            ID: update
      Function: pkg.uptodate
        Result: True
       Comment: Upgrade ran successfully
       Started: 07:11:06.506387
      Duration: 309381.737 ms
       Changes:   
                ----------
                base-files:
                    ----------
                    new:
                        11.1+deb11u4
                    old:
                        11.1
                bash:
                    ----------
                    new:
                        5.1-2+deb11u1
                    old:
                        5.1-2+b3
                bsdutils:
                    ----------
                    new:
                        1:2.36.1-8+deb11u1
                    old:
                        1:2.36.1-8
                dirmngr:
                    ----------
                    new:
                        2.2.27-2+deb11u2
                    old:
                        2.2.27-2
                dpkg:
                    ----------
                    new:
                        1.20.11
                    old:
                        1.20.9
                fdisk:
                    ----------
                    new:
                        2.36.1-8+deb11u1
                    old:
                        2.36.1-8
                gnupg:
                    ----------
                    new:
                        2.2.27-2+deb11u2
                    old:
                        2.2.27-2
                gnupg-l10n:
                    ----------
                    new:
                        2.2.27-2+deb11u2
                    old:
                        2.2.27-2
                gnupg-utils:
                    ----------
                    new:
                        2.2.27-2+deb11u2
                    old:
                        2.2.27-2
                gpg:
                    ----------
                    new:
                        2.2.27-2+deb11u2
                    old:
                        2.2.27-2
                gpg-agent:
                    ----------
                    new:
                        2.2.27-2+deb11u2
                    old:
                        2.2.27-2
                gpg-wks-client:
                    ----------
                    new:
                        2.2.27-2+deb11u2
                    old:
                        2.2.27-2
                gpg-wks-server:
                    ----------
                    new:
                        2.2.27-2+deb11u2
                    old:
                        2.2.27-2
                gpgconf:
                    ----------
                    new:
                        2.2.27-2+deb11u2
                    old:
                        2.2.27-2
                gpgsm:
                    ----------
                    new:
                        2.2.27-2+deb11u2
                    old:
                        2.2.27-2
                gpgv:
                    ----------
                    new:
                        2.2.27-2+deb11u2
                    old:
                        2.2.27-2
                gzip:
                    ----------
                    new:
                        1.10-4+deb11u1
                    old:
                        1.10-4
                libblkid1:
                    ----------
                    new:
                        2.36.1-8+deb11u1
                    old:
                        2.36.1-8
                libc-bin:
                    ----------
                    new:
                        2.31-13+deb11u3
                    old:
                        2.31-13
                libc-l10n:
                    ----------
                    new:
                        2.31-13+deb11u3
                    old:
                        2.31-13
                libc6:
                    ----------
                    new:
                        2.31-13+deb11u3
                    old:
                        2.31-13
                libcryptsetup12:
                    ----------
                    new:
                        2:2.3.7-1+deb11u1
                    old:
                        2:2.3.5-1
                libexpat1:
                    ----------
                    new:
                        2.2.10-2+deb11u3
                    old:
                        2.2.10-2
                libfdisk1:
                    ----------
                    new:
                        2.36.1-8+deb11u1
                    old:
                        2.36.1-8
                libfreetype6:
                    ----------
                    new:
                        2.10.4+dfsg-1+deb11u1
                    old:
                        2.10.4+dfsg-1
                libfribidi0:
                    ----------
                    new:
                        1.0.8-2+deb11u1
                    old:
                        1.0.8-2
                libgmp10:
                    ----------
                    new:
                        2:6.2.1+dfsg-1+deb11u1
                    old:
                        2:6.2.1+dfsg-1
                libgnutls30:
                    ----------
                    new:
                        3.7.1-5+deb11u1
                    old:
                        3.7.1-5
                libgssapi-krb5-2:
                    ----------
                    new:
                        1.18.3-6+deb11u1
                    old:
                        1.18.3-6
                libk5crypto3:
                    ----------
                    new:
                        1.18.3-6+deb11u1
                    old:
                        1.18.3-6
                libkrb5-3:
                    ----------
                    new:
                        1.18.3-6+deb11u1
                    old:
                        1.18.3-6
                libkrb5support0:
                    ----------
                    new:
                        1.18.3-6+deb11u1
                    old:
                        1.18.3-6
                libldap-2.4-2:
                    ----------
                    new:
                        2.4.57+dfsg-3+deb11u1
                    old:
                        2.4.57+dfsg-3
                liblzma5:
                    ----------
                    new:
                        5.2.5-2.1~deb11u1
                    old:
                        5.2.5-2
                libmount1:
                    ----------
                    new:
                        2.36.1-8+deb11u1
                    old:
                        2.36.1-8
                libpam-modules:
                    ----------
                    new:
                        1.4.0-9+deb11u1
                    old:
                        1.4.0-9
                libpam-modules-bin:
                    ----------
                    new:
                        1.4.0-9+deb11u1
                    old:
                        1.4.0-9
                libpam-runtime:
                    ----------
                    new:
                        1.4.0-9+deb11u1
                    old:
                        1.4.0-9
                libpam0g:
                    ----------
                    new:
                        1.4.0-9+deb11u1
                    old:
                        1.4.0-9
                libparted2:
                    ----------
                    new:
                        3.4-1
                    old:
                libperl5.32:
                    ----------
                    new:
                        5.32.1-4+deb11u2
                    old:
                        5.32.1-4+deb11u1
                libqrexec-utils2:
                    ----------
                    new:
                        4.1.18-1+deb11u1
                    old:
                        4.1.15-1+deb11u1
                libqubes-rpc-filecopy2:
                    ----------
                    new:
                        4.1.16+deb11u1
                    old:
                        4.1.15+deb11u1
                libqubesdb:
                    ----------
                    new:
                        4.1.13-1+deb11u1
                    old:
                        4.1.11-1+deb11u1
                libsasl2-2:
                    ----------
                    new:
                        2.1.27+dfsg-2.1+deb11u1
                    old:
                        2.1.27+dfsg-2.1
                libsasl2-modules-db:
                    ----------
                    new:
                        2.1.27+dfsg-2.1+deb11u1
                    old:
                        2.1.27+dfsg-2.1
                libseccomp2:
                    ----------
                    new:
                        2.5.1-1+deb11u1
                    old:
                        2.5.1-1
                libsmartcols1:
                    ----------
                    new:
                        2.36.1-8+deb11u1
                    old:
                        2.36.1-8
                libssl1.1:
                    ----------
                    new:
                        1.1.1n-0+deb11u3
                    old:
                        1.1.1k-1
                libsystemd0:
                    ----------
                    new:
                        247.3-7
                    old:
                        247.3-6
                libtiff5:
                    ----------
                    new:
                        4.2.0-1+deb11u1
                    old:
                        4.2.0-1
                libudev1:
                    ----------
                    new:
                        247.3-7
                    old:
                        247.3-6
                libuuid1:
                    ----------
                    new:
                        2.36.1-8+deb11u1
                    old:
                        2.36.1-8
                libxencall1:
                    ----------
                    new:
                        4.14.5+24-g87d90d511c-1
                    old:
                        4.14.2+25-gb6a8c4f72d-2
                libxendevicemodel1:
                    ----------
                    new:
                        4.14.5+24-g87d90d511c-1
                    old:
                        4.14.2+25-gb6a8c4f72d-2
                libxenevtchn1:
                    ----------
                    new:
                        4.14.5+24-g87d90d511c-1
                    old:
                        4.14.2+25-gb6a8c4f72d-2
                libxenforeignmemory1:
                    ----------
                    new:
                        4.14.5+24-g87d90d511c-1
                    old:
                        4.14.2+25-gb6a8c4f72d-2
                libxengnttab1:
                    ----------
                    new:
                        4.14.5+24-g87d90d511c-1
                    old:
                        4.14.2+25-gb6a8c4f72d-2
                libxenhypfs1:
                    ----------
                    new:
                        4.14.5+24-g87d90d511c-1
                    old:
                        4.14.2+25-gb6a8c4f72d-2
                libxenmisc4.14:
                    ----------
                    new:
                        4.14.5+24-g87d90d511c-1
                    old:
                        4.14.2+25-gb6a8c4f72d-2
                libxenstore3.0:
                    ----------
                    new:
                        4.14.5+24-g87d90d511c-1
                    old:
                        4.14.2+25-gb6a8c4f72d-2
                libxentoolcore1:
                    ----------
                    new:
                        4.14.5+24-g87d90d511c-1
                    old:
                        4.14.2+25-gb6a8c4f72d-2
                libxentoollog1:
                    ----------
                    new:
                        4.14.5+24-g87d90d511c-1
                    old:
                        4.14.2+25-gb6a8c4f72d-2
                libxml2:
                    ----------
                    new:
                        2.9.10+dfsg-6.7+deb11u2
                    old:
                        2.9.10+dfsg-6.7
                locales:
                    ----------
                    new:
                        2.31-13+deb11u3
                    old:
                        2.31-13
                logrotate:
                    ----------
                    new:
                        3.18.0-2+deb11u1
                    old:
                        3.18.0-2
                mount:
                    ----------
                    new:
                        2.36.1-8+deb11u1
                    old:
                        2.36.1-8
                nano:
                    ----------
                    new:
                        5.4-2+deb11u1
                    old:
                        5.4-2
                openssl:
                    ----------
                    new:
                        1.1.1n-0+deb11u3
                    old:
                        1.1.1k-1
                parted:
                    ----------
                    new:
                        3.4-1
                    old:
                perl:
                    ----------
                    new:
                        5.32.1-4+deb11u2
                    old:
                        5.32.1-4+deb11u1
                perl-base:
                    ----------
                    new:
                        5.32.1-4+deb11u2
                    old:
                        5.32.1-4+deb11u1
                perl-modules-5.32:
                    ----------
                    new:
                        5.32.1-4+deb11u2
                    old:
                        5.32.1-4+deb11u1
                python3-qubesdb:
                    ----------
                    new:
                        4.1.13-1+deb11u1
                    old:
                        4.1.11-1+deb11u1
                qubes-core-agent:
                    ----------
                    new:
                        4.1.36-1+deb11u1
                    old:
                        4.1.26-1+deb11u1
                qubes-core-qrexec:
                    ----------
                    new:
                        4.1.18-1+deb11u1
                    old:
                        4.1.15-1+deb11u1
                qubes-gui-agent:
                    ----------
                    new:
                        4.1.26-1+deb11u1
                    old:
                        4.1.21-1+deb11u1
                qubes-utils:
                    ----------
                    new:
                        4.1.16+deb11u1
                    old:
                        4.1.15+deb11u1
                qubes-vm-dependencies:
                    ----------
                    new:
                        4.1.20-1+deb11u1
                    old:
                        4.1.15-1+deb11u1
                qubesdb:
                    ----------
                    new:
                        4.1.13-1+deb11u1
                    old:
                        4.1.11-1+deb11u1
                qubesdb-vm:
                    ----------
                    new:
                        4.1.13-1+deb11u1
                    old:
                        4.1.11-1+deb11u1
                rsyslog:
                    ----------
                    new:
                        8.2102.0-2+deb11u1
                    old:
                        8.2102.0-2
                systemd:
                    ----------
                    new:
                        247.3-7
                    old:
                        247.3-6
                systemd-sysv:
                    ----------
                    new:
                        247.3-7
                    old:
                        247.3-6
                systemd-timesyncd:
                    ----------
                    new:
                        247.3-7
                    old:
                        247.3-6
                sysvinit-utils:
                    ----------
                    new:
                        2.96-7+deb11u1
                    old:
                        2.96-7
                tasksel:
                    ----------
                    new:
                        3.68+deb11u1
                    old:
                        3.68
                tasksel-data:
                    ----------
                    new:
                        3.68+deb11u1
                    old:
                        3.68
                tzdata:
                    ----------
                    new:
                        2021a-1+deb11u4
                    old:
                        2021a-1
                udev:
                    ----------
                    new:
                        247.3-7
                    old:
                        247.3-6
                util-linux:
                    ----------
                    new:
                        2.36.1-8+deb11u1
                    old:
                        2.36.1-8
                vim-common:
                    ----------
                    new:
                        2:8.2.2434-3+deb11u1
                    old:
                        2:8.2.2434-3
                vim-tiny:
                    ----------
                    new:
                        2:8.2.2434-3+deb11u1
                    old:
                        2:8.2.2434-3
                xen-utils-4.14:
                    ----------
                    new:
                        4.14.5+24-g87d90d511c-1
                    old:
                        4.14.2+25-gb6a8c4f72d-2
                xen-utils-common:
                    ----------
                    new:
                        4.14.5+24-g87d90d511c-1
                    old:
                        4.14.2+25-gb6a8c4f72d-2
                xen-utils-guest:
                    ----------
                    new:
                        4.14.5-6+deb11u1
                    old:
                        4.14.2-1+deb11u1
                xenstore-utils:
                    ----------
                    new:
                        4.14.5+24-g87d90d511c-1
                    old:
                        4.14.2+25-gb6a8c4f72d-2
                xserver-common:
                    ----------
                    new:
                        2:1.20.11-1+deb11u1
                    old:
                        2:1.20.11-1
                xserver-xorg-core:
                    ----------
                    new:
                        2:1.20.11-1+deb11u1
                    old:
                        2:1.20.11-1
                xserver-xorg-input-qubes:
                    ----------
                    new:
                        4.1.26-1+deb11u1
                    old:
                        4.1.21-1+deb11u1
                xserver-xorg-qubes-common:
                    ----------
                    new:
                        4.1.26-1+deb11u1
                    old:
                        4.1.21-1+deb11u1
                xserver-xorg-video-dummyqbs:
                    ----------
                    new:
                        4.1.26-1+deb11u1
                    old:
                        4.1.21-1+deb11u1
                xterm:
                    ----------
                    new:
                        366-1+deb11u1
                    old:
                        366-1
                xxd:
                    ----------
                    new:
                        2:8.2.2434-3+deb11u1
                    old:
                        2:8.2.2434-3
                zlib1g:
                    ----------
                    new:
                        1:1.2.11.dfsg-2+deb11u1
                    old:
                        1:1.2.11.dfsg-2
  ----------
            ID: notify-updates
      Function: cmd.run
          Name: /usr/lib/qubes/upgrades-status-notify
        Result: False
       Comment: Command "/usr/lib/qubes/upgrades-status-notify" run
       Started: 07:16:15.893548
      Duration: 724.498 ms
       Changes:   
                ----------
                pid:
                    4981
                retcode:
                    100
                stderr:
                stdout:
  
  Summary for debian-11-minimal
  ------------
  Succeeded: 1 (changed=2)
  Failed:    1
  ------------
  Total states run:     2
  Total run time: 310.106 s

The results appear to be somewhat contradictory, with some parts indicating success and other parts indicating failure, but I don't see any specific information about which part failed.

andrewdavidwong avatar Jul 20 '22 14:07 andrewdavidwong

I have the same problem with Fedora updates involving the kernel.

DemiMarie avatar Jul 20 '22 15:07 DemiMarie

I have the same problem with Fedora updates involving the kernel.

Probably not Debian-specific, then.

andrewdavidwong avatar Jul 20 '22 15:07 andrewdavidwong

[quote] The results appear to be somewhat contradictory, with some parts indicating success and other parts indicating failure, but I don't see any specific information about which part failed. [/quote] The status of each state is shown in the "Result" field, and then in the summary. There are 2 states. The first succeeds - this is the actual update, and you have full details of the packages updated. The second fails - "Result: False" - this is the attempt to run /usr/lib/qubes/upgrades-status-notify. The retcode is 100 - usually this relates to some issue with a repository, I think.

I don't think this relates to the Fedora issue.

unman avatar Jul 30 '22 10:07 unman