LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-14-2009, 06:44 AM   #1
the king
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
cant install a package


hi all
i am new for working with Linux
and i am trying just for testing my knowlage
to install an rpm package but i cant
i tried typing,
rpm -ihv python-game-1.6-0.1.fc2.dag.i386.rpm

and rpm -i python-game-1.6-0.1.fc2.dag.i386.rpm

in both i get that error :

warning: python-game-1.6-0.1.fc2.dag.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
libSDL_image-1.2.so.0 is needed by python-game-1.6-0.1.fc2.dag.i386
libSDL_mixer-1.2.so.0 is needed by python-game-1.6-0.1.fc2.dag.i386
libSDL_ttf-2.0.so.0 is needed by python-game-1.6-0.1.fc2.dag.i386
libsmpeg-0.4.so.0 is needed by python-game-1.6-0.1.fc2.dag.i386

thanks for the helpers
 
Old 10-14-2009, 07:01 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Use YUM to install the package. This will solve your dependencies. Else download all the dependency packages and install them first.
 
Old 10-14-2009, 07:38 AM   #3
the king
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Original Poster
Rep: Reputation: 0
ok
good idea
but i am trying to train the way my teacher show us in class
so anybody else
thanks
 
Old 10-14-2009, 07:43 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
If you do not want to install it using YUM then all you can do is download all the other dependency packages and install them before your needed package. This is the only other way to escape dependencies.
Another work around is to use --nodeps option with rpm to exclude dependency checking and install directly.
But you better know what you need and what you are doing while using this option. This option can install packages without making them usable.
 
Old 10-14-2009, 06:46 PM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,053

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
Quote:
Originally Posted by linuxlover.chaitanya View Post
If you do not want to install it using YUM then all you can do is download all the other dependency packages and install them before your needed package.
...always being aware, of course, that the rpms that you install as dependencies can, in turn, be dependant on other rpms. And, if you have been paying attention so far, you will realise that those rpms can have other dependencies.

If this happens, it can quickly persuade you that the suggestion about using yum was a good one.
 
Old 10-14-2009, 07:09 PM   #6
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227
download SDL
 
Old 10-14-2009, 07:26 PM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Also, FC2 is waaay out of date; current is F11 (note lack of 'Core' in current naming), so the repos for 2 are long gone...

You may find these pages useful
http://linux.die.net/man/8/rpm
http://kbase.redhat.com/faq/docs/DOC-2531
 
Old 10-14-2009, 08:01 PM   #8
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Originally Posted by chrism01 View Post
Also, FC2 is waaay out of date; current is F11 (note lack of 'Core' in current naming), so the repos for 2 are long gone...

You may find these pages useful
http://linux.die.net/man/8/rpm
http://kbase.redhat.com/faq/docs/DOC-2531
not that far of out date they have a short life cycle
 
Old 10-15-2009, 01:16 AM   #9
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Agreed with Chris, and thanks for that. I missed OP was using such an old distribution. I definitely think there is going to be a chain reaction of dependencies for binaries might not just be available for all the packages that are needed.
 
Old 10-15-2009, 01:19 AM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
@smeezekitty: not far date-wise, maybe; versions OTOH ... see L.C.'s comment above..
 
Old 10-15-2009, 03:18 AM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
there is NO SUPPORT for fedora 2 the software repos were MOVED into the historical archives a long time ago . Fedora 2 hit End of Life in July 2005

i am also VERY surprised that fedora 2 was able to install on a new computer . It should not be able to.

in fedora lifetimes, running fedora 2 is about the same as running MS Windows 1995 or `98 in a vista/Windows 7 world.


i would uninstall "yum" and "rpm" because they are 100% useless on fedora 2 .
Build EVERYTHING from the source code.
 
  


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
Which package to install as development package? cpthk Programming 6 08-26-2009 09:03 PM
RPM package during install can or cannot define the install location? hocheetiong Linux - Software 1 09-10-2007 02:33 PM
Is there a way to install package *groups* post-install (LM10.1) ColKurtz Mandriva 1 02-20-2005 02:28 AM
Fedora Core 2 Install failing during package install Sledge Fedora - Installation 1 06-02-2004 10:23 AM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 07:12 PM


All times are GMT -5. The time now is 08:23 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration