![](https://seccdn.libravatar.org/avatar/b72f250a4f5b7bc95f1e9b00f684ecc1.jpg?s=120&d=mm&r=g)
Hello, When I reference the rpm database I get an error message saying that another process is using the database and that the package management cannot be used now. How can I get the PID of this mystery process so I can kill it? Now I have to reboot to kill the prcess RPM version 4.4.2 Thanks, Jerome -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/7574aaee71d8971a36f4283a7cad6b2c.jpg?s=120&d=mm&r=g)
* Susemail
When I reference the rpm database I get an error message saying that another process is using the database and that the package management cannot be used now.
How can I get the PID of this mystery process so I can kill it? Now I have to reboot to kill the prcess
from the cl: ps ax|grep rpm or, just: killall rpm -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/b72f250a4f5b7bc95f1e9b00f684ecc1.jpg?s=120&d=mm&r=g)
On Friday 06 July 2007 04:14:19 Patrick Shanahan wrote:
* Susemail
[07-06-07 04:15]: When I reference the rpm database I get an error message saying that another process is using the database and that the package management cannot be used now.
How can I get the PID of this mystery process so I can kill it? Now I have to reboot to kill the prcess
from the cl: ps ax|grep rpm
or, just: killall rpm
-- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org
Thanks Patrick, It worked. But not as I expected. This is what I started with: :~> ps ax|grep rpm 12442 pts/4 Ss+ 0:00 kdesu -n --nonewdcop -- /opt/kde3/share/apps/krpmview/setup_temp_source /home/myhome/bin/ekiga-2.0.9-0.pm.0.x86_64.rpm.part 12454 ? Ss 0:00 /bin/bash /opt/kde3/share/apps/krpmview/setup_temp_source /home/adriel/bin/ekiga-2.0.9-0.pm.0.x86_64.rpm.part 13971 ? S 0:00 /usr/bin/zypper service-delete _krpmview_temporary 8620 pts/10 S+ 0:00 grep rpm So I decide to: :~> killall rpm rpm: no process killed Then: :~> ps ax|grep rpm 12442 pts/4 Ss+ 0:00 kdesu -n --nonewdcop -- /opt/kde3/share/apps/krpmview/setup_temp_source /home/adriel/bin/ekiga-2.0.9-0.pm.0.x86_64.rpm.part 12454 ? Ss 0:00 /bin/bash /opt/kde3/share/apps/krpmview/setup_temp_source /home/adriel/bin/ekiga-2.0.9-0.pm.0.x86_64.rpm.part 13971 ? S 0:00 /usr/bin/zypper service-delete _krpmview_temporary 8620 pts/10 S+ 0:00 grep rpm So I decided to kill one process at a time. Killing the first one solved my problem. Why didn't killall rpm kill these processes? Thanks, Jerome -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/57c24759d4746b5da1fd0477e6d4f04b.jpg?s=120&d=mm&r=g)
On Sunday 08 July 2007 14:11, Susemail wrote:
12442 pts/4 Ss+ 0:00 kdesu -n --nonewdcop -- /opt/kde3/share/apps/krpmview/setup_temp_source /home/adriel/bin/ekiga-2.0.9-0.pm.0.x86_64.rpm.part 12454 ? Ss 0:00 /bin/bash /opt/kde3/share/apps/krpmview/setup_temp_source /home/adriel/bin/ekiga-2.0.9-0.pm.0.x86_64.rpm.part 13971 ? S 0:00 /usr/bin/zypper service-delete _krpmview_temporary 8620 pts/10 S+ 0:00 grep rpm
So I decided to kill one process at a time. Killing the first one solved my problem.
Why didn't killall rpm kill these processes?
Hello, Because the process is not 'rpm', rather it's kdesu and bash. -- Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial http://linux2.arinet.org 2:37pm up 7:34, 2.6.18.2-34-default GNU/Linux Let's use OpenOffice. http://www.openoffice.org
![](https://seccdn.libravatar.org/avatar/c85c078174b85b3c27e9c68f92d6b3ff.jpg?s=120&d=mm&r=g)
Fajar Priyanto wrote:
On Sunday 08 July 2007 14:11, Susemail wrote:
12442 pts/4 Ss+ 0:00 kdesu -n --nonewdcop -- /opt/kde3/share/apps/krpmview/setup_temp_source /home/adriel/bin/ekiga-2.0.9-0.pm.0.x86_64.rpm.part 12454 ? Ss 0:00 /bin/bash /opt/kde3/share/apps/krpmview/setup_temp_source /home/adriel/bin/ekiga-2.0.9-0.pm.0.x86_64.rpm.part 13971 ? S 0:00 /usr/bin/zypper service-delete _krpmview_temporary 8620 pts/10 S+ 0:00 grep rpm
So I decided to kill one process at a time. Killing the first one solved my problem.
Why didn't killall rpm kill these processes?
Hello, Because the process is not 'rpm', rather it's kdesu and bash.
If "kill all processes containing 'rpm' somewhere in their pathname" is what you mean use "pkill" like in pkill rpm But that is hardly very wise without preceding it with ps aux | grep rpm before you kill anything useful. Regards, -- Jos van Kan registered Linux user #152704 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Fajar Priyanto
-
Jos van Kan
-
Patrick Shanahan
-
Susemail