Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Blockers or slot conflicts on a Perl update?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dilfridge
Developer
Developer


Joined: 18 Sep 2010
Posts: 110
Location: Regensburg, Germany

PostPosted: Thu May 04, 2017 4:43 pm    Post subject: Blockers or slot conflicts on a Perl update? Reply with quote

Many people run into portage problems when there's a major version Perl update. (Yes we're working to improve this.)

There's a lot of advice floating around, some of it correct, some of it unnecessary, and some of it straightaway harmful or dangerous. So, if you have problems with updating Perl, please visit our wiki page for up-to-date information (including both easy advice and the background story):

https://wiki.gentoo.org/wiki/Perl

Cheers! Your friendly Gentoo Perl team. 8)

Stuck, --kallamej
Back to top
View user's profile Send private message
jlpoole
Guru
Guru


Joined: 01 Nov 2005
Posts: 317
Location: Napa, CA

PostPosted: Sun May 07, 2017 5:40 pm    Post subject: Reply with quote

Yes, I ran into problems performing a regular update:
Code:
!!! 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.24.1-r1:0/5.24::gentoo, ebuild scheduled for merge) pulled in by
    =dev-lang/perl-5.24* required by (virtual/perl-Data-Dumper-2.160.0-r1:0/0::gentoo, ebuild scheduled for merge)
    ^              ^^^^^                                                                                                                                       
    (and 18 more with the same problem)

  (dev-lang/perl-5.22.3_rc4:0/5.22::gentoo, installed) pulled in by
    dev-lang/perl:0/5.22=[-build(-)] required by (dev-perl/File-BaseDir-0.30.0-r1:0/0::gentoo, installed)
                 ^^^^^^^^                                                       
    (and 40 more with the same problem)

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


I've been with Gentoo for over a decade and I still have problems "parsing" error messages such as above and understanding precisely what I need to do.
Thank you for the link, I'm hoping it will allow me to quickly resume.
Back to top
View user's profile Send private message
jesnow
Guru
Guru


Joined: 26 Apr 2006
Posts: 553

PostPosted: Wed May 10, 2017 1:22 pm    Post subject: Reply with quote

There used to be warnings on portage updates that you were possibly in for some issues, and you should update portage first. Could we have some warning that a problematic update is looming? Like am eselect news item or something that says this is coming and where to go for the officially approved procedure?

This perl update was a nightmare, and my system is vanilla stable.

Thanks,

Jon
Back to top
View user's profile Send private message
saboya
Guru
Guru


Joined: 28 Nov 2006
Posts: 333
Location: Brazil

PostPosted: Wed May 10, 2017 1:36 pm    Post subject: Reply with quote

Although I agree it's not a simple update, emerging with backtrack 50 solves most issues with the Perl update, I'd hardly call it a nightmare.
Back to top
View user's profile Send private message
jesnow
Guru
Guru


Joined: 26 Apr 2006
Posts: 553

PostPosted: Wed May 10, 2017 7:58 pm    Post subject: Reply with quote

And how long did it take people to figure out that was what to do? There were at least three different "this is how I did it" solutions that all involved a lot of time remerging broken packages. Not what you want on a "stable" system. There shoudl be a standard operating procedure published for the upgrade by the time it hits stable, as there often is for things that break your system before it's fixed, like major compiler or glibc updates.

I'm not whining, we want the maintenance of a stable system to be pretty straightforward. Gentoo has gotten much better in that regard since I started back in whenever.
Back to top
View user's profile Send private message
Zucca
l33t
l33t


Joined: 14 Jun 2007
Posts: 957
Location: KUUSANKOSKI, Finland

PostPosted: Wed May 10, 2017 9:43 pm    Post subject: Reply with quote

Strangely I have had no problems with perl on my amd64 and ~amd64 systems.
But I've had major blockages caused by python and some by ruby.

I've put --backtrack=<some large number close to 1000> on my default opts. That might have helped me.
_________________
..: Zucca :..
This space is not for rent.
Back to top
View user's profile Send private message
Shoaloak
n00b
n00b


Joined: 05 Nov 2016
Posts: 36

PostPosted: Wed May 24, 2017 8:19 pm    Post subject: Reply with quote

Thanks for the post, was already scratching my head when I failed to solve these update problems by myself.
Code:
root # emerge -uDNav --with-bdeps y --backtrack 100 @world
root # perl-cleaner --all

From the wiki works like a charm. :)
_________________
Happy hacking.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum