#1111749 dpkg-checkdeps - dpkg: error: unknown option --print-installation-architecture

Package:
ruby-debian
Source:
ruby-debian
Description:
ruby interface for dpkg
Submitter:
Ananthu C V
Date:
2025-08-21 17:25:02 UTC
Severity:
normal
#1111749#5
Date:
2025-08-21 17:22:56 UTC
From:
To:
Dear Maintainer,

This is the result of running dpkg-checkdeps:

$ dpkg-checkdeps
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' !
^C<internal:dir>:223:in `[]': Interrupt
	from /usr/lib/ruby/vendor_ruby/debian.rb:1046:in `block in initialize'
	from /usr/lib/ruby/vendor_ruby/debian.rb:919:in `block in initialize'
	from /usr/lib/ruby/vendor_ruby/debian.rb:727:in `block in parse'
	from /usr/lib/ruby/vendor_ruby/debian.rb:726:in `each'
	from /usr/lib/ruby/vendor_ruby/debian.rb:726:in `parse'
	from /usr/lib/ruby/vendor_ruby/debian.rb:720:in `parseArchiveFile'
	from /usr/lib/ruby/vendor_ruby/debian.rb:913:in `initialize'
	from /usr/lib/ruby/vendor_ruby/debian.rb:1041:in `initialize'
	from /usr/bin/dpkg-checkdeps:100:in `new'
	from /usr/bin/dpkg-checkdeps:100:in `<main>'

In addition, the examples from the manpage fails as well. The manpage mentions
dpkg-checkdeps.rb as the command, which also needs a fix.