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

Re: RPM problems



On Fri, Jan 24, 2003 at 02:09:06PM -0600, Chuck Campbell wrote:
> On Fri, Jan 24, 2003 at 02:39:28PM -0500, Jeff Johnson wrote:
> > 
> > You have the header, but not the software, installed. The reason is
> > (probably) that rpm-4.0.4-6x packages at ftp.rpm.org have no payload.
> > 
> > Do the following
> > 
> > 	0) Save a copy of your database. With that, I can get you
> > 	   out of almost any problem:
> > 		cd /var/lib
> > 		tar czvf /tmp/rpmdb.tar.gz rpm
> done, saved to a larger partition w/ adequate space though

OK.

> > 
> > 	1) Download rpm-4.0.4-6x.21 packages from
> > 		ftp://people.redhat.com/jbj/rpm-4.0.4-6x
> > 	   Don't forget the popt package :-)
> I grabbed the following:
> popt-1.6.4-6x-21.i386.rpm
> rpm-4.0.4-6x-21.i386.rpm
> rpm-4.0.4-6x-21.src.rpm
> rpm-build-4.0.4-6x-21.i386.rpm
> rpm-devel-4.0.4-6x-21.i386.rpm
> rpm-python-4.0.4-6x-21.i386.rpm

OK.

> > 
> > 	2) Do a rpm --rebuilddb right now with rpm-3.0.3 to avoid
> > 	   any existing db1 problems.
> done, no problems, no errors, no output that I saw at all
> > 
> > 	3) Upgrade to rpm-4.0.4-6x.21, all packages in single transaction.
> By this do you mean
>  a)put all the .i386.rpm's from above in one directory
>  b)rpm -Uvh *.rpm

Yup.

> > 
> > 	4) Immediately do rpm --rebuilddb to convert from db1 -> db3
> > 	   format. If rpm -qa "works", you've succeeded.

Add -vv and you get to watch.

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] []