On  3 Sep, James Gregory wrote:
>  On Mon, 2002-09-02 at 22:38, [EMAIL PROTECTED] wrote:
> > On  2 Sep, To: Martin wrote:
> > >  We'll see how I go. 
> > 
> > Well, I tried a semi-tentative install:
> > 
> > rpm -i --nodeps --replacefiles XF* font* free*
> > 
> > Now I seem to have parts of both 4.1.0 and 4.2.0, though everything
> > seems to be working.  Any suggestion on the safest way to get rid of
> > the older rpms without disturbing the new?  Is it as simple as
> > rpm -e XFree86-4.1.0-25, etc?  (And try to find 4.2.0 versions of the
> > missing pieces?)
>  
>  If you're going to do that you're much better off asking rpm to upgrade
>  rather than install. Grab your rpms and do
>  
>  rpm -UVh --force XF* font* free*
>  
>  then if there's an old version on the system it will be replaced by the
>  new one.

Sounds good.  After beating my head against rpm's terrible error
messages, I realise that the -V option doesn't go with -U.

There appears to be no way to get rpm to tell you what version it is,
so all I can say is that it's whatever version comes with RH 7.2.

[root@posh X]# ls
fontconfig-0.0.1.020826.1330-3.i386.rpm  XFree86-devel-4.2.0-8.i386.rpm
freetype-2.1.2-7.i386.rpm                XFree86-libs-4.2.0-52.01.i386.rpm
XFree86-100dpi-fonts-4.2.0-8.i386.rpm    XFree86-tools-4.2.0-8.i386.rpm
XFree86-4.2.0-52.01.i386.rpm             XFree86-twm-4.2.0-8.i386.rpm
XFree86-75dpi-fonts-4.2.0-8.i386.rpm     XFree86-xdm-4.2.0-8.i386.rpm
XFree86-base-fonts-4.2.0-52.01.i386.rpm  XFree86-xfs-4.2.0-52.01.i386.rpm
[root@posh X]# rpm -UVh --force XF* font* free*
--upgrade: unknown option



[root@posh X]# rpm -U XF* font* free*
error: failed dependencies:
        /usr/X11R6/bin/mkfontdir   is needed by XFree86-100dpi-fonts-4.2.0-8
        /usr/X11R6/bin/xauth is needed by XFree86-4.2.0-52.01
        Glide3 >= 20010520 is needed by XFree86-4.2.0-52.01
        kernel-drm = 4.2.0 is needed by XFree86-4.2.0-52.01
        /usr/X11R6/bin/mkfontdir   is needed by XFree86-4.2.0-52.01
        /usr/X11R6/bin/mkfontdir   is needed by XFree86-75dpi-fonts-4.2.0-8
        /usr/X11R6/bin/mkfontdir   is needed by XFree86-base-fonts-4.2.0-52.01
        /usr/X11R6/bin/mkfontdir   is needed by XFree86-xfs-4.2.0-52.01
        /usr/bin/ttmkfdir   is needed by XFree86-xfs-4.2.0-52.01
        freetype = 2.0.3-7 is needed by freetype-devel-2.0.3-7
        /usr/X11R6/bin/mkfontdir   is needed by kappa20-0.3-7
        /usr/X11R6/bin/mkfontdir   is needed by 
XFree86-ISO8859-15-100dpi-fonts-4.1.0-25
        /usr/X11R6/bin/mkfontdir   is needed by xawtv-3.54-5
        /usr/X11R6/bin/mkfontdir   is needed by XFree86-ISO8859-15-75dpi-fonts-4.1.0-25
        /usr/X11R6/bin/mkfontdir   is needed by knm_new-1.1-5
        /usr/X11R6/bin/xauth is needed by mkxauth-1.7-16

None of this makes any sense to me, since all the dependencies that it's
complaining about are provided by the packages I'm trying to install!

Further reading of the badly written rpm man page shows that the -v
option is apparently allowed with -U.

One of the warnings made sense - the freetype-devel one - so I've also
downloaded the 4.2.0 package for that too.

I wasn't quite game to use --force, so I tried this, below, and at least
the system hasn't crashed:

[root@posh X]# rpm -Uh --nodeps --replacefiles XF* font* free*
########################################### [100%]
package XFree86-base-fonts-4.2.0-52.01 is already installed
package fontconfig-0.0.1.020826.1330-3 is already installed
[root@posh X]# which mkfontdir
/usr/X11R6/bin/mkfontdir
[root@posh X]# which ttmkfdir
/usr/bin/ttmkfdir

However, things still appear to be doubly installed:

[root@posh X]# rpm -qa | grep XFree86 | sort 
XFree86-100dpi-fonts-4.1.0-25
XFree86-4.1.0-25
XFree86-4.2.0-52.01
XFree86-75dpi-fonts-4.1.0-25
XFree86-base-fonts-4.2.0-52.01
XFree86-compat-libs-4.0.3-2
XFree86-devel-4.1.0-25
XFree86-ISO8859-15-100dpi-fonts-4.1.0-25
XFree86-ISO8859-15-75dpi-fonts-4.1.0-25
XFree86-jpfonts-2.1-24
XFree86-libs-4.1.0-25
XFree86-libs-4.2.0-52.01
XFree86-tools-4.1.0-25
XFree86-twm-4.1.0-25
XFree86-xdm-4.1.0-25
XFree86-xfs-4.1.0-25
XFree86-xfs-4.2.0-52.01

I see that it appears not to have installed any of the
-4.2.0-8.i386.rpm files, either: XFree86-100dpi-fonts
XFree86-75dpi-fonts XFree86-devel XFree86-tools
XFree86-twm XFree86-xdm

Any idea why that would be?

Oh, and after upgrading to kernel 2.4.19 and installing the X stuff
last night, I tried a severe test: 1600x1200 mode, netscape ... and the
system crashed (black screen of death).  I then tried 1280x1200 mode
and netscape.  Seemed to work for a while - then froze.  So I seem to be
back where I started.  My 1 year old Linux box has now had between 5 to
10 times as many crashes as my wife's 5 year old Windows 95 PC.  :-(

luke

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to