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

Dag-Erling Smørgrav <[email protected]> Tue, 12 May 2026 14:45:21 +0200
Newsgroups gmane.os.freebsd.questions
Message-ID <[email protected]>
Jason Bacon <[email protected]> writes:
> Dag-Erling Smørgrav <[email protected]> writes:
> > That's not a bug.  If you accidentally uninstall your kernel you can
> > just reinstall it.  If you accidentally uninstall pkg or your shell you
> > can't do anything without rebooting from external media.
> Yeah, it's a bug.

It's a deliberate choice and works exactly as intended. Just because you
disagree with that choice does not make it a bug.

> If you run "pkg remove -a" without the "y", it will warn you that many
> packages are marked "vital" and cannot be removed.  The user is
> prompted to remove vital packages from the remove request (i.e. not
> remove the package).

No, pkg will not prompt the user about vital packages.  It will prompt
the user about packages that are not themselves vital but are required
by a vital package.

> Adding "-y" answers all these prompts with in the affirmative, so that
> no vital packages are removed.

Adding `-y` also skips the final confirmation.  You got what you asked
for.  Wishing that you'd asked for something else does not mean there is
a bug, it just means you made a mistake, which you can easily fix by
reinstalling a kernel.

DES
-- 
Dag-Erling Smørgrav - [email protected]