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

On Wed, Nov 16, 2016 at 11:31:38AM +0100, yaqu wrote:
> On Wed, 16 Nov 2016 01:14:24 +0100, Marek Marczykowski-Górecki
> <marma...@invisiblethingslab.com> wrote:
> 
> > On Wed, Nov 16, 2016 at 12:28:17AM +0100, yaqu wrote:
> > > > You have tried to remove fedora-23 using dnf, while some appVMs
> > > > still were using it as a template. Dnf has displayed an error,
> > > > but also it has removed package, leaving it in qubes config (and
> > > > not cleaning template's directory).
> > > 
> > > Anyway, I think it should be considered as a bug.
> > > 
> > > Steps to reproduce (assuming fedora-23-minimal is not installed):
> > > 
> > > $ sudo qubes-dom0-update qubes-template-fedora-23-minimal
> > > $ qvm-create -t fedora-23-minimal -l red test-vm
> > > $ sudo dnf remove qubes-template-fedora-23-minimal
> > 
> > Yes, you're right. Previously (before Fedora introduced DNF), failure
> > in %preun script aborted the operation, now it results just in a
> > message. Not sure if this is a bug of a feature of DNF...
> 
> Removing package using plain rpm gives the same result, so it's not
> dnf's fault.
> 
> There is an interesting entry in rpm changelog:
> * Fix %preun scriptlet not aborting package erase
> http://rpm.org/wiki/Releases/4.13.0
> 
> So it's fixed in rpm 4.13.0, but in dom0 we have broken rpm 4.13.0-rc1.
> 
> BTW it was fixed in commit:
> https://github.com/rpm-software-management/rpm/commit/1ac507f15f014e69b926a1c2bf9a46a2a4dcaff3
> And broken in:
> https://github.com/rpm-software-management/rpm/commit/f4a49c3d446bb180ca6b30a4337065fb6511e641

It looks like the fixed package is in updates-testing repository for
Fedora 23. Lets hope it will migrate to updates before Fedora 23 EOL...

- -- 
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

iQEcBAEBCAAGBQJYLFMAAAoJENuP0xzK19csoQoH+QGC9F3AwnNy2bllWBkNtTSG
uHFTGppa+qvWRZ+Qond5Zd0ShbQeaiHOYrZJKjUKRaLVeNokgYVl90aqtGDAN4HM
SUHBNjIBJOVNOmcOCVM1xOMSuUSQLe29FlnNSMwN2IiPodlnvZyYkYRYE3cZreL0
RMQPYSArJ3lvCF6wrsrcim0Gr5/Wmf8D6E38Kpoux7rbm3B8QLuj2eNgdKXvJqx8
rW1tAm82/4NYeVkJ3JTwmK1Sg1thMNQiBd9suwcBe5necRV9/D1QN1Wk9KDR0hGy
hWBHNrnGzb8DF5ps2PkvuIrOUCeCoZF/PMvIAJLUYBVeic/haouhvxp+cJE63KU=
=oQcl
-----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/20161116123720.GS17458%40mail-itl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to