Hello,

Le 24/11/2022 à 16:07, Stephan Brunner a écrit :
Package: libpcsclite1
Version: 1.9.1-1
Severity: minor

When trying to install libpcsclite-dev, and therefore libpcsclite1, via 
multi-arch (host is x86-64), e.g.
        apt install libpcsclite-dev libpcsclite-dev:arm64
, the installation would break the system. See the output below.

I wanted to install this package to my build host, which does cross compilation 
for some architectures in an CI environment.
I am using Debian 11 on x86-64.
Latest updates installed as of 2022-11-24.

Example output of the apt install example above:
       Reading package lists... Done
       Building dependency tree... Done
       Reading state information... Done
       The following packages were automatically installed and are no longer 
required:
         distro-info-data iso-codes libffi-dev libmpdec3 libncurses-dev libpfm4 
libpython3-stdlib libpython3.9-minimal libpython3.9-stdlib libtinfo-dev 
libz3-dev llvm-11 llvm-11-runtime lsb-release
       python-apt-common python3-certifi
         python3-chardet python3-debconf python3-debian python3-httplib2 
python3-idna python3-pkg-resources python3-pygments python3-requests 
python3-six python3-urllib3
       Use 'apt autoremove' to remove them.
       The following additional packages will be installed:
         libbz2-1.0:arm64 libdb5.3:arm64 libexpat1:arm64 libffi7:arm64 
libgpm2:arm64 liblzma5:arm64 libmpdec3:arm64 libncursesw6:arm64 
libpcsclite1:arm64 libpython3-stdlib:arm64 libpython3.9-
       minimal:arm64 libpython3.9-stdlib:arm64
         libreadline8:arm64 libsqlite3-0:arm64 libstdc++6:arm64 libtinfo6:arm64 
libuuid1:arm64 python3:arm64 python3-minimal:arm64 python3.9:arm64 
python3.9-minimal:arm64 uuid-runtime zlib1g:arm64
       Suggested packages:
         gpm:arm64 pcscd:arm64 python3-doc:arm64 python3-tk:arm64 
python3-venv:arm64 python3.9-venv:arm64 python3.9-doc:arm64 binutils:arm64
       The following packages will be REMOVED:
         apt-listchanges llvm-11-dev llvm-11-tools python3 python3-apt 
python3-debianbts python3-minimal python3-pycurl python3-pysimplesoap 
python3-reportbug python3-yaml python3.9 python3.9-minimal
       reportbug
       The following NEW packages will be installed:
         libbz2-1.0:arm64 libdb5.3:arm64 libexpat1:arm64 libffi7:arm64 
libgpm2:arm64 liblzma5:arm64 libmpdec3:arm64 libncursesw6:arm64 
libpcsclite-dev:arm64 libpcsclite1:arm64 libpython3-stdlib:arm64
       libpython3.9-minimal:arm64
         libpython3.9-stdlib:arm64 libreadline8:arm64 libsqlite3-0:arm64 
libstdc++6:arm64 libtinfo6:arm64 libuuid1:arm64 python3:arm64 
python3-minimal:arm64 python3.9:arm64 python3.9-minimal:arm64
       uuid-runtime zlib1g:arm64
       0 upgraded, 24 newly installed, 14 to remove and 0 not upgraded.
       Need to get 8,185 kB of archives.
       After this operation, 202 MB disk space will be freed.
       Do you want to continue? [Y/n] ^C


libpcsclite-dev includes a Python 3 script: pcsc-spy. Hence the dependency on 
python3.
Since it is a Recommends: and not a Depends: you should be able to install 
libpcsclite-dev:arm64 even if the dependency is not satisfied.

But you will then have another problem since libpcsclite-dev and 
libpcsclite-dev:arm64 will both try to install the same files:
/usr/bin/pcsc-spy
/usr/include/PCSC/debuglog.h
/usr/include/PCSC/ifdhandler.h
/usr/include/PCSC/pcsclite.h
/usr/include/PCSC/reader.h
/usr/include/PCSC/winscard.h
/usr/include/PCSC/wintypes.h
/usr/share/man/man1/pcsc-spy.1.gz

How do you propose to fix that?

Bye

--
Dr. Ludovic Rousseau

Reply via email to