Re: USB keyboard and mouse stopped working in X ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-09-17 at 20:34 -0430, Patrick O'Callaghan wrote:

> This is what I did:
> 
> 1) Used "grep xorg-x11 /var/log/yum.log" to see what the latest yum
> update installed in relation to X. This gave me
> xorg-x11-Xorg-server-common and xorg-x11-Xorg-server-Xorg plus some
> other things which don't seem relevant.
> 
> 2) Used yumdownloader (from the yum-utils package: "yum install
> yum-utils") to get the previous versions of these packages, which the
> update had wiped from my cache. Note that you have to provide the
> package names, which the above grep can also give you, assuming you
> updated Xorg at least once since installing the system. If not, get the
> ones from the install CD.
> 
> 3) Use "rpm -ihv --oldpackage old1.rpm old2.rpm" to install. Hopefully
> you won't end up in dependancy hell.
> 
> 4) Restart X and cross fingers.
> 
> No guarantees, YMMV, etc. etc.
> 
> poc
> 
> PS Some day maybe we'll have an "undo" option for yum :-)

That would be nice !

I got my keyboard and mouse working with X again by rolling back to the
previous Xorg files.  Here is how I did it.  (All commands run as root
from the console.)

1) Find out what got updated this morning:

# grep xorg-x11 /var/log/yum.log
Sep 10 09:33:53 Updated: xorg-x11-drv-geode-2.10.1-1.fc9.i386
Sep 12 12:53:23 Updated: xorg-x11-proto-devel-7.3-12.1.fc9.noarch
Sep 17 07:59:40 Updated: xorg-x11-server-common-1.5.0-1.fc9.i386
Sep 17 08:00:02 Updated: xorg-x11-server-Xorg-1.5.0-1.fc9.i386
Sep 17 08:00:03 Updated: xorg-x11-drv-evdev-2.0.4-1.fc9.i386

I see that 3 Xorg files changed today.


2) Install yum-utils so that I can run yumdownloader.
yum install yum-utils   

3) Find the previous version of the first file.

yum list --showduplicates xorg-x11-server-common
Loaded plugins: priorities, refresh-packagekit
Installed Packages
xorg-x11-server-common.i386              1.4.99.901-29.20080415
available
xorg-x11-server-common.i386              1.5.0-1.fc9
installed

4) Download the first file.
yumdownloader xorg-x11-server-common-1.4.99.901-29.20080415.i386

5) Find the previous version of the second file.

yum list --showduplicates xorg-x11-server-common
Loaded plugins: priorities, refresh-packagekit
Installed Packages
xorg-x11-server-common.i386              1.4.99.901-29.20080415
available
xorg-x11-server-common.i386              1.5.0-1.fc9
installed

6) Download the previous version of the second file.
yumdownloader xorg-x11-server-Xorg-1.4.99.901-29.20080415.fc9.i386

7) Find the previous version of the 3rd file
yum list --showduplicates xorg-x11-drv-evdev
Loaded plugins: priorities, refresh-packagekit
Installed Packages
xorg-x11-drv-evdev.i386                  1.99.1-0.5.fc9
available
xorg-x11-drv-evdev.i386                  2.0.4-1.fc9
installed

8) Download the previous version of the 3rd file
yumdownloader xorg-x11-drv-evdev-1.99.1-0.5.fc9.i386

9) Install the files with rpm.
rpm -i --force *.rpm

10) Reboot
/sbin/shutdown -r now


I hope this helps someone.




-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux