Upgrade to edgy: can't resolve courier packages dependency

marc gmane at auxbuss.com
Wed Apr 11 11:08:54 UTC 2007


Mario Vukelic said...
> On Sun, 2007-04-08 at 05:00 +0100, marc wrote:
> 
> >   Extract templates from packages: 100%
> >   Preconfiguring packages ...
> >   dpkg: error processing courier-authdaemon (--remove):
> >    Package is in a very bad inconsistent state - you should
> >    reinstall it before attempting a removal.
> >   terminate called after throwing an instance of 'std::logic_error'
> >     what():  basic_string::_S_construct NULL not valid
> >   Errors were encountered while processing:
> >    courier-authdaemon
> >   Aborted (core dumped)
> 
> Ok, courier-authdaemon is indeed borked. I am afraid (at least I can't
> think of another option) you have to force a reinstall:
> 
> dpkg -i
> --force-all /var/cache/apt/archives/courier-authdaemon<version>.deb

No joy with this either, I'm afraid.

$ sudo dpkg -i --force-all /var/cache/apt/archives/courier-authdaemon_
0.58-4ubuntu1_i386.deb
Selecting previously deselected package courier-authdaemon.
(Reading database ... 181612 files and directories currently installed.)
Preparing to replace courier-authdaemon 0.47-13ubuntu5.1 (using 
.../courier-authdaemon_0.58-4ubuntu1_i386.deb) ...
 * Stopping Courier authdaemon...                                                                                                
/usr/lib/courier/authlib/authdaemond: line 31: /usr/sbin/courierlogger: 
No such file or directory
/usr/lib/courier/authlib/authdaemond: line 31: exec: 
/usr/sbin/courierlogger: cannot execute: No such file or directory
                                                                                                                          
[fail]
invoke-rc.d: initscript courier-authdaemon, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
 * Stopping Courier authdaemon...                                                                                                
/usr/lib/courier/authlib/authdaemond: line 31: /usr/sbin/courierlogger: 
No such file or directory
/usr/lib/courier/authlib/authdaemond: line 31: exec: 
/usr/sbin/courierlogger: cannot execute: No such file or directory
                                                                                                                          
[fail]
invoke-rc.d: initscript courier-authdaemon, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/courier-authdaemon_0.58-
4ubuntu1_i386.deb (--install):
 subprocess new pre-removal script returned error exit status 1
 * Starting Courier authdaemon...                                                                                                
/usr/lib/courier/authlib/authdaemond: line 31: /usr/sbin/courierlogger: 
No such file or directory
/usr/lib/courier/authlib/authdaemond: line 31: exec: 
/usr/sbin/courierlogger: cannot execute: No such file or directory
                                                                                                                          
[fail]
invoke-rc.d: initscript courier-authdaemon, action "start" failed.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/courier-authdaemon_0.58-4ubuntu1_i386.deb
m

Is there anything further that can be done? I really don't care at this 
point whether courier (or the rest of the email system) can be 
retrieved.

-- 
Cheers,
Marc





More information about the ubuntu-users mailing list