Re: [gentoo-user] Problem with udpate

2005-09-12 Thread Holly Bostick
Sébastien MORAND schreef:
 pyrenees:~ # emerge -uNDvp world
 
 These are the packages that I would merge, in order:
 
 Calculating world dependencies ...done!
 [blocks B ] dev-php/php (is blocking dev-lang/php-5.0.5)
 [blocks B ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.3.6)
 [blocks B ] media-libs/giflib (is blocking media-libs/libungif-4.1.3)
 [ebuild  N] media-libs/giflib-4.1.3  +X +gif 0 kB
 [ebuild  N] dev-php/php-4.4.0  +X +berkdb +crypt +curl -debug +doc -fdftk
 +firebird -flash +freetds +gd -gd-external +gdbm -gmp -hardenedphp -imap
 -informix +ipv6 +java +jpeg +kerberos +ldap -mcal -memlimit -mssql +mysql
 +ncurses +nls -oci8 +odbc +pam +png +postgres +readline -snmp +spell +ssl 
 +tiff
 +truetype +xml2 -yaz 0 kB
 [ebuild UD] sys-devel/gcc-3.3.5.20050130-r1 [3.3.6] (-altivec) -bootstrap
 -boundschecking -build +fortran +gcj +gtk -hardened -ip28 (-multilib)
 -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp +objc -static -vanilla 0 kB
 
 Total size of downloads: 0 kB
 pyrenees:~ # emerge -C dev-php/php media-libs/giflib
 
 --- Couldn't find dev-php/php to unmerge.
 
 --- Couldn't find media-libs/giflib to unmerge.
 
 
unmerge: No packages selected for removal.
 

You clearly know how to clear a block, but your syntax for unmerging the
blocking packages is wrong, which is why it's not working.

If you want to unmerge the specific version of the package (for this
example, let us assume php-5.0.5), the correct syntax is

emerge -C =dev-php/php-5.0.5

If you want to unmerge any or all versions of the package currently
installed, letting Portage decide which to unmerge, the correct syntax is

emerge -C php

So what you typed makes no sense to Portage.

Hope this helps,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem with udpate

2005-09-12 Thread Sébastien MORAND
 You clearly know how to clear a block, but your syntax for unmerging the
 blocking packages is wrong, which is why it's not working.

 If you want to unmerge the specific version of the package (for this
 example, let us assume php-5.0.5), the correct syntax is

 emerge -C =dev-php/php-5.0.5

 If you want to unmerge any or all versions of the package currently
 installed, letting Portage decide which to unmerge, the correct syntax is

 emerge -C php

Ok, but this will remove php-5, and that's not what I want. I want to remove
dev-php/php any version, but I do that (I think the right syntax to do it is
emerge -C dev-php/php), I got the previous message, obvisoualy there is an
inconsistence on my system:
- To update a package that is blocked by another package is required
- The required package is not installed.

It looks like the point is php has migrated. The version 4.x and below are
located in dev-php and the version 5.x and above are locate in dev-lang, so is
there an inconsistency in the portage tree when unmasking php-5.x and above?


This message was sent using IMP, the Internet Messaging Program.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem with udpate

2005-09-12 Thread Sébastien MORAND
 This is Gentoo's daft syntax again!  What you need here is not
 # emerge -C giflib, as you would reasonably expect, but
 # emerge -C libungif

I can't do that, libungif is required on my system.

I'm pretty sure some programs won't run anymore if I remove it, but I can test
anyway


This message was sent using IMP, the Internet Messaging Program.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem with udpate

2005-09-12 Thread Holly Bostick
Sébastien MORAND schreef:
 You clearly know how to clear a block, but your syntax for 
 unmerging the blocking packages is wrong, which is why it's not 
 working.
 
 If you want to unmerge the specific version of the package (for 
 this example, let us assume php-5.0.5), the correct syntax is
 
 emerge -C =dev-php/php-5.0.5
 
 If you want to unmerge any or all versions of the package 
 currently installed, letting Portage decide which to unmerge, the 
 correct syntax is
 
 emerge -C php
 
 
 Ok, but this will remove php-5, and that's not what I want. I want to
  remove dev-php/php any version, but I do that (I think the right 
 syntax to do it is emerge -C dev-php/php), I got the previous 
 message, obvisoualy there is an inconsistence on my system: - To 
 update a package that is blocked by another package is required - The
  required package is not installed.

No, the right syntax to do that (remove php any and all versions) is

emerge -C php

There is no syntax that includes the cat-egory without both a version
number and a mathematical symbol, such as

emerge -C =dev-php/php-5.0.5 (unmerges all versions greater than or
equal to php-5.0.5)
emerge -C =dev-php/php-5.0.5 (unmerges only php-5.0.5)
emerge -C dev-php/php-5.0.5 (unmerges all versions lower than php-5.0.5)

emerge -C dev-lang/php is not valid, because it includes the cat-egory
(dev-lang) without specifying a version.

If you don't want to specify a version, only use the package name,
without the category. If you want to specify a version, use a
mathematical symbol (for precision, using =, , and  either alone or in
combination with each other), aand the version number.

 
 It looks like the point is php has migrated. The version 4.x and 
 below are located in dev-php and the version 5.x and above are locate
  in dev-lang, so is there an inconsistency in the portage tree when 
 unmasking php-5.x and above?

Well, yes and no. If you ultimately want php v.5 on your system, unmerge
the current version, then re-emerge =dev-lang/php-5.0.5, then see if it
still blocks the program you are trying to emerge. It's possible that
the block exists because of the php migration to a new category, and the
program itself needs to be unmerged and re-emerged with the correct
category, rather than a block due to functionality clash between the two
programs.

If the block remains, it's because the program you're trying to emerge
either will
emerge php v.5 as a dependency or the program replicates its function in
some way, so  unmerge 5.0.5 (again), and emerge what was blocked by it,
then re-(re-)emerge php-5.0.5 (if you still need to do that).

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list