RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm 4.4.9 introducing directory dependencies renders older rpms useless

From: Jeff Johnson <n3npq@mac.com>
Date: Thu 23 Aug 2007 - 05:30:11 CEST
Message-Id: <BAE0F37E-1CE3-4E77-8637-FB2CEF3BE0C8@mac.com>

On Aug 22, 2007, at 9:25 PM, Tobias Gerschner wrote:

> Hi,
>
>
> I am in the process of upgrading rpm from 4.4.4 to 4.4.9 . Seems like
> from 4.4.5 > 4.4.6 directory dependencies got introduced. Now I could
> not install any older rpm because it depends on /usr/bin or even more
> obscure paths that are created during installation of the very package
> ( say /usr/lib/foo/plugin )
>
> Am I missing some information here ? I found a theoretical discussion
> about the pro + cons of directory dependencies but no actual
> discussion of how things are implemented and how to achieve backward
> compatibility .
>
> Any help appreciated ( links , diffsets + comments )
>

Add --noparentdirs to disable during install.

Run
      mkdir -p /etc/rpm/sysinfo
      rpm -Va --orphandirs > /etc/rpm/sysinfo/Dirnames
to generate the list of  missing directories.

73 de Jeff
Received on Thu Aug 23 05:30:50 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.