Package: libkeyutils1
Version: 1.6.3-2+b1

Currently, libkeyutils1 is the last blocker to automatically set up an
essential cross-build environments for riscv64:

$ docker run --rm -it debian:sid
root@d897052b9483:/# dpkg --add-architecture riscv64
root@d897052b9483:/# apt update
...
root@032073e91e5f:/# apt install build-essential libc6-dev:riscv64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:

The following packages have unmet dependencies:
 libkrb5-3:riscv64 : Depends: libkeyutils1:riscv64 (>= 1.5.9) but it is not 
installable
E: Unable to correct problems, you have held broken packages.
root@032073e91e5f:/# apt-get install build-essential libc6-dev:riscv64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:

The following packages have unmet dependencies:
 libkrb5-3:riscv64 : Depends: libkeyutils1:riscv64 (>= 1.5.9) but it is not 
installable
E: Unable to correct problems, you have held broken packages.


It looks like this is caused by libkeyutils1:amd64 and
libkeyutils1:riscv64 having different versions and, thus, refuse to be
installed at the same time. I've resolved it locally by rebuilding
keyutils for riscv64 using the same version as for the other archs.

Would be great to resolve that by performing a maintainer upload for
this package to sid for all architectures (not sure if
libkeyutils1:riscv64 could be "downgraded" from 1.6.3-2+b1 to 1.6.3-2, I
suspect not).

Reply via email to