On 2026-03-01 at 11:22, Tim Woodall wrote:

> How should you construct a dsc for backports that depends on other 
> backports packages?

I'm not particularly familiar with this, but I do notice one thing that
may be relevant.

> Build-Depends: debhelper (>= 9), libncurses-dev, automake, libtool, autoconf, 
> comerr-dev (>= 2.1-1.43.3-1~bpo8+1), e2fslibs-dev (>= 1.43.3-1~bpo8+1), 
> libblkid-dev, libbz2-dev, liblzo2-dev, libdevmapper-dev, libreadline-dev, 
> libselinux1-dev, pkg-config, uuid-dev, zlib
> 
> E: Build-Depends dependency for dump cannot be satisfied because candidate 
> version of package e2fslibs-dev can't satisfy version requirements
> E: Build-Depends dependency for dump cannot be satisfied because candidate 
> version of package comerr-dev can't satisfy version requirements
> 
> Is there any way to do this just from the control file without pinning?
> 
> The versions are available, just not "candidate versions"
> 
> comerr-dev:
>    Installed: (none)
>    Candidate: 2.1-1.42.12-2+deb8u2
>    Version table:
>       2.1-1.43.3-1~bpo8+1 0
>          100 http://archive.debian.org/debian/ jessie-backports/main amd64 
> Packages
>       2.1-1.42.12-2+deb8u2 0
>          500 http://archive.debian.org/debian-security/ jessie/updates/main 
> amd64 Packages
>       2.1-1.42.12-2+b1 0
>          500 http://archive.debian.org/debian/ jessie/main amd64 Packages
> e2fslibs-dev:
>    Installed: (none)
>    Candidate: 1.42.12-2+deb8u2
>    Version table:
>       1.43.3-1~bpo8+1 0
>          100 http://archive.debian.org/debian/ jessie-backports/main amd64 
> Packages
>       1.42.12-2+deb8u2 0
>          500 http://archive.debian.org/debian-security/ jessie/updates/main 
> amd64 Packages
>       1.42.12-2+b1 0
>          500 http://archive.debian.org/debian/ jessie/main amd64 Packages

The jessie-backports entries here have a priority of 100, where the
other entries have a priority of 500.

It seems plausible at a glance that this might cause the system to
decide that, since there is a version available at a higher priority,
any version available at a lower priority will not be considered as a
candidate for installation.

It might be worth temporarily adjusting the priority of jessie-backports
to see whether that affects the results you get from this.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to