[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing libgbm-dev with Mesa from trixie-backports



Konstantin Reich <reich-cv@yandex.ru> writes:

> Hello,
>
> I want to build a package from source (specifically, the latest version
> of VCMI). For that I need libgbm-dev, but apt won't install it because I
> have Mesa from trixie-backports. The dependency error is shown below.
>
>
> As i understand, the libgbm-dev package in trixie requires libgbm1 (=
> 25.0.7-2), while my system has libgbm1 25.2.6-1~bpo13+1 (from
> trixie-backports).
>
>
> Can you help me resolve this? It seems common for backports users, but I
> couldn't find a solution.
>
>
>
>
> $sudo apt install libgbm-dev
> Solving dependencies... Error!  
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> Unsatisfied dependencies:
>  libgbm-dev : Depends: libgbm1 (= 25.0.7-2) but 25.2.6-1~bpo13+1 is to be installed
> Error: Unable to correct problems, you have held broken packages.
> Error: The following information from --solver 3.0 may provide additional context:
>    Unable to satisfy dependencies. Reached two conflicting decisions:
>    1. libgbm1:amd64=25.0.7-2 is not selected for install
>    2. libgbm1:amd64=25.0.7-2 is selected as a downgrade because:
>       1. libgbm-dev:amd64=25.0.7-2 is selected for install
>       2. libgbm-dev:amd64=25.0.7-2 Depends libgbm1 (= 25.0.7-2)
>

It would be better if you try to build your package using sbuild, which
provides an isolated clean environment for package building, which won't
interfere with your running system.  A detailed documentation can be
found at https://wiki.debian.org/sbuild.

-- 
Regards,
Xiyue Deng

Attachment: signature.asc
Description: PGP signature


Reply to: