[packagekit] yum backend free filter

Richard Hughes hughsient at gmail.com
Thu Dec 20 11:47:31 PST 2007


On Thu, 2007-12-20 at 14:30 -0500, Robin Norwood wrote:
> Ok, fixed, sorry for the breakage.

Found a problem - the logic is wrong:

[hughsie at hughsie-laptop PackageKit]$ sudo /usr/share/PackageKit/helpers/yum/search-name.py "free" power
allow-interrupt true
no-percentage-updates
status  query

[hughsie at hughsie-laptop PackageKit]$ sudo /usr/share/PackageKit/helpers/yum/search-name.py "~free" power
allow-interrupt true
no-percentage-updates
status  query
package installed       gnome-power-manager;2.21.1-1.95.20071116svn.fc7.hughsie;i386;installed  GNOME Power Manager
package installed       powertop;1.8-1.fc8;i386;installed       Power consumption monitor
package available       kadu-powerkadu;0.5.0-4.fc8;i386;fedora  Powerkadu module for Kadu
package available       kpowersave-debuginfo;0.7.3-0.2svn20070828.fc8;i386;fedora-debuginfo     Debug information for package kpowersave
package available       gnome-power-manager-debuginfo;2.20.0-6.fc8;i386;fedora-debuginfo        Debug information for package gnome-power-manager
package available       powertop-debuginfo;1.8-1.fc8;i386;fedora-debuginfo      Debug information for package powertop
package available       kpowersave-debuginfo;0.7.3-1.fc8;i386;updates-debuginfo Debug information for package kpowersave
package available       powermanga;0.90-1;i386;fedora   Arcade 2D shoot-them-up game
package available       powerman;1.0.25-2.fc7;i386;fedora       PowerMan - Power to the Cluster
package available       powerman-debuginfo;1.0.25-2.fc7;i386;fedora-debuginfo   Debug information for package powerman
package available       kpowersave;0.7.3-0.2svn20070828.fc8;i386;fedora KPowersave is the KDE frontend for powermanagement
package available       powertop;1.8-1.fc8;i386;fedora  Power consumption monitor
package available       kpowersave;0.7.3-1.fc8;i386;updates     KPowersave is the KDE frontend for powermanagement
package available       powermanga-debuginfo;0.90-1;i386;fedora-debuginfo       Debug information for package powermanga
package available       gnome-power-manager;2.20.0-6.fc8;i386;fedora    GNOME Power Manager

Should be an easy fix :-)

Richard.





More information about the PackageKit mailing list