Re: [expert] RPM binary doesn't seem to be working
Rick Salsa wrote: Hi, I've come across something that I haven't seen before, but my RPM binary doesn't seem to work. If I try to install or upgrade any RPMs, it just sits and doesn't do anything. rpm -qa, rpm --help, and rpm --version work, but that's it. I tried rpm --list to see if the last rpm installed might have done something, but that doesn't work either. Any ideas on what might be up or how to fix this? Mandrake 8.2 Thanks, /rick When an rpm process seems to be hanging, what I would do (with no rpm process running): rm -f /var/lib/rpm/__db.00* rpm --rebuilddb It is fairly common for the database to get mucked up by these files, which seem to be left behind when an rpm process is exited uncleanly. Rolf Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] RPM binary doesn't seem to be working
Rick Salsa wrote: Hi, I've come across something that I haven't seen before, but my RPM binary doesn't seem to work. If I try to install or upgrade any RPMs, it just sits and doesn't do anything. rpm -qa, rpm --help, and rpm --version work, but that's it. I tried rpm --list to see if the last rpm installed might have done something, but that doesn't work either. Any ideas on what might be up or how to fix this? Mandrake 8.2 Thanks, /rick Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Try rpm --rebuild and repair your rpm database. That should fix what ails you. -- Albert E. Whale, CISSP http://www.abs-comptech.com -- ABS Computer Technology, Inc. - ESM, Computer Networking Specialists Sr. Security, Network, and Systems Consultant Founding Board of Directors of Pittsburgh FBI - InfraGard Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] RPM binary doesn't seem to be working
On Mon, 2003-06-30 at 20:31, Albert E. Whale, CISSP wrote: Rick Salsa wrote: Hi, I've come across something that I haven't seen before, but my RPM binary doesn't seem to work. If I try to install or upgrade any RPMs, it just sits and doesn't do anything. rpm -qa, rpm --help, and rpm --version work, but that's it. I tried rpm --list to see if the last rpm installed might have done something, but that doesn't work either. Any ideas on what might be up or how to fix this? Mandrake 8.2 Thanks, /rick I did this to myself one time... stupidly I'll admit (I actually did an rpm -e rpm -Uvh somerpm and yes deleted rpm) . What I did was boot to the rescue disk... then copied the rescue disks copy of rpm to the mounted home dir (for me that would be /mnt/home/james) where I also had a copy of the rpm rpm. Then I did chroot /mnt to make sure I was working/writing only on my HDD Finally I did ./rpm -ivh rpm.x.i586.rpm --force This rewrote my rpm files and I was back in business. A quick check would be to run a command like rpm -qil rpm or some similar command you couldn't run before. This should work and a reboot should get you going again. James PS Please turn off you reply to when mailing to the list... thanks. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] RPM binary doesn't seem to be working
Hi, I've come across something that I haven't seen before, but my RPM binary doesn't seem to work. If I try to install or upgrade any RPMs, it just sits and doesn't do anything. rpm -qa, rpm --help, and rpm --version work, but that's it. I tried rpm --list to see if the last rpm installed might have done something, but that doesn't work either. Any ideas on what might be up or how to fix this? Mandrake 8.2 Thanks, /rick Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] RPM binary doesn't seem to be working
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 28 July 2003 04:39 pm, Rick Salsa wrote: Hi, I've come across something that I haven't seen before, but my RPM binary doesn't seem to work. If I try to install or upgrade any RPMs, it just sits and doesn't do anything. rpm -qa, rpm --help, and rpm --version work, but that's it. I tried rpm --list to see if the last rpm installed might have done something, but that doesn't work either. Any ideas on what might be up or how to fix this? Mandrake 8.2 Did you do anything with RPM before it croaked? In my experience, you can break rpm if you make a slip and do a rpm -qa and hit enter, then hit Ctrl-C to stop it (it will otherwise go through the entire list of your installed rpms). Doing the Ctrl-C often leads to what you are experiencing, and I imagine similar actions of stopping rpm from doing something it is in the middle of. Me thinks you will need to delete your current rpm database and then do an rpm --rebuilddb. praedor - -- I'm jealous of the Iraqis. I wish someone would liberate the United States of America from its unelected dictator - --Marc Perkel -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+1TD8aKr9sJYeTxgRAgxyAJ95dOzgCgR1OvpyNjB2oWc7zFrYjgCgsIDB tswnGiRf45bsdHaqtSh++j8= =a7SY -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [expert] RPM binary doesn't seem to be working
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Praedor Atrebates Sent: May 28, 2003 4:58 PM To: [EMAIL PROTECTED] Subject: Re: [expert] RPM binary doesn't seem to be working -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Doing the Ctrl-C often leads to what you are experiencing, and I imagine similar actions of stopping rpm from doing something it is in the middle of. I think that was it! Me thinks you will need to delete your current rpm database and then do an rpm --rebuilddb. I'll try that. I've never had to delete my rpm database before. Where would I find that? /rick Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] RPM binary doesn't seem to be working
Rick Salsa wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Praedor Atrebates Sent: May 28, 2003 4:58 PM To: [EMAIL PROTECTED] Subject: Re: [expert] RPM binary doesn't seem to be working -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Doing the Ctrl-C often leads to what you are experiencing, and I imagine similar actions of stopping rpm from doing something it is in the middle of. I think that was it! Me thinks you will need to delete your current rpm database and then do an rpm --rebuilddb. I'll try that. I've never had to delete my rpm database before. Where would I find that? /rick rpm -ql rpm [..] /var/lib/rpm/__db.001 /var/lib/rpm/__db.002 /var/lib/rpm/__db.003 /var/lib/rpm/__db.004 These __db.00* files seem to be lock files that can get left behind when an rpm process is exited uncleanly. The popular fix to try first, when no rpm process is running, is: rm -rf /var/lib/rpm/__db.00* rpm --rebuilddb Rolf Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [expert] RPM binary doesn't seem to be working
Thanks Rolf!! That was it!! /rick Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com