whatbox / PortageGT

PortageGT (short for "Portage using Gentoo") is a replacement Package Provider for Puppet.
https://forge.puppetlabs.com/Whatbox/portagegt
Other
10 stars 2 forks source link

ensure => absent doesn't remove packages #4

Closed anthonyryan1 closed 11 years ago

anthonyryan1 commented 11 years ago

If the exact version of a slot which is installed is no longer available in the portage tree, ensure => absent will think it's already removed and fail to uninstall it.

This is an issue as a result of the use of eix to determine installed versions, unfortunately there is currently no known better solution.

A bug has been created against eix as a result of this: http://developer.berlios.de/bugs/?func=detailbug&bug_id=18950&group_id=11597

anthonyryan1 commented 11 years ago

The upstream considers this beyond the scope of their program, so a replacement or supplement for eix will be necessary to resolve this issue. equery in addition to eix may be the only solution.