Installing apache2 fails in apache2.preinst when a previous version was in removed state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Debian) |
Fix Released
|
Unknown
|
|||
apache2 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
crashes on install
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: apache2 (not installed)
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
Apache2ConfdDir
Apache2Modules: Error: [Errno 2] No such file or directory: '/usr/sbin/
ApportVersion: 2.14.1-0ubuntu3
AptOrdering:
apache2: Install
apache2: Configure
Architecture: amd64
Date: Thu Apr 24 21:24:30 2014
DpkgTerminalLog:
Preparing to unpack .../apache2_
/var/lib/
dpkg: error processing archive /var/cache/
subprocess new pre-installation script returned error exit status 1
DuplicateSignature: package:
ErrorMessage: subprocess new pre-installation script returned error exit status 1
InstallationDate: Installed on 2013-06-02 (326 days ago)
InstallationMedia: Xubuntu 13.04 "Raring Ringtail" - Release amd64 (20130423.1)
SourcePackage: apache2
Title: package apache2 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
UpgradeStatus: Upgraded to trusty on 2014-04-25 (0 days ago)
error.log:
[Thu Apr 24 13:47:18 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.
[Thu Apr 24 15:34:47 2014] [notice] caught SIGTERM, shutting down
modified.
modified.
mtime.conffile.
mtime.conffile.
tags: | removed: need-duplicate-check |
Changed in apache2 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in apache2 (Debian): | |
status: | Unknown → New |
Changed in apache2 (Debian): | |
status: | New → Fix Released |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
Reproduced. I installed apache2 on Saucy, removed it (without purging), and then installed the apache2 package from Trusty.