I would like to be able to update my apache1 and apache2 installations. However, apr and apr-util is blocking me from upgrading either one, and I can't just install apr and apr-util to unblock the apaches.
Is there a way I can do this without any fiddling around?
Steps to Reproduce:
2.emerge -av apr-util
leo conf # emerge -av apr-util
These are the packages that would be merged, in order:
Calculating dependencies... done!
[blocks B ] dev-libs/apr (is blocking net-www/apache-1.3.33-r1, net-www/apache-2.0.54-r8)
[blocks B ] dev-libs/apr-util (is blocking net-www/apache-1.3.33-r1, net-www/apache-2.0.54-r8)
[ebuild N ] dev-libs/apr-0.9.12 USE="ipv6 -urandom" 1,025 kB
[ebuild N ] dev-libs/apr-util-0.9.12 USE="berkdb gdbm -ldap" 579 kB
Total: 2 packages (2 new, 2 blocks), Size of downloads: 1,603 kB
!!! Error: The above package list contains packages which cannot be installed
!!! at the same time on the same system.
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
Uh, your system is *really* outdated.
emerge -C dev-libs/apr dev-libs/apr-util
emerge -C =apache-1* =apache-2*
move /etc/apache and /etc/apache-2 away
Sorry, there are still people that use both. Blowing away my old apache1 or even the apache2 installation is not an option. Thanks, though.
(In reply to comment #2)
> Sorry, there are still people that use both. Blowing away my old apache1 or
> even the apache2 installation is not an option. Thanks, though.
You apparently didn't even bother to read the linked doc. You need to unmerge everything, then re-emerge from scratch to get a working apache (apache-1 or apache-2 doesn't matter, but the layout you are using has been removed 9+ months ago and is completely incompatible).
My apologies if this is too old, but I don't think that's the case. Here's more information about my setup that I realize now I should have given.
# ls -l /etc/make*
-rw-r--r-- 1 root root 14322 Jan 5 17:19 /etc/make.conf
-rw-r--r-- 1 root root 23202 Feb 13 23:48 /etc/make.conf.example
-rw-r--r-- 1 root root 2934 Feb 13 23:48 /etc/make.globals
lrwxrwxrwx 1 root root 46 Jan 4 15:18 /etc/make.profile -> /usr/portage/profiles/default-linux/x86/2006.1
Versions of apache installed (and what they would be upgraded to)
[ebuild U ] net-www/apache-1.3.34-r14 [1.3.33-r1] USE="pam ssl -doc% -lingerd% (-selinux) -static-modules%" 3,239 kB
[ebuild U ] net-www/apache-2.0.58-r2 [2.0.54-r8] USE="ssl -apache2% -debug% -doc -ldap -mpm-itk% -mpm-leader% -mpm-peruser% -mpm-prefork% -mpm-threadpool% -mpm-worker% (-selinux) -static-modules% -threads (-berkdb%*) (-gdbm%*) (-ipv6%*) (-static%)" 4,652 kB
I read the document you linked to ("Upgrading Apache") and I didn't see where it said I had to completely unmerge both of my apaches.
Also the document wanted me to run this (but I get an error):
# equery depends net-www/apache
[ Searching for packages depending on net-www/apache... ]
Traceback (most recent call last):
File "/usr/bin/equery", line 1639, in ?
File "/usr/bin/equery", line 1058, in perform
deps = pkg.get_runtime_deps() + pkg.get_compiletime_deps() + pkg.get_postmerge_deps()
AttributeError: Package instance has no attribute 'get_postmerge_deps'
I also want to keep my apache1 installation, and not migrate it. The ebuilds for apache1 and apache2 are both available, why, when this worked a month ago, are they broken now? I didn't see anything about deleting apache1 in that document for apache2 to be emerged.
It looks like a simple circular dependency here.
This thing has been depracated over a year, removed 9+ months ago, is *totally* unsupported and *not* upgradable. Go restart from scratch, including all apache modules.
Closing, don't reopen this bug. This is not a support forum for installs unmaintained for ages.