Error in update of package qubes-kernel-vm-support.x86_64 4.0.20-1.fc28

29 views
Skip to first unread message

Steve Coleman

unread,
Jul 26, 2018, 9:33:03 AM7/26/18
to qubes...@googlegroups.com
After a normal dnf update this error was displayed, because the old
package is not erasing correctly. building the u2mfn from source did not
help.

$ sudo dnf update qubes-kernel-vm-support
Last metadata expiration check: 0:39:14 ago on Thu Jul 26 08:27:57 2018.
Dependencies resolved.

Problem: cannot install both
qubes-kernel-vm-support-4.0.20-1.fc28.x86_64 and
qubes-kernel-vm-support-4.0.20-1.fc28.x86_64
- cannot install the best update candidate for package
qubes-kernel-vm-support-4.0.20-1.fc28.x86_64
- cannot install the best update candidate for package
qubes-kernel-vm-support-4.0.19-1.fc28.x86_64
======================================================================================================================================
Package Arch Version
Repository Size
======================================================================================================================================
Reinstalling:
qubes-kernel-vm-support x86_64
4.0.20-1.fc28 qubes-vm-r4.0-current 14 k
replacing qubes-kernel-vm-support.x86_64 4.0.19-1.fc28

Transaction Summary
======================================================================================================================================

Total download size: 14 k
Is this ok [y/N]: y
Downloading Packages:
qubes-kernel-vm-support-4.0.20-1.fc28.x86_64.rpm
19 kB/s | 14 kB 00:00
--------------------------------------------------------------------------------------------------------------------------------------
Total
19 kB/s | 14 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing :
1/1
Reinstalling : qubes-kernel-vm-support-4.0.20-1.fc28.x86_64
1/3
Running scriptlet: qubes-kernel-vm-support-4.0.20-1.fc28.x86_64
1/3

Creating symlink /var/lib/dkms/u2mfn/4.0.20/source ->
/usr/src/u2mfn-4.0.20

DKMS: add completed.
Running scriptlet: qubes-kernel-vm-support-4.0.19-1.fc28.x86_64
2/3
Error! There are no instances of module: u2mfn
4.0.19 located in the DKMS tree.
error: %preun(qubes-kernel-vm-support-4.0.19-1.fc28.x86_64) scriptlet
failed, exit status 3
Error in PREUN scriptlet in rpm package qubes-kernel-vm-support
Error in PREUN scriptlet in rpm package qubes-kernel-vm-support
Running scriptlet: qubes-kernel-vm-support-4.0.20-1.fc28.x86_64
3/3
error: qubes-kernel-vm-support-4.0.19-1.fc28.x86_64: erase failed

------------------------------
Deleting module version: 4.0.20
completely from the DKMS tree.
------------------------------
Done.
Erasing : qubes-kernel-vm-support-4.0.20-1.fc28.x86_64
3/3
Running scriptlet: qubes-kernel-vm-support-4.0.20-1.fc28.x86_64
3/3
Verifying : qubes-kernel-vm-support-4.0.20-1.fc28.x86_64
1/3
qubes-kernel-vm-support-4.0.19-1.fc28.x86_64 was supposed to be removed
but is not!
Verifying : qubes-kernel-vm-support-4.0.19-1.fc28.x86_64
2/3
Verifying : qubes-kernel-vm-support-4.0.20-1.fc28.x86_64
3/3
Notifying dom0 about installed applications

Failed:
qubes-kernel-vm-support.x86_64 4.0.20-1.fc28


Error: Transaction failed

$ sudo dnf whatprovides '*/u2mfn'
Last metadata expiration check: 0:44:11 ago on Thu Jul 26 08:27:57 2018.
qubes-libvchan-xen-debugsource-4.0.2-1.fc28.x86_64 : Debug sources for
package qubes-libvchan-xen
Repo : qubes-vm-r4.0-current
Matched from:
Filename : /usr/src/debug/qubes-libvchan-xen-4.0.2-1.fc28.x86_64/u2mfn

qubes-libvchan-xen-debugsource-4.0.3-1.fc28.x86_64 : Debug sources for
package qubes-libvchan-xen
Repo : qubes-vm-r4.0-current
Matched from:
Filename : /usr/src/debug/qubes-libvchan-xen-4.0.3-1.fc28.x86_64/u2mfn


Looks like u2mfn is only in the debug version of qubes-libvchan-xen?

dnf install of qubes-libvchan-xen-debugsource does not help

Marek Marczykowski-Górecki

unread,
Jul 26, 2018, 7:30:15 PM7/26/18
to Steve Coleman, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Thu, Jul 26, 2018 at 09:34:20AM -0400, Steve Coleman wrote:
> After a normal dnf update this error was displayed, because the old package
> is not erasing correctly. building the u2mfn from source did not help.
>
> $ sudo dnf update qubes-kernel-vm-support
> Last metadata expiration check: 0:39:14 ago on Thu Jul 26 08:27:57 2018.
> Dependencies resolved.
>
> Problem: cannot install both qubes-kernel-vm-support-4.0.20-1.fc28.x86_64
> and qubes-kernel-vm-support-4.0.20-1.fc28.x86_64
> - cannot install the best update candidate for package
> qubes-kernel-vm-support-4.0.20-1.fc28.x86_64
> - cannot install the best update candidate for package
> qubes-kernel-vm-support-4.0.19-1.fc28.x86_64
> ======================================================================================================================================
> Package Arch Version
> Repository Size
> ======================================================================================================================================
> Reinstalling:
> qubes-kernel-vm-support x86_64 4.0.20-1.fc28
> qubes-vm-r4.0-current 14 k
> replacing qubes-kernel-vm-support.x86_64 4.0.19-1.fc28

Looks like some previous update failed to remove 4.0.19-1.fc28 version
and now you have both.

(...)

> Running scriptlet: qubes-kernel-vm-support-4.0.19-1.fc28.x86_64
> 2/3
> Error! There are no instances of module: u2mfn
> 4.0.19 located in the DKMS tree.
> error: %preun(qubes-kernel-vm-support-4.0.19-1.fc28.x86_64) scriptlet
> failed, exit status 3
> Error in PREUN scriptlet in rpm package qubes-kernel-vm-support
> Error in PREUN scriptlet in rpm package qubes-kernel-vm-support

Probably qubes-kernel-vm-support-4.0.19-1.fc28.x86_64 was half-removed
already. Cleanup it with bypassing scripts:

sudo rpm -e --noscripts qubes-kernel-vm-support-4.0.19-1.fc28.x86_64

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

iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAltaWX8ACgkQ24/THMrX
1yyw0AgAgVK5ZcFZIY8uTEZXshGypGIyBtZnzS6NoG7H3q4ZE/iOv1Ve1IFsIwt9
/Mn2tl1Wubq3G25KBGZeR17+qih6EtK+8lRKSfh5ZaDUINtWYgZJuY46wLMR54wM
cWb1Bsk1LB1mf98pVoHM3GrzohFs3KATtl4umOJEAIcSYGWFVt3WEQ7LzpYeCOTi
GLHT0gPtR9zoZ2y7/g/4EiUTTHYUoVgiakrdf7MRJ6KsH/BUJjdXYcaD9/PVGZl4
4n+/TBwQaBeyHCGvXoopb2vEshIyF2XmInOp/41DwxitXwFww/4dsXjX62Ttaa7t
YsSJ1MLgnuf/TsVVPdeTyq4J/Xn4Fw==
=R8Yb
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages