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

Bug#2455: can't install svgalib1-1.28-5



Guy Maor writes ("Bug#2455: can't install svgalib1-1.28-5"):
...
> I came across this too.  The fix is simple: s/elsif/elif/ in the
> preinst.

No, there are two bugs.  The first is the syntax error.

The second is that ...

>   deimos:unstable/binary/graphics:[17]# dpkg --install svgalib1-1.28-5.deb
>   (Reading database ... 19140 files and directories currently installed.)
>   Preparing to replace svgalib1 (using svgalib1-1.28-5.deb) ...
>   /var/lib/dpkg/tmp.ci/preinst: syntax error near unexpected token `then'
>   dpkg: error processing svgalib1-1.28-5.deb (--install):
>    subprocess pre-installation script returned error exit status 1
>   mv: /usr/lib/libvga.so.1.2.8.new: No such file or directory
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   dpkg: error while cleaning up:
>    subprocess post-installation script returned error exit status 1

... the postinst isn't idempotent.

Ian.


Reply to: