freebsd at redry.net
Tue Nov 29 20:13:59 GMT 2005
On 29 Nov 2005, at 15:21, eoghan wrote:
>>> I think it *is* a bug, but I haven't gotten a complete
>>> understanding of
>>> it yet. The pattern you pass in with the -t option seems to be
>>> dropped before you get to the utility function find_play_pen(),
>>> but so
>>> far I can't seem to figure out how it was supposed to be passed
>>> in the
>>> first place. As a workaround, the PKG_TMPDIR environment
>>> variable seems
>>> to work properly, and can serve your purpose just as well.
>> On further analysis:
>> The issue is specific to the combination of the -r and -t
>> options. It
>> really get back to where the package file gets downloaded to, not the
>> work area that it expands to (which can't be set separately), so I'm
>> not really sure whether to consider it a bug or not. It certainly
>> would require changing some of the pkg_install library APIs to fully
>> separate the concepts. If you download the package by hand and use
>> the -t option, the temporary staging area will be used as you expect.
> Ok will get it manually and thanks for investigating this issue. I
> cant try it now, but if i get the pkg file manually and pkg_add it,
> will this have any effect on its dependencies? I mean will it still
> try "fetch" them remotely?
Ok so I can now answer this myself. No, it looks locally from the
pkg_add: could not find package ORBit-0.5.17_2 !
Ill have to look into using PKG_TMPDIR as you suggested.
More information about the freebsd-questions