[DRE-maint] Bug#854522: ruby-debian: dpkg-checkdeps raises errors with dpkg >= 1.18.11
James Lu
bitflip3 at gmail.com
Tue Feb 7 23:47:12 UTC 2017
Package: ruby-debian
Version: 0.3.9+b6
Tags: patch
Severity: minor
dpkg >= 1.18.11 dropped the --print-installation-architecture option as
obsolete, causing dpkg-checkdeps to throw an error on start. The
attached patch replaces that call with 'dpkg --print-architecture' instead.
The exact error looks like this:
dpkg: error: unknown option --print-installation-architecture
Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked [*] produce a lot of output - pipe it through 'less' or
'more' !
Best,
James
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (700, 'testing'), (500, 'unstable-debug'), (500,
'testing-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages ruby-debian depends on:
ii libapt-pkg5.0 1.4~beta4
ii libc6 2.24-9
ii libgcc1 1:6.3.0-5
ii libgmp10 2:6.1.2+dfsg-1
ii libruby2.3 2.3.3-1
ii libstdc++6 6.3.0-5
ii ruby 1:2.3.3
ruby-debian recommends no packages.
ruby-debian suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Call-dpkg-print-architecture-instead-of-dpkg-print-i.patch
Type: text/x-patch
Size: 860 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20170207/f4b9b95c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20170207/f4b9b95c/attachment.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list