LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-28-2005, 12:29 PM   #1
gnulinusr
LQ Newbie
 
Registered: Jun 2005
Posts: 6

Rep: Reputation: 0
how to downgrade a package for a dependency


im trying to install various different packages and im coming up with missing dependencies. im using fc4 and am very new to linux. when i search for the package that i need it says that i have it installed but it is a newer version. how do i downgrade and install the older version so that i can install these other programs?
 
Old 06-28-2005, 01:25 PM   #2
titanium_geek
Senior Member
 
Registered: May 2002
Location: Horsham Australia
Distribution: elementary os 5.1
Posts: 2,479

Rep: Reputation: 50
Hello and Welcome to LQ!

you should be able to install the older version of the software- but are you sure that it is a dependency problem, most things are backwards compatible.

what are you trying to install?

titanium_geek
 
Old 06-28-2005, 07:34 PM   #3
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
You can use

Code:
rpm -i --nodeps package.rpm
But this is a very bad idea if you don't know what you're doing. What package are you trying to install?

Last edited by tkedwards; 06-29-2005 at 06:28 PM.
 
Old 06-29-2005, 08:55 AM   #4
mohit dhawan
Member
 
Registered: Mar 2005
Posts: 92

Rep: Reputation: 15
use yum .........
 
Old 06-29-2005, 10:52 AM   #5
gnulinusr
LQ Newbie
 
Registered: Jun 2005
Posts: 6

Original Poster
Rep: Reputation: 0
one of the packages that im trying to install is streamtuner. but ive tried to install other packages and have run ito the same problem. with streamtuner the dependencies are libcrypto.so.2, libcurl.so.2, and libssl.so.2 i have these installed on my computer but they are all .so.4 and it wont install streamtuner without .so.2 or at least i done know how.
 
Old 06-29-2005, 06:48 PM   #6
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Are you trying to install an older version of streamtuner than came with your system?

I think you need to add Dag Wieer's FC4 repository to your yum sources and then you will be able to install a version of streamtuner that has been properly packaged for your system.

Add the following to your /etc/yum.conf file:

Code:
[dag] name=Dag RPM Repository for Fedora Core baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag gpgcheck=1 enabled=1
then:

Code:
yum install streamtuner
For more info see:
http://dag.wieers.com/home-made/apt/
 
Old 06-30-2005, 09:10 AM   #7
gnulinusr
LQ Newbie
 
Registered: Jun 2005
Posts: 6

Original Poster
Rep: Reputation: 0
im very new to linux and i dont know what my /etc/yum.conf file is. i tried to copy and paste the first code there and it said unknown command. once again im very new to linux please explain what u are talking about.i have tried using "yum install streamtuner" and it tells me nothing to do. so that does not work
 
Old 06-30-2005, 10:31 AM   #8
titanium_geek
Senior Member
 
Registered: May 2002
Location: Horsham Australia
Distribution: elementary os 5.1
Posts: 2,479

Rep: Reputation: 50
a file that has .conf at the end of it is a configuration file. These are text files that you can edit to get something working. the yum.conf is a file that is located in the /etc directory, you can edit it using your favourite editor - I like jed, but you can replace jed with emacs, vi, vim, pico etc- whatever you have and like.
Code:
# jed  /etc/yum.conf
and then follow tkedwards' first step- which means type (or copy) that text into the yum.conf file, then save, exit and follow his second step.

titanium_geek

Last edited by titanium_geek; 06-30-2005 at 10:34 AM.
 
  


Reply



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
Nvu package dependency kermit Linux - Software 5 01-11-2005 09:45 AM
Installing Package with dependency yunus.raza Linux - Software 1 12-03-2004 06:37 AM
SID / apt: How to downgrade a package? sylvain_gnu Debian 6 04-21-2004 06:25 PM
There was a package dependency problem Kensai Fedora 3 02-15-2004 06:02 PM
possible to downgrade a package? (rpm dependency hell) Goog Linux - Software 3 05-26-2003 09:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:39 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