Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge insists on an unnecessary upgrade
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
toomas
n00b
n00b


Joined: 19 Mar 2024
Posts: 4

PostPosted: Tue Jul 16, 2024 8:15 pm    Post subject: emerge insists on an unnecessary upgrade Reply with quote

I am having trouble understanding the logic of emerge.

When I run:

Code:
emerge --ask --alert --verbose --update --deep --newuse --with-bdeps=y --keep-going=y @world


the output is:

Quote:

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

sci-libs/shapelib:0

(sci-libs/shapelib-1.5.0:0/2::gentoo, ebuild scheduled for merge) USE="-doc -static-libs" pulled in by
(no parents that aren't satisfied by other packages in this slot)

(sci-libs/shapelib-1.6.0:0/4::gentoo, installed) USE="-doc -static-libs" pulled in by
sci-libs/shapelib:0/4= required by (sci-geosciences/gpsbabel-1.7.0-r1:0/0::gentoo, installed) USE="-doc"
^^^^^
[rest omitted]


Given that sci-geosciences/gpsbabel is the only installed package that depends on sci-libs/shapelib (as revealed by `equery depends dev-libs/shapelib`), and the version of shapelib it requires is installed all right, why does emerge insist on installing another version of shapelib that nothing depends on and that seems to result in nothing but conflict?

(Another question: what does the message "(no parents that aren't satisfied by other packages in this slot)" mean? In particular, what is meant by that "parent"?)
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1918

PostPosted: Tue Jul 16, 2024 8:18 pm    Post subject: Reply with quote

The listed output is over-verbose fluff indirectly related to another issue.
Since the rest of the output was omitted, it is impossible to know what portage is really complaining about.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2419

PostPosted: Tue Jul 16, 2024 8:21 pm    Post subject: Re: emerge insists on an unnecessary upgrade Reply with quote

toomas wrote:
I am having trouble understanding the logic of emerge.

When I run:

Code:
emerge --ask --alert --verbose --update --deep --newuse --with-bdeps=y --keep-going=y @world


Why do you run emerge with those parameters?

toomas wrote:
the output is:

Quote:

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

sci-libs/shapelib:0

(sci-libs/shapelib-1.5.0:0/2::gentoo, ebuild scheduled for merge) USE="-doc -static-libs" pulled in by
(no parents that aren't satisfied by other packages in this slot)

(sci-libs/shapelib-1.6.0:0/4::gentoo, installed) USE="-doc -static-libs" pulled in by
sci-libs/shapelib:0/4= required by (sci-geosciences/gpsbabel-1.7.0-r1:0/0::gentoo, installed) USE="-doc"
^^^^^
[rest omitted]


Given that sci-geosciences/gpsbabel is the only installed package that depends on sci-libs/shapelib (as revealed by `equery depends dev-libs/shapelib`), and the version of shapelib it requires is installed all right, why does emerge insist on installing another version of shapelib that nothing depends on and that seems to result in nothing but conflict?

(Another question: what does the message "(no parents that aren't satisfied by other packages in this slot)" mean? In particular, what is meant by that "parent"?)


Post the whole output please. But not this one.

Please post the output of:

Code:
wgetpaste -ic 'emerge -uUDpv @world'


p.s. always include the command you're running and its complete output.

Best Regards,
Georgi
Back to top
View user's profile Send private message
toomas
n00b
n00b


Joined: 19 Mar 2024
Posts: 4

PostPosted: Wed Jul 17, 2024 6:34 am    Post subject: Re: emerge insists on an unnecessary upgrade Reply with quote

logrusx wrote:
Please post the output of:

Code:
wgetpaste -ic 'emerge -uUDpv @world'


The output is:
Code:
Your paste can be seen here: https://bpa.st/JTLQ


This output shows many problems, but my question is only about the first one. The rest of output seems to be of no relevance to it, because there are no mention of shapelib or gpsbabel there.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2419

PostPosted: Wed Jul 17, 2024 6:46 am    Post subject: Reply with quote

It looks like sci-libs/shapelib-1.6.0 is still testing, but installed. Portage wants to downgrade it because it's not stable but gpsbabel wants it. You may be able to solve that by putting:

Code:
=sci-libs/shapelib-1.6.0 ~amd64
in package.accept_keywords.

Also pay attention to the use change suggested by portage. It won't continue without it.

Best Regards,
Georgi
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