DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So just upgraded from sarge to etch and it seams to have most things installed ok except
The following. what can i do with this?
I think this is because i said no to overwriting the configuration file when doing an dist-upgrade.
Quote:
Password:
Sorry, try again.
Password:
Reading package lists... Done
Building dependency tree... Done
dovecot-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
4 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up apache-ssl (1.3.34-4.1) ...
Starting apache-ssl 1.3 web server... failed!
invoke-rc.d: initscript apache-ssl, action "start" failed.
dpkg: error processing apache-ssl (--configure):
subprocess post-installation script returned error exit status 1
Setting up dovecot-common (1.0.rc15-2) ...
You already have ssl certs for dovecot.
Starting mail server: dovecotError: Error in configuration file /etc/dovecot/dovecot.conf line 40: Unknown setting: ssl_parameters_file
invoke-rc.d: initscript dovecot, action "start" failed.
dpkg: error processing dovecot-common (--configure):
subprocess post-installation script returned error exit status 89
dpkg: dependency problems prevent configuration of dovecot-imapd:
dovecot-imapd depends on dovecot-common (>= 1.0.beta3-1); however:
Package dovecot-common is not configured yet.
dpkg: error processing dovecot-imapd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dovecot-pop3d:
dovecot-pop3d depends on dovecot-common (>= 1.0.beta3-1); however:
Package dovecot-common is not configured yet.
dpkg: error processing dovecot-pop3d (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apache-ssl
dovecot-common
dovecot-imapd
dovecot-pop3d
E: Sub-process /usr/bin/dpkg returned an error code (1)
Starting apache-ssl 1.3 web server... failed!
invoke-rc.d: initscript apache-ssl, action "start" failed.
dpkg: error processing apache-ssl (--configure):
subprocess post-installation script returned error exit status 1
Code:
sh -x /var/lib/dpkg/info/apache-ssl.postinst
Try to see why it fails
Quote:
Starting mail server: dovecotError: Error in configuration file /etc/dovecot/dovecot.conf line 40:
Hum yes for this one, you will need to merge your own modified sarge-configuration with the new etch version.
If you have modified dovecot conf file, move it to somewhere else, like /etc/dovecot/orig-dovecot.conf
then reinstall the package (this dovecot.conf is not defined in dovecot-common as a configuration file, so reinstalling the package should pull the current debian dovecot.conf), maybe
Code:
apt-get -f --reinstall install dovecot-common
Then you can use tkdiff to merge your old config and the new config from repos.
namit:/etc/ssl/certs$ sudo apt-get -f --reinstall install dovecot-common
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 0B/1129kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 57104 files and directories currently installed.)
Preparing to replace dovecot-common 1.0.rc15-2 (using .../dovecot-common_1.0.rc15-2_i386.deb) ...
Stopping mail server: dovecot .
Unpacking replacement dovecot-common ...
Setting up apache-ssl (1.3.34-4.1) ...
Starting apache-ssl 1.3 web server... failed!
invoke-rc.d: initscript apache-ssl, action "start" failed.
dpkg: error processing apache-ssl (--configure):
subprocess post-installation script returned error exit status 1
Setting up dovecot-common (1.0.rc15-2) ...
You already have ssl certs for dovecot.
Errors were encountered while processing:
apache-ssl
E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo rm /etc/ssl/dovecot.pem
ran again
Quote:
namit@mailman:/etc/ssl/certs$ sudo apt-get -f --reinstall install dovecot-common apache-ssl
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 0B/1129kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 57104 files and directories currently installed.)
Preparing to replace dovecot-common 1.0.rc15-2 (using .../dovecot-common_1.0.rc15-2_i386.deb) ...
Stopping mail server: dovecot .
Unpacking replacement dovecot-common ...
Setting up apache-ssl (1.3.34-4.1) ...
Starting apache-ssl 1.3 web server... failed!
invoke-rc.d: initscript apache-ssl, action "start" failed.
dpkg: error processing apache-ssl (--configure):
subprocess post-installation script returned error exit status 1
Setting up dovecot-common (1.0.rc15-2) ...
Creating generic self-signed certificate: /etc/ssl/certs/dovecot.pem
(replace with hand-crafted or authorized one if needed).
Warning : Bad SSL config, can't generate certificate
chown: cannot access `/etc/ssl/certs/dovecot.pem': No such file or directory
chgrp: cannot access `/etc/ssl/certs/dovecot.pem': No such file or directory
chmod: cannot access `/etc/ssl/certs/dovecot.pem': No such file or directory
Errors were encountered while processing:
apache-ssl
E: Sub-process /usr/bin/dpkg returned an error code (1)
when icedove was reinstalled, everything was fine
then you removed one file which is not included in the package, so reinstalling was not necessary.
Your icedove problem is now specific to icedove, which I don't know.
Try dpkg-reconfigure icedove (or icedove-common) or search in the documentation how to generate the certificates.
Maybe sudo rm /etc/ssl/certs/dovecot.pem followed by dpkg-reconfigure icedove-common would have worked. dunno..
Then the apt-get -f --reinstall install dovecot-common crashes
Quote:
namit@mailman:~$ sudo apt-get -f --reinstall install dovecot-common
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 0B/1129kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 57113 files and directories currently installed.)
Preparing to replace dovecot-common 1.0.rc15-2 (using .../dovecot-common_1.0.rc15-2_i386.deb) ...
Stopping mail server: dovecot .
Unpacking replacement dovecot-common ...
Setting up apache-ssl (1.3.34-4.1) ...
Starting apache-ssl 1.3 web server... failed!
invoke-rc.d: initscript apache-ssl, action "start" failed.
dpkg: error processing apache-ssl (--configure):
subprocess post-installation script returned error exit status 1
Setting up dovecot-common (1.0.rc15-2) ...
You already have ssl certs for dovecot.
Errors were encountered while processing:
apache-ssl
E: Sub-process /usr/bin/dpkg returned an error code (1)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.