[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:45:42 -0400
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]
[]