package uw-imapd 8:2007b~dfsg-1.1build1 failed to install/upgrade: imapd.pem already installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
uw-imap (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
the upgrade 9.04 -> 9.10 hang with the message imapd.pem already installed. I then tried to move imapd.pem to imapd.pem.bu but the upgrade did not continu. I moved imapd.pem back and stopped the installation of uw.imapd with Ctrl-C. After that the upgrade continued.
ProblemType: Package
Architecture: i386
Date: Thu Nov 19 12:16:34 2009
DistroRelease: Ubuntu 9.10
ErrorMessage:
ErrorMessage: subprocess installed post-installation script killed by signal (Interrupt)
NonfreeKernelMo
Package: uw-imapd 8:2007b~
ProcVersionSign
SourcePackage: uw-imap
Title: package uw-imapd 8:2007b~
Uname: Linux 2.6.28-16-generic i686
tags: | added: dist-upgrade |
Changed in uw-imap (Ubuntu): | |
status: | New → Incomplete |
status: | Incomplete → New |
This happened during an upgrade from karmic to lucid. I looked at the process list and noticed that the lucid installer had forked out to call debconf, like this:
30802 pts/1 S+ 0:00 \_ /usr/bin/perl -w /usr/share/ debconf/ frontend /var/lib/ dpkg/info/ uw-imapd. postinst configure 8:2007b~ dfsg-1. 1build1
30811 pts/1 Z+ 0:00 \_ [uw-imapd.postin] <defunct>
so after about 5 minutes of waiting, I did some straceing and noticed that debconf was just reading over and over against a resource that was not available, (guessing it was trying to talk to a socket from the uw-imapd.postin which was defunct)
assuming that there was no end to the read loop, I terminated the debconf uw-imapd.postinst process with "kill -9 30802" and the lucid installer continued on but gave me the warning about uw-imapd not being installed correctly. I can re-install and fix it easily enough.