[Bug 1312533] Re: Installing apache2 fails in apache2.preinst when a previous version was in removed state
Bruno Ricardo Siqueira
brunoric at gmail.com
Mon Jun 30 14:02:51 UTC 2014
Same problem here.
vagrant at vagrant-ubuntu-trusty-64:~$ sudo apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
apache2-doc apache2-suexec-pristine apache2-suexec-custom apache2-utils
The following NEW packages will be installed:
apache2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
13 not fully installed or removed.
Need to get 0 B/87.7 kB of archives.
After this operation, 473 kB of additional disk space will be used.
(Reading database ... 61450 files and directories currently installed.)
Preparing to unpack .../apache2_2.4.7-1ubuntu4_amd64.deb ...
Unpacking apache2 (2.4.7-1ubuntu4) ...
dpkg: error processing archive /var/cache/apt/archives/apache2_2.4.7-1ubuntu4_amd64.deb (--unpack):
error setting ownership of `/var/www/html.dpkg-new': Operation not permitted
Processing triggers for man-db (2.6.7.1-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/apache2_2.4.7-1ubuntu4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
vagrant at vagrant-ubuntu-trusty-64:~$
Also, the temporal solution didn't worked for me... =(
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in Ubuntu.
https://bugs.launchpad.net/bugs/1312533
Title:
Installing apache2 fails in apache2.preinst when a previous version
was in removed state
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1312533/+subscriptions
More information about the Ubuntu-server-bugs
mailing list