View previous topic :: View next topic |
Author |
Message |
hwix n00b
Joined: 08 Jul 2024 Posts: 22
|
Posted: Thu Aug 29, 2024 10:13 pm Post subject: [ SOLVED ]Portage can't update perl because of slot conflict |
|
|
I tried to update and upgrade the packages in my system and I ended up getting the following error message:
Code: | Calculating dependencies... done!
Dependency resolution took 18.99 s (backtrack: 2/20).
[ebuild N ] perl-core/Encode-3.190.0 PERL_FEATURES="(-debug) -ithreads -quadmath"
[ebuild U ] dev-lang/perl-5.40.0 [5.38.2-r3]
!!! 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.38.2-r3-1:0/5.38::gentoo, installed) USE="gdbm -berkdb -doc -minimal" PERL_FEATURES="(-debug) -ithreads -quadmath" pulled in by
=dev-lang/perl-5.38* required by (virtual/perl-IO-1.520.0:0/0::gentoo, installed) USE=""
^ ^^^^^
dev-lang/perl:0/5.38= required by (virtual/perl-MIME-Base64-3.160.100_rc-r1:0/0::gentoo, installed) USE=""
^^^^^^^^
(and 115 more with the same problems)
(dev-lang/perl-5.40.0:0/5.40::gentoo, ebuild scheduled for merge) USE="gdbm -berkdb -doc -minimal" PERL_FEATURES="(-debug) -ithreads -quadmath" pulled in by
=dev-lang/perl-5.40* required by (virtual/perl-ExtUtils-Install-2.220.0-r1-1:0/0::gentoo, installed) USE=""
^ ^^^^^
(and 21 more with the same problem)
NOTE: Use the '--verbose-conflicts' option to display parents omitted above
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. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.
For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook. |
Last edited by hwix on Mon Sep 02, 2024 3:16 pm; edited 1 time in total |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9270
|
Posted: Thu Aug 29, 2024 10:30 pm Post subject: |
|
|
emerge --sync
... and try again |
|
Back to top |
|
|
hwix n00b
Joined: 08 Jul 2024 Posts: 22
|
Posted: Fri Aug 30, 2024 12:29 am Post subject: |
|
|
asturm wrote: | emerge --sync
... and try again |
I did that and then typed in to upgrade my packages but I still ended up getting the same error message. I'm not sure what to do really since this is pretty confusing. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20485
|
Posted: Fri Aug 30, 2024 2:51 am Post subject: |
|
|
"emerge -aND @world" doesn't tell portage to perform updates. You can keep N, but you should probably add both "u" and "U". With "U", the "N" option can be dropped for most updates.
If that doesn't help, then you may be syncing with a mirror that doesn't have fixes for affected packages, or maybe there's a package that hasn't been fixed.
https://bugs.gentoo.org/938660
Another option is to temporarily avoid updating perl. One way is to use the --exclude feature. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
hwix n00b
Joined: 08 Jul 2024 Posts: 22
|
Posted: Mon Sep 02, 2024 3:16 pm Post subject: |
|
|
pjp wrote: | "emerge -aND @world" doesn't tell portage to perform updates. You can keep N, but you should probably add both "u" and "U". With "U", the "N" option can be dropped for most updates.
If that doesn't help, then you may be syncing with a mirror that doesn't have fixes for affected packages, or maybe there's a package that hasn't been fixed.
https://bugs.gentoo.org/938660
Another option is to temporarily avoid updating perl. One way is to use the --exclude feature. |
I did that and it fixed the issue, thanks! |
|
Back to top |
|
|
|