Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347792 - php upgrade guide contains invalid package atom syntax
Summary: php upgrade guide contains invalid package atom syntax
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL: http://www.gentoo.org/proj/en/php/php...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-05 11:58 UTC by John Feuerstein
Modified: 2010-12-27 22:06 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 John Feuerstein 2010-12-05 11:58:53 UTC
The following package atom syntax is wrong:

> Code Listing 3.4: Installing both PHP-5.2 and -5.3
> emerge =dev-lang/php:5.2 =dev-lang/php:5.3

Error:

> !!! '=dev-lang/php:5.2' is not a valid package atom.
> !!! Please check ebuild(5) for full details.

After removing the equal signs ("=") it works fine:

$ emerge -av dev-lang/php:5.2 dev-lang/php:5.3

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

Calculating dependencies... done!
[ebuild  N    ] dev-lang/php [5.2.14-r2] ...
[ebuild  N    ] dev-lang/php [5.3.3-r3] ...


Reproducible: Always
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-12-27 22:06:36 UTC
fixed, thx for the report.