[csw-users] Odd problem installing pkg-get

Chris Ridd chris.ridd at isode.com
Tue Feb 28 16:04:38 CET 2006


On 28/2/06 2:59, Krist van Besien <krist.vanbesien at gmail.com> wrote:

> On 2/28/06, Dennis Clarke <blastwave at gmail.com> wrote:
>> On 2/28/06, Krist van Besien <krist.vanbesien at gmail.com> wrote:
>>> Hello.
>>> 
>> 
>> Perhaps try to find the offending files first.
>> 
>> I don't know how large these systems are but perhaps you can run a
>> 
>> find /etc -type f -name pkg-get.conf
>> 
>> and
>> 
>> find /opt -type f -name pkg-get.conf
>> 
>> 
>> Then remove every file you find.
>> 
>> Then create a file /opt/csw/etc/pkg-get.conf with the following contents :
>> 
> 
> We more or less did that. We installed pkg-get on a system that never
> had it. We created a /opt/cs/etc/pkg-get.conf file.
> 
> The problem is that this file was completely ignored. pkg-get upon
> first execution complained that _no_ config file was present, and went
> on to create its own in /etc.
> 
> The thing that has us scratching our heads is that this only happens
> when _root_ executes pkg-get. When you execute pkg-get as a normal
> user it does seem to find the config file we created, as witnessed by
> the fact that it contacts the mirror we configured. But then ofcourse
> the installation of the packages downloaded fails...

This is all very odd. Have you tried using truss to get more details on
what's actually happening?

Cheers,

Chris





More information about the users mailing list