Package: dpkg-repack Version: 1.43 Severity: normal | dpkg-repack does not produce a proper .deb for packages that are | multiply installed via multiarch, eg. libpng16-16:amd64. i tried various | approaches: | | $ dpkg-repack libpng16-16 | dpkg-query: error: --status needs a valid package name but 'libpng16-16' is not: ambiguous package name 'libpng16-16' with more than one installed instance | | Use --help for help about querying packages. | Use of uninitialized value in pattern match (m//) at /usr/bin/dpkg-repack line 138. | Use of uninitialized value in concatenation (.) or string at /usr/bin/dpkg-repack line 139. | dpkg-repack: Fatal Error: Package libpng16-16 not fully installed:
| $ dpkg-repack libpng16-16:amd64 | dpkg-query: error: --listfiles needs a valid package name but 'libpng16-16' is not: ambiguous package name 'libpng16-16' with more than one installed instance | | Use --help for help about querying packages. | dpkg-deb: building package 'libpng16-16' in './libpng16-16_1.6.29-3_amd64.deb'. | $ dpkg-repack libpng16-16 --arch amd64 | dpkg-query: error: --status needs a valid package name but 'libpng16-16' is not: ambiguous package name 'libpng16-16' with more than one installed instance | | Use --help for help about querying packages. | Use of uninitialized value in pattern match (m//) at /usr/bin/dpkg-repack line 138. | Use of uninitialized value in concatenation (.) or string at /usr/bin/dpkg-repack line 139. | dpkg-repack: Fatal Error: Package libpng16-16 not fully installed: | $ dpkg-repack libpng16-16:amd64 --arch amd64 | dpkg-query: error: --listfiles needs a valid package name but 'libpng16-16' is not: ambiguous package name 'libpng16-16' with more than one installed instance | | Use --help for help about querying packages. | dpkg-deb: building package 'libpng16-16' in './libpng16-16_1.6.29-3_amd64.deb'. The :amd64 ones actually produce empty (control file only) .deb files. For a quick fix, I needed to add some more :amd64 throughout dpkg-repack, but I'll look into it more deeply to see whether I can produce a proper patch. -- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.12.0 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages dpkg-repack depends on: ii libdpkg-perl 1.18.24 ii perl dpkg-repack recommends no packages. Versions of packages dpkg-repack suggests: ii fakeroot 1.21-3.1 -- no debconf information -- To use raw power is to make yourself infinitely vulnerable to greater powers. -- Bene Gesserit axiom
signature.asc
Description: PGP signature