[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: RPM upgrade problem
- From: Jeff Johnson <jbj JBJ ORG>
- To: rpm-list redhat com
- Subject: Re: RPM upgrade problem
- Date: Tue, 24 Jul 2001 14:06:28 -0400
On Tue, Jul 24, 2001 at 01:43:02PM -0400, Matthew R. MacIntyre wrote:
>
>
> Hi,
>
> Jeff Johnson wrote:
>
> Jeff> Yup, rpm segfaults when it gets bad data from the database. The
> Jeff> more interesting question is how the data got there, if you've
> Jeff> used Ximian, that's your answer.
>
> Well, I have in the past, but that stuff has been gone for awhile.
> But that just might be the answer!
>
> Jeff> Meanwhile, most of the segfaults are fixed in rpm-4.0.3-0.57
> Jeff> from
> Jeff> ftp://ftp.rpm.org/pub/rpm/test-4.0.3
> Jeff> Installing that, and doing --rebuilddb, detects and removes bad
> Jeff> headers.
>
> All righty. I gave that a try, but it won't install, because an rpm
> -Uvh of the packages segfaults, with the same symptoms described in
> the first message. Is there a way to get around this to get the newer
> version of rpm installed?
Sure. Assuming all 5 rpm packages are in /var/tmp, do
cd /var/tmp
mkdir xxx
cd xxx
for i in ../{rpm,popt}-*.rpm ; do
rpm2cpio $i | cpio -dim
done
./bin/rpm -Uvh ../{rpm,popt}-*.rpm
Next, do
rpm --rebuilddb # <- if this segfaults, do a bugzilla report
and finally
rpm --rebuilddb # just to make sure everything is AOK
73 de Jeff
--
Jeff Johnson ARS N3NPQ
jbj@jbj.org (jbj@redhat.com)
Chapel Hill, NC
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]