Error Cannot Open /opt/freeware/packages/packages.rpm
/ FAQs (Frequently Asked Questions) still in the works, please be patient..... Table of contents Compatibility issue with the original AIX Toolbox for Linux Applications A solution to the RPM dependency hell problem I am getting an error message that a dependent module /opt/freeware/lib/libintl.a(libintl.so.8) could not be loaded I need the functionality of gettext >= 0.17 wget gives warning error message about libidn and libiconv configure does not detect shared library capability on AIX V6.1 and V7.1 Why are you using RPM and not the native AIX BFF package format? Compatibility issue with the original AIX Toolbox for Linux Applications Please note: While I strive to keep my RPM packages 100%-compatible with the RPM packages of the AIX Toolbox for Linux Applications there are some things beyond my control. Whenever the rpm.rte AIX LPP gets updated -- for whatever reason, e.g., a technology level update -- problems may arise if you have installed newer versions of the following three packages from my website: bzip2 gettext zlib The main culprit is the gettext package here, I have yet to see an error with bzip2 or zlib. Therefore, if you get the following error message ... 0509-150 Dependent module /opt/freeware/lib/libintl.a(libintl.so.8) could not be loaded. 0509-152 Member libintl.so.8 is not found in archive ... you are using an old version of that program/package that is still linked against gettext version 0.17: I was so unhappy about the gettext issue described further below that I completely set up my build host from scratch again and recompiled all packages requiring gettext-0.17 to remove that dependency. No package released since July 2009 should need gettext 0.17 anymore! Explanation: The reason that gettext needs to be re-installed is that whenever the rpm.rte fileset is updated (e.g., new AIX maintenance level etc.), this update blindly overwrites any newly installed versions of those three RPM packages in /opt/freeware/lib. I consider this behavior completely broken Attach:sad_smiley.gifΔ but there is nothing in my power to change that. What is especially unfortunate and what I don't understand is why rpm.rte (especially the rpm command) is not compiled with private shared libraries in some private directory -- which would be very easily possible -- and that would
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Cannot get exclusive lock on rpm database in Unix up vote 0 down vote http://www.perzl.org/aix/index.php?n=FAQs.FAQs favorite I was trying to install a python rpm on AIX 6.1 and it was taking too long and so I had to close ther terminal. Later when I tried to install the same rpm as root I am getting the problem as : root:stud -> $ rpm -i -v python-2.6.7-1.aix5.1.ppc.rpm cannot get exclusive lock on database error: cannot open /opt/freeware/packages/packages.rpm How can I correct this. And on executing ps aux | egrep -i 'yum|rpm' I get: http://serverfault.com/questions/466621/cannot-get-exclusive-lock-on-rpm-database-in-unix root:stud-> $ ps aux | egrep -i 'yum|rpm' root 2359514 0.0 0.0 240 252 pts/1 A 09:32:10 0:00 egrep -i yum|rp unix rpm aix share|improve this question edited Jan 13 '13 at 14:48 asked Jan 13 '13 at 14:08 gautam vegeta 1055 Is lsof /opt/freeware/packages/packages.rpm show something? –dchirikov Jan 13 '13 at 14:18 1 Are you running this as root? The $ sign indicates a normal user. –Khaled Jan 13 '13 at 14:20 @dchirikov : I get lsof: WARNING: compiled for AIX version 5.1.0.0; this is 6.1.0.0. –gautam vegeta Jan 13 '13 at 14:21 @Khaled: Yes I'm running this as root.When I try id command I get uid=0(root) –gautam vegeta Jan 13 '13 at 14:22 Is this the only message you got? –Khaled Jan 13 '13 at 14:25 | show 3 more comments 1 Answer 1 active oldest votes up vote 0 down vote It simple means that there is some other process which is having the lock for rpm and not giving you the access. Check for any processes which might use rpm in your machine. This command should probably help: # ps aux | egrep -i 'yum|rpm' If this command shows you some process (which it should), you should either wait for that process to exit and kill the process if it's not needed. If it doesn't, try your comman
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Other *NIX Forums > AIX [SOLVED] Cannot get exclusive/shared lock on database for rpm on AIX 6.1 User Name Remember Me? Password AIX This http://www.linuxquestions.org/questions/aix-43/cannot-get-exclusive-shared-lock-on-database-for-rpm-on-aix-6-1-a-4175445399/ forum is for the discussion of IBM AIX. eserver and other IBM related questions are also on topic. 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 error cannot 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? error cannot open Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 01-13-2013, 09:33 AM #1 gaugeta LQ Newbie Registered: Jan 2013 Posts: 7 Rep: Cannot get exclusive/shared lock on database for rpm on AIX 6.1 I was trying to install a python rpm on AIX 6.1 and it was taking too long and so I had to close ther terminal abruptly. Later when I tried to install the same rpm as root I am getting the problem as : Code: root:stud