Public bug reported:
Binary package hint: dpkg
The use of [^x] in a shell glob is not Bourne-compatible. I only found
out because those scripts of my own which had this bashism stopped
working on dist-upgrade to Edgy ...
To fix this, either (a) change to use [!x], or (b) change /bin/sh to
/bin/bash or a compatible approximation.
Should this be in Lintian, maybe ...?
Upstream has 437 open bugs, tried to grep through them for this and
didn't come up with anything but of course it's possible that it's
reported; sorry if that's the case. Anyway, this is more critical for
Ubuntu, since the official /bin/sh is now Dash here.
vnix$ dpkg -l dpkg
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii dpkg 1.13.22ubuntu7 package maintenance system for Debian
vnix$ fgrep -C4 '[^' /var/lib/dpkg/info/dpkg.postinst /dev/null
/var/lib/dpkg/info/dpkg.postinst- create_database
/var/lib/dpkg/info/dpkg.postinst- create_logfile
/var/lib/dpkg/info/dpkg.postinst-
/var/lib/dpkg/info/dpkg.postinst- case "$2" in
/var/lib/dpkg/info/dpkg.postinst: 0.* | 1.0.* | 1.1.0 | 1.1.0[^0-9]*
| '' )
/var/lib/dpkg/info/dpkg.postinst- remove_duplicate_daemons
/var/lib/dpkg/info/dpkg.postinst- ;;
/var/lib/dpkg/info/dpkg.postinst- 1.1.6 | 1.1.6elf | 1.2.[0123] |
1.2.[0123]elf)
/var/lib/dpkg/info/dpkg.postinst- fix_damaged_info
** Affects: dpkg (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
Undeclared bashism in dpkg.postinst
https://launchpad.net/bugs/89207
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs