[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#57216: bashism in /usr/lib/dpkg/methods/apt/install



Package: apt
Version: 0.3.17
Severity: important

Line 67 of /usr/lib/dpkg/methods/apt/install uses the construct '==',
which may not be supported if /bin/sh isn't linked to /bin/bash.  It
just needs to be shortened to '='.  Ash, for example, will generate the
error "[: ==: unknown operand".

I've submitted this issue as priority important because it breaks the
apt method of dselect when ash is used as /bin/sh, which I understand
from the mailing-lists is not an uncommon situation.

Thanx!

-- System Information
Debian Release: 2.2
Architecture: i386
Kernel: Linux glitch 2.2.14 #1 SMP Fri Jan 7 20:27:04 CST 2000 i686

Versions of packages apt depends on:
ii  libc6                         2.1.2-13   GNU C Library: Shared libraries an
ii  libstdc++2.10                 1:2.95.2-5 The GNU stdc++ library            

Attachment: pgpAuwOiG6s0c.pgp
Description: PGP signature


Reply to: