Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 411741

Summary: emerge won't recognize concrete package version if its name has a "-"
Product: Portage Development Reporter: David Carlos Manuelda <StormByte>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: 2.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Carlos Manuelda 2012-04-12 14:46:28 UTC
I am trying to emerge specific version of pecl-imagick, and so I tried to run:
emerge =pecl-imagick-3.1.0_r1
With this result:
!!! '=pecl-imagick-3.1.0_r1' is not a valid package atom.
!!! Please check ebuild(5) for full details.

It seems that having "-" in package name makes portage not recognize the version I want correcly.

Tested in portage 2.2_alpha100 and I guess this is valid for every package that has "-" in its name.

Expected result:
Emerge processing this concrete version of pecl-imagick
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-04-12 14:58:20 UTC
You passed the wrong version, it should be

# emerge =pecl-imagick-3.1.0_rc1

instead of 3.1.0_r1