RPM Community Forums

Mailing List Message of <rpm-users>

Re: RPM5 On Solaris

From: Jeff Johnson <n3npq@mac.com>
Date: Sun 02 Nov 2008 - 03:56:42 CET
Message-id: <67F79F52-C305-41D6-A9AC-6689852A2D7F@mac.com>

On Nov 1, 2008, at 10:27 PM, Rob See wrote:

> Hi,
>   I've been using RPM5 on OpenSolaris for a couple weeks now  
> (currently 5.1.4.) I just installed yum aswell. I've run into a  
> problem where yum doesn't think that noarch packages are acceptable,  
> so it ignores them and only displays i86pc packages. I think it gets  
> its list from rpm. I know there used to be some rpmrc code that  
> defined compatible archs, and remapped i86pc to i386.  I'm ok with  
> i86pc staying that way, but I need to find a way to have rpm think  
> noarch is compatible. Any suggestions as to where I should look/what  
> I could patch ?

Can you include the exact failure message please?

Note that rpm5 has dependencies on pernerntdirs and symlink end-points
that yum doesn't wish to deal with.

yum is still usable if the parentdir dependencies are stubbed out.

That can be done by suppling the unpackaged directories in
/etc/rpm/sysinfo/Dirnames (and similarly Filelinktos for symlink end- 

Basically what is need is
	mkdir -p /etc/rpm/sysinfo
	rpm -Va --nofiles --orphandirs > /etc/rpm/sysinfo/Dirnames

Using the smart package manager is another alternative to using yum.

73 de Jeff
> Thanks,
> -Rob
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> User Communication List                             rpm-users@rpm5.org
Received on Sun Nov 2 03:56:46 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.