On Tuesday, February 27, 2018 at 6:08:57 PM UTC+1, awokd wrote: > On Tue, February 27, 2018 5:00 pm, Yuraeitha wrote: > > > I'm working on an update script btw, which might solve issues like these. > > I haven't tested it but I noticed there's a clean action, so you can do: > > sudo qubes-dom0-update --action=clean > > Not exactly sure what it does but it might simplify things if it works.
Yes that is a good trick, but Marek recently told me not to use it though, from what I understand it's because it causes extra load on the server, which is bad if too many people does it. So the clean command is probably really good if only used sparingly once in a while. But maybe it could be used in the script with some kind of countdown, like for example if it only cleans once a month? But would that be useful though? I didn't mention or show the script to Marek, as it was only a few days afterwords I started working on it. But he did tell me to use --refresh instead when he saw I used the clean command. I found the --refresh flag in fedora template, but I couldn't get it to work in dom0. Though I found --check-only in the qubes-dom0-update manual, presumably it's the same as --refresh and only updates the metadata? Seemingly debian does it all automatically already too. uh, too many questions that needs sorted out. I definitely need these sorted out with a degree of certainty before I give this script to other people, I don't want to risk messing someone elses Qubes system up with it, that would suck. So maybe clean is not needed if metadata are cleaned? I believe the clean command works very well indeed, but from what I understood from Marek at the time, it might overdo it. I'll see if I can upload the script when I get home later today so you can see it (I'm on the road atm), I'll post a link here so it's easier to discuss any potential pitfalls in it. -- 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/fb69d45e-6574-4ec8-ae1c-91d2cdff6fed%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.