Help on unresolvables for Debian
Hi, I am getting unresolvable messages for Debian_10 for https://build.opensuse.org/package/show/home:behrisch/sumo unresolvable: conflict for providers of libgl-dev >= 1.3.0-1 needed by libglvnd-dev, (provider libgl-dev is in conflict with libgl1-mesa-dev), (provider libgl-dev is obsoleted by libgl1-mesa-dev), conflict for providers of libglx-dev >= 1.3.0-1 needed by libglvnd-dev, (provider libglx-dev conflicts with mesa-common-dev) I tried adding Prefer: lbgl1-mesa-dev to the project config but it did not help. Other Debians / xUbuntus work just fine. Can anyone here help me? Thanks in advance, Michael
On Freitag, 21. Januar 2022, 22:27:36 CET Michael Behrisch wrote:
Hi, I am getting unresolvable messages for Debian_10 for https://build.opensuse.org/package/show/home:behrisch/sumo
unresolvable: conflict for providers of libgl-dev >= 1.3.0-1 needed by libglvnd-dev, (provider libgl-dev is in conflict with libgl1-mesa-dev), (provider libgl-dev is obsoleted by libgl1-mesa-dev), conflict for providers of libglx-dev >= 1.3.0-1 needed by libglvnd-dev, (provider libglx-dev conflicts with mesa-common-dev)
I tried adding Prefer: lbgl1-mesa-dev to the project config but it did not help. Other Debians / xUbuntus work just fine.
A Prefer can not help on a conflict. You need to find a way where just
one version is required, since you can not install both packages
at the same time.
As usual
osc buildinfo -d ...
might be helpful to find the reasons where some deps are comming from
--
Adrian Schroeter
Am 22.01.22 um 11:37 schrieb Adrian Schröter:
On Freitag, 21. Januar 2022, 22:27:36 CET Michael Behrisch wrote:
Hi, I am getting unresolvable messages for Debian_10 for https://build.opensuse.org/package/show/home:behrisch/sumo
unresolvable: conflict for providers of libgl-dev >= 1.3.0-1 needed by libglvnd-dev, (provider libgl-dev is in conflict with libgl1-mesa-dev), (provider libgl-dev is obsoleted by libgl1-mesa-dev), conflict for providers of libglx-dev >= 1.3.0-1 needed by libglvnd-dev, (provider libglx-dev conflicts with mesa-common-dev)
I tried adding Prefer: lbgl1-mesa-dev to the project config but it did not help. Other Debians / xUbuntus work just fine.
A Prefer can not help on a conflict. You need to find a way where just one version is required, since you can not install both packages at the same time.
As usual
osc buildinfo -d ...
might be helpful to find the reasons where some deps are comming from
Thanks for the fast answer: Here are the lines in the buildinfo referring to libgl-dev: <error>unresolvable: conflict for providers of libgl-dev >= 1.3.0-1 needed by libglvnd-dev, (provider libgl-dev is in conflict with libgl1-mesa-dev), (provider libgl-dev is obsoleted by libgl1-mesa-dev), conflict for providers of libglx-dev >= 1.3.0-1 needed by libglvnd-dev, (provider libglx-dev conflicts with mesa-common-dev)</error> ignoring provider libgl-dev-1.3.2-1~bpo10+2.amd64 because installed libgl1-mesa-dev-18.3.6-2+deb10u1.amd64 conflicts with it ignoring provider libgl-dev-1.3.2-1~bpo10+2.amd64 because installed libgl1-mesa-dev-18.3.6-2+deb10u1.amd64 obsoletes it I cannot find anything which says that it actually requires it. Can you give me a hint what to look for? Thanks in advance, Michael
On Jan 24 2022, Michael Behrisch wrote:
Thanks for the fast answer: Here are the lines in the buildinfo referring to libgl-dev:
<error>unresolvable: conflict for providers of libgl-dev >= 1.3.0-1 needed by libglvnd-dev, (provider libgl-dev is in conflict with libgl1-mesa-dev), (provider libgl-dev is obsoleted by libgl1-mesa-dev), conflict for providers of libglx-dev >= 1.3.0-1 needed by libglvnd-dev, (provider libglx-dev conflicts with mesa-common-dev)</error>
ignoring provider libgl-dev-1.3.2-1~bpo10+2.amd64 because installed libgl1-mesa-dev-18.3.6-2+deb10u1.amd64 conflicts with it
ignoring provider libgl-dev-1.3.2-1~bpo10+2.amd64 because installed libgl1-mesa-dev-18.3.6-2+deb10u1.amd64 obsoletes it
I cannot find anything which says that it actually requires it.
See the error message: needed by libglvnd-dev. The problem appears to be that libgl1-mesa-dev obsoletes libgl-dev without providing it. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
Am 24.01.22 um 19:57 schrieb Andreas Schwab:
On Jan 24 2022, Michael Behrisch wrote:
Thanks for the fast answer: Here are the lines in the buildinfo referring to libgl-dev:
<error>unresolvable: conflict for providers of libgl-dev >= 1.3.0-1 needed by libglvnd-dev, (provider libgl-dev is in conflict with libgl1-mesa-dev), (provider libgl-dev is obsoleted by libgl1-mesa-dev), conflict for providers of libglx-dev >= 1.3.0-1 needed by libglvnd-dev, (provider libglx-dev conflicts with mesa-common-dev)</error>
ignoring provider libgl-dev-1.3.2-1~bpo10+2.amd64 because installed libgl1-mesa-dev-18.3.6-2+deb10u1.amd64 conflicts with it
ignoring provider libgl-dev-1.3.2-1~bpo10+2.amd64 because installed libgl1-mesa-dev-18.3.6-2+deb10u1.amd64 obsoletes it
I cannot find anything which says that it actually requires it.
See the error message: needed by libglvnd-dev.
The problem appears to be that libgl1-mesa-dev obsoletes libgl-dev without providing it.
And can I somehow forcefully ignore it? To me this looks like some circular dependency going wrong libgl1-mesa-dev depends on libglvnd-dev which depends on libgl-dev which is in conflict with libgl1-mesa-dev. All of these packages are in the debian release so I can do nothing about it. Can (and should) I declare libgl1-mesa-dev as an alias for libgl-dev? Thanks for your help, Michael
On Jan 24 2022, Michael Behrisch wrote:
And can I somehow forcefully ignore it?
You can use Ignore in the prjconf to ignore a dependency. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
participants (3)
-
Adrian Schröter
-
Andreas Schwab
-
Michael Behrisch