* [gentoo-user] What's the best way to force a particular version of a dependency
@ 2020-06-07 18:16 n952162
2020-06-07 18:33 ` Rich Freeman
0 siblings, 1 reply; 20+ messages in thread
From: n952162 @ 2020-06-07 18:16 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 450 bytes --]
When I try to update @system after --sync-ing, I get a conflict on
/readline/.
/Bash/ wants /readline/ 8.0 but the profile specifies /readline/ 7.0 and
lots of other packages are linked against 7.0. Just rebuilding those
packages probably won't help, because they don't know about /readline/ 8.0.
Would the right thing, the easiest thing, be to define my own profile
17.1.1 or something, where I specify /readline/ 8.0 in the profile?
[-- Attachment #2: Type: text/html, Size: 768 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-07 18:16 [gentoo-user] What's the best way to force a particular version of a dependency n952162
@ 2020-06-07 18:33 ` Rich Freeman
2020-06-07 18:56 ` n952162
0 siblings, 1 reply; 20+ messages in thread
From: Rich Freeman @ 2020-06-07 18:33 UTC (permalink / raw
To: gentoo-user
On Sun, Jun 7, 2020 at 2:16 PM n952162 <n952162@web.de> wrote:
>
> When I try to update @system after --sync-ing, I get a conflict on readline.
>
> Bash wants readline 8.0 but the profile specifies readline 7.0 and lots of other packages are linked against 7.0. Just rebuilding those packages probably won't help, because they don't know about readline 8.0.
>
> Would the right thing, the easiest thing, be to define my own profile 17.1.1 or something, where I specify readline 8.0 in the profile?
Why do you think that your profile specifies readline 7.0? What
profile are you using?
As far as I'm aware no profile restricts readline versions.
What makes you think that those other packages "don't know about readline 8.0?"
Full command outputs along with emerge --info would probably help here.
Readline 8.0 is stable so few if any packages in the tree will have
problems with it. If you're getting errors it is probably because
you're trying to do a limited update and not giving portage the option
to rebuild every impacted package.
--
Rich
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-07 18:33 ` Rich Freeman
@ 2020-06-07 18:56 ` n952162
2020-06-07 19:30 ` Rich Freeman
0 siblings, 1 reply; 20+ messages in thread
From: n952162 @ 2020-06-07 18:56 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2511 bytes --]
On 2020-06-07 20:33, Rich Freeman wrote:
> On Sun, Jun 7, 2020 at 2:16 PM n952162 <n952162@web.de> wrote:
>> When I try to update @system after --sync-ing, I get a conflict on readline.
>>
>> Bash wants readline 8.0 but the profile specifies readline 7.0 and lots of other packages are linked against 7.0. Just rebuilding those packages probably won't help, because they don't know about readline 8.0.
>>
>> Would the right thing, the easiest thing, be to define my own profile 17.1.1 or something, where I specify readline 8.0 in the profile?
> Why do you think that your profile specifies readline 7.0? What
> profile are you using?
$ eselect profile show
Current /etc/portage/make.profile symlink:
default/linux/amd64/17.1
$ equery list \* | grep readline
sys-libs/readline-7.0_p5-r1
But, given your answer about exclusivity/inclusivity in the other
thread, I guess this result is questionable...
>
> As far as I'm aware no profile restricts readline versions.
>
> What makes you think that those other packages "don't know about readline 8.0?"
The ebuild for bash-5.0_p17 has:
READLINE_VER="8.0"
The ebuilds for other the other users don't, I believe.
>
> Full command outputs along with emerge --info would probably help here.
>
> Readline 8.0 is stable so few if any packages in the tree will have
> problems with it. If you're getting errors it is probably because
> you're trying to do a limited update and not giving portage the option
> to rebuild every impacted package.
>
The emerge that I used was this:
emerge -auDv --verbose-conflicts --changed-use --keep-going
--with-bdeps=y --changed-deps --backtrack=100 @system
However, I was just able to get it to build with this script:
$ cat update-readline
#!/usr/bin/env bash
emerge -uUv $(cat <<-eof
sys-libs/readline
dev-db/postgresql
sys-apps/gawk
net-wireless/wpa_supplicant
sys-fs/lvm2
dev-lang/python
dev-lang/lua
sci-visualization/gnuplot
dev-db/postgresql
app-text/hunspell
sys-fs/udftools
sys-block/parted
x11-wm/fvwm
net-misc/ntp
sys-devel/gdb
dev-db/postgresql
sys-libs/gdbm
net-mail/mailutils
app-misc/rlwrap
sys-devel/bc
dev-libs/libxml2
net-dns/bind-tools
eof
)
I have had mixed luck with putting all of the colliding packages on a
single emerge line - it worked this time.
I can supply the "emerge --info" but that /emerge/ above is still
working so I'll let it complete first.
[-- Attachment #2: Type: text/html, Size: 4530 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-07 18:56 ` n952162
@ 2020-06-07 19:30 ` Rich Freeman
2020-06-07 19:38 ` n952162
` (2 more replies)
0 siblings, 3 replies; 20+ messages in thread
From: Rich Freeman @ 2020-06-07 19:30 UTC (permalink / raw
To: gentoo-user
On Sun, Jun 7, 2020 at 2:56 PM n952162 <n952162@web.de> wrote:
>
>
> $ equery list \* | grep readline
> sys-libs/readline-7.0_p5-r1
>
> But, given your answer about exclusivity/inclusivity in the other thread, I guess this result is questionable...
This is just showing what version you have installed, not what
versions are available.
>
> The ebuild for bash-5.0_p17 has:
>
> READLINE_VER="8.0"
>
> The ebuilds for other the other users don't, I believe.
So, first, this is just a random local variable and has no meaning in
and of itself. It is used in the dependency string which makes that
version of bash dependent on readline v8 specifically. Other packages
that don't list a version of readline will accept any version that
isn't masked/etc. So they're fine with v8.
>
> The emerge that I used was this:
>
> emerge -auDv --verbose-conflicts --changed-use --keep-going --with-bdeps=y --changed-deps --backtrack=100 @system
Yeah, you might have to include the other packages that need readline
if portage complains.
>
> However, I was just able to get it to build with this script:
>
> $ cat update-readline
> #!/usr/bin/env bash
> emerge -uUv $(cat <<-eof
> sys-libs/readline
> dev-db/postgresql
> sys-apps/gawk
> net-wireless/wpa_supplicant
> sys-fs/lvm2
> dev-lang/python
> dev-lang/lua
> sci-visualization/gnuplot
> dev-db/postgresql
> app-text/hunspell
> sys-fs/udftools
> sys-block/parted
> x11-wm/fvwm
> net-misc/ntp
> sys-devel/gdb
> dev-db/postgresql
> sys-libs/gdbm
> net-mail/mailutils
> app-misc/rlwrap
> sys-devel/bc
> dev-libs/libxml2
> net-dns/bind-tools
> eof
> )
>
That will probably work. Offhand I'm not sure if you need to add -1 /
--oneshot to that to prevent all that cruft from being added to your
world file.
--
Rich
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-07 19:30 ` Rich Freeman
@ 2020-06-07 19:38 ` n952162
2020-06-07 21:03 ` Mark Knecht
2020-06-07 21:16 ` Rich Freeman
2020-06-07 20:12 ` n952162
2020-06-07 21:30 ` J. Roeleveld
2 siblings, 2 replies; 20+ messages in thread
From: n952162 @ 2020-06-07 19:38 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2983 bytes --]
On 2020-06-07 21:30, Rich Freeman wrote:
> On Sun, Jun 7, 2020 at 2:56 PM n952162 <n952162@web.de> wrote:
>>
>> $ equery list \* | grep readline
>> sys-libs/readline-7.0_p5-r1
>>
>> But, given your answer about exclusivity/inclusivity in the other thread, I guess this result is questionable...
> This is just showing what version you have installed, not what
> versions are available.
>
>> The ebuild for bash-5.0_p17 has:
>>
>> READLINE_VER="8.0"
>>
>> The ebuilds for other the other users don't, I believe.
> So, first, this is just a random local variable and has no meaning in
> and of itself. It is used in the dependency string which makes that
> version of bash dependent on readline v8 specifically. Other packages
> that don't list a version of readline will accept any version that
> isn't masked/etc. So they're fine with v8.
>
>> The emerge that I used was this:
>>
>> emerge -auDv --verbose-conflicts --changed-use --keep-going --with-bdeps=y --changed-deps --backtrack=100 @system
> Yeah, you might have to include the other packages that need readline
> if portage complains.
I don't understand this - what can I add to @system to get @system to
update?
Ah, you mean that since /readline/ is used by *~*@system packages ...
I'll try @world ... oh, that's not inclusive of @system, perhaps.
Is emerge @system @world the ace?
>
>> However, I was just able to get it to build with this script:
>>
>> $ cat update-readline
>> #!/usr/bin/env bash
>> emerge -uUv $(cat <<-eof
>> sys-libs/readline
>> dev-db/postgresql
>> sys-apps/gawk
>> net-wireless/wpa_supplicant
>> sys-fs/lvm2
>> dev-lang/python
>> dev-lang/lua
>> sci-visualization/gnuplot
>> dev-db/postgresql
>> app-text/hunspell
>> sys-fs/udftools
>> sys-block/parted
>> x11-wm/fvwm
>> net-misc/ntp
>> sys-devel/gdb
>> dev-db/postgresql
>> sys-libs/gdbm
>> net-mail/mailutils
>> app-misc/rlwrap
>> sys-devel/bc
>> dev-libs/libxml2
>> net-dns/bind-tools
>> eof
>> )
>>
> That will probably work. Offhand I'm not sure if you need to add -1 /
> --oneshot to that to prevent all that cruft from being added to your
> world file.
>
No, it hadn't worked. I oversaw this:
WARNING: One or more updates/rebuilds have been skipped due to a
dependency conflict:
sys-libs/readline:0
(sys-libs/readline-8.0_p4:0/8::gentoo, ebuild scheduled for merge)
conflicts with
sys-libs/readline:0/7= required by
(dev-libs/libxml2-2.9.9-r3:2/2::gentoo, installed)
^^^^^
dev-libs/libxml2:2
(dev-libs/libxml2-2.9.9-r3:2/2::gentoo, ebuild scheduled for merge)
conflicts with
dev-libs/libxml2[python,python_targets_python3_6(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),python_single_target_python3_6(+)]
required by (dev-util/itstool-2.0.6:0/0::gentoo, installed)
Lots built, but nothing is changed. I'll try @system @world
[-- Attachment #2: Type: text/html, Size: 4668 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-07 19:30 ` Rich Freeman
2020-06-07 19:38 ` n952162
@ 2020-06-07 20:12 ` n952162
2020-06-07 21:07 ` Dale
2020-06-07 21:30 ` J. Roeleveld
2 siblings, 1 reply; 20+ messages in thread
From: n952162 @ 2020-06-07 20:12 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 620 bytes --]
On 2020-06-07 21:30, Rich Freeman wrote:
> On Sun, Jun 7, 2020 at 2:56 PM n952162 <n952162@web.de> wrote:
>
>> The emerge that I used was this:
>>
>> emerge -auDv --verbose-conflicts --changed-use --keep-going --with-bdeps=y --changed-deps --backtrack=100 @system
> Yeah, you might have to include the other packages that need readline
> if portage complains.
>
>
This, indeed, seems to have been the magic.
By specifying *both* @system and @world, two of my machines that I
worried were lost-causes are now updating - hundreds of packages, but
that's okay, I've been pulling my hair out for months.
[-- Attachment #2: Type: text/html, Size: 1253 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-07 19:38 ` n952162
@ 2020-06-07 21:03 ` Mark Knecht
2020-06-07 21:15 ` n952162
2020-06-07 21:16 ` Rich Freeman
1 sibling, 1 reply; 20+ messages in thread
From: Mark Knecht @ 2020-06-07 21:03 UTC (permalink / raw
To: Gentoo User
[-- Attachment #1: Type: text/plain, Size: 176 bytes --]
On Sun, Jun 7, 2020 at 1:20 PM n952162 <n952162@web.de> wrote:
<SNIP>
> I don't understand this - what can I add to @system to get @system to
update?
<SNIP>
emerge -e @system
[-- Attachment #2: Type: text/html, Size: 303 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-07 20:12 ` n952162
@ 2020-06-07 21:07 ` Dale
2020-06-07 21:20 ` Rich Freeman
0 siblings, 1 reply; 20+ messages in thread
From: Dale @ 2020-06-07 21:07 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1832 bytes --]
n952162 wrote:
> On 2020-06-07 21:30, Rich Freeman wrote:
>> On Sun, Jun 7, 2020 at 2:56 PM n952162 <n952162@web.de> wrote:
>>
>>> The emerge that I used was this:
>>>
>>> emerge -auDv --verbose-conflicts --changed-use --keep-going --with-bdeps=y --changed-deps --backtrack=100 @system
>> Yeah, you might have to include the other packages that need readline
>> if portage complains.
>>
>>
>
> This, indeed, seems to have been the magic.
>
> By specifying *both* @system and @world, two of my machines that I
> worried were lost-causes are now updating - hundreds of packages, but
> that's okay, I've been pulling my hair out for months.
>
For future reference, @world includes @system. My updates tend to work
like this:
eix-sync && emerge -uaDN world
I have the following options in make.conf as defaults.
EMERGE_DEFAULT_OPTS="--with-bdeps y --backtrack=100 --keep-going -v -j5
--quiet-build=n -1 --unordered-display"
Emerge applies those as is appropriate. First it syncs the tree and any
overlays that are enabled. Then emerge starts building the list of
packages that need to be updated. Sometimes if you try to do system by
itself, it can cause problems because something in world may depend on
something that system is wanting a upgrade. Thing is, that creates a
conflict and emerge won't be able to upgrade. If however you upgrade
world, which includes all packages, then emerge can include the packages
in world and figure out how to update both sets, system and world.
Unless you have a really good reason to do so, you shouldn't try to
update system by itself. It limits emerge and can lead to issues. The
easiest way is to update world and let emerge update everything at
once. There may be exceptions to that at times but they are not that
often.
Hope that helps.
Dale
:-) :-)
[-- Attachment #2: Type: text/html, Size: 3110 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-07 21:03 ` Mark Knecht
@ 2020-06-07 21:15 ` n952162
2020-06-07 21:20 ` Mark Knecht
0 siblings, 1 reply; 20+ messages in thread
From: n952162 @ 2020-06-07 21:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 669 bytes --]
On 2020-06-07 23:03, Mark Knecht wrote:
>
>
> On Sun, Jun 7, 2020 at 1:20 PM n952162 <n952162@web.de
> <mailto:n952162@web.de>> wrote:
> <SNIP>
> > I don't understand this - what can I add to @system to get @system
> to update?
> <SNIP>
>
> emerge -e @system
--emptytree, -e
Reinstalls target atoms and their entire deep dependency
tree, as though no
packages are currently installed. You should run this
with --pretend first
to make sure the result is what you expect.
Oh, that's really the nuke option, isn't it. Good to know about it.
[-- Attachment #2: Type: text/html, Size: 1429 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-07 19:38 ` n952162
2020-06-07 21:03 ` Mark Knecht
@ 2020-06-07 21:16 ` Rich Freeman
2020-06-08 9:12 ` Peter Humphrey
1 sibling, 1 reply; 20+ messages in thread
From: Rich Freeman @ 2020-06-07 21:16 UTC (permalink / raw
To: gentoo-user
On Sun, Jun 7, 2020 at 3:38 PM n952162 <n952162@web.de> wrote:
>
> I don't understand this - what can I add to @system to get @system to update?
>
> Ah, you mean that since readline is used by ~@system packages ... I'll try @world ... oh, that's not inclusive of @system, perhaps.
@world includes @system. It doesn't necessarily include everything
installed on your system though.
> No, it hadn't worked. I oversaw this:
>
> WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
>
> sys-libs/readline:0
>
> (sys-libs/readline-8.0_p4:0/8::gentoo, ebuild scheduled for merge) conflicts with
> sys-libs/readline:0/7= required by (dev-libs/libxml2-2.9.9-r3:2/2::gentoo, installed)
> ^^^^^
>
> dev-libs/libxml2:2
>
> (dev-libs/libxml2-2.9.9-r3:2/2::gentoo, ebuild scheduled for merge) conflicts with
> dev-libs/libxml2[python,python_targets_python3_6(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),python_single_target_python3_6(+)] required by (dev-util/itstool-2.0.6:0/0::gentoo, installed)
The full output of the command would help, and so would the output of
emerge --info.
It seems like you probably have a problem with your PYTHON_TARGETS or
something like that. There is quite a bit of turmoil going on with
this right now - lots of people have run into difficulties with
updating even a few packages and you're trying to update hundreds at
once.
> Lots built, but nothing is changed. I'll try @system @world
That is unlikely to help. The python issue is probably your problem.
--
Rich
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-07 21:15 ` n952162
@ 2020-06-07 21:20 ` Mark Knecht
0 siblings, 0 replies; 20+ messages in thread
From: Mark Knecht @ 2020-06-07 21:20 UTC (permalink / raw
To: Gentoo User
[-- Attachment #1: Type: text/plain, Size: 803 bytes --]
So try the same command but use -epv and it will tell you everything it's
going to do.
If you have a dependency issue it will tell you straight up.
On Sun, Jun 7, 2020 at 2:15 PM n952162 <n952162@web.de> wrote:
> On 2020-06-07 23:03, Mark Knecht wrote:
>
>
>
> On Sun, Jun 7, 2020 at 1:20 PM n952162 <n952162@web.de> wrote:
> <SNIP>
> > I don't understand this - what can I add to @system to get @system to
> update?
> <SNIP>
>
> emerge -e @system
>
> --emptytree, -e
> Reinstalls target atoms and their entire deep dependency
> tree, as though no
> packages are currently installed. You should run this with
> --pretend first
> to make sure the result is what you expect.
>
> Oh, that's really the nuke option, isn't it. Good to know about it.
>
[-- Attachment #2: Type: text/html, Size: 1675 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-07 21:07 ` Dale
@ 2020-06-07 21:20 ` Rich Freeman
2020-06-07 21:33 ` Dale
0 siblings, 1 reply; 20+ messages in thread
From: Rich Freeman @ 2020-06-07 21:20 UTC (permalink / raw
To: gentoo-user
On Sun, Jun 7, 2020 at 5:07 PM Dale <rdalek1967@gmail.com> wrote:
>
>
> Unless you have a really good reason to do so, you shouldn't try to update system by itself. It limits emerge and can lead to issues.
He's just following my earlier advice. While what you say is true in
general, the problem is that he is trying to update a system that
hasn't been updated in ages, and so he probably needs to adjust dozens
of USE flags/etc or make other tweaks to fix things. Using @system
reduces the scope of the update to try to at least get the core system
updated, but you're right that this might need to be augmented with
other packages.
Really though part of the problem here is that each time there is a
problem I'm seeing about 10 lines of portage output, when I probably
need 500 lines to figure out what is likely going on. Half the battle
of the bug wranglers is getting people to just post all the stuff that
the new bug form asks you to attach - we don't ask for thousands of
lines of logs because we have nothing better to read... :)
--
Rich
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-07 19:30 ` Rich Freeman
2020-06-07 19:38 ` n952162
2020-06-07 20:12 ` n952162
@ 2020-06-07 21:30 ` J. Roeleveld
2020-06-07 21:37 ` Dale
2 siblings, 1 reply; 20+ messages in thread
From: J. Roeleveld @ 2020-06-07 21:30 UTC (permalink / raw
To: gentoo-user
On 7 June 2020 21:30:19 CEST, Rich Freeman <rich0@gentoo.org> wrote:
>On Sun, Jun 7, 2020 at 2:56 PM n952162 <n952162@web.de> wrote:
>>
>>
>> $ equery list \* | grep readline
>> sys-libs/readline-7.0_p5-r1
>>
>> But, given your answer about exclusivity/inclusivity in the other
>thread, I guess this result is questionable...
>
>This is just showing what version you have installed, not what
>versions are available.
>
>>
>> The ebuild for bash-5.0_p17 has:
>>
>> READLINE_VER="8.0"
>>
>> The ebuilds for other the other users don't, I believe.
>
>So, first, this is just a random local variable and has no meaning in
>and of itself. It is used in the dependency string which makes that
>version of bash dependent on readline v8 specifically. Other packages
>that don't list a version of readline will accept any version that
>isn't masked/etc. So they're fine with v8.
>
>>
>> The emerge that I used was this:
>>
>> emerge -auDv --verbose-conflicts --changed-use --keep-going
>--with-bdeps=y --changed-deps --backtrack=100 @system
>
>Yeah, you might have to include the other packages that need readline
>if portage complains.
>
>>
>> However, I was just able to get it to build with this script:
>>
>> $ cat update-readline
>> #!/usr/bin/env bash
>> emerge -uUv $(cat <<-eof
>> sys-libs/readline
>> dev-db/postgresql
>> sys-apps/gawk
>> net-wireless/wpa_supplicant
>> sys-fs/lvm2
>> dev-lang/python
>> dev-lang/lua
>> sci-visualization/gnuplot
>> dev-db/postgresql
>> app-text/hunspell
>> sys-fs/udftools
>> sys-block/parted
>> x11-wm/fvwm
>> net-misc/ntp
>> sys-devel/gdb
>> dev-db/postgresql
>> sys-libs/gdbm
>> net-mail/mailutils
>> app-misc/rlwrap
>> sys-devel/bc
>> dev-libs/libxml2
>> net-dns/bind-tools
>> eof
>> )
>>
>
>That will probably work. Offhand I'm not sure if you need to add -1 /
>--oneshot to that to prevent all that cruft from being added to your
>world file.
You need to add "-1" or "--oneshot".
As this has been used, I would definitely expect the world-file to be full of this, causing issues with updates later.
Also, by restricting to @system, any packages not in @system with a restriction on readline V8 will cause the mentioned problem.
@system is, for me, a lasr resort, but I tend to move my world file away (rename) and put it back once @system is done and a depclean finished. This is usually only needed after not updating for a while and/or big changes in the tree.
--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-07 21:20 ` Rich Freeman
@ 2020-06-07 21:33 ` Dale
0 siblings, 0 replies; 20+ messages in thread
From: Dale @ 2020-06-07 21:33 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1983 bytes --]
Rich Freeman wrote:
> On Sun, Jun 7, 2020 at 5:07 PM Dale <rdalek1967@gmail.com> wrote:
>>
>> Unless you have a really good reason to do so, you shouldn't try to update system by itself. It limits emerge and can lead to issues.
> He's just following my earlier advice. While what you say is true in
> general, the problem is that he is trying to update a system that
> hasn't been updated in ages, and so he probably needs to adjust dozens
> of USE flags/etc or make other tweaks to fix things. Using @system
> reduces the scope of the update to try to at least get the core system
> updated, but you're right that this might need to be augmented with
> other packages.
>
> Really though part of the problem here is that each time there is a
> problem I'm seeing about 10 lines of portage output, when I probably
> need 500 lines to figure out what is likely going on. Half the battle
> of the bug wranglers is getting people to just post all the stuff that
> the new bug form asks you to attach - we don't ask for thousands of
> lines of logs because we have nothing better to read... :)
>
This is true. I noticed the output was shall we say, short. Usually
emerge is good out puking all over the keyboard and a good bit of the
floor as well. Pull out the decoder ring and figure out just what
started the fight and you can work out a solution. It just may take
more than one person to figure it out. lol
I think people tend to not want to post large amounts of info on a
mailing list. Thing is, you are correct 100% on this, all of that error
is likely needed to figure out the problem. In a build failure, I've
learned to look for error 1 and even then go back 30 to 40 lines.
Generally, that catches the error and can get a solution. With emerge
tho, it's the whole thing including the command itself. Anything less
and it makes it hard or impossible to figure out.
Dale
:-) :-)
Y'all better watch out. I been watching LUKS videos. O_O
[-- Attachment #2: Type: text/html, Size: 2626 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-07 21:30 ` J. Roeleveld
@ 2020-06-07 21:37 ` Dale
2020-06-07 21:45 ` n952162
0 siblings, 1 reply; 20+ messages in thread
From: Dale @ 2020-06-07 21:37 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 791 bytes --]
J. Roeleveld wrote:
>
> You need to add "-1" or "--oneshot".
>
> As this has been used, I would definitely expect the world-file to be full of this, causing issues with updates later.
>
> Also, by restricting to @system, any packages not in @system with a restriction on readline V8 will cause the mentioned problem.
>
> @system is, for me, a lasr resort, but I tend to move my world file away (rename) and put it back once @system is done and a depclean finished. This is usually only needed after not updating for a while and/or big changes in the tree.
>
> --
> Joost
Would OP posting the world file help? I'm sure some of us could
recognize things that shouldn't be there and could help clean it up.
Things with a specific version should be given a hard look.
Dale
:-) :-)
[-- Attachment #2: Type: text/html, Size: 1189 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-07 21:37 ` Dale
@ 2020-06-07 21:45 ` n952162
2020-06-07 22:22 ` Dale
0 siblings, 1 reply; 20+ messages in thread
From: n952162 @ 2020-06-07 21:45 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 979 bytes --]
On 2020-06-07 23:37, Dale wrote:
> J. Roeleveld wrote:
>>
>> You need to add "-1" or "--oneshot".
>>
>> As this has been used, I would definitely expect the world-file to be full of this, causing issues with updates later.
>>
>> Also, by restricting to @system, any packages not in @system with a restriction on readline V8 will cause the mentioned problem.
>>
>> @system is, for me, a lasr resort, but I tend to move my world file away (rename) and put it back once @system is done and a depclean finished. This is usually only needed after not updating for a while and/or big changes in the tree.
>>
>> --
>> Joost
>
>
> Would OP posting the world file help? I'm sure some of us could
> recognize things that shouldn't be there and could help clean it up.
> Things with a specific version should be given a hard look.
>
> Dale
>
> :-) :-)
That would be a fantastic opportunity, but I'm not sure when tomorrow
the update will be done ;-)
[-- Attachment #2: Type: text/html, Size: 1662 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-07 21:45 ` n952162
@ 2020-06-07 22:22 ` Dale
0 siblings, 0 replies; 20+ messages in thread
From: Dale @ 2020-06-07 22:22 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1362 bytes --]
n952162 wrote:
> On 2020-06-07 23:37, Dale wrote:
>> J. Roeleveld wrote:
>>>
>>> You need to add "-1" or "--oneshot".
>>>
>>> As this has been used, I would definitely expect the world-file to be full of this, causing issues with updates later.
>>>
>>> Also, by restricting to @system, any packages not in @system with a restriction on readline V8 will cause the mentioned problem.
>>>
>>> @system is, for me, a lasr resort, but I tend to move my world file away (rename) and put it back once @system is done and a depclean finished. This is usually only needed after not updating for a while and/or big changes in the tree.
>>>
>>> --
>>> Joost
>>
>>
>> Would OP posting the world file help? I'm sure some of us could
>> recognize things that shouldn't be there and could help clean it up.
>> Things with a specific version should be given a hard look.
>>
>> Dale
>>
>> :-) :-)
>
>
> That would be a fantastic opportunity, but I'm not sure when tomorrow
> the update will be done ;-)
>
>
It won't hurt to get the info even while it is updating. As long as you
are not emerging anything new, it shouldn't change. This will get the
info.
cat /var/lib/portage/world
Then copy the output and paste it in a email. It's plain text so post
the whole thing. You could just attach the file as well. Either way
should work.
Dale
:-) :-)
[-- Attachment #2: Type: text/html, Size: 2519 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-07 21:16 ` Rich Freeman
@ 2020-06-08 9:12 ` Peter Humphrey
2020-06-08 9:18 ` Neil Bothwick
0 siblings, 1 reply; 20+ messages in thread
From: Peter Humphrey @ 2020-06-08 9:12 UTC (permalink / raw
To: gentoo-user
On Sunday, 7 June 2020 22:16:39 BST Rich Freeman wrote:
> @world includes @system. It doesn't necessarily include everything
> installed on your system though.
Eh? Do you mean we might have things installed other than via portage?
Otherwise, isn't everything on the system represented in either the world file
or sets?
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-08 9:12 ` Peter Humphrey
@ 2020-06-08 9:18 ` Neil Bothwick
2020-06-08 9:34 ` Peter Humphrey
0 siblings, 1 reply; 20+ messages in thread
From: Neil Bothwick @ 2020-06-08 9:18 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 522 bytes --]
On Mon, 08 Jun 2020 10:12:30 +0100, Peter Humphrey wrote:
> > @world includes @system. It doesn't necessarily include everything
> > installed on your system though.
>
> Eh? Do you mean we might have things installed other than via portage?
> Otherwise, isn't everything on the system represented in either the
> world file or sets?
You may have installed something with --oneshot for testing, or to cover
a missing dependency.
--
Neil Bothwick
With free advice you often get what you pay for.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] What's the best way to force a particular version of a dependency
2020-06-08 9:18 ` Neil Bothwick
@ 2020-06-08 9:34 ` Peter Humphrey
0 siblings, 0 replies; 20+ messages in thread
From: Peter Humphrey @ 2020-06-08 9:34 UTC (permalink / raw
To: gentoo-user
On Monday, 8 June 2020 10:18:30 BST Neil Bothwick wrote:
> On Mon, 08 Jun 2020 10:12:30 +0100, Peter Humphrey wrote:
> > > @world includes @system. It doesn't necessarily include everything
> > > installed on your system though.
> >
> > Eh? Do you mean we might have things installed other than via portage?
> > Otherwise, isn't everything on the system represented in either the
> > world file or sets?
>
> You may have installed something with --oneshot for testing, or to cover
> a missing dependency.
Ah. Of course.
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2020-06-08 9:34 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-07 18:16 [gentoo-user] What's the best way to force a particular version of a dependency n952162
2020-06-07 18:33 ` Rich Freeman
2020-06-07 18:56 ` n952162
2020-06-07 19:30 ` Rich Freeman
2020-06-07 19:38 ` n952162
2020-06-07 21:03 ` Mark Knecht
2020-06-07 21:15 ` n952162
2020-06-07 21:20 ` Mark Knecht
2020-06-07 21:16 ` Rich Freeman
2020-06-08 9:12 ` Peter Humphrey
2020-06-08 9:18 ` Neil Bothwick
2020-06-08 9:34 ` Peter Humphrey
2020-06-07 20:12 ` n952162
2020-06-07 21:07 ` Dale
2020-06-07 21:20 ` Rich Freeman
2020-06-07 21:33 ` Dale
2020-06-07 21:30 ` J. Roeleveld
2020-06-07 21:37 ` Dale
2020-06-07 21:45 ` n952162
2020-06-07 22:22 ` Dale
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox