----- Original Message ----- From: "Paul Stejskal" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, June 20, 2006 8:57 PM Subject: Re: [newbie] Kernel-Source
> Teilhard Knight wrote: > > ----- Original Message ----- > > From: "Paul Stejskal" <[EMAIL PROTECTED]> > > To: <[email protected]> > > Sent: Tuesday, June 20, 2006 4:50 PM > > Subject: Re: [newbie] Kernel-Source > > > > > > > >> RickS wrote: > >> > >>> Dennis Myers ([EMAIL PROTECTED]) wrote: > >>> > >>> > >>>> On Tuesday 20 June 2006 9:00 am, Teilhard Knight wrote: > >>>> > >>>> You probably left the first instance of urpmi open. You can only run > >>>> > > one > > > >>>> rpmdrake at a time. Close the unneeded one and have a go again. > >>>> HTH. Dennis M. > >>>> > >>>> > >>> in addition to Dennis's post, > >>> > >>> --- snip --------- > >>> As superuser, enter: > >>> > >>> killall urpmi urpmi.update urpme rpm urpmi.addmedia > >>> rm -f /var/lib/urpmi/.LOCK /var/lib/rpm/RPMLOCK > >>> > >>> If that doesn't unlock the database, rebooting is always the > >>> solution. > >>> > >>> --- snip --------- > >>> from the Wiki: > >>> http://mandriva.vmlinuz.ca/index.php/SysAdmin/Urpmi#RPM_database_locked > >>> > >>> HTH > >>> > >>> > >> Also check to make sure urpmi the process isn't running using top :) > >> Paul > >> > > > > Thanks to all who have responded. As RickS says I can always reboot and > > unlock urpmi. What I am interested is: why I cannot install the > > kernel-source. I wish to find a way to install it or I am doomed to be > > unable to compile things. Any ideas why urpmi hangs? > > > > Teilhard > > > > > > ____________________________________________________ > > Want to buy your Pack or Services from Mandriva? > > Go to http://store.mandriva.com > > Join the Club : http://www.mandrivaclub.com > > ____________________________________________________ > > > > > Does ps aux | grep urpmi or ps aux | grep rpm return anything besides > the grep command? If so then you may need to kill the process. Post the > output. > Paul Sorry for the delay in responding; here you go: ---- [EMAIL PROTECTED] gcovar]# ps aux | grep urpmi gcovar 5039 0.0 1.3 14136 6728 ? S 18:32 0:00 /usr/bin/gurpmi2 /home/gcovar/Documents/kernel-source-2.6-2.6.12-12mdk.i586.rpm root 5043 0.0 0.2 3440 1392 ? S 18:32 0:00 /usr/sbin/userhelper -w gurpmi2 /home/gcovar/Documents/kernel-source-2.6-2.6.12-12mdk.i586.rpm root 5046 97.0 6.4 45868 33308 ? R 18:32 12:20 /usr/bin/perl /usr/sbin/gurpmi2 /home/gcovar/Documents/kernel-source-2.6-2.6.12-12mdk.i586.rpm ---- [EMAIL PROTECTED] gcovar]# ps aux | grep rpm gcovar 5039 1.6 1.3 14136 6728 ? S 18:32 0:00 /usr/bin/gurpmi2 /home/gcovar/Documents/kernel-source-2.6-2.6.12-12mdk.i586.rpm root 5043 0.0 0.2 3440 1392 ? S 18:32 0:00 /usr/sbin/userhelper -w gurpmi2 /home/gcovar/Documents/kernel-source-2.6-2.6.12-12mdk.i586.rpm root 5046 95.0 6.5 45644 33952 ? R 18:32 0:19 /usr/bin/perl /usr/sbin/gurpmi2 /home/gcovar/Documents/kernel-source-2.6-2.6.12-12mdk.i586.rpm root 5050 0.0 0.1 2028 644 pts/2 R+ 18:32 0:00 grep rpm ---- The formatting is not quite neat, hope you can decipher it. I hope you find a solution. Thanks. Teilhard. ____________________________________________________ Want to buy your Pack or Services from Mandriva? Go to http://store.mandriva.com Join the Club : http://www.mandrivaclub.com ____________________________________________________
