On 01/29/2008 08:15 PM, Troels Arvin wrote:
> Hello,
> 
> On an x86_64 system, I have removed a bunch of irrelevant i386-packages, 
> such as apr.i386, but kept apr.x86_64. However, now "rpm -V apr" reports:
> 
> missing     /usr/share/doc/apr-1.2.7
> missing   d /usr/share/doc/apr-1.2.7/CHANGES
> missing   d /usr/share/doc/apr-1.2.7/LICENSE
> missing   d /usr/share/doc/apr-1.2.7/NOTICE
> 
> The same phenomenon applies to a great number of other packages on the 
> system where the installer chose to install both i386 and x86_64 versions 
> initially (but where I've since removed the i386 version).
> 
> Is there a way to remove a package such that RPM doesn't remove files 
> with this kind of shared ownership?
> 

Yes and no.

The workaround here is to modify the packaging (spec file) to also create a 
*-common.noarch package which would contain the shared files for i386 and 
x86_64 (and remove those same files from the arch-dep pkgs).  The arch-dep pkg 
should require the common.noarch pkg.

--Keith

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to