• lib32 not installed - but required when update

    From vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Sun Oct 19 11:53:17 2025
    From Newsgroup: muc.lists.freebsd.stable

    Hi.

    1. I installed FreeBSD 15.0-BETA1 with packages from ISO with only 'base' selected. No 'lib32' installed.

    2. Then modified 'url' in /usr/local/etc/pkg/repos/FreeBSD-base.conf file:

    - url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_latest",
    + url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}",

    3. Then wanted to update 'vi' package:

    root@pkgbase:~ # pkg install FreeBSD-vi
    Updating FreeBSD-ports repository catalogue...
    FreeBSD-ports repository is up to date.
    Updating FreeBSD-ports-kmods repository catalogue...
    FreeBSD-ports-kmods repository is up to date.
    Updating FreeBSD-base repository catalogue...
    FreeBSD-base repository is up to date.
    All repositories are up to date.
    The following 2 package(s) will be affected (of 0 checked):

    New packages to be INSTALLED:
    FreeBSD-clibs-lib32: 15.0.b1.20251012072228 [FreeBSD-base]

    Installed packages to be UPGRADED:
    FreeBSD-vi: 15.0.b1.20251011075131 -> 15.0.b1.20251012072228 [FreeBSD-base]

    Number of packages to be installed: 1
    Number of packages to be upgraded: 1

    The process will require 4 MiB more space.
    2 MiB to be downloaded.

    Proceed with this action? [y/N]:



    Why 'lib32' dependency is pulled in/required when I do not have anything 'lib32' related installed?



    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 vermaden@vermaden@interia.pl to muc.lists.freebsd.stable on Sun Oct 19 12:07:22 2025
    From Newsgroup: muc.lists.freebsd.stable

    More interesting.

    After 'vi' update and after that 'lib32' is installed ... you can just remove it ... and it has no deps ...



    root@pkgbase:~ # pkg info | grep lib32 FreeBSD-clibs-lib32-15.0.b1.20251012072228 Core runtime libraries (32-bit libraries)

    root@pkgbase:~ # pkg delete FreeBSD-clibs-lib32-15.0.b1.20251012072228
    Cannot solve problem using SAT solver, trying another plan
    Cannot solve problem using SAT solver, trying another plan
    Cannot solve problem using SAT solver, trying another plan
    Cannot solve problem using SAT solver, trying another plan
    Cannot solve problem using SAT solver, trying another plan
    Cannot solve problem using SAT solver, trying another plan
    Cannot solve problem using SAT solver, trying another plan
    Cannot solve problem using SAT solver, trying another plan
    Cannot solve problem using SAT solver, trying another plan
    Checking integrity... done (0 conflicting)
    Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

    Installed packages to be REMOVED:
    FreeBSD-clibs-lib32: 15.0.b1.20251012072228

    Number of packages to be removed: 1

    The operation will free 4 MiB.

    Proceed with deinstalling packages? [y/N]: y
    [1/1] Deinstalling FreeBSD-clibs-lib32-15.0.b1.20251012072228...
    [1/1] Deleting files for FreeBSD-clibs-lib32-15.0.b1.20251012072228: 100%



    Regards,
    vermaden





    Temat: lib32 not installed - but required when update
    Data: 2025-10-19 11:54
    Nadawca: "vermaden" <vermaden@interia.pl>
    Adresat: freebsd-stable@FreeBSD.org; freebsd-pkgbase@FreeBSD.org; freebsd-current@freebsd.org;


    Hi.

    1. I installed FreeBSD 15.0-BETA1 with packages from ISO with only 'base' selected. No 'lib32' installed.

    2. Then modified 'url' in /usr/local/etc/pkg/repos/FreeBSD-base.conf file:

    - url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_latest",
    + url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}",

    3. Then wanted to update 'vi' package:

    root@pkgbase:~ # pkg install FreeBSD-vi
    Updating FreeBSD-ports repository catalogue...
    FreeBSD-ports repository is up to date.
    Updating FreeBSD-ports-kmods repository catalogue...
    FreeBSD-ports-kmods repository is up to date.
    Updating FreeBSD-base repository catalogue...
    FreeBSD-base repository is up to date.
    All repositories are up to date.
    The following 2 package(s) will be affected (of 0 checked):

    New packages to be INSTALLED:
    FreeBSD-clibs-lib32: 15.0.b1.20251012072228 [FreeBSD-base]

    Installed packages to be UPGRADED:
    FreeBSD-vi: 15.0.b1.20251011075131 -> 15.0.b1.20251012072228[FreeBSD-base]

    Number of packages to be installed: 1
    Number of packages to be upgraded: 1

    The process will require 4 MiB more space.
    2 MiB to be downloaded.

    Proceed with this action? [y/N]:



    Why 'lib32' dependency is pulled in/required when I do not have anything 'lib32' related installed?



    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 Lexi Winter@ivy@freebsd.org to muc.lists.freebsd.stable on Sun Oct 19 12:39:25 2025
    From Newsgroup: muc.lists.freebsd.stable


    --uTSbkkz4xf/BtNUn
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable

    (removed current@ from cc, since this is about the stable branch.)

    vermaden wrote in <cvhspoawrmqotqpgstwm@qhij>:
    3. Then wanted to update 'vi' package:
    =20
    root@pkgbase:~ # pkg install FreeBSD-vi
    [...]=20
    New packages to be INSTALLED:
    FreeBSD-clibs-lib32: 15.0.b1.20251012072228 [FreeBSD-base]
    =20
    Installed packages to be UPGRADED:
    FreeBSD-vi: 15.0.b1.20251011075131 -> 15.0.b1.20251012072228 [Fre=
    eBSD-base]
    =20
    [...]=20
    Why 'lib32' dependency is pulled in/required when I do not have anything =
    'lib32' related installed?

    this may be another instance of [0], which Colin is tracking as a
    release issue.

    [0] https://github.com/freebsd/pkg/issues/2520#issuecomment-3374157259.

    however for visibility, i think it would be good to file a separate PR
    about this issue, if possible including the pkg debug output (pkg -ddd).
    please tag @llfw in the report.


    --uTSbkkz4xf/BtNUn
    Content-Type: application/pgp-signature; name=signature.asc

    -----BEGIN PGP SIGNATURE-----

    iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaPTN6gAKCRD1nT63mIK/ YF3/AP42qXzK2WX2yZuoMnt3S8n/u5B1PSynH/b0qlncFT9zygD/fynrUjbkATA4 VjNdm/q/IHT9CkUHq6C2tx6QzlACoQ8=
    =fZTN
    -----END PGP SIGNATURE-----

    --uTSbkkz4xf/BtNUn--


    --
    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 Miroslav Lachman@000.fbsd@quip.cz to muc.lists.freebsd.stable on Sun Oct 19 20:34:21 2025
    From Newsgroup: muc.lists.freebsd.stable

    On 19/10/2025 12:07, vermaden wrote:
    More interesting.

    After 'vi' update and after that 'lib32' is installed ... you can just remove it ... and it has no deps ...

    This is exactly something that I am seeing with normal 3rd party
    packages (not base packages) for a very very long time - like many
    years) More on my desktop where I have about 1500 packages installed,
    but sometime on headless servers with about 200 packages.

    Some unrelated packages are being installed as "required dependency" but
    can be deinstalled by "pkg autoremove" right after the "pkg upgrade".

    I am really scared of the moving to pkg base with all these long
    standing issues and many new issues like removing all packages even with
    to loader required to be able to use BE. I think it is not mature enough (after all these years)

    Kind regards
    Miroslav Lachman

    root@pkgbase:~ # pkg info | grep lib32 FreeBSD-clibs-lib32-15.0.b1.20251012072228 Core runtime libraries (32-bit libraries)

    root@pkgbase:~ # pkg delete FreeBSD-clibs-lib32-15.0.b1.20251012072228
    Cannot solve problem using SAT solver, trying another plan
    Cannot solve problem using SAT solver, trying another plan
    Cannot solve problem using SAT solver, trying another plan
    Cannot solve problem using SAT solver, trying another plan
    Cannot solve problem using SAT solver, trying another plan
    Cannot solve problem using SAT solver, trying another plan
    Cannot solve problem using SAT solver, trying another plan
    Cannot solve problem using SAT solver, trying another plan
    Cannot solve problem using SAT solver, trying another plan
    Checking integrity... done (0 conflicting)
    Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

    Installed packages to be REMOVED:
    FreeBSD-clibs-lib32: 15.0.b1.20251012072228

    Number of packages to be removed: 1

    The operation will free 4 MiB.

    Proceed with deinstalling packages? [y/N]: y
    [1/1] Deinstalling FreeBSD-clibs-lib32-15.0.b1.20251012072228...
    [1/1] Deleting files for FreeBSD-clibs-lib32-15.0.b1.20251012072228: 100%



    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