Missing files need restoring from RPMs - help

Vidiot brown at mrvideo.vidiot.com
Thu Dec 8 09:49:10 UTC 2005


>To find out what files are associated with a package use the --whatprovides option to rpm ie
>
>rpm -q --whatprovides  /usr/X11R6/bin/bitmap
>xorg-x11-6.8.1-23.EL

That is what I figured.  Turns out that I assumed something that is wrong,
i.e., the "bitmap" it is complaining about isn't in /usr/X11R6/lib/modules
and the example you show does exist on my system.

>rpm -v <packageX> should tell you if a file related to packageX is missing.

It is actually -V, but that is a big help.  It shows a bunch files missing
when I feed it all of the XFree86 packages that are on the CD.  I'm not
sure how to tell rpm to only install the missing files.

>Its also possible that you may be able to boot off the install media and perform a repair install, but I'm not sure with RH7.1 .

I might hve to bring the system down and try that.

This is the error that I am getting from the X startup log:

(**) FontPath set to "unix/:7100"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 7
                                                                                
(WW) Warning, couldn't open module bitmap
(EE) Failed to load module "bitmap" (module does not exist, 0)
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
        compiled for 4.0.3, module version = 0.1.0
                                                                                
Fatal server error:
Unable to load required base modules, Exiting...
                                                                                
The /var/log/XFree86.0.log has the following:

(**) FontPath set to "unix/:7100"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 7
                                                                                
(II) Open APM successful
(II) Module ABI versions:
        XFree86 ANSI C Emulation: 0.1
        XFree86 Video Driver: 0.3
        XFree86 XInput driver : 0.1
        XFree86 Server Extension : 0.1
        XFree86 Font Renderer : 0.2
(II) Loader running on linux
(II) LoadModule: "bitmap"
(WW) Warning, couldn't open module bitmap
(II) UnloadModule: "bitmap"
(EE) Failed to load module "bitmap" (module does not exist, 0)
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
        compiled for 4.0.3, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.3
                                                                                
Fatal server error:
Unable to load required base modules, Exiting...
                                                                                


I think I see which module is missing.  The "module" has "lib" in front
of the name and the following files are reported missing:

missing    /usr/X11R6/lib/modules/fonts
missing    /usr/X11R6/lib/modules/fonts/libbitmap.a
missing    /usr/X11R6/lib/modules/fonts/libfreetype.a
missing    /usr/X11R6/lib/modules/fonts/libspeedo.a
missing    /usr/X11R6/lib/modules/fonts/libtype1.a
missing    /usr/X11R6/lib/modules/fonts/libxtt.a


Notice that one of them has "bitmap" in the name.

Thanks.  You help appears to have pointed out what I am missing.  Now to get
RPM to install the missing files.

MB
-- 
e-mail: vidiot at vidiot.com                                /~\ The ASCII
                                                         \ / Ribbon Campaign
[So it's true, scythe matters.  Willow  5/12/03]          X  Against
Visit - URL: http://vidiot.com/                          / \ HTML Email




More information about the redhat-list mailing list