On Mon, 28 Jun 1999, thomas.marx wrote:
> I got some new RPMS from
> ftp://ftp.inkvine.fluff.org/pub/armlinux/people/chris/rpms/full
> I wanted to install/upgrade but got always the error message:
> Datatype 9 not supported (or so). I have rpm-2.3-1a5.
> So I got the new rpm package (rpm-3.0-6.0) and wnated to upgrade.
> It gave me the same error.
> What do I have to do to get it ok?
Get a working version of RPM...
cd /tmp
# should list the files in the cpio archive
rpm2cpio rpm-X.XX.armvXX.rpm |cpio -t
# should extract the rpm binary to /tmp/bin/rpm
rpm2cpoi rpm-X.XX.armvXX.rpm |cpio -dc bin/rpm
# back up your old rpm database first:
cd /var/lib/rpm
mkdir backup
cp -a *.rpm backup
# you need to rebuild the rpm database when upgrading to rpm 3.0
# from an rpm < 2.9
# The following should work...
/tmp/bin/rpm --rebuilddb
Now rpm should understand your Datatype (I think), and you can upgrade as
you like...
The above should work, I think..
> NB: Some days ago I asked what to do if the root partition is not
> unmounted while the systems is shutting down. I always have to check it
> at the start of the next session. Is there any help.
Do you have any networked filesystems mounted? Or are you exporting any
nfs filesystems which are on submount points?
If you have networked filesystems mounted, then you most likely need to
upgrade to a newer version of initscripts. The initscripts that ships
with RH 6.0 gets confused when it has to wait for a remote server to
reply. It brings networking down before the reply comes in, and so the
networked filesystem is still mounted. This means that the local file
system does not unmount cleanly... Overall this is a bad thing.
That is my understanding of the problem, it could be incorrect.
Note: If you know the machine did not umount all the filesystems
properly, you can always use the "magic SysRq" key combo to sync, and
remount filesystems R/O. You need to have access to the console and have
support in a 2.2 kernel...
# to sync drives
<alt> + <SysRq> + s
# to remount R/O
<alt> + <SysRq> + r
Hope this helps,
-Rms
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]