View previous topic :: View next topic |
Author |
Message |
toomas n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 19 Mar 2024 Posts: 4
|
Posted: Tue Jul 16, 2024 8:15 pm Post subject: emerge insists on an unnecessary upgrade |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
grknight Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 20 Feb 2015 Posts: 1823
|
Posted: Tue Jul 16, 2024 8:18 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2137
|
Posted: Tue Jul 16, 2024 8:21 pm Post subject: Re: emerge insists on an unnecessary upgrade |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
toomas n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 19 Mar 2024 Posts: 4
|
Posted: Wed Jul 17, 2024 6:34 am Post subject: Re: emerge insists on an unnecessary upgrade |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2137
|
Posted: Wed Jul 17, 2024 6:46 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|