LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 04-23-2007, 12:02 PM   #1
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
openSUSE 10.2 Yast Software Management Error


Hi all,

New to OpenSUSE here (but not to Linux) and getting an error when I try to run the "Software Management" module of Yast:

Error: Another process is accessing the package database. Package management cannot be used now.

I killed the software updater that sits in the system tray, to no avail, and I can't think of anything else that would be accessing the 'package database'.

As I say, I'm new to OpenSUSE, so I may be missing something completely obvious.

Thanks in advance

odevans
 
Old 04-23-2007, 01:37 PM   #2
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Original Poster
Rep: Reputation: 30
update

Some additional info:

Rebooting 3 times cured the problem (temporarily, at least). Restarting X (with a ctrl-alt-backspace) doesn't seem to have an effect.

This has happened a couple of times now, and an arbitrary number of reboots removes the error.

As I said before, I'm new to openSUSE and am relativley ignorant of what's going on. Could any more experienced users shed some light on what may be causing this error and what I can do to fix it (other than rebooting)?

Cheers,

odevans
 
Old 04-23-2007, 06:30 PM   #3
dahveed3
Member
 
Registered: Mar 2007
Posts: 191

Rep: Reputation: 31
The FAQ's at opensuse-community.org have the recommendation to remove Zen Management in nearly all their how to's. This substitutes the OpenSuSE Updater applet for the Zen Updater and lets you just use YaST Software Management to get your updates and install new software, and Online Update for your Novell system patches.

I've taken to unchecking the Zen Management pattern when installing OpenSuSE as that thing, even with its latest bug fixes, is incredibly slow and doesn't allow as much control over non-automatic resolving of dependencies. YaST will allow you to adjust things until all is resolved whereas the Zen installer would just error on it and fail to carry out the installs if it couldn't resolve stuff automatically.

So head on over there and read some of their guides. You'll see what to do to get rid of Zen and to install some nice multimedia stuff.

To update all your software, besides the Novell updates that OpenSuSE Updater checks for, in YaST Software Management change the dropdown to packages, scroll down to zzz_all, then on the right pane right click one of the onces checked and choose All in this list - Update all with newer versions available. That'll get you what Zen Updater used to get you, with the exception of the Novell Patches that you access through Online Update instead of Software Management.

Then you scroll through the list to make sure you want the updates that have that update icon. Whatever you don't want, you just click the icon until it changes to the blue "keep" checkmark. Then you click the dependency check and if all's okay click Accept and your software will be downloaded and updated.

Once you remove Zen, this problem you're having likely won't occur anymore.
 
Old 04-23-2007, 08:28 PM   #4
fjd
Member
 
Registered: Apr 2006
Distribution: Ubuntu 10.10
Posts: 39

Rep: Reputation: 15
I have the same error with Yast on occassion and haven't figured out what triggers it. I'll look in the Zen thing but in the meantime if I reboot it seems to clear itself. It's annoying but hasn't slowed me down much. I still think Suse 10.2 is a great distro.

Good luck, (and if you find what's causing remember to update this thread with your findings)
FJD
 
Old 04-24-2007, 01:30 PM   #5
auxsvr
Member
 
Registered: Dec 2006
Distribution: openSUSE 10.3
Posts: 260

Rep: Reputation: 30
If you are using opensuseupdater (the KDE updater instead of zen-updater), when it refreshes it accesses the RPM database, so you will be unable to use software management. This happens more often when I boot the PC, for example.
 
Old 04-24-2007, 04:09 PM   #6
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Original Poster
Rep: Reputation: 30
Thanks dahveed.

I spent some time yesterday afternoon reading through a fair amount of documentation and decided to take your advice. I removed ZMD et al with the instructions from http://opensuse-community.org/Package_Sources/10.2

I'm now using the opensuseupdater tool, guess I'll see how it goes.

Also, in my searches, I came across an email from (presumably) one of the OpenSUSE devs stating that ZMD will not be included in 10.3 (lost the link, GIYF).

Again, thanks to all for responding.

cheers,
odevans
 
Old 05-31-2007, 04:02 PM   #7
IkBenDeMan
LQ Newbie
 
Registered: Jul 2004
Posts: 9

Rep: Reputation: 0
Hi. I'm having the same problem. I'm by no means at all new to Linux, however, I am fairly new to SuSE. I've been running SuSE since I purchased the 10.0 retail, right when it came out (well, I believe I may have done some kind of trail first-or read something. Either way I knew I fell in love with it quickly).

This is one of the two things I hate about SuSE... It's reliance on rpm's. RPM's make upgrading extremely painful in comparison to .debs. RPM's also use CPIO instead of tar. And then, naturally, problems like this!

Anyways, my guess is that somewhere theres a temp file saying that the rpm database is in use, when it's not. Anybody have any suggestions? I can't install or uninstall anything at the moment..
 
Old 05-31-2007, 04:20 PM   #8
IkBenDeMan
LQ Newbie
 
Registered: Jul 2004
Posts: 9

Rep: Reputation: 0
Found the solution

Okay, so basically what was happening for me, and probably for you too, is that, as somebody already stated, ZEN is at fault. According to http://opensuse-community.org/FAQ#ZM...should_I_do.3F :

Quote:
On 10.1 you can disable ZMD and simply either use Smart or the openSUSE Software Management module (which doesn't use ZMD). On 10.2, you can completely remove ZMD and use the openSUSE Software Management pattern. For more information on both of these, see Package Sources.
So what is the problem with ZMD? Well, ZMD was originally Novell's enterprise software management, which was then pushed onto openSUSE. It caused many problems there, including running away with your CPU, failing to install packages, and taking an increasingly long time to execute basic instructions. As a consequence, we do not recommend that you use it on openSUSE.

"A ZYpp transaction is already in progress"
If you get this error at any time, make sure that all programs that might be using the package management system have been closed down. This includes Zypper, Smart, and most YaST processes. If you are sure that none of these are running, then one of them might be misbehaving. To kill the offending process, execute:
su -c "kill -9 $(lsof -t /usr/lib/libzypp*)"
According to this second paragraph, that is our problem. The code they, however, say to execute did not work for me. I used ksysguard as root and manually killed the processes zmd, zypper, zen, or anything related. All good now! Now, off to remove ZEN....
 
  


Reply

Tags
opensuse, softwaremanagement, yast


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
What is next after installing MADWiFi on Opensuse 10.2 using Software Management DavidLion Linux - Wireless Networking 0 01-20-2007 06:41 PM
YAST - Software Management startup time parsek77 Suse/Novell 2 01-20-2007 11:40 AM
Yast->Software management too much time neededH alaios Suse/Novell 3 10-22-2006 03:28 PM
YAST Software Management Problem AdamCo Suse/Novell 3 04-22-2006 03:03 PM
Yast software management NEVER finishes DoctorWynn Suse/Novell 9 01-31-2006 10:15 AM


All times are GMT -5. The time now is 11:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration