Page 1 of 1

DNF error: Error in POSTTRANS scriptlet in rpm package kernel-core

Posted: 2019/09/24 12:05:59
by Hix
Got this error while using the GUI install under KVM.

Looks like identical, or very similar, to this bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1745346

variables used with virt-install:

virt-install --name centos8 --ram 4096 --disk path=/dev/zvol/zssd/vm/centos8-disk0,cache=none,bus=virtio --vcpus 1 --os-type linux --os-variant rhel7 --network network=private,model=virtio --graphics vnc --location=/var/lib/libvirt/images/CentOS-8-x86_64-1905-dvd1.iso

submitted to Mantis over here:

https://bugs.centos.org/view.php?id=16445

Re: DNF error: Error in POSTTRANS scriptlet in rpm package kernel-core

Posted: 2019/09/27 14:13:06
by Hix
btw: same for boot.iso and DVD1.iso. Anyone else got into this? Host is KVM hypervisor under CentOS 7.

Image

Re: DNF error: Error in POSTTRANS scriptlet in rpm package kernel-core

Posted: 2019/09/28 23:20:14
by yyovkov
Same error here, either trying minimal install and specifying '--os-variant=rhel8.0'

Re: DNF error: Error in POSTTRANS scriptlet in rpm package kernel-core

Posted: 2019/09/29 00:29:43
by toracat
The upstream bugzilla quoted by @Hix has a new comment:
the workaround is to add a harmless (useless) extra arg to virt-install, like “--extra-args ro”
You may want to give it a try.

Re: DNF error: Error in POSTTRANS scriptlet in rpm package kernel-core

Posted: 2019/09/29 06:12:13
by yyovkov
It is working with adding read-only. Possibly this should be added to the installer bootloader.