RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm-5.3.11

From: Belal Salem <belal@nothing-real.com>
Date: Thu 13 May 2010 - 23:46:40 CEST
Message-ID: <op.vcnyr2qkmn2pqa@gfx-a>
So! Are there another solution by recompiling 'rpm' source code to just  
work as we used to!
means, are there any configure script options that I can use to override  
that?!


On Sun, 14 Aug 2011 00:38:10 +0200, Jeff Johnson <n3npq@mac.com> wrote:

>
> On May 13, 2010, at 5:24 PM, Belal Salem wrote:
>
>> # rpm -Uvh fontconfig-2.8.0-3.el6.i686.rpm
>>
>> error: Failed dependencies:
>>        /etc/fonts is needed by fontconfig-2.8.0-3.el6.i686
>>        /etc/fonts/conf.d is needed by fontconfig-2.8.0-3.el6.i686
>>
>> the folders '/etc/fonts' and '/etc/fonts/conf.d' are already installed  
>> by this package!!
>
> Yes … but …
>
> Those directories are not explicitly in the package, but rather
> implicitly created in order to install a file on a path.
>
> That's the reason. There are two rules:
> 	1) Every file Requires: its parent directory.
> 	2) Every symlink requires its end-point.
>
> You can add --noparentdirs (or --nolinktos) to disable the functionality.
>
> Or you can do
> 	mkdir -p /etc/rpm/sysinfo/Dirnames
> 	echo "/etc/fonts" 	 >> /etc/rpm/sysinfo/Dirnames
> 	echo "/etc/fonts/conf.d" >> /etc/rpm/sysinfo/Dirnames
>
> There's also some macro (I never use it, so I've forgotten) to add  
> --noparentidrs persistently.
>
> Or you can compile rpm without the functionality.
>
> 73 de  
> Jeff______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> User Communication List                             rpm-users@rpm5.org
>


-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/
Received on Sun Aug 14 00:49:07 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.