Re: Need help with rpm package install hanging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 14 Oct 2003 19:36:12 -0700, Mike Klein wrote:

> There's a first time for everything...
> 
> I was doing a remote rpm install of libfwbuilder using VNC, which 
> normally works fine, and this time my login session hung after 
> displaying 100% in rpm install process. I could not ctrl-c out of it (it 
> hung for over 5 minutes). From another window I noticed it hadn't 
> actually installed package yet.
> 
> I seemed to have no choice but kill-9 the process...with the side affect 
> being that all of my rpm queries/commands now hang. When I run any rpm 
> command with -vv I am getting the following output:
> 
> [root@mother security]# rpm -vv -qa
> D: opening  db environment /var/lib/rpm/Packages joinenv
> D: opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
> 
> (I must kill process after this...its hung)
> 
> What can I do to get out of this situation? I haven't rebooted yet...is 
> this all that is needed? Do I need to rebuild the rpm db? I'm a little 
> leary of trying these options as I've never encountered this situation 
> before and am leary of unscheduled downtime...

I assume this is on Red Hat Linux 8.0, 9 or Fedora Core. Make sure,
rpm is killed. Then run

  rm -f /var/lib/rpm/__db.*
  rpm -vv --rebuilddb

When it seems to hang again, repeat above steps.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/jLpJ0iMVcrivHFQRAtqbAJ4mFr476agAOm8pcNdDbHiiXWcc3gCfTpOC
bb3gN5dxKPu/2zz5pK1FGEM=
=iSv+
-----END PGP SIGNATURE-----


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux