Upgrade from 7.04 to 7.10 results in broken X

Asked by shomboli

I upgraded Feisty to Gutsy online tonight, and the result is that I lost my graphic interface. Typing "dpkg-reconfigure xserver-xorg" in recovery mode results in :"xserver-xorg is broken or not fully installed". It worked fine in Feisty. How do I restore it in Gutsy? I have a Dell Inspiron 8500 with Windows XP Professional on the primary disk and Ubuntu Linux on the module bay secondary disk.My video card is an NVIDIA GeForce4 4200 Go(Dell Mobile).

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
Maria Antonia Lacerda (liassol2004) said :
#1

I upgrade from 7.04 to 7.10 and is broken or not fully installed.
I try made upgrade to "hpijs;hplip;hplip-data;libmysqlclient15off;mysql-common and tk8.4 and result error

Revision history for this message
shomboli (timmy36) said :
#2

Trying X-configure results in "API mismatch: the NVIDIA kernel module has the version 1.0-9631, but this X module has the version 1.0-9639. Please make sure that the kernel module and all NVIDIA driver components have the same version."

Well, I'm baffled! It worked before the Gutsy upgrade, but I don't know how to fix it now.

Also, my menu.lst now has entries for kernel 2.6.22-14, but if I select them at boot-up, I get a kernel panic. I can still boot into text mode using the old kernels' recovery mode, and when I check the /boot and /boot/grub directories I notice that there is no /boot/initrd.img line in grub for the 2.6.22-14 entries, and no initrd.img in /boot either, but there is a config-2.6.22-14 instead.

I'm still baffled.

Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#3

Try to start in standard mode ignore error and go to into a terminal by pressing CTRL+ALT+F2 or CTRL+ALT+F3 ...
make a login
then try
sudo apt-get update
sudo apt-get --reinstall install xserver-xorg
sudo apt-get install ubuntu-desktop ( to be sure there are no some else desktop install errors )
go to your /etc/X11 dir
cd /etc/X11
make a copy of actual xorg.conf
sudo cp xorg.conf xorg.old
then try to reconfigure xserver-xorg
sudo dpkg-reconfigure xserver-xorg
then reboot
sudo reboot

HTH

Revision history for this message
shomboli (timmy36) said :
#4

Cool! The "sudo apt-get update" did it for me: both X and the new kernel work for me now! Thanks for the magic!