Merge lp:~ted/ubuntu/raring/ubuntu-drivers-common/nvidia-experimental-number into lp:ubuntu/raring/ubuntu-drivers-common
| Status: | Rejected |
|---|---|
| Rejected by: | Martin Pitt on 2012-12-10 |
| Proposed branch: | lp:~ted/ubuntu/raring/ubuntu-drivers-common/nvidia-experimental-number |
| Merge into: | lp:ubuntu/raring/ubuntu-drivers-common |
| Diff against target: |
12 lines (+1/-1) 1 file modified
NvidiaDetector/nvidiadetector.py (+1/-1) |
| To merge this branch: | bzr merge lp:~ted/ubuntu/raring/ubuntu-drivers-common/nvidia-experimental-number |
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ubuntu branches | 2012-12-04 | Pending | |
|
Review via email:
|
|||
Description of the Change
#1 issue on errors.ubuntu.com, would be good to see this get in. Basically we're just parsing the package name incorrectly for the new packages that have started appearing.
| Alberto Milone (albertomilone) wrote : | # |
| Alberto Milone (albertomilone) wrote : | # |
It should be fixed as of 1:0.2.71.1 but errors.ubuntu.com seems to think otherwise
| Ted Gould (ted) wrote : | # |
I didn't see your fix, I was just following the stack trace that errors
came back with. It definitely thinks it is still occurring. I was just
clicking and thinking "I can fix that" ;-)
| Sebastien Bacher (seb128) wrote : | # |
setting to "work in progress" so it gets off the sponsoring queue since "reject" is not available as a status, the issue seems to be resolved for quantal/raring looking at errors.ubuntu.com, jockey in precise needs a fix still though?
| Martin Pitt (pitti) wrote : | # |
Alberto says this is not an issue any more in current precise/
| Timo Jyrinki (timo-jyrinki) wrote : | # |
It's still there at the errors.ubuntu.com #1 for latest precise-updates version 0.9.7-0ubuntu7.4. Nominated the bug #1054458 for precise.


I'm pretty sure I've already fixed this. The following code (which precedes the one you edited) should prevent nvidia-detector from processing packages containing the "experimental" string in their name:
for package in apt.Cache(): name.startswith ('nvidia- ')
continue
if (not package.
or 'updates' in package.name
or 'experimental' in package.name):