The Puppet Labs Issue Tracker has Moved:

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using See the following page for information on filing tickets with JIRA:

Bug #1111

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

Added by Tais Hansen about 8 years ago. Updated about 8 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:


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 about 8 years ago

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

#2 Updated by Tais Hansen about 8 years ago

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

#3 Updated by Luke Kanies about 8 years ago

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


Also available in: Atom PDF