Bug#178159: can not install on parisc64
Package: libc6
Version: 2.3.1-10
Severity: important
(Reading database ... 13321 files and directories currently installed.)
Preparing to replace libc6 2.2.5-14 (using .../libc6_2.3.1-10_hppa.deb) ...
/var/lib/dpkg/tmp.ci/preinst: line 122: [: =: unary operator expected
WARNING: This version of libc6 requires that you be
running at least a 2.4.19-pa17 in (2.4) or 2.5.53-pa3
(in 2.5) to work properly.
Earlier kernels did not provide the proper functionality
in order for the system to be stable.
dpkg: error processing /var/cache/apt/archives/libc6_2.3.1-10_hppa.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.3.1-10_hppa.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Around line 122 of libc6 preint:
117 # (in 2.4.x), 2.5.53-pa3 or later (in 2.5.x), to function properly.
118 # Note that parisc64 kernel version scheme is "`uname -r`-64".
119 if [ "$realarch" = parisc64 ]
120 then
121 kernel_ver=`uname -r`
122 if [ $ver = ${kernel_ver/pa/} ]
123 then
124 if dpkg --compare-versions "$kernel_ver" lt 2.4.19-64
125 then
$ver is not defined, first appeared here.
Should $ver be $kernel_ver here?
122 if [ $kernel_ver = ${kernel_ver/pa/} ]
Regards,
Fumitoshi UKAI
Reply to: