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

Bug#95358: gpc-2.95 error in prerm



Package: gpc-2.95
Version: 1:2.95.4-0.010424
Severity: normal

Hi,

here is the error :

# apt-get install --reinstall gpc-2.95
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 8  not upgraded.
2 packages not fully installed or removed.
Need to get 0B/1256kB of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n] 
(Reading database ... 289066 files and directories currently installed.)
Preparing to replace gpc-2.95 1:2.95.4-0.010424 (using .../gpc-2.95_2.95.4-0.010424_i386.deb) ...
rm: `/usr/share/doc/gpc-2.95' is a directory
Unpacking replacement gpc-2.95 ...


Curiously, /var/lib/dpkg/info/gpc-2.95.prerm contains twice the same chunk of
code and rm lacks the -r option :

# Automatically added by dh_installdocs
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/gpc-2.95 ]; then
        rm -f /usr/doc/gpc-2.95
fi
# End automatically added section
# Automatically added by dh_installdocs
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/gpc-2.95 ]; then
        rm -f /usr/doc/gpc-2.95
fi
# End automatically added section


-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux pc-dg-116-1 2.4.3-pentiumiii #1 Mon Apr 16 12:47:25 EST 2001 i686

Versions of packages gpc-2.95 depends on:
ii  gcc-2.95               1:2.95.4-0.010424 The GNU C compiler.               
ii  gpc                    1:2.95.3-7        The GNU Pascal compiler.          
ii  libc6                  2.2.2-4           GNU C Library: Shared libraries an




Reply to: