Hi,

I had a slightly different error message with the same package,
mentioning there was a missing quote in /etc/init.d/nvidia-kernel

<<<<<<<<<<<<<<<

[EMAIL PROTECTED]:~# apt-get upgrade nvidia-kernel-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  nvidia-kernel-common
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0B/5478B of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 266409 files and directories currently installed.)
Preparing to replace nvidia-kernel-common 20051028+1ubuntu7 (using 
.../nvidia-kernel-common_20051028+1ubuntu8_all.deb) ...

************************************************************************
*
* The update-modules command is deprecated and should not be used!
*
************************************************************************

/etc/init.d/nvidia-kernel: command substitution: line 8: unexpected EOF while 
looking for matching `''
/etc/init.d/nvidia-kernel: command substitution: line 9: syntax error: 
unexpected end of file
Unpacking replacement nvidia-kernel-common ...

************************************************************************
*
* The update-modules command is deprecated and should not be used!
*
************************************************************************

Setting up gstreamer0.10-plugins-good (0.10.7-3ubuntu0.1) ...

Setting up nvidia-kernel-common (20051028+1ubuntu8) ...
Installing new version of config file /etc/modprobe.d/nvidia-kernel-nkc ...

************************************************************************
*
* The update-modules command is deprecated and should not be used!
*
************************************************************************

/etc/init.d/nvidia-kernel: command substitution: line 8: unexpected EOF while 
looking for matching `''
/etc/init.d/nvidia-kernel: command substitution: line 9: syntax error: 
unexpected end of file

Setting up vorbis-tools (1.1.1-15ubuntu0.1) ...

>>>>>>>>>>>>>>>>


Adding a quote to line 8 of the /etc/init.d/nvidia-kernel script (at the end of 
the awk command) made the apt-get run smoothly. Line 8 becomes:

NVIDIA_CARDS=`/usr/bin/lspci | awk '/nVidia/{print 1}' `

I'm not sure everything is fixed, but at least the adept-manager and
apt-get don't die on me anymore. This package had even made my upgrade
to Hardy fail. Bloody pain, had to finish it off by hand.

Cheers,

Matthieu

-- 
[hardy] using deprecated update-modules command
https://bugs.launchpad.net/bugs/179497
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to