redhat install/uninstall

  • satya61229
  • Beginner
  • Beginner
  • satya61229
  • Posts: 64
  • Loc: Bihar,India

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

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?
  • this213
  • Guru
  • Guru
  • User avatar
  • Posts: 1260
  • Loc: ./

Post 3+ Months Ago

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 68 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.