The Puppet Labs Issue Tracker has Moved:

Bug #1111

provider/package/portage.rb: packages with multiple installed versions not matched

Added by Tais Hansen almost 7 years ago. Updated almost 7 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Luke Kanies% Done:


Target version:-
Affected Puppet version:0.25.4 Branch:

We've Moved!

Ticket tracking is now hosted in JIRA:

This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.


When eix cache reports packages with multiple installed versions the regex match fails. I’m attaching an improved regex which should handle all (even obscure) situations and also validates versions according to the gentoo ebuild naming specs. I’ve tested against the full eix cache output and it seems to correctly parse all entries.

0001-Improved-regex-fixes-not-matching-packages-with-mult.patch Magnifier (2.44 KB) Tais Hansen, 03/04/2008 04:57 pm

0004-Improved-regex.patch Magnifier (2.48 KB) Tais Hansen, 03/04/2008 05:37 pm

Related issues

Related to Puppet - Bug #2125: Puppet incorrectly reports a package not found on Gentoo Needs More Information 04/01/2009


#1 Updated by James Turnbull almost 7 years ago

Applied in commit commit:4c47656a5f78ff3b13413e5d51948f3f3f36b60d in branch 0.24.x

#2 Updated by Tais Hansen almost 7 years ago

Sorry, for the multiple patches. I’m not quite used to git.

#3 Updated by Luke Kanies almost 7 years ago

  • Status changed from 1 to Closed
  • 7 set to fixed


Also available in: Atom PDF