LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-09-2014, 04:39 PM   #1
gpwclark
LQ Newbie
 
Registered: Sep 2014
Posts: 4

Rep: Reputation: Disabled
Must install old curl .rpm: conflict with newer version which won't uninstall


I'm a relatively new Fedora user (on Fedora 20) who MUST access the package libcurl.so.3 as a dependency for an old VPN .rpm that I need to install on my personal computer since my work computer crashed... along with my access to my VPN at work.

To get libcurl.so.3, I found and downloaded the .rpm that has it on http://pkgs.org/centos-5/centos-i386....i386.rpm.html

but when I run localinstall or install

sudo yum localinstall curl-7.15.5-17.el5_9.i386.rpm
Loaded plugins: langpacks, refresh-packagekit
Examining curl-7.15.5-17.el5_9.i386.rpm: curl-7.15.5-17.el5_9.i386
curl-7.15.5-17.el5_9.i386.rpm: does not update installed package.
Nothing to do

I'm having trouble finding a solution on the net asking questions about installing older versions of packages or using keywords from the error I'm receiving. Any help would be appreciated.
 
Old 10-09-2014, 05:23 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
well first off
that RHEL5 rpm will NOT run on fedora

it is built for RHEL 5.10 or the free CentOS 5.10

install that rpm on centOS 5.10
( mind you the current is CentOS 7.0 , the old 5 is really starting to show it's age)

i would install the older legacy cent 5.10 to use that ancient vpn software

or
build the old code from source
but pay VERY STRICT attention to NOT killing other system files in the process

you would also need to instal lthe compatibality version of gcc "gcc34-compt
or build the older gcc 4.1 from source
inorder to build the old libcurl from rhel5 on fedora 20
 
1 members found this post helpful.
Old 10-09-2014, 09:33 PM   #3
gpwclark
LQ Newbie
 
Registered: Sep 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hey John VV,

Thanks for putting me on the right path. I read a lot of docs, spent a lot of time with rpmbuild, but wasn't getting anywhere. So I tried a new approach and now, I feel I am having the problem I originally thought I was having:

Update, I have since found curl-7.15.1-1.2.1.i386.rpm, which is compatible with fedora, so the issue I have now is quite perplexing.

I go to install...


Code:
$ sudo rpm -i curl-7.15.1-1.2.1.i386.rpm
warning: curl-7.15.1-1.2.1.i386.rpm: Header V3 DSA/SHA1 Signature, key ID 4f2a6fd2: NOKEY 
   package curl-7.32.0-13.fc20.x86_64 (which is newer than curl-7.15.1-1.2.1.i386) is already installed
    file /usr/share/man/man1/curl.1.gz from install of curl-7.15.1-1.2.1.i386 conflicts with file from package curl-7.32.0-13.fc20.x86_64
Fine, I've read the docs I'll just remove the package that is in my way...


Code:
$ sudo rpm -e curl-7.32.0-13.fc20x86_64error: package curl-7.32.0-13.fc20x86_64 is not installed

What? Any help would be appreciated.

Last edited by gpwclark; 10-09-2014 at 09:42 PM.
 
Old 10-09-2014, 10:12 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
libcurl is basically a critical system file
most of the software will be using it
and will NEED the fedora 20 current version


install the older and aging centos5.10 operating system and install that ancient rhel5 vpn on that
( why must you use software that dates back to 2007 - rhel5 is from 2007)

or

manually build ( from source) the old version you need and install it OUT !!! OF THE SYSTEM PATH
so the operating system can NOT use the second and old version
( this is a pain in the rear - so expect it to take time)


if you try to use the old and conflicting prebuilt rpm
you will have many problems
as per the error
Quote:
curl-7.15.1-1.2.1.i386 conflicts with file from package curl-7.32.0-13.fc20
search for guides for "side by side" installing of two different versions of software


but
as one that has done this a lot in the past
having two or more ( normally a regular and two or more development versions)
this can be a real pain in the rear-end to do
and still have your computer still work .
 
1 members found this post helpful.
Old 10-09-2014, 10:18 PM   #5
gpwclark
LQ Newbie
 
Registered: Sep 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
You have no idea how invaluable your help is, thank you so much.
 
Old 10-09-2014, 10:34 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
I have informed you as to what to do

the easiest and FASTEST ( take 20 minuets )
install CentOS 5.10
and install the vpn rpm that was BUILT FOR RHEL5 on that

or

spend a week and build a SECOND version of curl on fedora 20
but
you will need to ALSO build and instrall gcc 4.1 or the gcc34-compat rpm from the fedora 20 repo
then
build EVERY prerequisite for the OLD curl ( out of the system path, and pass that location on to the next program )
then build the old curl
and all of that from the source code

expect that to take a week or there abouts
and cross your fingers that you do not kill fedora 20 install in the process
 
Old 10-09-2014, 10:41 PM   #7
gpwclark
LQ Newbie
 
Registered: Sep 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Currently using gparted to partition hard drive and downloading Centos 5.10. Don't know why I didn't listen before...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM - Won't Install, Won't Uninstall qizhang Mandriva 2 11-18-2005 12:02 AM
need to uninstall gcc 2.96 then install newer? ginda Linux - General 3 07-17-2005 03:16 PM
How to uninstall Mozilla and use RPM Version kman0527 Linux - Software 3 06-13-2004 05:45 PM
How do I force an older rpm to install over a newer rpm of wine onyx Linux - Software 4 02-20-2004 12:44 AM
Rpm Lib version conflict saravanan1979 Linux - Software 11 06-15-2002 12:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration