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

Issues related to applications and software problems and general support
Post Reply
User avatar
Hix
Posts: 23
Joined: 2019/09/10 14:09:25
Location: Prague, CZ

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

Post by Hix » 2019/09/24 12:05:59

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
...after 20 years on BSD, we're switching to RHEL/CentOS...

User avatar
Hix
Posts: 23
Joined: 2019/09/10 14:09:25
Location: Prague, CZ

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

Post by Hix » 2019/09/27 14:13:06

btw: same for boot.iso and DVD1.iso. Anyone else got into this? Host is KVM hypervisor under CentOS 7.

Image
...after 20 years on BSD, we're switching to RHEL/CentOS...

yyovkov
Posts: 3
Joined: 2019/09/28 22:52:53

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

Post by yyovkov » 2019/09/28 23:20:14

Same error here, either trying minimal install and specifying '--os-variant=rhel8.0'

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

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

Post by toracat » 2019/09/29 00:29:43

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.
CentOS Forum FAQ

yyovkov
Posts: 3
Joined: 2019/09/28 22:52:53

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

Post by yyovkov » 2019/09/29 06:12:13

It is working with adding read-only. Possibly this should be added to the installer bootloader.

Post Reply