package roundcube-core 1.2~beta+dfsg.1-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
roundcube (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
A "simple" dist-upgrade from 14.04.x to 16.04.1 caused this error/problem.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: roundcube-core 1.2~beta+
ProcVersionSign
Uname: Linux 4.4.0-31-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Fri Jul 29 05:09:23 2016
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2015-11-09 (262 days ago)
InstallationMedia: Xubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
PackageArchitec
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.12~
SourcePackage: roundcube
Title: package roundcube-core 1.2~beta+
UpgradeStatus: Upgraded to xenial on 2016-07-29 (0 days ago)
tags: | removed: need-duplicate-check |
Changed in roundcube (Ubuntu): | |
importance: | Undecided → Medium |
I have the same problem when I upgraded from 14.04 to 16.04. The instruction is to run apt-get -f install and I got this error which obviously is very alien for me as a newbie. Any help will be appreciated. Thank you.
The following packages will be upgraded: core_1. 2~beta+ dfsg.1- 0ubuntu1_ all.deb ... t-helper: error: directory '/var/lib/ roundcube/ config' contains files not owned by package roundcube-core:all, cannot switch to symlink apt/archives/ roundcube- core_1. 2~beta+ dfsg.1- 0ubuntu1_ all.deb (--unpack): db.inc. php that was moved away 1.2~beta+ dfsg.1- 0ubuntu1_ all.deb ... t-helper: error: directory '/usr/share/ doc/roundcube' contains files not owned by package roundcube:all, cannot switch to symlink apt/archives/ roundcube_ 1.2~beta+ dfsg.1- 0ubuntu1_ all.deb (--unpack): apt/archives/ roundcube- core_1. 2~beta+ dfsg.1- 0ubuntu1_ all.deb apt/archives/ roundcube_ 1.2~beta+ dfsg.1- 0ubuntu1_ all.deb
roundcube roundcube-core
2 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
2 not fully installed or removed.
Need to get 0 B/1,930 kB of archives.
After this operation, 5,036 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 324894 files and directories currently installed.)
Preparing to unpack .../roundcube-
dpkg-maintscrip
dpkg: error processing archive /var/cache/
subprocess new pre-installation script returned error exit status 1
Reinstalling /etc/roundcube/
dbconfig-common: flushing administrative password
dpkg: considering deconfiguration of roundcube-core, which would be broken by installation of roundcube ...
dpkg: yes, will deconfigure roundcube-core (broken by roundcube)
Preparing to unpack .../roundcube_
De-configuring roundcube-core (0.9.5-4) ...
dpkg-maintscrip
dpkg: error processing archive /var/cache/
subprocess new pre-installation script returned error exit status 1
dbconfig-common: flushing administrative password
Errors were encountered while processing:
/var/cache/
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)