Mikkel Bundgaard <invalid@invalid.dk> writes:
> galliano:/tmp# apt-get install courier-imap-ssl
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Sorry, courier-imap-ssl is already the newest version.
> 0 packages upgraded, 0 newly installed, 0 to remove and 149 not upgraded.
> 1 packages not fully installed or removed.
> Need to get 0B/9986B of archives. After unpacking 0B will be used.
> Selecting previously deselected package courier-imap-ssl.
> (Reading database ... 24571 files and directories currently installed.)
> Preparing to replace courier-imap-ssl 1.4.3-3.3 (using
> .../courier-imap-ssl_1.4.3-3.3_i386.deb) ...
>
> ERR: config file missing
> dpkg: warning - old pre-removal script returned error exit status 1
> dpkg - trying script from the new package instead ...
> ERR: config file missing
> dpkg: error processing
> /var/cache/apt/archives/courier-imap-ssl_1.4.3-3.3_i386.deb (--unpack):
>
> subprocess new pre-removal script returned error exit status 1
> ERR: config file missing
> dpkg: error while cleaning up:
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> /var/cache/apt/archives/courier-imap-ssl_1.4.3-3.3_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
De scripts der giver fejl ligger som
/var/lib/dpkg/info/courier-imap-ssl.*, det første af dem er det følgende:
amanda
# cat /var/lib/dpkg/info/courier-imap-ssl.prerm
#!/bin/sh
set -e
# Automatically added by dh_installdocs
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/courier-imap-ssl ]; then
rm -f /usr/doc/courier-imap-ssl
fi
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/courier-imap-ssl" ]; then
/etc/init.d/courier-imap-ssl stop
fi
# End automatically added section
amanda
#
Prøv at udkommentere de sidste fem linjer i scriptet, der er dem der
giver fejlen.
--
Kim Hansen | |\ _,,,---,,_ | Det er ikke
Dalslandsgade 8, A708 | /,`.-´` -. ;:-. | Jeopardy.
2300 København S | |,4- ) )-,_. ,\ ( `'-' | Svar _efter_
Tlf: 32 88 60 86 | '---''(_/--' `-'\_) | spørgsmålet.