Beim Update von 6.06 auf 8.04 bin ich auf folgende Probleme gestoßen, die das Dist-Upgrade zusammenbrechen lassen:
--
apt-get -y dist-upgrade
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
courier-authdaemon: Depends: courier-base (>= 0.47) but it is not installed
courier-ssl: Depends: courier-base (>= 0.58.0.20080127) but it is not installed
E: Unmet dependencies. Try using -f.
root@ultrabrain:/# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
courier-authdaemon courier-authlib courier-authlib-userdb courier-base
The following NEW packages will be installed:
courier-authlib courier-authlib-userdb courier-base
The following packages will be upgraded:
courier-authdaemon
1 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
388 not fully installed or removed.
Need to get 0B/335kB of archives.
After this operation, 811kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "de_DE.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...
dpkg: error processing courier-authdaemon (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
courier-authdaemon
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ultrabrain:/# dpkg -P courier-authdaemon
dpkg: error processing courier-authdaemon (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
courier-authdaemon
root@ultrabrain:/# dpkg --force-remove-reinstreq -P courier-authdaemon
dpkg - warning, overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 45911 files and directories currently installed.)
Removing courier-authdaemon ...
* Stopping Courier authdaemon... exec: 31: /usr/sbin/courierlogger: not found
[fail]
invoke-rc.d: initscript courier-authdaemon, action "stop" failed.
dpkg: error processing courier-authdaemon (--purge):
subprocess pre-removal script returned error exit status 1
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "de_DE.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
* Starting Courier authdaemon... exec: 31: /usr/sbin/courierlogger: not found
[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:
courier-authdaemon
--
--
apt-get -y dist-upgrade
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
courier-authdaemon: Depends: courier-base (>= 0.47) but it is not installed
courier-ssl: Depends: courier-base (>= 0.58.0.20080127) but it is not installed
E: Unmet dependencies. Try using -f.
root@ultrabrain:/# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
courier-authdaemon courier-authlib courier-authlib-userdb courier-base
The following NEW packages will be installed:
courier-authlib courier-authlib-userdb courier-base
The following packages will be upgraded:
courier-authdaemon
1 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
388 not fully installed or removed.
Need to get 0B/335kB of archives.
After this operation, 811kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "de_DE.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...
dpkg: error processing courier-authdaemon (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
courier-authdaemon
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ultrabrain:/# dpkg -P courier-authdaemon
dpkg: error processing courier-authdaemon (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
courier-authdaemon
root@ultrabrain:/# dpkg --force-remove-reinstreq -P courier-authdaemon
dpkg - warning, overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 45911 files and directories currently installed.)
Removing courier-authdaemon ...
* Stopping Courier authdaemon... exec: 31: /usr/sbin/courierlogger: not found
[fail]
invoke-rc.d: initscript courier-authdaemon, action "stop" failed.
dpkg: error processing courier-authdaemon (--purge):
subprocess pre-removal script returned error exit status 1
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "de_DE.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
* Starting Courier authdaemon... exec: 31: /usr/sbin/courierlogger: not found
[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:
courier-authdaemon
--