package apache2 2.4.18-2ubuntu3.5 failed to install/upgrade: trying to overwrite '/var/www/html', which is also in package nginx-common 1.10.3-0ubuntu0.16.04.2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
i don't know anything
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: apache2 2.4.18-2ubuntu3.5
ProcVersionSign
Uname: Linux 4.4.0-119-generic x86_64
Apache2ConfdDir
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Fri Apr 20 11:08:10 2018
DuplicateSignature:
package:
Unpacking apache2 (2.4.18-2ubuntu3.8) over (2.4.18-2ubuntu3.5) ...
dpkg: error processing archive /var/cache/
trying to overwrite '/var/www/html', which is also in package nginx-common 1.10.3-
ErrorMessage: trying to overwrite '/var/www/html', which is also in package nginx-common 1.10.3-
InstallationDate: Installed on 2018-03-19 (31 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageV
dpkg 1.18.4ubuntu1.4
apt 1.2.26
SourcePackage: apache2
Title: package apache2 2.4.18-2ubuntu3.5 failed to install/upgrade: trying to overwrite '/var/www/html', which is also in package nginx-common 1.10.3-
UpgradeStatus: No upgrade log present (probably fresh install)
error.log:
modified.
mtime.conffile.
tags: | removed: need-duplicate-check |
I just tried to recreate this but they happily work together.
I realized that your apache is slightly outdated with 2.4.18-2ubuntu3.8 beign current now.
But none of the changes since then addressed this issue.
And I see in your logs that on 2018-04-13 13:34:27 you also installed both just fine.
Is that reproducible, which means when you run "apt upgrade" it again fails the same way?