[5346] in testers
9.2.3 for Linux: rpm update broken?
daemon@ATHENA.MIT.EDU (Alex T Prengel)
Thu May 8 14:28:33 2003
Message-Id: <200305081828.h48ISUNQ001682@astrophel.mit.edu>
To: testers@MIT.EDU
cc: alexp@MIT.EDU
Date: Thu, 08 May 2003 14:28:30 -0400
From: Alex T Prengel <alexp@MIT.EDU>
Hi,
ghudson sent to testers:
>Due to a bug in rpm 4.2, Linux machines already running 9.2 will be
>stuck at 9.2.1 unless you manually update the athena-rpmupdate
>package. (You'll see a bunch of spurious dependency failures trying
>to update to 9.2.3 otherwise.) To do so, run (as root):
>
> cd /afs/dev.mit.edu/system/rhlinux/athena-9.2/RPMS
> rpm -Uvh athena-rpmupdate-9.2-3.i386.rpm
I did this, and found that on the next reboot of the machine
(astrophel), AFS wouldn't start. After some poking around, I found
that $MACHINE in /etc/init.d/openafs was being setincorrectly- this
seems to be coming from the following line in that script:
MACHINE=`rpm -q --queryformat='%{ARCH}' kernel`
because when I commented it out and set MACHINE to i686 directly, AFS
worked again. I then tried from the command line:
rpm -q --queryformat='%{ARCH}' kernel
and it returns i686i686. On a 9.1 machine, the same returns i686.
Alex
On a separate note- possibly due to some monitor reconfiguring, astrophel is
coming up in very high resolution and in 8 bit mode, with tiny, illegible
type. Without fiddling around with XF86Config settings manually, is there
a simple way to just restore the default screen configuration? (Such as
reinstalling the appropriate rpm, for example).
Thanks,
Alex