• [gentoo-user] world upgrade a mess, need some advise

    From John Covici@21:1/5 to All on Mon Jul 1 12:10:01 2024
    Hi. So, trying to do a world update, I ran into two major problems --
    one is perl and the other is python 3.12. Here is what I get trying
    to upgrade perl by itself:

    These are the packages that would be merged, in order:

    Calculating dependencies .... ....... done!
    Dependency resolution took 28.07 s (backtrack: 3/200).

    [ebuild U ] dev-lang/perl-5.40.0:0/5.40::gentoo
    [5.38.2-r6:0/5.38::gentoo] USE="gdbm -berkdb -doc -minimal" PERL_FEATURES="(-debug) -ithreads -quadmath" 13,616 KiB

    Total: 1 package (1 upgrade), Size of downloads: 13,616 KiB

    !!! Multiple package instances within a single package slot have been
    pulled
    !!! into the dependency graph, resulting in a slot conflict:

    dev-lang/perl:0

    (dev-lang/perl-5.40.0:0/5.40::gentoo, ebuild scheduled for merge)
    USE="gdbm -berkdb -doc -minimal" ABI_X86="(64)"
    PERL_FEATURES="(-debug) -ithreads -quadmath" pulled in by
    =dev-lang/perl-5.40* required by
    (virtual/perl-CPAN-2.360.0-r1-1:0/0::gentoo, installed) USE=""
    ABI_X86="(64)"
    ^ ^^^^^
    =dev-lang/perl-5.40.0 (Argument)
    (and 35 more with the same problems)

    (dev-lang/perl-5.38.2-r6-1:0/5.38::gentoo, installed) USE="gdbm
    -berkdb -doc -minimal" ABI_X86="(64)" PERL_FEATURES="(-debug)
    -ithreads -quadmath" pulled in by
    dev-lang/perl:0/5.38= required by
    (virtual/perl-CPAN-Meta-YAML-0.18.0-r10-1:0/0::gentoo, installed)
    USE="" ABI_X86="(64)"
    ^^^^^^^^
    dev-lang/perl:0/5.38=[-build(-)] required by
    (dev-vcs/git-2.45.1-1:0/0::gentoo, installed) USE="blksha1 curl gpg
    iconv keyring nls pcre perl safe-directory webdav -cgi -cvs -doc
    -highlight -mediawiki -perforce (-selinux) -subversion -t\est -tk
    -xinetd" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_11 -python3_10
    -python3_12"
    ^^^^^^^^
    \
    =dev-lang/perl-5.38* required by
    (virtual/perl-Socket-2.36.0-1:0/0::gentoo, installed) USE=""
    ABI_X86="(64)"
    ^ ^^^^^
    (and 308 more with the same problems)

    NOTE: Use the '--verbose-conflicts' option to display parents omitted
    above

    !!! The slot conflict(s) shown above involve package(s) which may need
    to
    !!! be rebuilt in order to solve the conflict(s). However, the
    following
    !!! package(s) cannot be rebuilt for the reason(s) shown:

    (dev-vcs/git-2.45.1-1:0/0::gentoo, installed): ebuild is masked or
    unavailable


    It may be possible to solve this problem by using package.mask to
    prevent one of those packages from being selected. However, it is also
    possible that conflicting dependencies exist such that they are
    impossible to satisfy simultaneously. If such a conflict exists in
    the dependencies of two different packages, then those packages can
    not be installed simultaneously.

    For more information, see MASKED PACKAGES section in the emerge man
    page or refer to the Gentoo Handbook.


    !!! The following installed packages are masked:
    - xfce-base/xfconf-4.19.2::gentoo (masked by: package.mask) /var/db/repos/gentoo/profiles/package.mask:
    # Micha\u0142 Górny <mgorny@gentoo.org> (2024-06-08)
    # Prereleases of Xfce 4.20. Masking upon popular request, due to
    # a large number of regressions in every new release.

    - dev-php/PEAR-Mail-1.5.0::gentoo (masked by: package.mask) /var/db/repos/gentoo/profiles/package.mask:
    # Viorel Munteanu <ceamac@gentoo.org> (2024-06-11)
    # dev-php/pear, dev-php/PEAR-* and their reverse dependencies: mask
    for removal
    # in 30 days.
    ## they have around 40 bugs.
    # Removal: 2024-07-11. Bug #933998.

    - xfce-base/libxfce4util-4.19.3::gentoo (masked by: package.mask)
    - dev-php/PEAR-DB-1.11.0::gentoo (masked by: package.mask)
    - dev-build/xfce4-dev-tools-4.19.1::gentoo (masked by: package.mask)
    - dev-php/PEAR-Date-1.5.0_alpha4-r1::gentoo (masked by: package.mask)
    - xfce-base/exo-4.19.0::gentoo (masked by: package.mask)
    - dev-php/PEAR-XML_Serializer-0.21.0-r1::gentoo (masked by:
    - package.mask)
    - xfce-base/libxfce4ui-4.19.5::gentoo (masked by: package.mask)
    - dev-php/PEAR-XML_Parser-1.3.8-r1::gentoo (masked by: package.mask)
    For more information, see the MASKED PACKAGES section in the emerge
    man page or refer to the Gentoo Handbook.
    I tried with backtrack=1000, with no different results.

    Thanks in advance for any suggestions.

    --
    Your life is like a penny. You're going to lose it. The question is:
    How do
    you spend it?

    John Covici wb2una
    covici@ccs.covici.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Mon Jul 1 11:34:59 2024
    On Monday, 1 July 2024 11:04:37 BST John Covici wrote:
    Hi. So, trying to do a world update, I ran into two major problems --
    one is perl and the other is python 3.12. Here is what I get trying
    to upgrade perl by itself:

    These are the packages that would be merged, in order:

    Calculating dependencies .... ....... done!
    Dependency resolution took 28.07 s (backtrack: 3/200).

    [ebuild U ] dev-lang/perl-5.40.0:0/5.40::gentoo [5.38.2-r6:0/5.38::gentoo] USE="gdbm -berkdb -doc -minimal" PERL_FEATURES="(-debug) -ithreads -quadmath" 13,616 KiB

    Total: 1 package (1 upgrade), Size of downloads: 13,616 KiB

    !!! Multiple package instances within a single package slot have been
    pulled
    !!! into the dependency graph, resulting in a slot conflict:

    dev-lang/perl:0

    (dev-lang/perl-5.40.0:0/5.40::gentoo, ebuild scheduled for merge)
    USE="gdbm -berkdb -doc -minimal" ABI_X86="(64)"
    PERL_FEATURES="(-debug) -ithreads -quadmath" pulled in by
    =dev-lang/perl-5.40* required by
    (virtual/perl-CPAN-2.360.0-r1-1:0/0::gentoo, installed) USE=""
    ABI_X86="(64)"
    ^ ^^^^^
    =dev-lang/perl-5.40.0 (Argument)
    (and 35 more with the same problems)

    (dev-lang/perl-5.38.2-r6-1:0/5.38::gentoo, installed) USE="gdbm
    -berkdb -doc -minimal" ABI_X86="(64)" PERL_FEATURES="(-debug)
    -ithreads -quadmath" pulled in by
    dev-lang/perl:0/5.38= required by
    (virtual/perl-CPAN-Meta-YAML-0.18.0-r10-1:0/0::gentoo, installed)
    USE="" ABI_X86="(64)"
    ^^^^^^^^
    dev-lang/perl:0/5.38=[-build(-)]
    required by
    (dev-vcs/git-2.45.1-1:0/0::gentoo, installed) USE="blksha1 curl gpg
    iconv keyring nls pcre perl safe-directory webdav -cgi -cvs -doc
    -highlight -mediawiki -perforce (-selinux) -subversion -t\est -tk
    -xinetd" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_11 -python3_10
    -python3_12"
    ^^^^^^^^
    \
    =dev-lang/perl-5.38* required by
    (virtual/perl-Socket-2.36.0-1:0/0::gentoo, installed) USE=""
    ABI_X86="(64)"
    ^ ^^^^^
    (and 308 more with the same problems)

    NOTE: Use the '--verbose-conflicts' option to display parents omitted
    above

    !!! The slot conflict(s) shown above involve package(s) which may need
    to
    !!! be rebuilt in order to solve the conflict(s). However, the
    following
    !!! package(s) cannot be rebuilt for the reason(s) shown:

    (dev-vcs/git-2.45.1-1:0/0::gentoo, installed): ebuild is masked or
    unavailable


    It may be possible to solve this problem by using package.mask to
    prevent one of those packages from being selected. However, it is also possible that conflicting dependencies exist such that they are
    impossible to satisfy simultaneously. If such a conflict exists in
    the dependencies of two different packages, then those packages can
    not be installed simultaneously.

    For more information, see MASKED PACKAGES section in the emerge man
    page or refer to the Gentoo Handbook.


    !!! The following installed packages are masked:
    - xfce-base/xfconf-4.19.2::gentoo (masked by: package.mask) /var/db/repos/gentoo/profiles/package.mask:
    # Micha\u0142 Górny <mgorny@gentoo.org> (2024-06-08)
    # Prereleases of Xfce 4.20. Masking upon popular request, due to
    # a large number of regressions in every new release.

    - dev-php/PEAR-Mail-1.5.0::gentoo (masked by: package.mask) /var/db/repos/gentoo/profiles/package.mask:
    # Viorel Munteanu <ceamac@gentoo.org> (2024-06-11)
    # dev-php/pear, dev-php/PEAR-* and their reverse dependencies: mask
    for removal
    # in 30 days.
    ## they have around 40 bugs.
    # Removal: 2024-07-11. Bug #933998.

    - xfce-base/libxfce4util-4.19.3::gentoo (masked by: package.mask)
    - dev-php/PEAR-DB-1.11.0::gentoo (masked by: package.mask)
    - dev-build/xfce4-dev-tools-4.19.1::gentoo (masked by: package.mask)
    - dev-php/PEAR-Date-1.5.0_alpha4-r1::gentoo (masked by: package.mask)
    - xfce-base/exo-4.19.0::gentoo (masked by: package.mask)
    - dev-php/PEAR-XML_Serializer-0.21.0-r1::gentoo (masked by:
    - package.mask)
    - xfce-base/libxfce4ui-4.19.5::gentoo (masked by: package.mask)
    - dev-php/PEAR-XML_Parser-1.3.8-r1::gentoo (masked by: package.mask)
    For more information, see the MASKED PACKAGES section in the emerge
    man page or refer to the Gentoo Handbook.
    I tried with backtrack=1000, with no different results.

    Thanks in advance for any suggestions.

    Whenever I have a problem involving perl I first run:

    /usr/bin/perl-cleaner --reallyall

    I don't know if it will fix your problem, but it won't hurt trying this first.

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

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmaChlMACgkQseqq9sKV ZxnrGA/+JWB29lE5CuIk1YaT5FNUqxs+uVVsve6C0ebYm5wij5VtGoeUGP6IrzAB hunjMp/cgZyHRJQhAWM2slQbutD/GGcU4Swb1tVMQEGu2kl9C+pSP5T4LyLHR3Q6 103m2GmO8vniZ+Iv4OHU2X4M40dWoA6DZue/ZrItp56zcL69o5heMtFYKk8Pcy6w +i/PXEsPmqbsF0yWN1CERhGGVELldsneb8JbRvD6XX6a3S9EHuBcsdvw+nqXWpMV W55gbsTX2vXojoljuv53M3dtzOISenmQyEt6rry/v1J15oGK5t5d3Iti4JfHva1L 7JaFtD0SrxK0BvmxCemcFR89fE2J2lx+xfCXEXlYcdMhImMdcwdOh27J4hN/Qi9x I/GAdPm36/ZpaUTtMT20aDYBgHCXxSdNBCy8ghqL/+7VoJViDizhuIL8jkMDSUxs AzjRCzmFcptkCRyX2qE13e4P8cj7FyP5q6IPL9x0h5r5hBgnelqvlRJr2LAtvT8Z TAVycI7TepSyqcP3Sh9wUpmkZ+pWy8tjH1BsdKSO7pegxmeb9d/bNRsOIKq7hRUG J7DYCqEbTZpCD2TjtAQUeosBWt4QXGxYCydPenZJQjhp1Cct7616tlsR6pqok6zn PoXpnDWN06yLtlN7dqWqyYzvWTVhw7cHfpvtS2VZOfP5LF3Negg=
    =EPzz
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wols Lists@21:1/5 to Michael on Mon Jul 1 13:30:01 2024
    On 01/07/2024 11:34, Michael wrote:
    Thanks in advance for any suggestions.
    Whenever I have a problem involving perl I first run:

    /usr/bin/perl-cleaner --reallyall

    I don't know if it will fix your problem, but it won't hurt trying this first.

    Yup. I discovered this. A lot of perl stuff doesn't seem to get updated
    in the normal course of updates, and all of a sudden perl itself gets
    wedged.

    Bear in mind large chunks of Perl are downloaded from CPAN, and the
    eco-system is designed to upgrade them from inside Perl itself, you can
    see how things go wrong ...

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Covici@21:1/5 to Dale on Mon Jul 1 21:30:02 2024
    On Mon, 01 Jul 2024 09:53:56 -0400,
    Dale wrote:

    Wols Lists wrote:
    On 01/07/2024 11:34, Michael wrote:
    Thanks in advance for any suggestions.
    Whenever I have a problem involving perl I first run:

    /usr/bin/perl-cleaner --reallyall

    I don't know if it will fix your problem, but it won't hurt trying
    this first.

    Yup. I discovered this. A lot of perl stuff doesn't seem to get
    updated in the normal course of updates, and all of a sudden perl
    itself gets wedged.

    Bear in mind large chunks of Perl are downloaded from CPAN, and the eco-system is designed to upgrade them from inside Perl itself, you
    can see how things go wrong ...

    Cheers,
    Wol




    I seem to recall having to run that during that upgrade as well.  It reinstalled a lot of packages but it worked.  It's worth trying for sure.


    But don't you do that after the upgrade -- I can't even start the
    upgrade, so how would perl-cleaner help?

    --
    Your life is like a penny. You're going to lose it. The question is:
    How do
    you spend it?

    John Covici wb2una
    covici@ccs.covici.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wol@21:1/5 to John Covici on Tue Jul 2 01:20:01 2024
    On 01/07/2024 20:27, John Covici wrote:
    I seem to recall having to run that during that upgrade as well.  It
    reinstalled a lot of packages but it worked.  It's worth trying for sure. >>
    But don't you do that after the upgrade -- I can't even start the
    upgrade, so how would perl-cleaner help?

    Trust me it does!

    You have a bunch of old perl scripts, one (or more) of which are
    blocking the upgrade. perl-cleaner will upgrade them to the latest
    version compatible with your current perl, which then frees up the perl upgrade. Make sure you run perl-cleaner again afterwards, to ensure you
    have the absolute latest version of all these extra bits. In fact, you
    should really run perl-cleaner after every "emerge --update". Most
    people most of the time either forget or don't realise ...

    Don't forget, if I've got it right, perl and CPAN predate linux, so if
    there's an argument about who needs to change, perl simply says "I was
    here first, you have to do it *my* way".

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Covici@21:1/5 to Wol on Tue Jul 2 06:00:01 2024
    On Mon, 01 Jul 2024 19:16:11 -0400,
    Wol wrote:

    On 01/07/2024 20:27, John Covici wrote:
    I seem to recall having to run that during that upgrade as well.  It
    reinstalled a lot of packages but it worked.  It's worth trying for sure. >>
    But don't you do that after the upgrade -- I can't even start the
    upgrade, so how would perl-cleaner help?

    Trust me it does!

    You have a bunch of old perl scripts, one (or more) of which are
    blocking the upgrade. perl-cleaner will upgrade them to the
    latest version compatible with your current perl, which then
    frees up the perl upgrade. Make sure you run perl-cleaner again
    afterwards, to ensure you have the absolute latest version of all
    these extra bits. In fact, you should really run perl-cleaner
    after every "emerge --update". Most people most of the time
    either forget or don't realise ...

    Don't forget, if I've got it right, perl and CPAN predate linux,
    so if there's an argument about who needs to change, perl simply
    says "I was here first, you have to do it *my* way".

    Cheers,
    Wol


    I ran perl-cleaner and it is going right now -- installing perl itself
    and lots of others -- thanks a lot people.

    --
    Your life is like a penny. You're going to lose it. The question is:
    How do
    you spend it?

    John Covici wb2una
    covici@ccs.covici.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wols Lists@21:1/5 to Arve Barsnes on Tue Jul 2 18:50:01 2024
    On 02/07/2024 10:17, Arve Barsnes wrote:
    IMO, only bring out the hammer if you're having a problem.

    And when you run emerge --update, does that sometimes find nothing to
    upgrade? No reason why it *should* find something.

    There's a couple of commands like that that sometimes find nothing to do
    - emerge --depclean is another.

    But if you set off all these "do something if there's something needing
    doing" jobs, you'll always have a clean, up-to-date system.

    And yes it would be nice if there was a page somewhere in the handbook
    or similar that said "this is how to keep your system up-to-date, just
    run these commands every week or so".

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Wed Jul 3 11:52:23 2024
    On Wednesday, 3 July 2024 01:34:12 BST Dale wrote:
    Eli Schwartz wrote:
    On 7/2/24 7:33 PM, Dale wrote:
    What I wish, emerge would spit the information out after it completes
    instead of putting fairly important info in some log files somewhere for >> a person to go dig and find. It already tells us we should run
    --depclean. Why can't it tell us when we need to run some python tool,
    perl or anything else as well that has been triggered. I've never seen
    emerge tell me to run anything but --depclean or preserved rebuild and
    to be honest, if a package isn't used, it likely doesn't hurt anything
    that it is still installed. It's just cruft left behind. Having a
    broken python, perl or some other important package should give us a
    notice at the end. That to me would be more important than running
    -depclean. Running preserved rebuild is important tho.

    One thing about it, if it doesn't need to fix anything, I guess it does
    nothing. Might upset a few electrons while checking is all. ;-)

    ... but it already does exactly this?

    When a package emits a warning in the middle of 50 other packages being compiled and installed... portage collects warnings and repeats them at
    the end for you.

    It doesn't matter because the package manager already rebuilds pretty
    much all perl modules. Running perl-cleaner is advised "in case portage missed something" which probably means "it wasn't part of @world".

    All I've ever seen is --depclean and preserved rebuild. I don't recall
    ever seeing anything else. If a package fails, then it tacks the log
    file on the end, sometimes of multiple packages. To be honest tho, if
    it fails, most of the time that isn't useful either. Usually the actual error is way up somewhere. I've never seen anything about perl, python
    or that sort of thing before.

    It could be that my emerge options are good enough that it doesn't
    trigger any of those. When I had to run perl cleaner a while back tho,
    I wish emerge had gave me a hint that it needed to be run if it couldn't
    fix it itself. Then again, it may not have known about it either.

    I plan to run it and if it does nothing, at least then I know my system
    is set up correctly. It's better than not doing it and having weird
    problems that are hard to figure out the cause of.

    Dale

    :-) :-)

    When perl itself is updated emerge let's you know to run perl-cleaner with a message at the end.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmaFLWcACgkQseqq9sKV ZxmCxA//QOkTyj/Wco18ESsCJse024aZxB1IBBZ+2QLmu9z4efFEt6GIAGgffCLz geNs0nwrClBLKD4140ifhKcQJlOTvCXJh//zPCdllSK+ZxLIWPkHrTrSHhCZLdbd ieDPNpVzG491OGirGpHrmu2M7AOqN1+iHXSV0efiZnkWhxCZGhyj5uQ2Ldndfdti HwV74h6poovmK3+uRivg/PyvF5cTHO+4AprK9ZJss4pUagrxxHDVb+BlpCD0St0T zfv7Bpkn8Ou5SuhkjnwdZzu6fmWSkzQKRpOpUP6l4uwq5Q9SizDbAQLFWYzhLkKS wiLVIBc3zzC/rXpE3eZxsbMCG3IDqWQoTRnatMHUvotw1ux2bQT6+2Etw/lewTfM J/8CU0HrgDLg0QNlkYRBc1W4IwxZcyG5b7KGRsUOXQgP0ySg0FSpZK846FEPLufy 0q6eyaPKNpD5qp9EH5QN1CDO/nm1YBRoSTPR/AyknPYDluUHaX29nxirkvFY7liM 9t7uDUCIrKTe8Ndsyc/iV431O4DQ/FVMzHqMvQY/gCSKbBp+YEl7FdmG5jIjLPlR mn148UlQASUk29uVcUqfhoN3t54dWjtN6qHubrX+QSKMNTjQNs3MCaJ1gdHeUv58 5x8qnKxvSOwbexg3HwQvFStDbwGx+soJKTsyWYi/Ypf1PYlmyoA=
    =5uoE
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)