On Sun, 2007-07-01 at 01:54 +0300, Daniel Feiglin wrote: > > John E. Perry wrote: > > Hi, > > > > My opensuse updater suddenly started showing the yellow triangle with > > the exclamation point a few days ago. When I try to clear it, it exits > > with the message "Another process is accessing the package database. > > Package management cannot be used now." > > > > ps -e | grep ast > > > > shows only something called "master" running, so it doesn't appear to be > > yast. > > > > I can't get either the updater or yast to run without rebooting the > > machine. What else could be locking the database? > > > > John Perry > > > I've seen this happen, usually after having done something under yast > related to software management or update. This works, without booting: > > As root - > > Ensure that the updater applet is NOT running (well, it wouldn't be in > your case) > > ps -ef | grep yast > > If you have a copy of yast running someplace, exit it , or kill it. > (kill -9 <pid>)
Please do not use -9 except as a last resort. Using -9 tells the parent process to exit without regard to any child process that may be running. The best way is to just use kill <pid>. If that doesn't work then use kill -1 <pid>, and if that still doesn't work then use kill -9 <pid>. You'll leave yourself with a more stable running system that way. > > ps -ef | grep y2base > > Same thing. > > ps -ef | grep zyp > > You probably DO have a detached instance of zypper (the updater) running. > > Kill it. > > Re-run the starter applet. It should come up and start an immediate > update check. > > I just did all this stuff half an hour ago. > > I hope that helps, -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
