#1126953 how-can-i-help: Aborts with "in `&': no implicit conversion of nil into Array (TypeError)"

#1126953#5
Date:
2026-02-04 15:09:36 UTC
From:
To:
Dear Maintainer,

for a few days now at least (probably since some ruby update),
how-can-i-help exits always (as hook as well as on the commandline) as
follows:

# how-can-i-help
/usr/bin/how-can-i-help:244:in `&': no implicit conversion of nil into Array (TypeError)

    if packages & hi['packages'] != []
                  ^^^^^^^^^^^^^^
        from /usr/bin/how-can-i-help:244:in `block in <main>'
        from /usr/bin/how-can-i-help:215:in `each'
        from /usr/bin/how-can-i-help:215:in `<main>'

#1126953#10
Date:
2026-02-05 07:29:25 UTC
From:
To:
For the record:

It seems that it was caused by the following hi data


  {"type"=>"rfs", "hash"=>"9a38ab53b0edc8a10b5f16e6543b0741",
  "source"=>"snuffleupagus", "packages"=>nil, "version"=>"0.13.0-1",
  "title"=>"RFS: snuffleupagus/0.13.0-1 [RC] -- Security module for php7
  and php8", "id"=>1126807}


Regards,

#1126953#15
Date:
2026-02-05 07:24:19 UTC
From:
To:
#1126953#22
Date:
2026-03-04 02:33:47 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
how-can-i-help, 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 1126953@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tomasz Nitecki <tnnn@tnnn.pl> (supplier of updated how-can-i-help 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: Wed, 04 Mar 2026 02:47:35 +0100
Source: how-can-i-help
Architecture: source
Version: 21
Distribution: unstable
Urgency: medium
Maintainer: Tomasz Nitecki <tnnn@tnnn.pl>
Changed-By: Tomasz Nitecki <tnnn@tnnn.pl>
Closes: 1126835 1126953
Changes:
 how-can-i-help (21) unstable; urgency=medium
 .
   [ Cédric Boutillier ]
   * Skip rfs type if no binary package available (Closes: #1126835, #1126953)
     + Thanks to Cédric for the fix!
   * Remove X?-Ruby-Versions fields from d/control
 .
   [ Tomasz Nitecki ]
   * debian/control: Bump Standards-Version to 4.7.3; no changes needed.
Checksums-Sha1:
 4ffd9fd6cfcfb4fed0b1853682aa1759f90147a9 1706 how-can-i-help_21.dsc
 cd5d37fb9a8d64a8fdaaa78c1253504a3f2b1302 10184 how-can-i-help_21.tar.xz
 66b443a47ef6ac8786da6a574f6817e102f32123 6847 how-can-i-help_21_amd64.buildinfo
Checksums-Sha256:
 d4bb58c33cb0e03159d58ea9796054fb823c76d999f234593d4c1e41d2e05416 1706 how-can-i-help_21.dsc
 502f75af6467cc8a0cfc6fd9889458161a9b98dcc886c07b2469f8c32cdafd03 10184 how-can-i-help_21.tar.xz
 f073581bae5a7879ffdeef89f2d3278a3895aa7eacc0ebd6113aae1f0d947aaf 6847 how-can-i-help_21_amd64.buildinfo
Files:
 50181fc08605e54f449943d549d38c05 1706 devel optional how-can-i-help_21.dsc
 62bdf7a488cacd77131d3fd52b169790 10184 devel optional how-can-i-help_21.tar.xz
 91181e9107b02a052394013fc39f1007 6847 devel optional how-can-i-help_21_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJBBAEBCgArFiEEfAsN5+pZkhF7ovXM5scQ4uXB5KMFAmmnljENHHRubm5AdG5u
bi5wbAAKCRDmxxDi5cHko9cVD/9Lxga4YHj5E7PDc8nQvpN8S0D6bVyv45wdpQ+E
ziI/h/hn+OiDADBa670/Xhb2RZ38y9LjmtCCLh+dx5nmoRutFJD13IDdaN78R+zt
7ri/TDAHFpr3QueGe+/r9PDfATwpV1kNpxB4VbZyfXmRf5fbaeTT4aRt7I/hM4qB
ioQmvXWUxg+anX6+0Ym9DYIa2jq4Zlyn0lAeL3HTEKyTO1wSC52C9oVif49K0dxU
dDJT80aUfovffeCYmM8VQrUFkuiwi0IZH+7uu6o4s2SL78FLu+GGwYnFpNFuUx1n
r1SICfIw5O7q/6LnIG44TebjC5OzzMd/dkcKf/wzCPQQ6cAvz7u/OGsageqNNAjx
VlMvdpomXlDwsQz8TI+6tJONl0LEGwjiQntd3yrA8tBiOFkvJnuLg/6I+SmpqhkS
YlZdVHpDcFl4EG5vZQq4otuLo0a4SLxlrup++UAdvbYogie3ude0AZrvaw/wZfdt
Ty9+0odCBmtEUgBXSn2qLE3h3VjeZhaRYbXxqI2sERzEUFqYxInf7ma0tsEmGjvJ
XeL1rs1O8aA9GSHZQis7z2O8DBgKLaAAd1BNl1x45AWSyKjgSzaDkN99pCLvS+pl
JmYkS4Mvz6v5vxRXt1ir0RCE5UR+dvJL5UPv0VGSsPh6381sNTaCG6z7V1pQGu1n
Px1DrA==
=SzM2
-----END PGP SIGNATURE-----