package mail-stack-delivery 1:1.2.12-1ubuntu7 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
Bug #653362 reported by
Col. SC Sood(Retd)
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dovecot (Ubuntu) |
Fix Released
|
High
|
Clint Byrum | ||
Maverick |
Fix Released
|
High
|
Clint Byrum |
Bug Description
During Upgrade.
ProblemType: Package
DistroRelease: Ubuntu 10.10
Package: mail-stack-delivery 1:1.2.12-1ubuntu7
ProcVersionSign
Uname: Linux 2.6.35-
Architecture: i386
Date: Sat Oct 2 05:27:26 2010
ErrorMessage: subprocess new pre-installation script returned error exit status 1
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release i386 (20100427)
PackageArchitec
SourcePackage: dovecot
Title: package mail-stack-delivery 1:1.2.12-1ubuntu7 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
Related branches
lp:~clint-fewbar/ubuntu/maverick/dovecot/karmic2lucid2maverick-upgrade-fix
- Ubuntu Development Team: Pending requested
-
Diff: 41 lines (+11/-4)2 files modifieddebian/changelog (+7/-0)
debian/mail-stack-delivery.preinst (+4/-4)
Changed in dovecot (Ubuntu Maverick): | |
assignee: | nobody → Clint Byrum (clint-fewbar) |
tags: | added: server-mrs |
To post a comment you must log in.
Hello Col., Thank you for taking the time to file this bug report and help us make Ubuntu better.
The error messages in DpkgTerminalLog.txt that show this failure are here:
Selecting previously deselected package mail-stack- delivery. stack-delivery_ 1%3a1.2. 12-1ubuntu7_ all.deb) ... dpkg/tmp. ci/preinst: 74: /etc/dovecot/ conf.d/ 01-dovecot- postfix. conf: Permission denied dpkg/tmp. ci/preinst: 74: /etc/dovecot/ conf.d/ 01-dovecot- postfix. conf: Permission denied dpkg/tmp. ci/preinst: 74: /etc/dovecot/ auth.d/ 01-dovecot- postfix. auth: Permission denied dpkg/tmp. ci/preinst: 74: /etc/dovecot/ auth.d/ 01-dovecot- postfix. auth: Permission denied dovecot- postfix/ ': Directory not empty apt/archives/ mail-stack- delivery_ 1%3a1.2. 12-1ubuntu7_ all.deb (--unpack):
Unpacking mail-stack-delivery (from .../mail-
/var/lib/
/var/lib/
/var/lib/
/var/lib/
rmdir: failed to remove `/var/backups/
dpkg: error processing /var/cache/
subprocess new pre-installation script returned error exit status 1
This file attempts to rename these files from dovecot-postfix to mail-stack-delivery if they exist.
Is it possible that you have changed the permissions on the directory or files that would cause these errors? Maybe /etc is mounted readonly? The permission denied is odd because these scripts run as root.
I just tested upgrading Lucid -> Maverick with dovecot-postifx installed, and it renamed the file without any errors.
Col, if you could please post the result of
ls -lR /etc/dovecot
That would help us determine whether or not the permissions have been locally modified in a way that breaks the install script, or whether the install scripts need to be changed.
Marking Incomplete pending respond from Col. Sood.