Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED: apr is blocking apache-2.0.54-r4. How to solve?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
motie
n00b
n00b


Joined: 16 Nov 2003
Posts: 30

PostPosted: Thu Dec 13, 2007 1:05 am    Post subject: SOLVED: apr is blocking apache-2.0.54-r4. How to solve? Reply with quote

I need to upgrade apache but apr is blocking it. I don't know why nor how to prevent it since I'm just trying to upgrade apache (nothing else) and apr is not presently installed. Seems illogical.

I don't know what other data to provide than what's below. Thanks for any help.

Code:
formic ~ # emerge apache --pretend

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] www-servers/apache-2.2.6 [2.0.54-r4] USE="ldap* -mpm-event% -mpm-itk% -mpm-peruser% -mpm-prefork% -mpm-worker% -no-suexec% (-selinux) -static-modules%"
[ebuild  N    ] dev-libs/apr-1.2.11  USE="ipv6 -debug -doc -urandom"
[ebuild  N    ] dev-libs/apr-util-1.2.10  USE="berkdb gdbm ldap mysql -doc -postgres -sqlite -sqlite3"
[ebuild  N    ] app-admin/apache-tools-2.2.6  USE="ssl"
[blocks B     ] dev-libs/apr (is blocking www-servers/apache-2.0.54-r4)
[blocks B     ] dev-libs/apr-util (is blocking www-servers/apache-2.0.54-r4)
[blocks B     ] <www-servers/apache-2.2.4 (is blocking app-admin/apache-tools-2.2.6)


Last edited by motie on Mon Dec 24, 2007 4:44 am; edited 1 time in total
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Thu Dec 13, 2007 5:44 am    Post subject: Reply with quote

You have to unmerge all the blockers before you upgrade, so do this:

Code:

emerge -C apache && emerge apache


This is a case of poor phrasing in the emerge output. It should say:
Quote:

[blocked B ] dev-libs/apr (is blocked by www-servers/apache-2.0.54-r4)
[blocked B ] dev-libs/apr-util (is blocked by www-servers/apache-2.0.54-r4)


so it's clear that it's about packages that can't be installed rather than packages that are installed. Even the technically correct output could use changing. Instead of:

Quote:

[blocks B ] <www-servers/apache-2.2.4 (is blocking app-admin/apache-tools-2.2.6)


it should just substitute the installed version :
Quote:

[blocking B ] =www-servers/apache-2.0.54-r4 (is blocking app-admin/apache-tools-2.2.6)

_________________
Thomas S. Howard
Back to top
View user's profile Send private message
motie
n00b
n00b


Joined: 16 Nov 2003
Posts: 30

PostPosted: Mon Dec 24, 2007 2:12 am    Post subject: Further question Reply with quote

Thanks. Is there a way I can be sure that the upgrade version of apache (apache-2.2.4) doesn't also block apr? I'd like to check this before I unmerge the existing apache version.
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Mon Dec 24, 2007 2:51 am    Post subject: Reply with quote

Just check the ebuild. Anything in the dependencies with a '!' prefixed is a blocker. No "not", no block. In this case, apache-2.2.6 is not blocked by <apr-1 or <apr-util-1; it just needs =apr-1* and =apr-util-1*. You'll probably want to unmerge the old apr and apr-util packages after the upgrade, since it's likely nothing will need them anymore. You can always check w/ "equery depends" to be sure.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
motie
n00b
n00b


Joined: 16 Nov 2003
Posts: 30

PostPosted: Mon Dec 24, 2007 3:12 am    Post subject: Reply with quote

Thank you very much.
Back to top
View user's profile Send private message
motie
n00b
n00b


Joined: 16 Nov 2003
Posts: 30

PostPosted: Mon Dec 24, 2007 4:43 am    Post subject: Reply with quote

Upgrade to apache-2.2.6-r5 went great. Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum