[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] Linux experts,help please!



Hi,
The version of my linux is Red Hat Linux 8.0,I have installed on my 
computer .Now,i want to install the source codes in my system,and there are 
some problems.
I typed the following command in the system terminal
rpm -ivh tcltk-8.3.3-74.src.rpm
and the system displayed
warning: tcltk-8.3.3-74.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: cannot write to %sourcedir /usr/src/redhat/SOURCES
So I thought this is because I had not got a suitable key,then I tried to check 
the keys installed for RPM verification by excuting the command
rpm -qa gpg-pubkey*
this time nothig was given out !! :-(
I guess there must be something wrong with the key,and attempt to import a key 
by typing
rpm --import /usr/share/rhn/RPM-GPG-KEY
This time,very brilliant,the crappy system tell me for errors
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
error: /usr/share/rhn/RPM-GPG-KEY: import failed.
Ate this stage, I really have no strategy at all!
Experts,please help me!
Thanks very much! :-)
 Wenly




___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.