pkg icon indicating copy to clipboard operation
pkg copied to clipboard

Pkg dies in the middle of an upgrade

Open bdrewery opened this issue 9 years ago • 2 comments

I thought this was fixed. I would consider it a blocker for pkgbase.

> pkg upgrade
...
[435/493] Reinstalling linux_base-c6-6.8...
sysctl: unknown oid 'compat.linux.osrelease'
linuxulator is not (kld)loaded, exiting
pkg: PRE-INSTALL script failed
[root@c1100-1][pts/2][zsh/2][Fri 07/22/2016 10:48:14 PDT][3?0&]

This was effectively a pkg upgrade -f since I just upgraded from 11 to 12 and ran 'pkg upgrade`.

bdrewery avatar Jul 22 '16 17:07 bdrewery

Well, it did commit the transaction at least. The next upgrade resumed at the next package rather than redoing everything. I'm glad that one is fixed at least. It wasn't obvious to me that it even crashed in the middle until I noticed "435/493". If it is expected to behave like this, we should explicitly tell the user to do something and then resume with pkg upgrade again.

bdrewery avatar Jul 22 '16 17:07 bdrewery

Still an issue?

grahamperrin avatar Jun 05 '22 18:06 grahamperrin