Linux-Noob Forums

Full Version: How to install an RPM
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

To install:

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

 

To update:

 

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


[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


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


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]#


Go to www.pbone.net and search for the packages to satisfy the dependencies.

 

z0ny

thanx

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:

 

[/url][url=http://apt.freshrpms.net]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:

 

Quote: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.


I prefer yum (which is a standard part of Fedora). B)

 

z0ny


What does Trace/breakpoint mean?

 

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

 



Code:
[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?