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

Bug#201513: libgtop-dev: preinst fails if doc directory isn't a symlink



Package: libgtop-dev
Version: 1.0.13-7
Severity: grave

/var/lib/dpkg/info/libgtop-dev.preinst contains the following:

----------
#!/bin/sh

[ -L /usr/share/doc/libgtop-dev ] && rm /usr/share/doc/libgtop-dev
----------

If the doc directory is not a symlink, this line returns an exit status of 1
and the preinst fails, causing the package installation to fail. This will
happen when the package is being installed for the first time or when it is
upgraded from any version which didn't use a symlink.

I think a simple 'exit 0' as the last line of the preinst would fix the
problem.


thanks,
 -Brian




-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux cinla 2.4.21-pre7 #3 Mon Jun 9 20:44:55 PDT 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages libgtop-dev depends on:
ii  libgtk1.2-dev                 1.2.10-16  Development files for the GIMP Too
ii  libgtop1                      1.0.13-7   Libraries for gtop system monitori

-- no debconf information




Reply to: