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

Re: RPM upgrade problem



On Tue, Jul 24, 2001 at 02:14:46PM -0400, Matthew R. MacIntyre wrote:
> 
> 
> All righty.  I didn't have rpm2cpio installed on the problematic
> machine, so I did the conversion on a working machine, and copied it
> all back.
> 
>         ./bin/rpm -Uvh ../{rpm,popt}-*.rpm
> 
> This last step segfaults. :-(
> 

Not quite yet. Use rpm2cpio to install directly onto the file system.
Check the directory perms below /var/tmp/xxx, cpio tends to unpack with
700
	cd /var/tmp/xxx
	find . -type d -exec chmod 755 {} \;

and then install the whole tree (check first if you're paranoid)
	cd /var/tmp/xxx
	tar cf - ./usr ./bin ./etc | (cd /; tar xvf -)

Now try
	rpm --rebuilddb
to fix your database (if this segfaults, it's bugzilla time).

Finally upgrade the rpm packages the usual way
	cd /var/tmp
	rpm -Uvh {rpm,popt}-*

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