redhat install/uninstall

  • satya61229
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Oct 23, 2004
  • Posts: 64
  • Loc: Bihar,India
  • Status: Offline

Post November 4th, 2005, 10:37 pm

when I install or uninstall any thing then it seems to halt somewhere.
In average it does not give any error or msg. it goes to new line and
wait. cursor only blink.

i wait long to get something.
I am logged as root.
Example command i given is:

rpm -e ymessenger-1.0.4-1

I am always trying to un/install through rpm.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post November 4th, 2005, 10:37 pm

  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2675
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post November 5th, 2005, 6:39 am

I really don't understand what you are asking.

The system halts (panics) when you install or uninstall software via rpm? Or the application itself halts when uninstalled? (I would hope you don't mean the latter for obvious reasons.)

Could you explain with a bit more depth what you are asking?
"It's always a long day, 86,400 won't fit into a short."
  • this213
  • Guru
  • Guru
  • User avatar
  • Joined: Mar 01, 2004
  • Posts: 1242
  • Loc: ./
  • Status: Offline

Post November 6th, 2005, 11:34 pm

Make sure no rpm or rpm-dependant processes are running, then do:
Code: [ Select ]
# rm -f /var/lib/rpm/__db*

This removes the various lock state files (/var/lib/rpm/__db1 and family). Chances are an rpm process got killed for whatever reason and left trash data there.

Try to remove your package again.

If it still doesn't work, you'll have to rebuild the RPM database. Remove the lock state files again(above) just to be sure, and make sure no rpm or rpm-dependant processes are running, then do:
Code: [ Select ]
# cd /var/lib
# tar czvf rpm_backup.tar.gz rpm
# rpm --rebuilddb -vv
  1. # cd /var/lib
  2. # tar czvf rpm_backup.tar.gz rpm
  3. # rpm --rebuilddb -vv


HTH

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 135 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.