NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/32024

The following reply was made to PR bin/32024; it has been noted by GNATS.

From: Hubert Feyrer <>
Subject: Re: bin/32024
Date: Fri, 5 Jun 2009 08:58:10 +0200 (CEST)

 Let me follow-up on this one:
 Joerg wrote:
 > At least lsbest is still used by code and the suggested status codes
 > would break that.
 What code do you expect to break?
 > pkg_info -e has the intended behavior, with inverted return code.
 > Is that good enough for your purposes?
 Unfortunately not. AFAIK pkg_info only works for installed packages, with 
 "pkg_admin ls{all,best}" i can search a repository of binary packages and 
 see if there's a matching one.
 An example application would be to use "pkg_info -f" to determine a 
 package's dependencies, and then use "pkg_admin lsbest" to see if there 
 are binary packages available that match the requested dependency, and act 
 upon it. That's what I've done in the past to determine what packages need 
 to go on a CD with packages, e.g. to see "what binary packages to I need 
 to run KDE".
   - Hubert

Home | Main Index | Thread Index | Old Index