-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Thu, Jul 28, 2016 at 10:56:28PM -0400, M. Vefa Bicakci wrote:
> On 07/28/2016 05:24 AM, Marek Marczykowski-Górecki wrote:
> > On Wed, Jul 27, 2016 at 10:31:10PM -0700, admix...@gmail.com wrote:
> >> Hi,
> >> I'm trying to update qubes but there still show that there is no updates 
> >> (for few moths).
> >> I thought that was true until I tried to download update for xen.
> > 
> >> Some commands:
> >> http://pastebin.com/Q7nhfZnX
> >> Linux dom0 4.1.13-9.pvops.qubes.x86_64 #1 SMP Thu Feb 11 15:46:02 UTC 2016 
> >> x86_64 x86_64 x86_64 GNU/Linux
> > 
> >> Can somebody tell me whats going on?
> > 
> > I think --debuglevel option is not supported - this is why you've got
> > that help message instead. Try `qubes-dom0-update --clean` to remove old
> > metadata first.
> 
> Hello Marek and Andrew,
> 
> On a related note, the script at 
> "/usr/lib/qubes/qubes-download-dom0-updates.sh" may have
> a minor bug related to the removal of the cache files when the --clean option 
> is passed
> to the qubes-dom0-update script in dom0.
> 
> When I run "sudo qubes-dom0-update --clean", as seen below my signature, "rm" 
> outputs an
> error mentioning that it cannot remove a directory. Even though "--clean" was 
> used, the
> timestamp for the metadata expiration check indicates that dnf is using 
> metadata from
> almost 12 minutes ago. This indicates an issue with the clean-up of the 
> dnf/yum cache.
> 
> When I "rm -rf" all the offending directory on sys-net using the command 
> listed below,
> then "--clean" works as expected as can be seen below, where the metadata 
> expiration
> check indicates only a 23 second delta, which is a more plausible value when 
> using "--clean".
> 
> All this to say, would it be possible to make the 
> "qubes-download-dom0-updates.sh" script use
> "rm -rf" rather than "rm -f" on the paths related to the dnf/yum cache for 
> dom0 updates?

Yes, this is already fixed in qubes-core-vm 3.2.9:
https://github.com/marmarek/qubes-core-agent-linux/commit/40d5f85b361d6f2ca889f7a9f1230baca826e1bf

- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXmwZVAAoJENuP0xzK19csgF8H/iuY7YLn6aF6e4nDCckzKjUK
b2cKuhJOXt3vYulv5fR2zSQJMQAhdorC7iHXhsBQKvolNxEgqGa0Mt/B+IUixIfT
4A7pZHCR/aO+exXkamzGkvB8ShEnBLGIEKXSXUTri2KMgJzubgjH34VgjUAIgsQa
iFKE1Tj6NTYlIaGPjKoVccnP+3/HSGrsDDmNoNZ3Ru4o8OSP9NCBlCMvOXIDOWr6
VDr8UKfsrU9oEQADa/dOK9TlbqMt8MaeHPrp8sDB4IUD0hQJowyjgazvUxXVixqc
BYMTrhVY5hmg10z86JbEL3T+kjZF3XM6zjwc2exqtablytN2gc1J+WDARVXuu8Q=
=MGXn
-----END PGP SIGNATURE-----

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20160729073132.GL32095%40mail-itl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to