On Wed, 2005-12-07 at 17:46 +0200, Catalin Grigoroscuta wrote:
> Isn't qpkg deprecated?
> Does anybody know the equivalent un-deprecated replacement of this
> command?
> 
> Neil Bothwick wrote: 
> > As posted yesterday:
> > 
> > qpkg -I -nc -g kde-base | xargs emerge --prune

The replacement is equery.  However since equery lists version numbers
in it's output, the command to replace the above is more complex:

equery -q list -f kde-base/.* | sed 's/-r[0-9].*$//;s/\(^.*\/*\)-.*/\1/' | uniq 
| xargs emerge --prune

Another option is app-portage/portage-utils.  Using the qlist applet,
the above command is:

qlist -C -I kde-base | uniq | xargs emerge --prune

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list

Reply via email to