package courier-imap-ssl 4.10.0-20120615-1ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

Bug #1192419 reported by Michael Brown
38
This bug affects 8 people
Affects Status Importance Assigned to Milestone
courier (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Processing triggers for libreoffice-common ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
 courier-pop-ssl
 courier-imap-ssl
Error in function:

A fatal error occurred

Please report this as a bug and include the files
/var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in
your report. The upgrade has aborted.
Your original sources.list was saved in
/etc/apt/sources.list.distUpgrade.

SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)

ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in _run_hook
    symb['add_info'](report, ui)
  File "/usr/share/apport/general-hooks/ubuntu.py", line 92, in add_info
    apport.hookutils.attach_conffiles(report, package, ui=ui)
  File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 135, in attach_conffiles
    if contents == '[deleted]' or contents.startswith('[inaccessible'):
TypeError: startswith first arg must be bytes or a tuple of bytes, not str

(process:12483): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed
ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in _run_hook
    symb['add_info'](report, ui)
  File "/usr/share/apport/general-hooks/ubuntu.py", line 92, in add_info
    apport.hookutils.attach_conffiles(report, package, ui=ui)
  File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 135, in attach_conffiles
    if contents == '[deleted]' or contents.startswith('[inaccessible'):
TypeError: startswith first arg must be bytes or a tuple of bytes, not str

(process:13004): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed

(apport-gtk:12002): Gdk-WARNING **: apport-gtk: Fatal IO error 0 (Success) on X server :0.

Could not install the upgrades

The upgrade has aborted. Your system could be in an unusable state. A
recovery will run now (dpkg --configure -a).

Please report this bug in a browser at
http://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+filebug
and attach the files in /var/log/dist-upgrade/ to the bug report.
installArchives() failed

Setting up courier-imap-ssl (4.10.0-20120615-1ubuntu1) ...
cp: not writing through dangling symlink ‘/usr/lib/courier/imapd.pem’
chmod: cannot operate on dangling symlink ‘/usr/lib/courier/imapd.pem’
chown: cannot dereference ‘/usr/lib/courier/imapd.pem’: No such file or directory
error on line -1 of /etc/courier/imapd.cnf
3074017480:error:02001002:system library:fopen:No such file or directory:bss_file.c:169:fopen('/etc/courier/imapd.cnf','rb')
3074017480:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:172:
3074017480:error:0E078072:configuration file routines:DEF_LOAD:no such file:conf_def.c:197:
dpkg: error processing courier-imap-ssl (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up courier-pop-ssl (0.68.2-1ubuntu1) ...
cp: not writing through dangling symlink ‘/usr/lib/courier/pop3d.pem’
chmod: cannot operate on dangling symlink ‘/usr/lib/courier/pop3d.pem’
chown: cannot dereference ‘/usr/lib/courier/pop3d.pem’: No such file or directory
error on line -1 of /etc/courier/pop3d.cnf
3073845448:error:02001002:system library:fopen:No such file or directory:bss_file.c:169:fopen('/etc/courier/pop3d.cnf','rb')
3073845448:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:172:
3073845448:error:0E078072:configuration file routines:DEF_LOAD:no such file:conf_def.c:197:
dpkg: error processing courier-pop-ssl (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 courier-imap-ssl
 courier-pop-ssl

Upgrade complete

The upgrade has completed but there were errors during the upgrade
process.

ProblemType: Package
DistroRelease: Ubuntu 13.04
Package: courier-imap-ssl 4.10.0-20120615-1ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-34.55-generic 3.5.7.13
Uname: Linux 3.5.0-34-generic i686
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: i386
Date: Tue Jun 18 22:46:26 2013
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2013-03-03 (107 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
MarkForUpload: True
SourcePackage: courier
Title: package courier-imap-ssl 4.10.0-20120615-1ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to raring on 2013-06-19 (0 days ago)

Revision history for this message
Michael Brown (mike-a-brown09) wrote :
Revision history for this message
Michael Brown (mike-a-brown09) wrote :

/var/log/dist-upgrade/apt.log file from 12.10 to 13.04

Revision history for this message
Michael Brown (mike-a-brown09) wrote :

/var/log/dist-upgrade/main.log from 12.10 to 13.04 upgrade

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in courier (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.