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

Bug#427416: preinst bug in libc6_2.5-9_amd64.deb



Package: libc6
Version: 2.5-9
Severity: Normal

This appears to be a bug in the .deb's preinst script.  It only
shows up for me when there is a space in the path to the .deb (as
evidenced below)

mark@mark:~/My Downloads$ sudo dpkg -i libc6_2.5-9_amd64.deb
(Reading database ... 157755 files and directories currently
installed.)
Preparing to replace libc6 2.5-5 (using libc6_2.5-9_amd64.deb) ...
expr: syntax error
expr: syntax error
/var/lib/dpkg/tmp.ci/preinst: line 128: test: /home/mark/My: binary
operator expected
Unpacking replacement libc6 ...
Setting up libc6 (2.5-9) ...
Installing new version of config file /etc/init.d/glibc.sh ...

mark@mark:~/My Downloads$ cd ..
mark@mark:~$ ln -s My\ Downloads/libc6_2.5-9_amd64.deb
mark@mark:~$ sudo dpkg -i libc6_2.5-9_amd64.deb
(Reading database ... 157755 files and directories currently
installed.)
Preparing to replace libc6 2.5-9 (using libc6_2.5-9_amd64.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.5-9) ...


mark@mark:~$ cd My\ Downloads/
mark@mark:~/My Downloads$ sudo dpkg -i libc6_2.5-9_amd64.deb
(Reading database ... 157755 files and directories currently
installed.)
Preparing to replace libc6 2.5-9 (using libc6_2.5-9_amd64.deb) ...
expr: syntax error
expr: syntax error
/var/lib/dpkg/tmp.ci/preinst: line 128: test: /home/mark/My: binary
operator expected
Unpacking replacement libc6 ...
Setting up libc6 (2.5-9) ...

mark@mark:~/My Downloads$ sudo dpkg -i ../libc6_2.5-9_amd64.deb
(Reading database ... 157755 files and directories currently
installed.)
Preparing to replace libc6 2.5-9 (using ../libc6_2.5-9_amd64.deb)
...
expr: syntax error
expr: syntax error
/var/lib/dpkg/tmp.ci/preinst: line 128: test: /home/mark/My: binary
operator expected
Unpacking replacement libc6 ...
Setting up libc6 (2.5-9) ...

mark@mark:~/My Downloads$


 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/



Reply to: