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

Re: rh-rpm] Re: rpm v3 --> v4 upgrade problems



On Sun, Jul 21, 2002 at 09:36:00AM -0400, R P Herrold wrote:
> On Sat, 20 Jul 2002, Jesse Keating wrote:
> 
> > I assume that you are on a Red Hat 6.2 box?  If so, connect to
> > http://updates.redhat.com/6.2/en/os/i386 and grab the rpm.rpm packages
> > from within.  You should be able to rpm -Uvh them.
> 
> there are also other posible dependencies -- but the most 
> likely one is the popt dependency.
> 
> Just keep pulling and additional items needed, in to the same
> end directory at your host, from the cited archive to get any
> additional dependencies, and apply as per the tip at:
>   http://www.rpm.org/hintskinks/requires/
> 
> Then remember to run:     rpm --rebuilddb    at once to 
> rebuild the RPM database.

The real trick is to do a --rebuilddb immediately to insure that
the db1 format is initially intact. The final --rebuilddb converts
from db1->db3.

There are rpm-4.0.4-6x.21 packages  for Red Hat 6x at
	ftp://people.redhat.com/jbj/rpm-4.0.4-6x

Download
	popt-1.6.4-6x.21.i386.rpm
	rpm-4.0.4-6x.21.i386.rpm
and do
	rpm --rebuilddb		# <- make sure rpmdb is OK
	cd /var/lib		# <- save a copy
	tar czvf /tmp/rpmdb.tar.gz rpm

	rpm -Uvh rpm-4.0.4-6x.21.i386.rpm popt-1.6.4-6x.21.i386.rpm
	rpm --rebuilddb		# <- convert from db1 -> db3

Download the other packages when you need them. You're likely to
need rpm-build for rpmbuild, and rpm-devel to rebuild the packages
below.

You will also have to recompile gnorpm, kpackage, rpmfind, rpm2html
and ucd-snmp at some point, to use the rpm-4.0.4 libraries.

HTH

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