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 <n3...@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/
______________________________________________________________________
RPM Package Manager http://rpm5.org
User Communication List rpm-users@rpm5.org