Sign in to follow this  
Followers 0
natas

Gentoo Emerge Problem With Blocked Packages

7 posts in this topic

Can someone tell me how I can block php-5.1.4 from being installed so that I can get emerge to work again? I'm pretty sure thats what I need to do, right?

Whenever I try to run emerge I get this now.

gentoo etc # emerge --update --deep world

Calculating world dependencies ...done!

!!! Error: the dev-php/mod_php package conflicts with another package.

!!! both can't be installed on the same system together.

!!! Please use 'emerge --pretend' to determine blockers.

[blocks B ] dev-php/mod_php (is blocking dev-lang/php-5.1.4)

[blocks B ] dev-php/php (is blocking dev-lang/php-5.1.4)

0

Share this post


Link to post
Share on other sites

Can someone tell me how I can block php-5.1.4 from being installed so that I can get emerge to work again? I'm pretty sure thats what I need to do, right?

Whenever I try to run emerge I get this now.

gentoo etc # emerge --update --deep world

Calculating world dependencies ...done!

!!! Error: the dev-php/mod_php package conflicts with another package.

!!! both can't be installed on the same system together.

!!! Please use 'emerge --pretend' to determine blockers.

[blocks B ] dev-php/mod_php (is blocking dev-lang/php-5.1.4)

[blocks B ] dev-php/php (is blocking dev-lang/php-5.1.4)

http://www.gentoo.org/doc/en/handbook/hand...hap=1#doc_chap4

(Gotta scroll down a little)

Can you unmerge php before you update?

0

Share this post


Link to post
Share on other sites

I don't want php 5, I want to stick with the 4.x version that I have, so I actually want the package to be blocked. I read that bit in the Gentoo handbook before posting here. It says

To fix a blockage, you can choose to not install the package or unmerge the conflicting package first. In the given example, you can opt not to install postfix or to remove ssmtp first.

I want to choose to not install the package. I don't want to unmerge php 4.x.

0

Share this post


Link to post
Share on other sites

THANK YOU hac! I :heart: you.

0

Share this post


Link to post
Share on other sites

OK now I'm getting this...

gentoo ~ # emerge --update --deep world

Calculating world dependencies ...done!

>>> emerge (1 of 9) dev-db/phpmyadmin-2.8.0.4 to /

>>> md5 files ;-) phpmyadmin-2.8.1.ebuild

>>> md5 files ;-) phpmyadmin-2.8.0.4.ebuild

>>> md5 files ;-) files/digest-phpmyadmin-2.8.0.4

>>> md5 files ;-) files/digest-phpmyadmin-2.8.1

>>> md5 files ;-) files/mysql-setup.sql.in-2.5.6

>>> md5 files ;-) files/reconfig-2.8

>>> md5 files ;-) files/config.default.php-2.8.0.patch

>>> md5 files ;-) files/postinstall-en-2.8.0.txt

>>> md5 src_uri ;-) phpMyAdmin-2.8.0.4.tar.bz2

* You already have something installed in //var/www/localhost/htdocs/phpmyadmin

* Are you trying to install over the top of something I cannot upgrade?

*

* I can upgrade the contents of //var/www/localhost/htdocs/phpmyadmin

*

*

* Using dev-lang/php-4.4.2-r2

*

* Checking for required PHP feature(s) ...

* Discovered missing USE flag: unicode

*

* dev-lang/php-4.4.2-r2 needs to be re-installed with all of the following

* USE flags enabled:

*

* pcre session unicode

*

* as well as any of the following USE flags enabled:

*

* mysql or mysqli if using dev-lang/php-5

* mysql if using dev-lang/php-4

*

!!! ERROR: dev-db/phpmyadmin-2.8.0.4 failed.

!!! Function pkg_setup, Line 37, Exitcode 0

!!! Re-install dev-lang/php-4.4.2-r2

!!! If you need support, post the topmost build error, NOT this status message.

0

Share this post


Link to post
Share on other sites

[..]

And what do you get when you try this?!

USE="pcre session unicode mysql" emerge -v '=php-4.4.2-r2'

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0