Comment 4 for bug 1312533

Revision history for this message
Bruno Ricardo Siqueira (brunoric) wrote :

Same problem here.

    vagrant@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@vagrant-ubuntu-trusty-64:~$

Also, the temporal solution didn't worked for me... =(