Infodir problem

Todd Zullinger tmz at pobox.com
Thu Apr 12 16:31:32 UTC 2007


Tanguy Eric wrote:
> Hi 
> i'm trying to package a new version for a package i maintain but when i
> try to install the new rpm i have an error i don't understand : 
> 
> $ rpm -Uvh freehdl-0.0.4-1.i386.rpm 
> Preparing...                ###########################################
> [100%]
>         file /usr/share/info/dir from install of freehdl-0.0.4-1
> conflicts with file from package info-4.8-14.fc6
> 
> so what's the problem this /usr/share/info/dir file ? I have to remove
> it ?

Yes, you should remove it from your package.  Then, in the %post
section of your spec file, you run install-info to update the dir
file.  You can get some appropriate scripplets to us for this here:

http://fedoraproject.org/wiki/Packaging/ScriptletSnippets#head-47896da5fb2662d75deefeb9ba75145a398515db

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
It's the good girls who keep diaries; the bad girls never have the
time.
    -- Tallulah Bankhead

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070412/f3718c0c/attachment-0001.sig>


More information about the fedora-list mailing list