View previous topic :: View next topic |
Author |
Message |
Jojobinha_2009 Tux's lil' helper
Joined: 27 Mar 2021 Posts: 77 Location: Brazil
|
Posted: Tue May 18, 2021 5:42 pm Post subject: Portage wants to downgrade dev-libs/libxml2, conflict. |
|
|
Today while trying to do a world update, Portage wanted to downgrade dev-libs/libxml2 from version 2.9.12 to 2.9.10-r5.
If I allow it to downgrade the package, then it complains about dependency conflicts because other packages in the system require 2.9.12.
But, it seems both versions cannot coexist on the same machine.
And both are stable for amd64.
What's more, Portage shows an "UD" in front of the libxml2 ebuild instead of the normal "U" for update.
Note: Worked around the errors by just masking the newer version of libxml2, unmerging it, and letting Portage install the older one.
It's all fine now. _________________ Intel Core i5-9400F / 24GB DDR4 2666MHz / GeForce GTX 1060 3GB
Powered by Gentoo for x86_64
======================================================
Seize the day, and remember to have fun!
Last edited by Jojobinha_2009 on Tue May 18, 2021 9:52 pm; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30905 Location: here
|
Posted: Tue May 18, 2021 5:58 pm Post subject: |
|
|
The problem is lxml package
Code: | (dev-libs/libxml2-2.9.10-r5:2/2::gentoo, installed) USE="icu ipv6 python readline -debug -examples -lzma -static-libs -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9" pulled in by
<dev-libs/libxml2-2.9.12 required by (dev-python/lxml-4.6.3:0/0::gentoo, installed) USE="threads -doc -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9"
^ ^^^^^^ |
this package require a dev-libs/libxml2 version lesser than 2.9.12.
The UD on portage output means
man emerge: | [ebuild UD] media-libs/libgd-1.8.4 [2.0.11]
Libgd 2.0.11 is already emerged, but if you run the command, then portage will Downgrade to version 1.8.4 for you.
This may occur if a newer version of a package has been masked because it is broken or it creates a security risk on your system and a fix has not been released yet.
Another reason this may occur is if a package you are trying to emerge requires an older version of a package in order to emerge successfully. In this case, libgd 2.x is
incompatible with libgd 1.x. This means that packages that were created with libgd 1.x will not compile with 2.x and must downgrade libgd first before they can emerge. |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Jojobinha_2009 Tux's lil' helper
Joined: 27 Mar 2021 Posts: 77 Location: Brazil
|
Posted: Tue May 18, 2021 6:13 pm Post subject: |
|
|
fedeliallalinea wrote: | The problem is lxml package
Code: | (dev-libs/libxml2-2.9.10-r5:2/2::gentoo, installed) USE="icu ipv6 python readline -debug -examples -lzma -static-libs -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9" pulled in by
<dev-libs/libxml2-2.9.12 required by (dev-python/lxml-4.6.3:0/0::gentoo, installed) USE="threads -doc -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9"
^ ^^^^^^ |
this package require a dev-libs/libxml2 version lesser than 2.9.12.
The UD on portage output means
man emerge: | [ebuild UD] media-libs/libgd-1.8.4 [2.0.11]
Libgd 2.0.11 is already emerged, but if you run the command, then portage will Downgrade to version 1.8.4 for you.
This may occur if a newer version of a package has been masked because it is broken or it creates a security risk on your system and a fix has not been released yet.
Another reason this may occur is if a package you are trying to emerge requires an older version of a package in order to emerge successfully. In this case, libgd 2.x is
incompatible with libgd 1.x. This means that packages that were created with libgd 1.x will not compile with 2.x and must downgrade libgd first before they can emerge. |
|
So what can I do? Wait? _________________ Intel Core i5-9400F / 24GB DDR4 2666MHz / GeForce GTX 1060 3GB
Powered by Gentoo for x86_64
======================================================
Seize the day, and remember to have fun! |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30905 Location: here
|
Posted: Tue May 18, 2021 6:17 pm Post subject: |
|
|
Jojobinha_2009 wrote: | So what can I do? Wait? |
Yes, you can wait a newer dev-python/lxml version that suport the >=dev-libs/libxml2-2.9.12 package _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Ralphred Guru
Joined: 31 Dec 2013 Posts: 499
|
Posted: Tue May 18, 2021 7:16 pm Post subject: |
|
|
Code: | emerge -pv dev-python/lxml dev-libs/libxml2
Calculating dependencies... done!
[ebuild R ] dev-libs/libxml2-2.9.12:2::gentoo USE="icu ipv6 python readline -debug -examples -lzma -static-libs -test -verify-sig" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="-python3_8 python3_9 -python3_7" 0 KiB
[ebuild R ] dev-python/lxml-4.6.3::gentoo USE="threads -doc -examples -test" PYTHON_TARGETS="-python3_8 python3_9 (-pypy3) -python3_7" 0 KiB | You can get them to play nice together, but only under python3_9 it seems. |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4553 Location: Germany
|
|
Back to top |
|
|
Jojobinha_2009 Tux's lil' helper
Joined: 27 Mar 2021 Posts: 77 Location: Brazil
|
Posted: Tue May 18, 2021 9:55 pm Post subject: |
|
|
Thanks. Worked around the issue for now. _________________ Intel Core i5-9400F / 24GB DDR4 2666MHz / GeForce GTX 1060 3GB
Powered by Gentoo for x86_64
======================================================
Seize the day, and remember to have fun! |
|
Back to top |
|
|
|