• Why pkg(8) is NOT bootstrapped in PKGBASE install by default?

    From vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Wed Sep 17 00:16:06 2025
    From Newsgroup: muc.lists.freebsd.stable

    Hi,

    I just made an 'offline' installation of FreeBSD 15.0-ALPHA2 with these options selected:
    - Use PKGBASE.
    - Do 'Offline' install.
    - Auto ZFS with Partition Scheme: GPT (BIOS+UEFI)
    - Add '+lib32' to wanted sets.

    After reboot I want to see what PKGBASE packages are installed (and maybe remove some of them) but I am not able to because pkg(8) is not bootstrapped ... why? This is OFFLINE installation. These are bad defaults.

    root@A2:~ # pkg info
    The package management tool is not yet installed on your system.
    Do you want to fetch and install it now? [y/N]:

    Regards,
    vermaden



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Colin Percival@cperciva@tarsnap.com to muc.lists.freebsd.stable on Tue Sep 16 22:23:26 2025
    From Newsgroup: muc.lists.freebsd.stable

    On 9/16/25 15:16, vermaden wrote:
    I just made an 'offline' installation of FreeBSD 15.0-ALPHA2 with these options selected:
    - Use PKGBASE.
    - Do 'Offline' install.
    - Auto ZFS with Partition Scheme: GPT (BIOS+UEFI)
    - Add '+lib32' to wanted sets.

    After reboot I want to see what PKGBASE packages are installed (and maybe remove some of them) but I am not able to because pkg(8) is not bootstrapped ... why? This is OFFLINE installation. These are bad defaults.

    root@A2:~ # pkg info
    The package management tool is not yet installed on your system.
    Do you want to fetch and install it now? [y/N]:

    I'm planning on adding pkg to the pkgbase repository on disc1 and dvd1.
    --
    Colin Percival
    FreeBSD Release Engineering Lead & EC2 platform maintainer
    Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Sulev-Madis Silber@freebsd-stable-freebsd-org730@ketas.si.pri.ee to muc.lists.freebsd.stable on Wed Sep 17 01:46:58 2025
    From Newsgroup: muc.lists.freebsd.stable

    memstick too i hope?
    or any installer which contains pkgbase?
    or perhaps any installer?
    i don't get why this decision was made. you can always upgrade pkg. but what if it's truly offline?
    i never understood why pkg is not in base. after all that's like most important tool ever. especially now
    yeah, everyone can take src and build whatever installer they want but hell with those defaults
    only reason here is that pkg should always be latest and can't in some cases be upgraded?
    at least give me reasons i can disagree with!
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Wed Sep 17 01:11:03 2025
    From Newsgroup: muc.lists.freebsd.stable


    I used this image:

    - FreeBSD-15.0-ALPHA2-amd64-20250914-da62a299de31-280122-disc1.iso

    Its official 15.0-ALPHA2 'disc1.iso' image.

    Regards,
    vermaden



    Temat: Re: Why pkg(8) is NOT bootstrapped in PKGBASE install by default?
    Data: 2025-09-17 0:49
    Nadawca: "Sulev-Madis Silber" <freebsd-stable-freebsd-org730@ketas.si.pri.ee>
    Adresat: stable@freebsd.org;

    memstick too i hope?

    or any installer which contains pkgbase?

    or perhaps any installer?

    i don't get why this decision was made. you can always upgrade pkg.
    but what if it's truly offline?

    i never understood why pkg is not in base. after all that's like most important tool ever. especially now

    yeah, everyone can take src and build whatever installer they want
    but hell with those defaults

    only reason here is that pkg should always be latest and can't in
    some cases be upgraded?

    at least give me reasons i can disagree with!




    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Mark Millard@marklmi@yahoo.com to muc.lists.freebsd.stable on Tue Sep 16 16:57:31 2025
    From Newsgroup: muc.lists.freebsd.stable

    Colin Percival <cperciva_at_tarsnap.com> wrote on
    Date: Tue, 16 Sep 2025 22:23:26 UTC :
    On 9/16/25 15:16, vermaden wrote:
    I just made an 'offline' installation of FreeBSD 15.0-ALPHA2 with these options selected:
    - Use PKGBASE.
    - Do 'Offline' install.
    - Auto ZFS with Partition Scheme: GPT (BIOS+UEFI)
    - Add '+lib32' to wanted sets.

    After reboot I want to see what PKGBASE packages are installed (and maybe remove some of them) but I am not able to because pkg(8) is not bootstrapped ... why? This is OFFLINE installation. These are bad defaults.

    root@A2:~ # pkg info
    The package management tool is not yet installed on your system.
    Do you want to fetch and install it now? [y/N]:

    I'm planning on adding pkg to the pkgbase repository on disc1 and dvd1.
    The various FreeBSD-15.0-*-*-*-*-*[0-9]-memstick.img* (when the
    FreeBSD file system in it is mounted) also each contain ( based
    on mounting to /mnt/ ):
    # cat /mnt/usr/freebsd-packages/repos/FreeBSD-base-offline.conf
    FreeBSD-base: {
    url: "file:///usr/freebsd-packages/offline",
    enabled: yes
    }
    and various appropriate:
    /mnt/usr/freebsd-packages/offline/*
    So: memstick too?
    ===
    Mark Millard
    marklmi at yahoo.com
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Colin Percival@cperciva@tarsnap.com to muc.lists.freebsd.stable on Wed Sep 17 00:27:58 2025
    From Newsgroup: muc.lists.freebsd.stable

    On 9/16/25 16:57, Mark Millard wrote:
    Colin Percival <cperciva_at_tarsnap.com> wrote:
    I'm planning on adding pkg to the pkgbase repository on disc1 and dvd1.

    So: memstick too?

    Yes. "memstick" contains exactly the same bits as "disc1" -- the only difference is how it boots. And for that matter, any modern system should
    work just fine with the "disc1" image on a USB disk; we might get rid of "memstick" in 16 since it's pointless duplication.
    --
    Colin Percival
    FreeBSD Release Engineering Lead & EC2 platform maintainer
    Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Sulev-Madis Silber@freebsd-stable-freebsd-org730@ketas.si.pri.ee to muc.lists.freebsd.stable on Wed Sep 17 04:10:12 2025
    From Newsgroup: muc.lists.freebsd.stable


    On September 17, 2025 3:27:58 AM GMT+03:00, Colin Percival <cperciva@tarsnap.com> wrote:
    On 9/16/25 16:57, Mark Millard wrote:
    Colin Percival <cperciva_at_tarsnap.com> wrote:
    I'm planning on adding pkg to the pkgbase repository on disc1 and dvd1.

    So: memstick too?

    Yes. "memstick" contains exactly the same bits as "disc1" -- the only >difference is how it boots. And for that matter, any modern system should >work just fine with the "disc1" image on a USB disk; we might get rid of >"memstick" in 16 since it's pointless duplication.

    that would mean that people who sometimes slightly modify installers now need to make their own custom full installer images?
    at minimum one needs to extract it
    maybe not even bad i think...
    but i'm surprised that it's memstick that goes first and not discs. except longer shelf life (nearly forever if you press it) and being physically readonly, i don't know how many installs are done from *actual* cd(-r) / dvd(-r). sometimes you don't even have reader nor writer nor blanks. MODERN hw, right?
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Colin Percival@cperciva@tarsnap.com to muc.lists.freebsd.stable on Wed Sep 17 02:43:44 2025
    From Newsgroup: muc.lists.freebsd.stable

    On 9/16/25 18:10, Sulev-Madis Silber wrote:
    On September 17, 2025 3:27:58 AM GMT+03:00, Colin Percival <cperciva@tarsnap.com> wrote:
    Yes. "memstick" contains exactly the same bits as "disc1" -- the only
    difference is how it boots. And for that matter, any modern system should >> work just fine with the "disc1" image on a USB disk; we might get rid of
    "memstick" in 16 since it's pointless duplication.

    that would mean that people who sometimes slightly modify installers now need to make their own custom full installer images?
    at minimum one needs to extract it

    maybe not even bad i think...

    but i'm surprised that it's memstick that goes first and not discs. except longer shelf life (nearly forever if you press it) and being physically readonly, i don't know how many installs are done from *actual* cd(-r) / dvd(-r). sometimes you don't even have reader nor writer nor blanks. MODERN hw, right?

    The name "disc1" is historical. It doesn't even fit on a CD any more. (We
    do try to make sure the "dvd" image fits on a DVD, though.)

    Most installs should using the "disc1" image on a memory stick.

    Basically, "disc1" should work on a memory stick but "memstick" doesn't work
    on optical media. So we should keep the option which works everywhere.
    --
    Colin Percival
    FreeBSD Release Engineering Lead & EC2 platform maintainer
    Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2