#854522 ruby-debian: dpkg-checkdeps raises errors with dpkg >= 1.18.11

Package:
ruby-debian
Source:
ruby-debian
Description:
ruby interface for dpkg
Submitter:
James Lu
Date:
2025-09-01 21:29:01 UTC
Severity:
minor
Tags:
#854522#5
Date:
2017-02-07 23:47:12 UTC
From:
To:
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

#854522#8
Date:
2019-10-25 20:12:13 UTC
From:
To:
Hello,

Bug #854522 in ruby-debian reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/ruby-team/ruby-debian/commit/283b68ad2fe6d7a5031226f8ff9319f71ebbf680
------------------------------------------------------------------------
Call 'dpkg --print-architecture' instead of 'dpkg --print-installation-architecture'

#854522#15
Date:
2025-09-01 21:27:25 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ruby-debian, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 854522@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antonio Terceiro <terceiro@debian.org> (supplier of updated ruby-debian package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 01 Sep 2025 16:24:16 -0300
Source: ruby-debian
Architecture: source
Version: 0.3.12
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Changed-By: Antonio Terceiro <terceiro@debian.org>
Closes: 854522 856365
Changes:
 ruby-debian (0.3.12) unstable; urgency=medium
 .
   * Team upload
 .
   [ James Lu ]
   * Call 'dpkg --print-architecture' instead of 'dpkg --print-installation-architecture'
     (Closes: #854522)
 .
   [ Antonio Terceiro ]
   * debian/rules: force UTF-8 locale for the build
   * Bump Standards-Version to 4.7.0; no changed needed
   * debian/control: drop obsolete *-Ruby-Versions fields
   * debian/control: replace explicit dependency on ruby with ${ruby:Depends}
   * Remove debian/.gitattributes
 .
   [ Debian Janitor ]
   * Trim trailing whitespace.
   * Use versioned copyright format URI.
   * Update standards version to 4.5.0, no changes needed.
   * Remove MIA uploader Ryan Niebur <ryan@debian.org>. Closes: #856365
   * Bump debhelper from old 12 to 13.
   * Update standards version to 4.6.1, no changes needed.
 .
   [ Cédric Boutillier ]
   * Update team name
   * Add .gitattributes to keep unwanted files out of the source package
Checksums-Sha1:
 67581a851ff735ef94846ca04eadb888cefc0271 1689 ruby-debian_0.3.12.dsc
 03a24a704c2866271875deffa4dc96f185b62732 179200 ruby-debian_0.3.12.tar.xz
 01e64471c06e5bf939fff419822a09e2560c5cab 12829 ruby-debian_0.3.12_source.buildinfo
Checksums-Sha256:
 e0697984650c4c94f4377651bb98e4c465cc3bcb96f6fcf5dcb64dc0fe7794b4 1689 ruby-debian_0.3.12.dsc
 a87cea3f9afdb0ae094ac6f8f60def7bd94c3ad219d3b3effa5c76d64affbf32 179200 ruby-debian_0.3.12.tar.xz
 f5f13986ffda8b54690ba76b31b77018197834c43e8b26efea6418d4e4e0205a 12829 ruby-debian_0.3.12_source.buildinfo
Files:
 5c0371206262b5a24628a2121441ed61 1689 ruby optional ruby-debian_0.3.12.dsc
 4e1eb786e1c2882662be10a6b5bfc776 179200 ruby optional ruby-debian_0.3.12.tar.xz
 c867134e9aa2472593cc65beae6c7062 12829 ruby optional ruby-debian_0.3.12_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmi1/jEACgkQ/A2xu81G
C95kYhAAkcSM+o5iEZ3pKpMFggC7yPY779OfG/V4QN9i3bz2L7J2lvlVWzd5hgW3
T6U+B+0pUKU15PEnrom9asbuDyoYBiI+L0dShOZ5i3OKKVbhAJfSKEpcvampiSTC
LZvZD+L2gYu2BE1wH7ZBLPthywEqZo8CWvGXp/3lRaFIGDv1RAdufgsDvxNO1Eml
VyfmorHU1nrnbN4zhs0ckxG4wSlz8IvXx2xT/Kvo+aMddcKXDt2jvcs2lSidoMEi
DvaFRxtbzh23k0NG5Se6nxr4UBOureAB1Jso1FyhDCBc7HKQITQIvYftAIH9sjZC
V/q3M2TDrumtpJVA5/3m1jRgRr87yCcQrvQSs9sRGyLahRakAc8NSBI0s0oal7lH
Rq0JDn1hAnd7Fw4XkCvDDz78DngcaB9OE0/dUHRyLnu1M1Bj6Y/mQOgTVIzkI8NV
kZGsqV1ijo1SaANQGnYK4hxfDcP6FcD/0U8AzuEj+UWm0pGgBYFBUGkX7Efs7rif
nUeuSiMEJGPEdGGc/GpYeZap8Ia/5mhaw+6GWS7xpd6FprFd/PXI7t/4kyowV5EQ
qnWPFg0mGzIDJQyG/HYpYTmACQEZazJ8Tbn8axRtf6Q+2xi19VlZMmCQNfzy9oWg
DTOYmrymJuz6MQxN+uuOU/f80f5ixHZWRqK2nnN6++ytULEILrM=
=Khp4
-----END PGP SIGNATURE-----