Package: courier-authdaemon
Version: 0.63.0-2
Severity: grave
Trying to replace courier with exim4 leaves the system in a broken state:
flatty:/etc# aptitude install exim4-daemon-light courier-mta- courier-base-
courier-authdaemon- courier-authlib- courier-authlib-userdb-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done
Reading task descriptions... Done
The following NEW packages will be installed:
exim4-base{a} exim4-config{a} exim4-daemon-light
The following packages will be REMOVED:
courier-authdaemon courier-authlib courier-authlib-userdb courier-base
courier-mta
0 packages upgraded, 3 newly installed, 5 to remove and 0 not upgraded.
Need to get 1,859kB of archives. After unpacking 1,008kB will be freed.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Get:1 http://ftp.de.debian.org squeeze/main exim4-config 4.71-4 [375kB]
Get:2 http://ftp.de.debian.org squeeze/main exim4-base 4.71-4 [1,007kB]
Get:3 http://ftp.de.debian.org squeeze/main exim4-daemon-light 4.71-4 [477kB]
Fetched 1,859kB in 2s (786kB/s)
[master ad2666e] saving uncommitted changes in /etc prior to apt run
3 files changed, 9 insertions(+), 8 deletions(-)
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Preconfiguring packages ...
dpkg: courier-authlib: dependency problems, but removing anyway as you
requested:
courier-base depends on courier-authlib (>= 0.62.4).
courier-authlib-userdb depends on courier-authlib (>= 0.63.0).
courier-authdaemon depends on courier-authlib (>= 0.63.0).
(Reading database ... 44719 files and directories currently installed.)
Removing courier-authlib ...
dpkg: courier-mta: dependency problems, but removing anyway as you requested:
bsd-mailx depends on default-mta | mail-transport-agent; however:
Package default-mta is not installed.
Package mail-transport-agent is not installed.
Package courier-mta which provides mail-transport-agent is to be removed.
Package nullmailer which provides mail-transport-agent is not installed.
Removing courier-mta ...
Stopping Courier SMTP server: done.
Stopping Courier mail filter: done.
Stopping Courier mail server: done.
Removing `diversion of /usr/bin/addcr to /usr/bin/addcr.ucspi-tcp by
courier-mta'
Removing `diversion of /usr/share/man/man1/addcr.1.gz to
/usr/share/man/man1/addcr.ucspi-tcp.1.gz by courier-mta'
Removing courier-base ...
Removing courier-authdaemon ...
Stopping Courier authentication services: authdaemond/usr/sbin/authdaemond:
line 18: /usr/sbin/courierlogger: No such file or directory
/usr/sbin/authdaemond: line 18: exec: /usr/sbin/courierlogger: cannot execute:
No such file or directory
invoke-rc.d: initscript courier-authdaemon, action "stop" failed.
dpkg: error processing courier-authdaemon (--remove):
subprocess installed pre-removal script returned error exit status 126
Starting Courier authentication services: authdaemond/usr/sbin/authdaemond:
line 18: /usr/sbin/courierlogger: No such file or directory
/usr/sbin/authdaemond: line 18: exec: /usr/sbin/courierlogger: cannot execute:
No such file or directory
invoke-rc.d: initscript courier-authdaemon, action "start" failed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 126
Removing courier-authlib-userdb ...
Processing triggers for man-db ...
Errors were encountered while processing:
courier-authdaemon
[master 43de7c1] committing changes in /etc after apt run
15 files changed, 11 insertions(+), 33 deletions(-)
delete mode 120000 alternatives/deliverquota
delete mode 120000 alternatives/deliverquota.8.gz
delete mode 120000 alternatives/lockmail
delete mode 120000 alternatives/lockmail.1.gz
delete mode 120000 alternatives/maildir.5.gz
delete mode 120000 alternatives/maildirmake
delete mode 120000 alternatives/maildirmake.1.gz
delete mode 120000 alternatives/maildirquota.7.gz
delete mode 120000 alternatives/makedat
delete mode 120000 alternatives/makedat.1.gz
delete mode 120000 alternatives/preline
delete mode 120000 alternatives/preline.1.gz
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Current status: 2 broken [+2].
flatty:/etc#
Subsequent attempts remove some auto-installed packages, but don't recover from
the broken state:
flatty:/etc# dpkg -a --configure
flatty:/etc# aptitude install exim4-daemon-light courier-mta- courier-base-
courier-authdaemon- courier-authlib- courier-authlib-userdb-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
The following NEW packages will be installed:
exim4-base{a} exim4-config{a} exim4-daemon-light
The following packages will be REMOVED:
courier-authdaemon{u} expect{u} libfam0{u} tcl8.5{u}
0 packages upgraded, 3 newly installed, 4 to remove and 0 not upgraded.
Need to get 0B/1,859kB of archives. After unpacking 1,237kB will be freed.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Preconfiguring packages ...
(Reading database ... 44519 files and directories currently installed.)
Removing courier-authdaemon ...
Stopping Courier authentication services: authdaemond/usr/sbin/authdaemond:
line 18: /usr/sbin/courierlogger: No such file or directory
/usr/sbin/authdaemond: line 18: exec: /usr/sbin/courierlogger: cannot execute:
No such file or directory
invoke-rc.d: initscript courier-authdaemon, action "stop" failed.
dpkg: error processing courier-authdaemon (--remove):
subprocess installed pre-removal script returned error exit status 126
Starting Courier authentication services: authdaemond/usr/sbin/authdaemond:
line 18: /usr/sbin/courierlogger: No such file or directory
/usr/sbin/authdaemond: line 18: exec: /usr/sbin/courierlogger: cannot execute:
No such file or directory
invoke-rc.d: initscript courier-authdaemon, action "start" failed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 126
Removing expect ...
Removing libfam0 ...
Removing tcl8.5 ...
Processing triggers for man-db ...
Errors were encountered while processing:
courier-authdaemon
[master a01b8f8] committing changes in /etc after apt run
2 files changed, 0 insertions(+), 2 deletions(-)
delete mode 120000 alternatives/tclsh
delete mode 120000 alternatives/tclsh.1
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
flatty:/etc# aptitude install exim4-daemon-light courier-mta- courier-base-
courier-authdaemon- courier-authlib- courier-authlib-userdb-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
The following NEW packages will be installed:
exim4-base{a} exim4-config{a} exim4-daemon-light
The following packages will be REMOVED:
courier-authdaemon{u}
0 packages upgraded, 3 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B/1,859kB of archives. After unpacking 3,781kB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Preconfiguring packages ...
(Reading database ... 44239 files and directories currently installed.)
Removing courier-authdaemon ...
Stopping Courier authentication services: authdaemond/usr/sbin/authdaemond:
line 18: /usr/sbin/courierlogger: No such file or directory
/usr/sbin/authdaemond: line 18: exec: /usr/sbin/courierlogger: cannot execute:
No such file or directory
invoke-rc.d: initscript courier-authdaemon, action "stop" failed.
dpkg: error processing courier-authdaemon (--remove):
subprocess installed pre-removal script returned error exit status 126
Starting Courier authentication services: authdaemond/usr/sbin/authdaemond:
line 18: /usr/sbin/courierlogger: No such file or directory
/usr/sbin/authdaemond: line 18: exec: /usr/sbin/courierlogger: cannot execute:
No such file or directory
invoke-rc.d: initscript courier-authdaemon, action "start" failed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 126
Errors were encountered while processing:
courier-authdaemon
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information... Done
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Any idea how to un-break my system?
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: armel (armv5tel)
Kernel: Linux 2.6.33-rc8-flatty-ocf-1-00103-gadfc658
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages courier-authdaemon depends on:
pn courier-authlib <none> (no description available)
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
courier-authdaemon recommends no packages.
courier-authdaemon suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]