How to check that an 'in-place upgrade' from Qubes R4.0 to R4.1 was successful?

13 views
Skip to first unread message

Viktor Ransmayr

unread,
May 31, 2022, 2:53:29 AM5/31/22
to qubes-users
Hello Qubes Community,

I have reported problems installing the new Fedora 35 templates late last week [1] - and - also reported in the thread, that the 'in-place upgrade' of my system from 4.0 to 4.1 was only two weeks ago.

One additional thing that I noticed today, is that a dom0 update does not install any new packages - but - for the second(?) time only deletes 14 (?) packages.

Yesterday I was not able to collect the precise info from the Update VM, but today I succeeded. - Here's the output:


    [vr@dom0 ~]$
    [vr@dom0 ~]$ sudo qubes-dom0-update --clean --console --show-output
    Using sys-firewall as UpdateVM to download updates for Dom0; this may take some time...
    warning: Converting database from bdb_ro to sqlite backend
    25 files removed
    Fedora 32 - x86_64                              5.2 MB/s |  70 MB     00:13    
    Fedora 32 - x86_64 - Updates                    4.1 MB/s |  30 MB     00:07    
    Qubes Dom0 Repository (updates)                 2.0 MB/s | 3.8 MB     00:01    
    Last metadata expiration check: 0:00:02 ago on Tue May 31 07:48:22 2022.
    Dependencies resolved.
    ================================================================================
     Package                     Arch        Version             Repository    Size
    ================================================================================
    Removing dependent packages:
     python2-backports_abc       noarch      0.5-1.fc25          @System       30 k
     python2-futures             noarch      3.1.1-1.fc25        @System       91 k
     python2-lxml                x86_64      4.1.1-1.fc25        @System      4.5 M
     python2-msgpack             x86_64      0.4.8-1.fc25        @System      276 k
     python2-nose                noarch      1.3.7-11.fc25       @System      1.1 M
     python2-pycurl              x86_64      7.43.0-6.fc25       @System      891 k
     python2-pygpgme             x86_64      0.3-18.fc25         @System      306 k
     python2-pysocks             noarch      1.6.7-1.fc25        @System       79 k
     python2-requests            noarch      2.10.0-4.fc25       @System      369 k
     python2-singledispatch      noarch      3.4.0.3-5.fc25      @System       46 k
     python2-systemd             x86_64      234-5.1.fc25        @System      263 k
     python2-tornado             x86_64      4.4.2-1.fc25        @System      3.9 M
     python2-urllib3             noarch      1.15.1-3.fc25       @System      443 k
     python2-zmq                 x86_64      15.3.0-2.fc25       @System      1.5 M

    Transaction Summary
    ================================================================================
    Remove  14 Packages

    Freed space: 14 M
    DNF will only download packages for the transaction.
    Complete!
    No packages downloaded
    No updates available
    [vr@dom0 ~]$


Now finally my question again: Is there a way to test that the upgrade from Qubes R4.0 to R4.1 was complete - and - successful?

With kind regards,

Viktor
---


Viktor Ransmayr

unread,
Jun 1, 2022, 2:54:24 AM6/1/22
to qubes-users
Hello Qubes Community,

I've performed the same task today - and - the same 14 packages were removed again ...

So it's clear now that something went wrong with my 'in-place upgrade' !

Anything that I could try, beside a completely fresh installation of Qubes OS R4.1 ?

With kind regards,

Viktor

tetra...@danwin1210.de

unread,
Jun 1, 2022, 6:03:42 PM6/1/22
to Viktor Ransmayr, qubes-users
On Tue, May 31, 2022 at 11:54:24PM -0700, Viktor Ransmayr wrote:
>I've performed the same task today - and - the same 14 packages were
>removed again ...
>
>So it's clear now that something went wrong with my 'in-place upgrade' !
>
>Anything that I could try, beside a completely fresh installation of Qubes
>OS R4.1 ?

I've had similar issues:
https://github.com/QubesOS/qubes-issues/issues/7503

Maybe try some of the ideas suggested there?

Demi Marie Obenour

unread,
Jun 1, 2022, 7:18:35 PM6/1/22
to tetra...@danwin1210.de, Viktor Ransmayr, qubes-users
The Python 2 packages should be safe to remove, unless I have missed
something.

--
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab
signature.asc

Viktor Ransmayr

unread,
Jun 2, 2022, 6:16:32 AM6/2/22
to qubes-users
Hello user 'tetrahedras',

tetra...@danwin1210.de schrieb am Donnerstag, 2. Juni 2022 um 00:03:42 UTC+2:
On Tue, May 31, 2022 at 11:54:24PM -0700, Viktor Ransmayr wrote:
>I've performed the same task today - and - the same 14 packages were
>removed again ...
>
>So it's clear now that something went wrong with my 'in-place upgrade' !
>
>Anything that I could try, beside a completely fresh installation of Qubes
>OS R4.1 ?

I've had similar issues:
https://github.com/QubesOS/qubes-issues/issues/7503

Thanks for sharing this info! - It does look like my issue is the same / very similar ...
 
Maybe try some of the ideas suggested there?

Which one? - After reading all comments, I do agree with your last statement / summary. - See


As you can see from my Logs:

* Update VM is 'sys-firewall' -> which is using the 'fedora-34' template

With kind regards,

Viktor

Viktor Ransmayr

unread,
Jun 2, 2022, 6:24:51 AM6/2/22
to qubes-users
Hello Demi,

Demi Marie Obenour schrieb am Donnerstag, 2. Juni 2022 um 01:18:35 UTC+2:
On Wed, Jun 01, 2022 at 10:03:14PM +0000, Qubes OS Users Mailing List wrote:
> On Tue, May 31, 2022 at 11:54:24PM -0700, Viktor Ransmayr wrote:
> > I've performed the same task today - and - the same 14 packages were
> > removed again ...
> >
> > So it's clear now that something went wrong with my 'in-place upgrade' !
> >
> > Anything that I could try, beside a completely fresh installation of Qubes
> > OS R4.1 ?
>
> I've had similar issues:
> https://github.com/QubesOS/qubes-issues/issues/7503
>
> Maybe try some of the ideas suggested there?

The Python 2 packages should be safe to remove, unless I have missed
something.

It's unclear to me, why I should ...

If I would manually delete those packages, would they not get re-installed the next day?

Or asked differently:

If they are not needed in R4.1 / Fedora 32 for dom0, why have they been included in the first place?

With kind regards,

Viktor

Demi Marie Obenour

unread,
Jun 2, 2022, 9:08:17 AM6/2/22
to Viktor Ransmayr, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Thu, Jun 02, 2022 at 03:24:50AM -0700, Viktor Ransmayr wrote:
> Hello Demi,
>
> Demi Marie Obenour schrieb am Donnerstag, 2. Juni 2022 um 01:18:35 UTC+2:
>
> > On Wed, Jun 01, 2022 at 10:03:14PM +0000, Qubes OS Users Mailing List
> > wrote:
> > > On Tue, May 31, 2022 at 11:54:24PM -0700, Viktor Ransmayr wrote:
> > > > I've performed the same task today - and - the same 14 packages were
> > > > removed again ...
> > > >
> > > > So it's clear now that something went wrong with my 'in-place upgrade'
> > !
> > > >
> > > > Anything that I could try, beside a completely fresh installation of
> > Qubes
> > > > OS R4.1 ?
> > >
> > > I've had similar issues:
> > > https://github.com/QubesOS/qubes-issues/issues/7503
> > >
> > > Maybe try some of the ideas suggested there?
> >
> > The Python 2 packages should be safe to remove, unless I have missed
> > something.
> >
>
> It's unclear to me, why I should ...
>
> If I would manually delete those packages, would they not get re-installed
> the next day?

In dom0, this is leftover cruft from R4.0. It serves no purpose in
R4.1. My R4.1 dom0 does not even have a Python 2 interpreter.

> Or asked differently:
>
> If they are not needed in R4.1 / Fedora 32 for dom0, why have they been
> included in the first place?

Not sure.

- --
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEdodNnxM2uiJZBxxxsoi1X/+cIsEFAmKYtjsACgkQsoi1X/+c
IsHjAxAAnHZxC2XvYHm9gutkeQVq8keTtMKD2IxnbLG4VA68KjHow2pAAUPhOtpG
wwG6xOboBCAGeOqG7cOiZQ6UiYsyW9bOxbEimWjZban4SHTKPLJ17lGVIBmi59+B
RWCZOCeQExvQ3zcNMZStKJtz1Fh1C/WrzF6TdzJbIMvVR+0TkH0D1In0kC2zkXte
xWZnWq7Ab1eDRNKMiwKkYvCGbsYPajO32y5aqTO8JIFuUYnybg6RYORfhyRW78jN
hDPGb9rdc9YSP/Q/WHzYRaKBJRIy+IzEGqyQcP2UtS/nuuHj4FOOz3ycmPzp09cq
JYdciJZyJjJlZ7rOTcVU0SV2dnM7TR1iQObg75SaXVvUl/D9Z9uRBCdQd7RkSZ+6
7tzJPAi5p8ltCeM6F+a99ZmlxhGhPVOS0WZ7WcyzxXEG5CLwlSHd/yB+QBx4ZxLU
xDWLJmZk6qPaoJ+hwK6WgzpUACYakE8kGNTbRyZlEORM/iWKpo4C+o9CTDhVDrFK
6db0qvt4aX3wA2qRvnw1oSljoypC0WpOfvy3DgBp6fkUH/0R9GVdnu1TmZ0RaMik
JGkJzBUGtjV2oO/LNLrEOvYrnQ3VrrexP3yme1dTCU5BMLqbnoGDu8aLHzTw875P
2oXxhIabEjiRtoFfEyeyXAZGcTkjYRGD937vwjxDotEdqNNcPE8=
=pX7T
-----END PGP SIGNATURE-----

Viktor Ransmayr

unread,
Jun 2, 2022, 4:09:41 PM6/2/22
to qubes-users
Hello Demi,

Demi Marie Obenour schrieb am Donnerstag, 2. Juni 2022 um 15:08:17 UTC+2:
On Thu, Jun 02, 2022 at 03:24:50AM -0700, Viktor Ransmayr wrote:
> Hello Demi,
>
> Demi Marie Obenour schrieb am Donnerstag, 2. Juni 2022 um 01:18:35 UTC+2:
>
> > On Wed, Jun 01, 2022 at 10:03:14PM +0000, Qubes OS Users Mailing List
> > wrote:
> > > On Tue, May 31, 2022 at 11:54:24PM -0700, Viktor Ransmayr wrote:
> > > > I've performed the same task today - and - the same 14 packages were
> > > > removed again ...
> > > >
> > > > So it's clear now that something went wrong with my 'in-place upgrade'
> > !
> > > >
> > > > Anything that I could try, beside a completely fresh installation of
> > Qubes
> > > > OS R4.1 ?
> > >
> > > I've had similar issues:
> > > https://github.com/QubesOS/qubes-issues/issues/7503
> > >
> > > Maybe try some of the ideas suggested there?
> >
> > The Python 2 packages should be safe to remove, unless I have missed
> > something.
> >
>
> It's unclear to me, why I should ...
>
> If I would manually delete those packages, would they not get re-installed
> the next day?

In dom0, this is leftover cruft from R4.0. It serves no purpose in
R4.1. My R4.1 dom0 does not even have a Python 2 interpreter.

OK, I'll try - and - will report back tomorrow, when another 'dom0' update notification will be sent.

With kind regards,

Viktor

Viktor Ransmayr

unread,
Jun 3, 2022, 3:55:26 AM6/3/22
to qubes-users
Hello Demi & Qubes Community,

Thanks, it looks like the problem of packages, which were reported for removal, is resolved.

Now the only problem that remains, is that ...

* I can not install the Fedora 35 templates - and - that ...
* I still have doubts about the status of my system, after the 'in-place upgrade' operation ;-)

With kind regards,

Viktor

Reply all
Reply to author
Forward
0 new messages