pkg_add don't understand stems anymore! SOLVED
macintoshzoom
macintoshzoom at lavabit.com
Tue Aug 12 12:54:46 PDT 2008
Hi Frank, Marc, all,
SOLVED!:
The problem was:
1-You say that a PKG_PATH must be set, as there is no default one. OK
Anyway, I tested with and without PKG_PATH.
2-I am testing a FETCH_CMD using wget, which it seems it don't
understand "stems" as yes ftp does (the default OpenBSD fetcher).
So for pkg_add via wget I have to specify the package name including
extension (must test more about this):
# pkg_add -v -i bmp-0.9.7p13.tgz
blahblah
bmp-0.9.7p13: complete
#
Thanks for your help.
May be I got confused by pbrowser which yes, if you don't start it with
the command -p "PKG_PATH" (or setup the path from its Edit>Package Path
menu) it fetch everything from OpenBSD.org by default, a clever option
for newbies.
So, if I don't specify somewhere the PKG_PATH, pkg_add and probably also
make will not work!
This is why pkg_add didn't understand stems.
BUT this way a newly installed OpenBSD would not be able to install
anything till the new user finds how to and set-up a PKG_PATH.
An added pain for new users.
Why not a preset OpenBSD.org PKG_PATH?
To minimize and distribute traffic so individual servers are under less
strain fetching could be done via an automated mirror's load balancer
system, a metalink system http://www.metalinker.org/ or similar else.
Mac
Frank Bax wrote:
> macintoshzoom wrote:
>> After updating to OpenBSD 4.4-current (GENERIC.MP), rebuilt userland, I
>> am preparing my attack to the updating of my installed packages and ports.
>>
>> I got an issue probably related to syntax or eventually to my
>> sophisticated experimental proxy environment (everything via tor).
>>
>> I tested also doing # export PKG_PATH= <empty> , just to let the system
>> to check for the OpenBSD.org proper site if in need to verify or fetch
>> something.
>>
>> # pkg_add kdelibs
>> Can't resolve kdelibs
>> #
>>
>> What could be wrong?
>
>
>
> Where did you get the idea that PKG_PATH=<empty> will search
> openbsd.org? It does not.
> _______________________________________________
> Openbsd-newbies mailing list
> Openbsd-newbies at sfobug.org
> http://mailman.theapt.org/listinfo/openbsd-newbies
>
More information about the Openbsd-newbies
mailing list