LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-29-2005, 09:55 AM   #1
usernameddr
Member
 
Registered: Jan 2005
Posts: 47

Rep: Reputation: 15
Disable RPM lock?


How do I disable RPM lock because I think thats why my JAVA is not working
because this is what It says when I try to install it
error: cannot open lock file ///var/lib/rpm/RPMLOCK in
error: cannot open Packages database in /var/lib/rpm
 
Old 01-29-2005, 12:17 PM   #2
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
I know of two ways to get this error, there may be more.
First, I have had it myself due to having more than one instance of rpm open. If you have say rpmdrake open so you can visually scan what packages you have installed, then open a terminal window and issue an urpmi command, the terminal window will give you the stated error because it is locked by the first instance not being closed.

Second, I have read but not tried, if you install an rpm in a terminal window via the rpm command as oposed the urpmi, you must have root permissions prior to issueing rpm (packagename). {of course you need to be root for urpmi too, but as regular user you get a different error message than yours.}

The rpm lock, locks the program for installing rpms, not your installed rpm's themselves. This should not affect your java install, unless you are currently trying to install a new java rpm.

Last edited by Lakota; 01-29-2005 at 12:20 PM.
 
Old 01-29-2005, 02:51 PM   #3
usernameddr
Member
 
Registered: Jan 2005
Posts: 47

Original Poster
Rep: Reputation: 15
Im tring to install a new java RPM. I right now have the .rpm.bin and I am tring to extract it thought root going ./nameofpackage.rpm.bin
 
Old 01-29-2005, 06:11 PM   #4
usernameddr
Member
 
Registered: Jan 2005
Posts: 47

Original Poster
Rep: Reputation: 15
Anyone have away to get it to work?
 
Old 01-29-2005, 06:32 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Check this link for help. http://www.fedoraforum.org/forum/sho...9&postcount=12

Brian1
" Google the Linux way @ http://www.google.com/linux "
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm error: can't create transaction lock NL-Stitch Linux - Newbie 5 10-19-2011 07:50 AM
rpm transaction lock problem DJOtaku Linux - Software 1 04-26-2005 04:26 PM
warning: cannot get exclusive lock on /var/lib/rpm/Packages Raafi Fedora 3 03-06-2005 03:45 AM
When I run rpm -Uvh it says "warning: waiting for transaction lock" Niceman2005 Linux - Software 5 11-12-2004 07:47 PM
error: cannot get exclusive lock on /var/lib/rpm/Packages orly Linux - Software 2 09-06-2004 07:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration