Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Nov 2025 12:50:20 +0000
From:      Lexi Winter <ivy@freebsd.org>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: changing from pkgbase to regularbase
Message-ID:  <aSGxjITOXKHwTjP2@amaryllis.le-fay.org>
In-Reply-To: <3cd5a594-8f0e-4ff8-a54f-440611c3a7bc@app.fastmail.com>
References:  <aR3Rc_5llfvlEjIo@int21h> <aSEGPTtrfV29u9R9@amaryllis.le-fay.org> <71e4b46c-8d69-451d-92ca-79316ffc4b63@app.fastmail.com> <aSETbVSLxcDa5ssB@amaryllis.le-fay.org> <20251122180931.52c1141475f5faec4fad633c@dec.sakura.ne.jp> <aSGhDGx8Dkk6lBP_@amaryllis.le-fay.org> <3cd5a594-8f0e-4ff8-a54f-440611c3a7bc@app.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
void wrote in <3cd5a594-8f0e-4ff8-a54f-440611c3a7bc@app.fastmail.com>:
> On Sat, 22 Nov 2025, at 11:39, Lexi Winter wrote:
> 
> > if you have correctly depkgbased the system,
> 
> How does that work, given that you said this earlier:
> 
> On Sat, 22 Nov 2025, at 01:35, Lexi Winter wrote:
> 
> > there is no supported method to "depkgbasify" a system.
> >
> > the correct method to not use pkgbase is to not select pkgbase when
> > installing the system.

- there is no supported (i.e., documented and recommended) method to
  depkgbasify the system

- there are methods to depkgbasify the system, which are not documented
  or recommended, but nonetheless do work correctly.[0]

- running "make installworld" (or installkernel) on a pkgbase system is
  not one of those methods, which is why it prints an error when you try
  to do this.  it is always wrong to bypass this error, except in two
  specific cases:

  - you have a very broken system, and are trying to use a manual
    installworld as one step in the recovery process, which you
    would then follow with a full pkgbase reinstall.

  - you are using installkernel and you have either uninstalled the
    default kernel package, or you've set KODIR to ensure you don't
    overwrite a pkgbase kernel (or whatever the option for that is
    called; i don't remember off hand).

  i think the latter case is unusual, but might happen on development
  systems when it's easier to use installkernel than update-packages
  for quickly testing kernel changes.  

[0] actually i think there's only one such method, which is to delete
    /var/db/pkg after installing.  to provide a more general method of
    doing this, we will probably need some sort of "pkg unregister"
    functionality that i don't think exists right now.


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaSGxiAAKCRD1nT63mIK/
YNnKAQDV4Te5BIMPHthaUD+m1Y9RkRTSyJpFOsllYZGXypswZgD/csbV7Lg29Dig
HYe539ptnU8kvQ8Nl/jMrZk6c8yZdA4=
=PSko
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aSGxjITOXKHwTjP2>