The patch dkms.diff seems incorrect for a few reasons:

1. It's a patch against the local filesystem, not against the dkms
source.

2. I can't see it fixing the problem. In fact, the patch should
introduce the bug or make it worse. Because $ARCH is an optional
variable, it can be empty. That means your changes to the various dkms
commands would probably cause more problems than they solve by passing
-a without subsequent parameters.

More likely, it sounds like your problem is that $4 to common.postinst
has been passed spaces " ".

But the most likely cause of what you're experiencing is a broken shell. To 
test this theory:
  sh -c 'A="b c"; sh -c "echo \$#" $A'
The output should be 1, but I suspect your shell gives 0. And that's a bug in 
the shell. Such a bug does not seem to exist in bash or dash under ubuntu 11.04 
though.

Finally, please execute the following command, as it will automatically gather 
debugging information, in a terminal:
apport-collect 785937
When reporting bugs in the future please use apport by using 'ubuntu-bug' and 
the name of the package affected. You can learn more about this functionality 
at https://wiki.ubuntu.com/ReportingBugs.

** Changed in: dkms (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/785937

Title:
  $ARCH in common.postinst breaks everything

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

Reply via email to