I am trying to install a set of build dependencies but am getting the following error:
The following packages have unmet dependencies:
libbz2-dev : Depends: libbz2-1.0 (= 1.0.6-9.2~deb10u1) but 1.0.6-9.2 is to be installed
libcurl4-gnutls-dev : Depends: libcurl3-gnutls (= 7.64.0-4+deb10u1) but 7.65.1-1 is to be installed
I assume that installing dependencies one minor version after that what is required will still work fine. Is there any way I can make apt ignore these specific dependencies and just use the latest versions of these packages instead?
Edit - Extra info:
$ cat /etc/debian_version
bullseye/sid
$ apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 https://packages.riot.im/debian buster/main amd64 Packages
release o=riot.im,a=stable,n=buster,c=main,b=amd64
origin packages.riot.im
500 http://ftp.uk.debian.org/debian stable-updates/main i386 Packages
release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=i386
origin ftp.uk.debian.org
500 http://ftp.uk.debian.org/debian stable-updates/main amd64 Packages
release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=amd64
origin ftp.uk.debian.org
500 http://security.debian.org/debian-security stable/updates/main i386 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=i386
origin security.debian.org
500 http://security.debian.org/debian-security stable/updates/main amd64 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=amd64
origin security.debian.org
500 http://ftp.uk.debian.org/debian stable/non-free i386 Packages
release v=10.3,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=i386
origin ftp.uk.debian.org
500 http://ftp.uk.debian.org/debian stable/non-free amd64 Packages
release v=10.3,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=amd64
origin ftp.uk.debian.org
500 http://ftp.uk.debian.org/debian stable/contrib i386 Packages
release v=10.3,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=i386
origin ftp.uk.debian.org
500 http://ftp.uk.debian.org/debian stable/contrib amd64 Packages
release v=10.3,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=amd64
origin ftp.uk.debian.org
500 http://ftp.uk.debian.org/debian stable/main i386 Packages
release v=10.3,o=Debian,a=stable,n=buster,l=Debian,c=main,b=i386
origin ftp.uk.debian.org
500 http://ftp.uk.debian.org/debian stable/main amd64 Packages
release v=10.3,o=Debian,a=stable,n=buster,l=Debian,c=main,b=amd64
origin ftp.uk.debian.org
Pinned packages:
apt-cache policy
to your question. It looks like you have repos for multiple releases/versions.