RPM Community Forums

Mailing List Message of <rpm-users>

Re: What am I doing wrong ?

From: Sriram Narayanan <sriram@belenix.org>
Date: Sun 02 Jan 2011 - 20:12:53 CET
Message-ID: <AANLkTikF_CpSde0+ukUNp-65jiR_Xx39fqqMBT_CzoyY@mail.gmail.com>
On Mon, Jan 3, 2011 at 12:22 AM, Jeff Johnson <n3npq@mac.com> wrote:
<snip/>

> What I recommend instead of disabling or changing default behavior is to
> configure orphan directory/linkto paths instead:
>        mkdir -p /etc/rpm/sysinfo
>        echo "/usr/local/bin" >> /etc/rpm/sysinfo/Dirnames
> This is what I do; the drudgery isn't _THAT_ painful imho, ymmv.
>

Thanks, this helped.

I was just wondering, wouldn't we need to do this for every forseeable
folder structure then ?

Assume that some package needs /var/local/lib and we don't have it in
/etc/rpm/sysinfo/Dirnames. What is the recommended way of dealing with
such a situation ?

> There is also (as you proceed, you likely don't have many
> packages installed) this POPT alias to list all missing parentdirs
>        mkdir -p /etc/rpm/sysinfo
>        rpm -Va --nofiles --orphandirs | sort -u >> /etc/rpm/sysinfo/Dirnames
>

I'm getting the output of the "set" command when I run
rpm -Va --nofiles --orphandirs

What's happening here ?

> hth
>
> 73 de Jeff
>> --
>> Belenix: www.belenix.org
>> <bash.spec>
>
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> User Communication List                             rpm-users@rpm5.org
>



-- 
Belenix: www.belenix.org
Received on Sun Jan 2 20:20:49 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.