[Bug 1312533] Re: Installing apache2 fails in apache2.preinst when a previous version was in removed state
This bug was fixed in the package apache2 - 2.4.10-8ubuntu2 --- apache2 (2.4.10-8ubuntu2) vivid; urgency=medium * Allow triggers-awaited and triggers-pending states in addition to installed when determining whether to defer actions or process deferred actions (LP: #1393832). -- Colin Watson cjwat...@ubuntu.com Wed, 26 Nov 2014 11:31:44 + ** Changed in: apache2 (Ubuntu) Status: Triaged = Fix Released -- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1312533] Re: Installing apache2 fails in apache2.preinst when a previous version was in removed state
This bug was fixed in the package apache2 - 2.4.10-8ubuntu2 --- apache2 (2.4.10-8ubuntu2) vivid; urgency=medium * Allow triggers-awaited and triggers-pending states in addition to installed when determining whether to defer actions or process deferred actions (LP: #1393832). -- Colin Watson cjwat...@ubuntu.com Wed, 26 Nov 2014 11:31:44 + ** Changed in: apache2 (Ubuntu) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312533] Re: Installing apache2 fails in apache2.preinst when a previous version was in removed state
** Changed in: apache2 (Debian) Status: New = Fix Released -- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1312533] Re: Installing apache2 fails in apache2.preinst when a previous version was in removed state
** Changed in: apache2 (Debian) Status: New = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312533] Re: Installing apache2 fails in apache2.preinst when a previous version was in removed state
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... =( -- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1312533] Re: Installing apache2 fails in apache2.preinst when a previous version was in removed state
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... =( -- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1312533] Re: Installing apache2 fails in apache2.preinst when a previous version was in removed state
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... =( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312533] Re: Installing apache2 fails in apache2.preinst when a previous version was in removed state
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... =( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312533] Re: Installing apache2 fails in apache2.preinst when a previous version was in removed state
A temporal solution from this url: http://www.ctheroux.com/2014/05/preinst-line-118-a2query-command-not-found/ -- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1312533] Re: Installing apache2 fails in apache2.preinst when a previous version was in removed state
A temporal solution from this url: http://www.ctheroux.com/2014/05/preinst-line-118-a2query-command-not-found/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312533] Re: Installing apache2 fails in apache2.preinst when a previous version was in removed state
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. ** Summary changed: - package apache2 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1 + Installing apache2 fails in apache2.preinst when a previous version was in removed state -- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1312533] Re: Installing apache2 fails in apache2.preinst when a previous version was in removed state
** Bug watch added: Debian Bug tracker #745812 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745812 ** Also affects: apache2 (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745812 Importance: Unknown Status: Unknown ** Changed in: apache2 (Ubuntu) Status: New = Triaged ** Changed in: apache2 (Ubuntu) Importance: Undecided = Medium -- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1312533] Re: Installing apache2 fails in apache2.preinst when a previous version was in removed state
** Changed in: apache2 (Debian) Status: Unknown = New -- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1312533] Re: Installing apache2 fails in apache2.preinst when a previous version was in removed state
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. ** Summary changed: - package apache2 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1 + Installing apache2 fails in apache2.preinst when a previous version was in removed state -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312533] Re: Installing apache2 fails in apache2.preinst when a previous version was in removed state
** Bug watch added: Debian Bug tracker #745812 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745812 ** Also affects: apache2 (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745812 Importance: Unknown Status: Unknown ** Changed in: apache2 (Ubuntu) Status: New = Triaged ** Changed in: apache2 (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312533] Re: Installing apache2 fails in apache2.preinst when a previous version was in removed state
** Changed in: apache2 (Debian) Status: Unknown = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs