Your message dated Sat, 08 May 2021 16:03:33 +0000
with message-id <e1lfpqt-0004t8...@fasolo.debian.org>
and subject line Bug#988227: fixed in nis 4.3
has caused the Debian Bug report #988227,
regarding nis: /var/lib/dpkg/info/nis.postinst: 76: [: -eq: unexpected operator
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
988227: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988227
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: nis
Version: 4.2
Severity: normal

Dear Debian folks,


I encountered this in Ubuntu [1], but they use the Debian package.

With `/bin/sh` being dash and not Bash, the postinst script fails.

```
$ sudo apt reinstall nis
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 14.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://de.ports.ubuntu.com/ubuntu-ports hirsute/universe ppc64el nis all 4.2 [14.2 kB]
Fetched 14.2 kB in 0s (110 kB/s)
(Reading database ... 420369 files and directories currently installed.)
Preparing to unpack .../apt/archives/nis_4.2_all.deb ...
update-rc.d: error: unable to read /etc/init.d/nis
Unpacking nis (4.2) over (4.2) ...
Setting up nis (4.2) ...
/var/lib/dpkg/info/nis.postinst: 76: [: -eq: unexpected operator
```

Using `/bin/bash` in the shebang of the postinst script, and doing `dpkg -a --configure` worked around this issue.


Kind regards,

Paul


[1]: https://bugs.launchpad.net/ubuntu/+source/nis/+bug/1927540
[2]: https://salsa.debian.org/debian-nis-team/nis/-/blob/master/debian/postinst#L76
--- End Message ---
--- Begin Message ---
Source: nis
Source-Version: 4.3
Done: Francesco Paolo Lovergine <fran...@debian.org>

We believe that the bug you reported is fixed in the latest version of
nis, 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 988...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Francesco Paolo Lovergine <fran...@debian.org> (supplier of updated nis 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 08 May 2021 17:19:24 +0200
Source: nis
Binary: nis
Architecture: source all
Version: 4.3
Distribution: unstable
Urgency: medium
Maintainer: Francesco Paolo Lovergine <fran...@debian.org>
Changed-By: Francesco Paolo Lovergine <fran...@debian.org>
Description:
 nis        - Network Information Service (NIS)
Closes: 988227
Changes:
 nis (4.3) unstable; urgency=medium
 .
   * Fixed a sort-of bashism in postinst.
     (closes: #988227)
Checksums-Sha1:
 de5fc1794a5e8088d7245fec129ca250df3becbf 1518 nis_4.3.dsc
 93b10ac0c68bf1ca875a935b17a75def29cf6607 21600 nis_4.3.tar.xz
 fe6adbc70e9a2605f2cba50d3eb609f09353bd84 25888 nis_4.3_all.deb
 fd561d5baeeed8a941ccad02b47778a42e7ed4a5 5615 nis_4.3_amd64.buildinfo
Checksums-Sha256:
 601cda9b5b597edf9dd5ddcb0dfafc8d98722bc97fcc5d65c8f5cf7a8183b069 1518 
nis_4.3.dsc
 a0139a696f003fcf0630dc7de4ae3e82e66882435aa16ddbc9e7d28978bdba2d 21600 
nis_4.3.tar.xz
 46f0ae7ee5c42ad6e01c188a92e5992d1634b1b3c0cbdd21b4f4b79e13e3fe80 25888 
nis_4.3_all.deb
 4be099019a55099af2f41f36dc5c9bd1f8e84e8e593dd618ce1f05ee21af35fe 5615 
nis_4.3_amd64.buildinfo
Files:
 6aaa4595a1df9a38d5b2d123212b671e 1518 net optional nis_4.3.dsc
 eb8d435b577983645bc9e6eba5bc9e1e 21600 net optional nis_4.3.tar.xz
 327c4352180ce3efdf3852aeeca26f70 25888 net optional nis_4.3_all.deb
 0262076e4973a0657e4f0a3715bc44e2 5615 net optional nis_4.3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEBXmpeiI46/m+Ye0CDwKl4RY2hqQFAmCWsDYTHGZyYW5raWVA
ZGViaWFuLm9yZwAKCRAPAqXhFjaGpH4JD/4vct82Pho5k5sliQJHMcpmybhh4eSr
FAfHUYKtBQvTloFZ2yKmvGY/iWaJVWKk6yfDRYITqz0PDx8oIrZ1Lc2wsbp0ua+r
yL/NIUU2gnChWyo4jyidixuttWBi1DV1whvldnPIm4LLQUV75snP+OkKkDPz7v1d
Zo3RLHsu3xDXV7doGeAePjs/iMIFYpFXV7GStm9w3Im89OkAi9i/wkt+Hv8ymlkr
12ZQ+JHuf44O4lxpXet6pM24OXbvKbWoQX+DEl474RAMVVWyh4I7zCMPt+cVYhuI
wmEiAp6qJWg6awiAzTsHvwRdwkniDtpKBIVuTmt3CrU8AKis6YMlG+JDpuqsZ4IJ
Zhl+yB1cyTCtce+nnVGaMOxuQko2SiM5TIkF7LWALYLwETH9XM9uouP8apNBjf4m
qDm088gbRzZXbQ7pcUyqmvnRg25h6i9eEbO9nHrRa8wCZXV5OAMkQ2kvnv6tRQPZ
Yk4tk8YEacJl0MIVk5iS0YpznYpcfS/jfaQqI5LMI4NCCGz3S5PDGWLM3OzQsUd7
HateKqEksZw3xRJkPHY5Y9+1phFZMDqEVEsioWnD61WANujK0uwNmeUYDTaku4K7
hdoIjnS04O4baMBA0pkPNDKcaKSvTSn20k/5QONEpcRTiEjSmQ6ouqzXl7dxufn0
dW/m8sGKvlDYfQ==
=JjEM
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to