package apache2 (not installed) failed to install/upgrade: error setting ownership of '/var/www/html.dpkg-new': Operation not permitted

Bug #1742871 reported by Salman A. Kamkoriwala on 2018-01-12
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)
Undecided
Unassigned

Bug Description

Error Installing

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: apache2 (not installed)
ProcVersionSignature: Ubuntu 4.13.0-26.29~16.04.2-generic 4.13.13
Uname: Linux 4.13.0-26-generic x86_64
Apache2ConfdDirListing: False
Apache2Modules: Error: [Errno 2] No such file or directory: '/usr/sbin/apachectl'
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Fri Jan 12 11:46:36 2018
DuplicateSignature:
 package:apache2:(not installed)
 Unpacking apache2 (2.4.18-2ubuntu3.5) ...
 dpkg: error processing archive /var/cache/apt/archives/apache2_2.4.18-2ubuntu3.5_amd64.deb (--unpack):
  error setting ownership of '/var/www/html.dpkg-new': Operation not permitted
ErrorMessage: error setting ownership of '/var/www/html.dpkg-new': Operation not permitted
InstallationDate: Installed on 2018-01-11 (0 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.3
 apt 1.2.24
SourcePackage: apache2
Title: package apache2 (not installed) failed to install/upgrade: error setting ownership of '/var/www/html.dpkg-new': Operation not permitted
UpgradeStatus: No upgrade log present (probably fresh install)
error.log: Error: [Errno 2] No such file or directory: '/var/log/apache2/error.log'

tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers