Error Cannot Get Exclusive Lock On /var/lib/rpm/packages Opensuse
Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software cannot get shared lock on /var/lib/rpm/Packages User Name Remember Me? Password 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. 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 08-10-2013, 09:14 PM #1 Vortigaunt LQ Newbie Registered: Aug 2013 Distribution: Arch Linux Posts: 5 Rep: cannot get shared lock on /var/lib/rpm/Packages Hello, I was going to install Deluge but the one click install wasn't working on the site (I think it wasn't compatible with openSUSE 12,3). So I decided to compile it from the source. I tried to use zypper to install the dependencies but it didn't work. This is the terminal input and output. Code: patrick@loltop:~> sudo zypper install python python-twisted python-twisted-web python-openssl python-simplejson python-setuptools intltool python-xdg python-chardet geoip-database python-libtorrent python-notif
none of them are ideal. For example, I am running openSUSE Leap and have not managed to get the Fedora repositories to work for me (one of the workarounds). Instead, I install from the Fedora 17-20 rpm which works but there are two issues: 1) I have to manually check for updated versions. 2) There seems to be a wrinkle or two with the rpm http://www.linuxquestions.org/questions/linux-software-2/cannot-get-shared-lock-on-var-lib-rpm-packages-4175472939/ as it takes a long time to complete and generates a few warnings while doing so (example output log attached) although everything appears to be working. I realise that this would be extra work and would probably require two additional repositories (Leap - stable openSUSE, and one for the rolling http://forums.insynchq.com/t/another-request-for-opensuse-repositories/3537 distribution - tumbleweed, since users seem to be split between the two) but openSUSE is a popular distribution and it feels like it is treated as a second class citizen by insync at the moment. Alternatively, could we get clear instructions on getting the fedora repositories working with the current openSUSE releases? Regards,Brian Installation log: user:~> sudo zypper in Downloads/insync-1.3.4.36059-fc17.x86_64.rpmroot's password: Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW package is going to be installed: insync 1 new package to install. Overall download size: 66.5 MiB. Already cached: 0 B. After the operation, additional 169.3 MiB will be used. Continue? y/n/? shows all options:Retrieving package insync-1.3.4.36059-fc17.x86_64 (1/1), 66.5 MiB (169.3 MiB unpacked) Checking for file conflicts: ............................................................................................................................done Installing: insync-1.3.4.36059-fc17 ...............................................................................................................[done] Additional rpm output: warning: waiting for exclusive lock on /var/lib/rpm/Packages error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages index using db4 -
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 http://unix.stackexchange.com/questions/125706/why-cant-i-install-packages-with-rpm-i-get-transaction-lock more about Stack Overflow the company Business Learn more about hiring developers or http://www.linuxforen.de/forums/showthread.php?252603-Suse-11-und-YaST posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can error cannot answer The best answers are voted up and rise to the top why can't I install packages with rpm? I get “transaction lock” up vote 11 down vote favorite 1 I'm having problems with yum and I am trying to re-install it. I've download yum.3.2.0-40-el6.centos.noarch.rpm. When I try: $ rpm -ivh yum.3.2.0-40-el6.centos.noarch.rpm I get: error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied) I tried running su - and I'm error cannot get getting this error: -bash: su: command not found` I get the same "permission denied error" if I try to uninstall yum and force ignore dependencies (without forcing to ignore dependencies, it fails uninstall with a few dependencies). linux yum root rpm share|improve this question edited Apr 20 '14 at 22:45 slm♦ 165k40302473 asked Apr 20 '14 at 22:17 Brian Leach 166116 Are you root or using sudo when you run this command? –slm♦ Apr 20 '14 at 22:44 @slm, I am not able to get either sudo or su to work (see comment to your answer). Are these the only ways to work as root? –Brian Leach Apr 21 '14 at 16:55 What distro is this? –slm♦ Apr 21 '14 at 16:56 what is the output of ls -l /bin/su ? command not found seems like you have bigger issues than mere yum. –Dani_l Nov 10 '15 at 15:41 add a comment| 3 Answers 3 active oldest votes up vote 9 down vote This error: error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied) ... would appear to be you trying to perform an rpm -ivh ... command as a user other than root. You'll need to run i
Kompilieren System installieren und konfigurieren Suse 11 und YaST Anzeige Wenn dies Ihr erster Besuch hier ist, lesen Sie bitte zuerst die Hilfe - Häufig gestellte Fragen durch. Sie müssen sich vermutlich registrieren, bevor Sie Beiträge verfassen können. Klicken Sie oben auf 'Registrieren', um den Registrierungsprozess zu starten. Sie können auch jetzt schon Beiträge lesen. Suchen Sie sich einfach das Forum aus, das Sie am meisten interessiert. Ergebnis 1 bis 11 von 11 Thema: Suse 11 und YaST Themen-Optionen Druckbare Version zeigen Thema bewerten Aktuelle Bewertung Hervorragend Gut Durchschnittlich Schlecht Schrecklich Anzeige Linear-Darstellung Zur Hybrid-Darstellung wechseln Zur Baum-Darstellung wechseln 22.06.08,22:45 #1 Nomai Profil Beiträge anzeigen Registrierter Benutzer Registriert seit Jan 2004 Beiträge 60 Suse 11 und YaST Anzeige Hi Volks, ich habe mir heute die neue Suse installiert.... Nur macht mir YaST einige Probleme: Code: Subprocess failed. Error: RPM fehlgeschlagen: rpmdb: /var/lib/rpm/Pubkeys: unexpected file type or format error: cannot open Pubkeys index using db3 - Invalid argument (22) warning: /var/cache/zypp/packages/openSUSE-DVD 11.0/suse/x86_64/MozillaThunderbird-2.0.0.12-34.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 9c800aca warning: waiting for exclusive lock on /var/lib/rpm/Packages 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 Das bekomme ich aals Fehlermeldung wenn ich versuche etwas über YaST zu installieren. Wer könnte mir denn mal auf die Sprünge helfen wo der Fehler liegt? cu Zitieren 22.06.08,23:09 #2 framp Profil Beiträge anzeigen Homepage besuchen Registrierter Benutzer Registriert seit Jun 2005 Ort bei Stuttgart Beiträge 373 warning: waiting for exclusive lock on /var/lib/rpm/Packages Das sieht mir so aus als würde parallel zu Deinem Update irgendjemand anderes einen Update vornehmen und rpm blocken. Kann der zypper sein ... "Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." Linus Benedict Torvalds, 28.9.2003 Zitieren 23.06.08,22:36 #3 Nomai Profil Beiträge anzeigen