[CentOS] rpm dependencies

Robert Heller heller at deepsoft.com
Mon Nov 29 11:55:15 EST 2010


At Mon, 29 Nov 2010 11:23:03 -0500 CentOS mailing list <centos at centos.org> wrote:

> 
>  I have successfully created a packaged version of openssh that has
> the LPK patch.  LPK allows you to store your public keys in LDAP.
> However when I go to install the package I created it complains about
> dependencies:
> 
> [root at VIRTCENT13:/home/bluethundr/rpm]#rpm -Uvh openssh-5.6p1-1.i386.rpm
> error: Failed dependencies:
> 	openssh = 5.5p1-1.el5 is needed by (installed) openssh-clients-5.5p1-1.el5.i386
> 	openssh = 5.5p1-1.el5 is needed by (installed) openssh-server-5.5p1-1.el5.i386
> 
>  how can I get past this?

Get the spec file from the stock openssh SRPM and use that as a guide
to create a spec file for openssh-5.6p1 that will create the
openssh-clients and openssh-server sub-packages and then re-build it
again.  Now you can upgrade the three packages
openssh-5.6p1-1.i386.rpm, openssh-clients-5.6p1-1.i386.rpm and
openssh-server-5.6p1-1.i386.rpm.

> 
> thanks!!
> 
> 

-- 
Robert Heller             -- 978-544-6933 / heller at deepsoft.com
Deepwoods Software        -- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments


                            


More information about the CentOS mailing list