PDA

View Full Version : [ubuntu] nvidia error



furoido
May 14th, 2010, 02:55 AM
Recently upgraded to 10.04. Got no sound, upgrades give me partial error messages, and I think its related to this:

E: nvidia-kernel-common: subprocess installed post-installation script returned error exit status 1

Can anyone give me a very clear, step-by-step guide on how to resolve this?

Thanks!

furoido
May 14th, 2010, 06:09 AM
Recently upgraded to 10.04. Got no sound, upgrades give me partial error messages similar to this one:

E: nvidia-kernel-common: subprocess installed post-installation script returned error exit status 1

Seems I need to install new drivers/kernel?

Can anyone give me a very clear, step-by-step guide on how to do so?

Thanks!

cariboo
May 14th, 2010, 09:19 PM
It sounds like your upgrade didn't finish properly. Start in recovery mode, once at the menu select drop to root prompt with networking. Once at the prompt type:


apt-get -f install

once the above command has finished type:


aptitude update && aptitude safe-upgrade

this should hopefully finish the upgrade.

cariboo
May 14th, 2010, 09:22 PM
Please don't create multiple threads on the same subject, I have merged your two threads.

furoido
May 15th, 2010, 01:31 AM
Jut tried and seems problem is still there:

dpkg: error processing nvidia-kernel-common (--remove)
subprocess installed pre-removal script returned error exit status 127
update-re.d: warning: /etc/init.d/nvidia.kernel missing LSB information

and then a whole load of information, followed by:

dpkg:error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing: nvidia-kernel-common
E: sub-process /usr/bin/dpkg returned error code (1)

-humanaut-
May 15th, 2010, 02:59 AM
try running "dpkg --reconfigure -a" in a terminal I'd suggest a clean install at this point though. It might be easier because in my experience with upgrades if one things broken the next thing is just a fix away.

Soul-Sing
May 15th, 2010, 04:27 AM
this thread may be helpful: https://answers.edge.launchpad.net/ubuntu/+question/41235

furoido
May 15th, 2010, 09:48 AM
andrew@andrew-desktop:~$ dpkg --reconfigure -a
dpkg: unknown option --reconfigure

Type dpkg --help for help about installing and deinstalling packages ;
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license|--licence for copyright licence and lack of warranty (GNU GPL) .

Options marked produce a lot of output - pipe it through `less' or `more' !

Soul-Sing
May 15th, 2010, 11:25 AM
a
sudo dpkg --reconfigure -aisn't the solution in this case.

furoido
May 15th, 2010, 12:03 PM
leoquant,
thanks...sorry to be dumb, but what is the solution?!

Soul-Sing
May 15th, 2010, 12:32 PM
sudo -i

rm -rf /var/lib/dpkg/info/nvidia-kernel-common.*

apt-get remove nvidia-kernel-common

apt-get install nvidia-kernel-common

close terminal, new terminal:

sudo apt-get update

furoido
May 15th, 2010, 02:39 PM
pkg: warning: files list file for package `nvidia-kernel-common' missing, assuming package has no files currently installed.
(Reading database ... 191610 files and directories currently installed.)
Removing nvidia-kernel-common ...
root@andrew-desktop:~# apt-get install nvidia-kernel-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nvidia-kernel-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package nvidia-kernel-common has no installation candidate

furoido
May 15th, 2010, 02:46 PM
Seems to be working!! Thanks guys!

Soul-Sing
May 15th, 2010, 02:57 PM
Great, well done :KS