LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cant install a package (https://www.linuxquestions.org/questions/linux-newbie-8/cant-install-a-package-761791/)

the king 10-14-2009 05:44 AM

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

linuxlover.chaitanya 10-14-2009 06:01 AM

Use YUM to install the package. This will solve your dependencies. Else download all the dependency packages and install them first.

the king 10-14-2009 06:38 AM

ok
good idea
but i am trying to train the way my teacher show us in class
so anybody else
thanks

linuxlover.chaitanya 10-14-2009 06:43 AM

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.

salasi 10-14-2009 05:46 PM

Quote:

Originally Posted by linuxlover.chaitanya (Post 3718739)
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.

smeezekitty 10-14-2009 06:09 PM

download SDL

chrism01 10-14-2009 06:26 PM

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

smeezekitty 10-14-2009 07:01 PM

Quote:

Originally Posted by chrism01 (Post 3719517)
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

linuxlover.chaitanya 10-15-2009 12:16 AM

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.

chrism01 10-15-2009 12:19 AM

@smeezekitty: not far date-wise, maybe; versions OTOH ... see L.C.'s comment above..

John VV 10-15-2009 02:18 AM

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.


All times are GMT -5. The time now is 12:31 PM.