Help for Qubes updater problem with Fedora-32?

29 views
Skip to first unread message

Viktor Ransmayr

unread,
Dec 19, 2020, 5:01:21 AM12/19/20
to qubes-users
Since this morning Qubes Updater does not succeed updating the 'fedora-32' template multiple times, while it did work for 'whonix-gw-15' w/o any issues ...

The log, that is returned, does not provide me enough information to decide what to do next - or - how to resolve this issue:

###

Updating fedora-32

Error on updating fedora-32: Command '['sudo', 'qubesctl', '--skip-dom0', '--targets=fedora-32', '--show-output', 'state.sls', 'update.qubes-vm']' returned non-zero exit status 20
fedora-32:
  ----------
            ID: dnf list updates --refresh >/dev/null
      Function: cmd.run
        Result: True
       Comment: Command "dnf list updates --refresh >/dev/null" run
       Started: 07:51:50.141364
      Duration: 27200.776 ms
       Changes:   
                ----------
                pid:
                    1077
                retcode:
                    0
                stderr:
                stdout:
  ----------
            ID: update
      Function: pkg.uptodate
        Result: False
       Comment: Problem encountered upgrading packages. Additional info follows:
                
                result:
                    ----------
                    pid:
                        1223
                    retcode:
                        -11
                    stderr:
                        Running scope as unit: run-r66efc5e9dbff48a29f0addb90047401b.scope
                    stdout:
       Started: 07:52:19.863226
      Duration: 27344.911 ms
       Changes:   
  ----------
            ID: notify-updates
      Function: cmd.run
          Name: /usr/lib/qubes/upgrades-status-notify
        Result: True
       Comment: Command "/usr/lib/qubes/upgrades-status-notify" run
       Started: 07:52:47.208388
      Duration: 4470.826 ms
       Changes:   
                ----------
                pid:
                    1235
                retcode:
                    0
                stderr:
                stdout:
 
  Summary for fedora-32
  ------------
  Succeeded: 2 (changed=2)
  Failed:    1
  ------------
  Total states run:     3
  Total run time:  59.017 s

Updating whonix-gw-15

whonix-gw-15:
  ----------
            ID: dsa-4371-update
      Function: cmd.script
        Result: True
       Comment: Nothing to do, apt already fixed.
       Started: 06:53:02.881055
      Duration: 139.51 ms
       Changes:   
  ----------
            ID: update
      Function: pkg.uptodate
        Result: True
       Comment: Upgrade ran successfully
       Started: 06:53:04.748657
      Duration: 21569.53 ms
       Changes:   
                ----------
                hardened-malloc:
                    ----------
                    new:
                        3.0.6-1
                    old:
                        3.0.5-1
                security-misc:
                    ----------
                    new:
                        3:19.7-1
                    old:
                        3:19.4-1
                usability-misc:
                    ----------
                    new:
                        3:8.2-1
                    old:
                        3:8.1-1
  ----------
            ID: notify-updates
      Function: cmd.run
          Name: /usr/lib/qubes/upgrades-status-notify
        Result: True
       Comment: Command "/usr/lib/qubes/upgrades-status-notify" run
       Started: 06:53:26.319354
      Duration: 3495.149 ms
       Changes:   
                ----------
                pid:
                    3961
                retcode:
                    0
                stderr:
                stdout:
 
  Summary for whonix-gw-15
  ------------
  Succeeded: 3 (changed=2)
  Failed:    0
  ------------
  Total states run:     3
  Total run time:  25.204 s

###

I searched for

"Error on updating fedora-32: Command '[ ... ]' returned non-zero exit status 20"

but the first five results returned, did not help me either :-(

Any ideas or suggestions?

With kind regards,

Viktor

viq

unread,
Dec 19, 2020, 8:26:10 AM12/19/20
to qubes...@googlegroups.com
On Sat, 2020-12-19 at 02:01 -0800, Viktor Ransmayr wrote:
> Since this morning Qubes Updater does not succeed updating the
> 'fedora-32' template multiple times, while it did work for 'whonix-
> gw-15' w/o any issues ...
>
> The log, that is returned, does not provide me enough information to
> decide what to do next - or - how to resolve this issue:

Try running an upgrade from Qubes Manager, or start a terminal in that template and run dnf upgrade, see what that tells you.
--
viq

Viktor Ransmayr

unread,
Dec 19, 2020, 10:15:03 AM12/19/20
to qubes-users
Performing the upgrade via Qubes Manager did resolve the issue immediately. - Thanks a lot for your help!

Out of curiosity: Why are the actions 'triggered / used' by Qubes Manager (QM) and Qubes Updater (QU) different?

With kind regards,

Viktor

viq

unread,
Dec 20, 2020, 12:08:45 PM12/20/20
to qubes...@googlegroups.com
Qubes Manager, as far as I know, launches a terminal, in which it
launches system tools, be it apt or dnf or something else. How is it
determined which one to use, I wasn't yet able to find.
Qubes Updater uses qubesctl, which under the hood uses salt, with it's
tools and libraries.

> With kind regards,
>
> Viktor
>
> --
> You received this message because you are subscribed to the Google
> Groups "qubes-users" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to qubes-users...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/qubes-users/4dd4b91c-2732-4b53-8ab1-c4f4e4fffea5n%40googlegroups.com
> .

--
viq

Viktor Ransmayr

unread,
Dec 21, 2020, 4:18:12 PM12/21/20
to qubes-users
vic...@gmail.com schrieb am Sonntag, 20. Dezember 2020 um 18:08:45 UTC+1:
On Sat, 2020-12-19 at 07:15 -0800, Viktor Ransmayr wrote:
> vic...@gmail.com schrieb am Samstag, 19. Dezember 2020 um 14:26:10
> UTC+1:
> > On Sat, 2020-12-19 at 02:01 -0800, Viktor Ransmayr wrote:
> > > Since this morning Qubes Updater does not succeed updating the
> > > 'fedora-32' template multiple times, while it did work for
> > 'whonix-
> > > gw-15' w/o any issues ...
> > >
> > > The log, that is returned, does not provide me enough information
> > to
> > > decide what to do next - or - how to resolve this issue:
> >
> > Try running an upgrade from Qubes Manager, or start a terminal in
> > that template and run dnf upgrade, see what that tells you.
>
> Performing the upgrade via Qubes Manager did resolve the issue
> immediately. - Thanks a lot for your help!
>
> Out of curiosity: Why are the actions 'triggered / used' by Qubes
> Manager (QM) and Qubes Updater (QU) different?

Qubes Manager, as far as I know, launches a terminal, in which it
launches system tools, be it apt or dnf or something else. How is it
determined which one to use, I wasn't yet able to find.
Qubes Updater uses qubesctl, which under the hood uses salt, with it's
tools and libraries.

@viq: Thanks a lot for this info!

Re-reading the available documentation I now also found the FAQ entry [1], where this procedure / workaround is described ...

Turning this into something positive: I'm confident, that I'll remember what to do, the next time a similar situation occurs ;-)

With kind regards,

Viktor

---


Reply all
Reply to author
Forward
0 new messages