06-23-2009
RPM install problem
I'm trying to install mysql on a server, but I keep getting an error. Can anyone offer any help?
Below I've listed a bunch of info that you might find helpful.
Here are the commands I'm using.
$ ls
MySQL-client-community-5.1.35-0.rhel3.i386.rpm
MySQL-server-community-5.1.35-0.rhel3.i386.rpm
$ rpm -i MySQL-server-community-5.1.35-0.rhel3.i386.rpm
warning: MySQL-server-community-5.1.35-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
$ rpm -i MySQL-client-community-5.1.35-0.rhel3.i386.rpm
warning: MySQL-client-community-5.1.35-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
$
I'm pretty sure that the RPM files are OK based on this
$ rpm -qpl MySQL-server-community-5.1.35-0.rhel3.i386.rpm
warning: MySQL-server-community-5.1.35-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
/etc/init.d/mysql
/etc/logrotate.d/mysql
/usr/bin/innochecksum
/usr/bin/my_print_defaults
/usr/bin/myisam_ftdump
/usr/bin/myisamchk
...
/usr/share/mysql/swedish/errmsg.sys
/usr/share/mysql/ukrainian
/usr/share/mysql/ukrainian/errmsg.sys
I'm pretty sure I have the correct installation files. I have an intel Xeon processor and I downled the x86 RPM files.
---------- Post updated at 02:12 PM ---------- Previous update was at 12:57 PM ----------
I got my issue figured out. I needed to be root.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Currently i just installed solaris 10
now i want to install a package in rpm format which i used to install in Linux
can it install in Solaris 10 as well ?
if yes,what is the command ?
last time in linux i used to type this command #rpm -i xxxxx.rpm
but i tried in linux it not... (3 Replies)
Discussion started by: bluefries
3 Replies
2. Shell Programming and Scripting
Hi ,
I am tryin to install expect rpm on my linux machine.
I have the source file expect-5.42.1-1.src.rpm
I am doin this
rpm -ivh expect-5.42.1-1.src.rpm
But I am gettin this error
warning: expect-5.42.1-1.src.rpm: V3 DSA signature : NOKEY, key ID db42a60e
error: cannot... (1 Reply)
Discussion started by: eamani_sun
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
For example, I want to install abc.rpm to /abc directory.
How can I do that?
Please help. (2 Replies)
Discussion started by: beeloo
2 Replies
4. SuSE
Hi,
I have got few RPM's from rpmfind.net ( mainly gcc ).
But it seems to be src files instead of the image.
so I think we have to build the src files according to target machine using rpmbuild.
Can any one help me with
1) Various options of rpm build that have to be taken care
2)... (3 Replies)
Discussion started by: Sivaswami
3 Replies
5. UNIX for Dummies Questions & Answers
Running FC5 on a Dell desktop. When I compile a LaTex file, it goes fine but
only outlines blank boxes where figs should be. When I send the figs.eps
and Tex file to a friend, his compiles and imbeds the fig. in the text of the
DVI output using my files without add'nl control cards. I conclude... (1 Reply)
Discussion started by: blann
1 Replies
6. Shell Programming and Scripting
How to make RPM not write to RPM database if RPM fails to deploy?
IE I create an rpm spec file that contains the following
if
then
exit 1
fi
My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies
7. Fedora
Hi Guys I want to know whether is it possible to automatically Install a RPM package after installing OS.
Basically we have have one rpm package which we want to install as part of OS installation . Please Suggest (3 Replies)
Discussion started by: mr_deb
3 Replies
8. UNIX for Advanced & Expert Users
Hello Everybody,
I am having a cluster which is not connected to internet. I want to check its performance do I downloaded required packages from the internet and copied them in a particular folder. As per the instructions given at
http:... (6 Replies)
Discussion started by: albertspade
6 Replies
9. Red Hat
After checking the dependencies from below command:-
yum deplist gcc
Update:-
Now when I tried to install the very first dependency , it gave the below error, I guess something is wrong with YUM server itself :P
... (1 Reply)
Discussion started by: manish131081
1 Replies
10. Red Hat
I have an application rpm which when installed is failing to get installed with error
error: Failed dependencies:
libc.so.6 is needed by testSam-4.7.x86_64
libc.so.6(GLIBC_2.0) is needed by testSam-4.7.x86_64
libc.so.6(GLIBC_2.1) is needed by testSam-4.7.x86_64
... (1 Reply)
Discussion started by: rupeshkp728
1 Replies
LEARN ABOUT CENTOS
yum-builddep
yum-builddep(1) yum-builddep(1)
NAME
yum-builddep - install missing dependencies for building an RPM package
SYNOPSIS
yum-builddep package
DESCRIPTION
yum-builddep is a program which installs the RPMs needed to build the specified package. The source RPM for the specified package must be
available in a Yum repository (which will be automatically enabled, if it is disabled) or it can be a local source RPM file.
EXAMPLES
Download and install all the RPMs needed to build the kernel RPM:
yum-builddep kernel
FILES
As yum-builddep uses YUM libraries for retrieving all the information, it relies on YUM configuration for its default values like which
repositories to use. Consult YUM documentation for details:
/etc/yum.conf
/etc/yum/repos.d/
/var/cache/yum/
SEE ALSO
yum.conf (5)
http://yum.baseurl.org/
AUTHORS
See the Authors file included with this program.
BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if
unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com
for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs.
Panu Matilainen 17 July 2005 yum-builddep(1)