Well... I'm in the process of doing this now and ran into a problem. I hope I didn't screw things up. Please look at the terminal sessions posted below. Things don't look right to me and my big concerns are in session #2 where it says;
"E: Couldn't find package linux-headers-uname -r"
and.....
"The following packages will be REMOVED:
linux-restricted-modules-2.6.24-24-rt*
linux-restricted-modules-2.6.24-25-rt* linux-restricted-modules-rt*
linux-rt* nvidia-kernel-common* nvidia-new-kernel-source* nvidia-settings*
0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
After this operation, 104MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort."
The two kernels listed are the only two I have installed. This doesn't make sense to remove them on top of the fact that it didn't install the "build-essential linux-headers-'uname -r'" as well. Something just doesn't look/feel right here.
Code:
Terminal Session 1:
-------------------
XXXXXXXXXX@ubuntu:~$ sudo apt-get --purge remove nvidia-glx* nvidia-kernel-common nvidia-settings
[sudo] password for XXXXXXXXXX:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting nvidia-glx-legacy-envy for regex 'nvidia-glx*'
Note, selecting nvidia-glx-dev-envy for regex 'nvidia-glx*'
Note, selecting nvidia-glx-dev for regex 'nvidia-glx*'
Note, selecting nvidia-glx-new for regex 'nvidia-glx*'
Note, selecting nvidia-glx-new-envy for regex 'nvidia-glx*'
Note, selecting nvidia-glx-src for regex 'nvidia-glx*'
Note, selecting nvidia-glx-new-dev-envy for regex 'nvidia-glx*'
Note, selecting nvidia-glx-legacy-dev for regex 'nvidia-glx*'
Note, selecting nvidia-glx-new-dev for regex 'nvidia-glx*'
Note, selecting nvidia-glx-envy for regex 'nvidia-glx*'
Note, selecting nvidia-glx-legacy-dev-envy for regex 'nvidia-glx*'
Note, selecting nvidia-glx-legacy for regex 'nvidia-glx*'
Note, selecting nvidia-glx for regex 'nvidia-glx*'
E: Couldn't find package nvidia-glx*
XXXXXXXXXX@ubuntu:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gcjwebplugin-4.2
The following packages will be REMOVED:
gcjwebplugin-4.2
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 65.5kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 264230 files and directories currently installed.)
Removing gcjwebplugin-4.2 ...
XXXXXXXXXX@ubuntu:~$ exit
*Note: autoremoved file via synaptic while purging repository version of nvidia video driver <sudu apt-get autoremove>: gcjwebplugin-4.2
Terminal Session 2:
------------------
XXXXXXXXXX@ubuntu:~$ sudo cp /etc/X11/xorg.config etc/X11/xorg.config.original
cp: cannot stat `/etc/X11/xorg.config': No such file or directory
XXXXXXXXXX@ubuntu:~$ sudo dpkg-reconfigure -phigh xserver-xorg
xserver-xorg postinst warning: overwriting possibly-customised configuration
file; backup in /etc/X11/xorg.conf.20091111135547
XXXXXXXXXX@ubuntu:~$ sudo apt-get install build-essential linux-headers-'uname -r'
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-headers-uname -r
XXXXXXXXXX@ubuntu:~$ sudo apt-get --purge remove $(dpkg -l | grep nvidia | awk '{print $2}')
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nvidia-glx-new is not installed, so not removed
The following packages were automatically installed and are no longer required:
dpatch
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
linux-restricted-modules-2.6.24-24-rt*
linux-restricted-modules-2.6.24-25-rt* linux-restricted-modules-rt*
linux-rt* nvidia-kernel-common* nvidia-new-kernel-source* nvidia-settings*
0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
After this operation, 104MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
XXXXXXXXXX@ubuntu:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
XXXXXXXXXX@ubuntu:~$ exit
Initially I disabled the old nvidia video driver via '>System >Administration >Hardware Drivers', which removed it at that time. Session #1 was to make sure it was removed completely. At this time I'm running in the default mode of things relative to video. All's good relatively speaking, just no effects (i.e... no Avant Window Navigator, Compiz, etc.) which is to be expected at this point. Do I need to fix or reverse anything and/or start over? Any help/suggestions will be appreciated. Thanks.
Regards,
Visible Spirit
Bookmarks