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

Re: CORRUPT Packages



On Wed, Jan 08, 2003 at 04:15:30PM -0700, Rob Brown wrote:
> I started seeing weird problems when trying to install:
> 
> [root@localhost root]# rpm -Uhv package.i386.rpm
> Segmentation fault
> [root@localhost root]#
> 
> 
> So I tried some different RPMs.  Then it
> started hanging forever.  I tried doing
> rpm --rebuilddb, but that seemed to choke
> pretty badly too, so I did a strace:
> 
> 
> root     29109  0.0  0.5  6928 1440 pts/6    S    18:59   0:00 /usr/lib/rpm/rpmd --rebuilddb
> [root@localhost root]# strace -p 29109
> select(0, NULL, NULL, NULL, {0, 464814}) = 0 (Timeout)
> select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
> select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
> select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
> select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
> 

This is a stale lock cause by abnormal exit, i.e. segfault.

Do 
	rm -f /var/lib/rpm/__db*

And please make a report at http://bugzilla.redhat.com with a pointer
to the corrupt package so that I can get the segfault fixed.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC





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