pkg_add doesn't keep dependent pkgs

Garrett Cooper youshi10 at u.washington.edu
Tue Nov 6 18:53:01 PST 2007


Maslan wrote:
> That would be great.
> I'll wait for the patch
>
>
> On Nov 6, 2007 1:01 PM, Garrett Cooper <youshi10 at u.washington.edu> wrote:
>   
>> Maslan wrote:
>>     
>>>>     Package dependencies may change, depending on the user settings and
>>>> port maintainers configuration for the port (i.e. Makefiles). The same
>>>> sort of applies to packages as well.
>>>>     Or were you referring to just packages instead of ports based
>>>> package metadata :)?
>>>>     Or maybe a better question is: what are you trying to accomplish?
>>>> -Garrett
>>>>
>>>>
>>>>         
>>> The problem is that i always try FreeBSD snapshots, and each time i
>>> did a fresh install, i found my self in need to install xorg & gnome.
>>> so when i use pkg_add -rK xorg or pkg_add -rK gnome, it just keeps the
>>> package itself only without its dependencies, it would be better for
>>> me to keep the packages i use rather than downloading them every time.
>>>
>>> The ports has no problem with that, since it leaves all the port
>>> dependencies in /usr/ports/distfiles but i prefer packages than
>>> recompiling every time i install a fresh system something like gnome
>>> would eat my day compiling it.
>>>       
>> Hmm... that is indeed silly.
>>
>> Let me see if I can fire up a patch for that little issue sometime
>> either next week or the week after to fix that.
>>
>> -Garrett
    That's assuming (IIRC) pkg_add doesn't invoke libfetch related APIs 
directly and extract straight to the command line. It may take a bit 
more work than I initially think, but a patch *should* be trivial to create.
-Garrett


More information about the freebsd-hackers mailing list