Jump to content
kZo

How to install an RPM

Recommended Posts

To install:

[v702623@snappy]# rpm -ivh foo.rpm

 

To update:

 

[v702623@snappy]# rpm -Uvh foo.rpm

Share this post


Link to post
Share on other sites

[root@localhost mattman87]# rpm -ivh irssi-0.8.10rc4-20040510.2030.1.i386.rpm

warning: irssi-0.8.10rc4-20040510.2030.1.i386.rpm: V3 DSA signature: NOKEY, key ID 63c11e9d

error: Failed dependencies:

libcom_err.so.3 is needed by irssi-0.8.10rc4-20040510.2030.1

 

is what i get when i try to insdtall

Share this post


Link to post
Share on other sites

The package you are trying to install is lacking some dependencies. Install this version of irssi and this version of gc (if you don't have it already installed).

 

z0ny

Share this post


Link to post
Share on other sites

ok now when i try to install k3b i get this

 

[root@localhost mattman87]# rpm -ivh k3b-0.11.12-1.xcyb.fc2.i386.rpm

warning: k3b-0.11.12-1.xcyb.fc2.i386.rpm: V3 DSA signature: NOKEY, key ID 87e600b8

error: Failed dependencies:

libDCOP.so.4 is needed by k3b-0.11.12-1.xcyb.fc2

libartskde.so.1 is needed by k3b-0.11.12-1.xcyb.fc2

libid3-3.8.so.3 is needed by k3b-0.11.12-1.xcyb.fc2

libkdecore.so.4 is needed by k3b-0.11.12-1.xcyb.fc2

libkdefx.so.4 is needed by k3b-0.11.12-1.xcyb.fc2

libkdesu.so.4 is needed by k3b-0.11.12-1.xcyb.fc2

libkdeui.so.4 is needed by k3b-0.11.12-1.xcyb.fc2

libkio.so.4 is needed by k3b-0.11.12-1.xcyb.fc2

libkparts.so.2 is needed by k3b-0.11.12-1.xcyb.fc2

libmad.so.0 is needed by k3b-0.11.12-1.xcyb.fc2

[root@localhost mattman87]#

Share this post


Link to post
Share on other sites

The bad thing with RPM's is other required updates... such as GCC and such. A handy tool or updater that will fix this problem can be located here:

 

http://apt.freshrpms.net

 

This is a tool called apt-get. Read about it, when you need an RPM all you need to do is:

 

apt-get install "package you want"

 

This will install the package, and all related packages you need.

 

*Note: This tool is not a standard part of RH/Fedora.

Share this post


Link to post
Share on other sites

What does Trace/breakpoint mean?

 

I get this when try'n the -f option in apt-get install.

 

[root@400celey root]# apt-get install
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
 desktop-printing: Depends: redhat-config-printer-gui (>= 0.6.67-1) but it is not installed
 perl-DBD-Pg: Depends: libpq.so.3
E: Unmet dependencies. Try using -f.
[root@400celey root]# apt-get install -f
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
 postgresql-libs redhat-config-printer redhat-config-printer-gui
The following NEW packages will be installed:
 postgresql-libs redhat-config-printer redhat-config-printer-gui
0 upgraded, 3 newly installed, 0 removed and 7 not upgraded.
Need to get 0B/1042kB of archives.
After unpacking 2450kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Committing changes...
Preparing...                ########################################### [100%]
  1:postgresql-libs        Trace/breakpoint trap
[root@400celey root]#

 

Does it mean I HAVE to install the dependencies?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...