On Tue, 2010-04-20 at 15:20 +0000, Clint Adams wrote: > On Mon, Apr 19, 2010 at 11:34:12PM +0100, Matthew W. S. Bell wrote: > > Package: libc6 > > Version: 2.10.2-6 > > Severity: important > > > > Hi, > > Line 165 of libc6's postinst includes some sort if extended character > > (0xc2?) that gives rise to the following error: > > > > /var/lib/dpkg/info/libc6.postinst: line 165: [: missing `]' > > > > The character seems to be in real column 64. > > > > 165: if [ "$status" = "0" ] || [ "$status" = "1"| ]]; then > > Are you sure this is the version you have? (That's how vim displays it). How about this: -- #</var/lib/dpkg/info/libc6.postinst tail -n +165 | head -n 1 | hexdump -C 00000000 09 20 20 20 20 09 20 20 20 20 69 66 20 5b 20 22 |. . if [ "| 00000010 24 73 74 61 74 75 73 22 20 3d 20 22 30 22 20 5d |$status" = "0" ]| 00000020 20 7c 7c 20 5b 20 22 24 73 74 61 74 75 73 22 20 | || [ "$status" | 00000030 3d 20 22 31 22 c2 a0 5d 20 3b 20 74 68 65 6e 0a |= "1"..] ; then.| 00000040 -- 0xc2; 0xa0; Matthew
Attachment:
signature.asc
Description: This is a digitally signed message part