#319 closed defect (fixed)

qvm-dom0-upgrade warning

Reported by: joanna Owned by: joanna
Priority: minor Milestone: Release 1 Beta 2
Component: core Keywords:
Cc:

Description

I keep getting this error:

[joanna@dom0 ~]$ qvm-dom0-upgrade 
Syncing Dom0 clock: setting time Tue Aug  2 13:06:09 UTC 2011...
Tue Aug  2 13:06:09 UTC 2011
Done.
Checking for dom0 updates
Running command on VM: 'firewallvm'...
Checking for dom0 updates...
Loaded plugins: post-transaction-actions, presto, refresh-packagekit
qubes-dom0-cached                                                                                        | 1.3 kB     00:00 ... 
qubes-dom0-cached/primary                                                                                | 6.9 kB     00:00 ... 
file:///var/lib/qubes/updates/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.

Afterwards I cannot see available updates when run yum as normal user:

[joanna@dom0 ~]$ yum list available
Loaded plugins: post-transaction-actions, presto, refresh-packagekit
qubes-dom0-cached                                                                                        | 1.3 kB     00:00 ... 
qubes-dom0-cached/primary                                                                                | 6.9 kB     00:00 ... 
file:///var/lib/qubes/updates/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.

However, when I run yum list available as root, it works fine:

[joanna@dom0 ~]$ sudo yum list available
Loaded plugins: post-transaction-actions, presto, refresh-packagekit
qubes-dom0-cached                                                                                        | 1.3 kB     00:00 ... 
qubes-dom0-cached/primary                                                                                | 6.9 kB     00:00 ... 
qubes-dom0-cached                                                                                                         14/14
Available Packages
xen.x86_64                                               1000:4.1.0-9.qubes                                    qubes-dom0-cached
xen-hypervisor.x86_64                                    1000:4.1.0-9.qubes                                    qubes-dom0-cached
xen-libs.x86_64                                          1000:4.1.0-9.qubes                                    qubes-dom0-cached
xen-licenses.x86_64                                      1000:4.1.0-9.qubes                                    qubes-dom0-cached
xen-runtime.x86_64                                       1000:4.1.0-9.qubes                                    qubes-dom0-cached

and I can normally update without any problems.

Change History (1)

comment:1 Changed 21 months ago by joanna

  • Resolution set to fixed
  • Status changed from new to closed

This seems to be no longer a problem now, when we added checking if user is root into the script:
http://git.qubes-os.org/?p=joanna/core.git;a=commitdiff;h=583720c67691db569b4babab5397a706b1f6b172

Note: See TracTickets for help on using tickets.