Re: rpm and up2date hang

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

 



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

On Mon, 10 Mar 2003 12:42:59 -0500, Michael Stack wrote:

> I'm having the following two problems with my RedHat 8.0 system, and I
> suspect they may be related to one another, but can't be sure. My problems
> are as follows:

FAQ on this list.

> (1) Attempts to use "rpm" cause rpm to hang, requiring use of the "kill"
> command to terminate them. I can actually install software via rpm, but the
> rpm process never terminates. Attempts to use rpm to query the database hang
> and return no results.
> 
> (2) up2date completely hangs, with absolutely no output. Again, I have to go
> and kill these processes manually.
> 
> I tried using "rpm --rebuilddb", but this statement also hangs.
>
> I've noticed
> there is an "initdb" flag, but I'm hesitant to use it, as it seems that it
> will completely destroy my existing database.

Last time I tried it, it didn't. You can always back up /var/lib/rpm
and try it yourself.

> Are these problems related? Is there a good solution to these problems? I
> went and grabbed the latest version of up2date, but rpm told me I already
> have the most recent version...

Killing RPM is correct when normal interruption doesn't work. Then
run:

  rm -f /var/lib/rpm/__*
  
Then run:

  rpm --rebuilddb

You may need to repeat this everytime RPM hangs again.

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

iD8DBQE+bNHb0iMVcrivHFQRAoyzAJ9191/QBJdqYZzDTBwHbrkt77EHfwCeNR7F
lplqJ9Mfz0MXDncW+JLBKnA=
=r8r/
-----END PGP SIGNATURE-----



-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux