Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-13-2004, 01:02 AM
|
#1
|
Member
Registered: May 2004
Location: Brampton, ONT.
Distribution: Ubuntu Hoary the Hedgehog
Posts: 90
Rep:
|
rpm installs
i cannot install any rpm files in mandrake it always gives the same error
error: cannot open lock file ///var/lib/rpm/RPMLOCK in exclusive mode
error: cannot open Packages database in /var/lib/rpm
i cd to the directory where the file is and then i use
: rpm -Uvh filename.i386.rpm
any suggestions
|
|
|
05-13-2004, 01:08 AM
|
#2
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep:
|
try it as root
have looked at info rpm and man rpm for the keywords "exclusive mode"?
Simon
|
|
|
05-13-2004, 01:16 AM
|
#3
|
Member
Registered: May 2004
Location: Brampton, ONT.
Distribution: Ubuntu Hoary the Hedgehog
Posts: 90
Original Poster
Rep:
|
im
logged in as root
|
|
|
05-14-2004, 05:54 PM
|
#4
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep:
|
Can you give a specific example - show everything you type in and paste the exact output.
for eg. to install the synce files I would do something like:
rpm -ivh synce*.rpm
from the directory with all the rpm's in it.
the -i says install (-U is "update" but I didn't have any version of synce at the time)
the -v says "verbose" (you could try -vv for "very verbose") which prints the error messages and tells you where it is up to.
the -h means "print hashes" and it is used with -v to show a "######..." style status bar.
all the packages start with "synce" and end in ".rpm" but are identified by whatever is in between. Using the "*" wildcard here saved typing though sometimes the files get unpacked in the wrong order.
Now, I've looked at the texinfo on rpm and the list of modes here does not include one called "exclusive mode" which is why I want to see the exact output, so I get more contextual info.
Simon
|
|
|
05-14-2004, 06:01 PM
|
#5
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep:
|
Seth Vidal, in the python-rpm mailing list, writes (in reply to Tor Hveem):
---------------------------------------
On Sun, 2004-03-21 at 21:42 +0100, Tor Hveem wrote:
> Sundag 21. mars 2004 21:33 skreiv seth vidal:
> > On Sun, 2004-03-21 at 21:30 +0100, Tor Hveem wrote:
> > > I believe this lock "feature" was introduced in RPM4.1. I am currently
> > > using RPM4.2. (Mandrake Cooker)
> >
> > I've never seen RPMLOCK in 4.1 or 4.2 at all.
>
> Silly me, Mandrake actually patches their RPM to include this lock
> functionality. But I'm still wondering how to free it from python. But maybe
> I should bug Mdk about that.
>
yah, you probably should, I've never heard of this RPMLOCK thing before
and since it is a MDK-specific thing you're best off bugging them.
--------------------------------------------
This would suggest that your version of rpm does not include the lock feature. You could try upgrading rpm to the latest version or get the patch (implied above) offa Mandrake folk.
Simon
|
|
|
05-14-2004, 06:08 PM
|
#6
|
Member
Registered: May 2004
Location: Brampton, ONT.
Distribution: Ubuntu Hoary the Hedgehog
Posts: 90
Original Poster
Rep:
|
thx
it worked
|
|
|
05-14-2004, 06:21 PM
|
#7
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep:
|
Wunderbar!
And the lesson in this is ... try google. That's how I found that ms.
TTFN
Simon
|
|
|
All times are GMT -5. The time now is 05:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|