Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
">=app-admin/eselect-php-0.6" masked HELP -- SOLVED
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
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2365
Location: Kentucky

PostPosted: Thu Nov 04, 2010 5:29 pm    Post subject: ">=app-admin/eselect-php-0.6" masked HELP -- SO Reply with quote

When doing a routine update, I got:
Code:

eli ~ # emerge -pv --update world

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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB

!!! The following update has been skipped due to unsatisfied dependencies:

dev-lang/php:5.3

!!! All ebuilds that could satisfy ">=app-admin/eselect-php-0.6" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-admin/eselect-php-0.6.1 (masked by: ~x86 keyword)

(dependency required by "dev-lang/php-5.3.3-r3" [ebuild])

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Why would a released update to php require a masked dependency? What should I do with this?
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.


Last edited by Moriah on Sun Nov 14, 2010 2:17 am; edited 1 time in total
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Sun Nov 07, 2010 11:20 pm    Post subject: Reply with quote

interesting, I just synced and portage on my system is wanting to install php-5.3.3-r1. Are you by chance using ~x86 php? If so, your problem is that you're telling the system to install a newer version of the php package than the rest of the system. So php 5.3.3-r3 needs eselect whatever, but you didn't tell portage it could install an 'unstable' eselect whatever, so it's blocked.

Typically unmasking ~x86 on one package means you'll also have to do so for it's dependencies.

-- DF
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2365
Location: Kentucky

PostPosted: Sun Nov 07, 2010 11:47 pm    Post subject: Reply with quote

Here is my /etc/portage/package.mask file:
Code:

#=x11-terms/xterm-207
# inhibit upgrade to x.org 7.0
#>=x11-base/xorg-x11-6.9
#=sci-visualization/gnuplot-4.0-r1
#>=media-libs/gd-2.0
# ----------------------------------------------------------------
# clam is broken for 0.95.* see:
# http://forums.gentoo.org/viewtopic-t-752435-highlight-.html?sid=dd52097967116fda916f9c0d1cd42d61
# http://bugs.gentoo.org/show_bug.cgi?id=264952
~app-antivirus/clamav-0.95
~app-antivirus/clamav-0.95.1
#~app-antivirus/clamav-0.95.2
# ----------------------------------------------------------------
#gnome-base/gnome
#media-gfx/graphviz

The last 2 lines were not commented out until 5 minutes ago, but with them commented out, I strill get:
Code:

eli ~ # emerge -pv --update --deep --newuse world

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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB

!!! The following update has been skipped due to unsatisfied dependencies:

dev-lang/php:5.3

!!! All ebuilds that could satisfy ">=app-admin/eselect-php-0.6" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-admin/eselect-php-0.6.1 (masked by: ~x86 keyword)

(dependency required by "dev-lang/php-5.3.3-r3" [ebuild])

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Weird!
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Sat Nov 13, 2010 7:14 pm    Post subject: Reply with quote

Quote:
Here is my /etc/portage/package.mask file:


That's not the relevant file. I think you probably have something like this in /etc/portage/package.keywords:

Code:
dev-lang/php ~x86


So you told the system that it could install an unstable php version, but you didn't tell the system it could install the unstable versions of its dependencies. There are 3 ways to fix the problem.

1) the best solution if you don't need new features in the very latest, ~x86 php is to simply comment out that line in keywords. Install x86 for everything if you can, it's better tested and more importantly you don't end up with conflicting keywords like you have here. #2 will work now, but more conflicts might arise later.

2) add "app-admin/eselect-php ~x86" to package.keywords. You'll then have to apply a process of trial and error as you find any other dependencies for php that must be of a certain ~x86 version. Finally you'll get php to compile and install, but it might not update properly later, or some of the dependencies might really be unstable (read: buggy).

3) research how you can unmask specific versions in package.keywords. You can then avoid the issue with future, similar but slightly different issues with ~x86. In effect you'll be telling the system it can install eselect-php-0.6 even if it is ~x86, but not other versions of ~x86 eselect-php. while this means you might have to update the file more frequently to adjust for future iterations of this problem, it also means you'll not have an issue with installing too-new versions of this and other dependencies.

If you didn't get all that (which would be my fault because I feel it wasn't particularly well explained, sorry) I highly recommend you take option #1. Let the portage maintainers manage the dependencies for you. Of course, if you really need a new feature in ~x86 php right now, you could also apply approach #3 to php itself, saying that the system can install php-5.3.3-r3 but not other ~x86 php versions. But this should be a last resort, if the currently stable php really won't do
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2365
Location: Kentucky

PostPosted: Sun Nov 14, 2010 2:17 am    Post subject: Reply with quote

Thanks! That did the trick. I cleaned up my /etc/portage/package.keywords and did an emerge --update --deep --newuse world and now everything is fine.
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Sun Nov 14, 2010 5:43 am    Post subject: Reply with quote

Excellent! Glad to hear it.
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
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