How to fix "bad return status for module....."?

Asked by Ken Weill P. Lumacad

I downloaded and installed Ubuntu 10.10 Alpha 1 for testing purposes.
After installation, I update then upgrade. I found out that I can't change resolution. I can't change it to 1024x768. I only got a list of 800x600, with refresh rate list of 0. Nothing else.
Now, I tried to install the proprietary driver of my nvidia card and was hoping to get it fixed by installing it. But without luck, i receive an error while installing it. Receive the error " SystemError: installArchives()failed".

From that moment on, I can't upgrade from terminal. I get this error:

[quote]
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up nvidia-173 (173.14.22-0ubuntu11) ...
Removing old nvidia-173-173.14.22 DKMS files...

------------------------------
Deleting module version: 173.14.22
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-173-173.14.22 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.34-5-generic
Building for architecture i686
Building initial module for 2.6.34-5-generic

Error! Bad return status for module build on kernel: 2.6.34-5-generic (i686)
Consult the make.log in the build directory
/var/lib/dkms/nvidia-173/173.14.22/build/ for more information.
Traceback (most recent call last):
  File "/usr/share/apport/package-hooks/dkms.py", line 57, in <module>
    report.write(open(apport.fileutils.make_report_path(report), 'w'))
IOError: [Errno 2] No such file or directory: '/var/crash/nvidia-173.0.crash'
dpkg: error processing nvidia-173 (--configure):
 subprocess installed post-installation script returned error exit status 10
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_PH.utf8.cache...
Processing triggers for python-support ...
Errors were encountered while processing:
 nvidia-173
E: Sub-process /usr/bin/dpkg returned an error code (1)

[/quote]

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

sudo apt-get --reinstall install dkms

may help.

Revision history for this message
Andrea Corbellini (andrea.corbellini) said :
#2

You may also want to report a new bug report using: apport-bug

Can you help with this problem?

Provide an answer of your own, or ask Ken Weill P. Lumacad for more information if necessary.

To post a message you must log in.