Re: Unable to boot after update from within auto-admin

From: Jason Bacon <bacon4000_at_gmail.com>
Date: Tue, 12 May 2026 12:14:52 UTC
On 5/12/26 06:23, linuxblood wrote:
> On Tuesday, May 12th, 2026 at 11:12 AM, Jason Bacon <bacon4000@gmail.com> wrote:
> [...]
>> Did you by chance run "pkg remove -a" at any time?
>>
>> I coincidentally discovered a problem while working with a pkgbased VM,
>> where "pkg remove -a" removed my kernels.  This is a bug in the
>> packages, which should be marked "vital" so they cannot be removed.
> [...]
> 
> Thanks for asking. No, I didn't, but auto-admin did remove a *few* packages when it ran, the text went by so fast I couldn't read it. The only part I remember was near the end, where it cleaned the pkg cache and gave a choice on restarting services and/or rebooting. Also, I was not running a VM, if that makes a difference. :)

auto-update-system does a "pkg autoremove" to clean up orphaned 
dependencies, i.e. packages installed automatically as dependencies of 
something you actually requested, which has since been removed, or 
installed using the "pkg -A" flag.

It doesn't matter whether using a VM or bare metal.

-- 
Life is a game.  Play hard.  Play fair.  Have fun.