Skip navigation

Aptitude Apache2 Upgrade Wants to Remove Aegir

Help

Aptitude Apache2 Upgrade Wants to Remove Aegir

Tagged:

I am trying to upgrade Apache2. I have Aegir-1.9 installed. But Apache appears to require some service. The problem is that in order to upgrade Apache, apt wants to remove PHP, Aegir, and others! Will performing the upgrade completely and irreversibly hose my Aegir install? I can reinstall everything off of backups if needs be, but what a hassle...

# aptitude install apache2
The following NEW packages will be installed:
  apache2-mpm-worker{ab}
The following packages will be upgraded:
  apache2 apache2.2-bin apache2.2-common
3 packages upgraded, 1 newly installed, 0 to remove and 38 not upgraded.
Need to get 1752 kB of archives. After unpacking 69.6 kB will be used.
The following packages have unmet dependencies:
  apache2-mpm-worker: Conflicts: apache2-mpm which is a virtual package.
  apache2-mpm-prefork: Depends: apache2.2-common (= 2.2.16-6+squeeze6) but 2.2.16-6+squeeze7 is to be installed.
                       Depends: apache2.2-bin (= 2.2.16-6+squeeze6) but 2.2.16-6+squeeze7 is to be installed.
                       Conflicts: apache2-mpm which is a virtual package.
The following actions will resolve these dependencies:

     Remove the following packages:
1)     aegir                      
2)     aegir-hostmaster           
3)     apache2-mpm-prefork        
4)     libapache2-mod-php5        
5)     php5                       



Accept this solution? [Y/n/q/?]

#1

If you have Aegir 1.9 installed, it should have installed apache2 for you. To upgrade Apache, run 'sudo apt-get update' and then 'sudo apt-get upgrade'.

#2

I installed apache a long time ago with an older version of Aegir. Since then, I have upgraded Aegir, which did not force an apache upgrade. However, when I have attempted to upgrade apache or php, I got the output that I pasted.

I want to upgrade apache, but apt wants me to uninstall Aegir to do so. Has anyone experienced this?

Need help?

Discussion

The discussion area lets your team communicate by posting updates and discussing issues. It is a great place for sharing progress, discussing challenges, and exploring ideas.