To: None <gnats-bugs@gnats.netbsd.org>
From: None <wsimpson@greendragon.com>
List: netbsd-bugs
Date: 06/24/2003 16:55:34
>Number: 21980
>Category: pkg
>Synopsis: [RFE] pkg_add (or pkg_locate) directly from <category>/<package>
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Jun 24 16:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: william allen simpson
>Release: 1.6U
>Organization:
daydreamer
>Environment:
i386
>Description:
The documentation at
http://netbsd.org/Documentation/software/packages.html
is much easier for binary packages than for working on -current.
That is, pkg_add <package> supposedly downloads and installs.
I tried it in -current, and it didn't work. I also tried the
form ftp://..., and that didn't work either.
Instead, I had to haul down the ENTIRE tree via CVS (documentation at
http://netbsd.org/Documentation/pkgsrc/using.html#id2959252
worked reasonably well), only then could 'cd /usr/pkgsrc/editors/joe'
(in my case, misc/screen).
>How-To-Repeat:
>Fix:
I want 'pkg_add <package>' to AUTOMATICALLY download the correct
/usr/pkgsrc/<category>/<package>, and compile from there.
(1) locate best mirror by ping, from list of mirrors installed with
the system, and update the list for the next time.
(2) check to see whether there are pre-compiled binaries.
(3) CVS only the needed part of the package tree.
(4) etc. etc. etc.
In the alternative, a new utility pkg_locate could handle it, but it
does seem to be a basic part of the task, now done manually.
>Release-Note:
>Audit-Trail:
>Unformatted: