Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166910 - emerge: apr and apr-util blocks apache1 and apache2
Summary: emerge: apr and apr-util blocks apache1 and apache2
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-14 21:52 UTC by Dale Fountain
Modified: 2007-02-14 22:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dale Fountain 2007-02-14 21:52:12 UTC
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? 

Reproducible: Always

Steps to Reproduce:
1.emerge --sync
2.emerge -av apr-util


Actual Results:  
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):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-14 22:00:10 UTC
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
re-emerge  everything

http://www.gentoo.org/doc/en/apache-upgrading.xml
Comment 2 Dale Fountain 2007-02-14 22:07:12 UTC
Sorry, there are still people that use both. Blowing away my old apache1 or even the apache2 installation is not an option. Thanks, though. 
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-02-14 22:10:09 UTC
(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).



Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-02-14 22:10:31 UTC
Closed.
Comment 5 Dale Fountain 2007-02-14 22:38:41 UTC
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 ?
    cmd.perform(local_opts)
  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.

Thanks.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-02-14 22:41:31 UTC
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.

Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-02-14 22:42:17 UTC
Closing, don't reopen this bug. This is not a support forum for installs unmaintained for ages.