I recently installed SuSE and am trying to familiarize myself with the utilities. One of the first things is the packaging system. There are two installed - YAST and KPackager. (I realize that only YAST is unique to SuSE.) I can not get either of these two programs to install RPMs which I have downloaded. (I grabbed the 92 RPMs for upgrading to KDE 3.2.) In YAST, if I add the local directory as a source of installation, the "Install and Remove Software" plug-in fails to load. It starts, says it's checking the database, then simply quite. No error message or anything. Checking the log, I find: 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 Since I've downloaded the RPMs myself, there is no package database in the directory. Is there a way to get YaST to create it or is there another utility that will do so? Under KPackager, I can point it at the directory and see the RPMs but I can not mark them for install. I can tell KPackager to install one at a time, but one package fails with dependency errors, and installing 92 packages one at a time would be quite tedious. There is a button for "Install Marked" but nothing I've tried will mark the packages. I've tried left click, right click, double click, shift- and ctrl-clicks, spacebar, functions keys and every other key I can think of. I have read through the entire help file (which is quite sparse). Under Configure Shortcuts, there is an option for selecting a hot key for Clear Marked but nothing for Mark or Select Files. I've spent a couple of hours on Google searching for these answers and have come up with nothing. Any ideas or suggestions would be greatly appreciated.
On 02/12/2004 08:36 AM, Lists wrote:
Under KPackager, I can point it at the directory and see the RPMs but I can not mark them for install. I can tell KPackager to install one at a time, but one package fails with dependency errors, and installing 92 packages one at a time would be quite tedious. There is a button for "Install Marked" but nothing I've tried will mark the packages.
Left click on the dot to the right of the package to mark it or several. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
On Wednesday 11 February 2004 7:36 pm, Lists wrote:
In YAST, if I add the local directory as a source of installation, the "Install and Remove Software" plug-in fails to load. It starts, says it's checking the database, then simply quite. No error message or anything. Checking the log, I find:
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
I just used Yast to revert from KDE 3.2 to KDE 3.1.4. The reversion went very smoothly except for one glitch: I too got the message about the lock on /var/lib/rpm/Packages. Interestingly, a retry cleared it. I wonder what the problem was. Paul Abrahams
On Wednesday 11 February 2004 18:36, Lists wrote:
I recently installed SuSE and am trying to familiarize myself with the utilities. One of the first things is the packaging system. There are two installed - YAST and KPackager.
YaST, Kpackage or apt/synaptic are mutually exclusive in that only one at a time may be up and running. That's so your rpm or apt database/repository doesn't get totally trashed. Not sure what's happening if you only have one running at a time and you still get warnings about the exclusive lock on the database. Joe Morris gave you the answer for Kpackage's clicking on the Mark column's little dot. Turns it into a check for either install or uninstall. Should be able to choose as many packages as you want. Then click the install or uninstall buttons at the bottom of the window. It will prompt you for root's password later with choices to force, update, check dependencies, etc. I've found all three to be very useful. Haven't got the hang of fou4s (fast online update 4 suse) yet which is the 4th major package management tool available. Stan
participants (4)
-
Joe Morris (NTM)
-
Lists
-
Paul W. Abrahams
-
S.R.Glasoe