lexmark-08z-series-driver causes update to 12.04 LTS to fail ungracefully
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Summary:
A linebreak in the description field of lexmark-
/var/lib/
and
/var/lib/
Causes update to 12.04LTS to fail with error:
dpkg: error: parsing file '/var/lib/
E: Sub-process /usr/bin/
(nb. this error also happens with var/lib/dpkg/status )
Workaround:
Had to fix setuid of /usr/lib/
Had to manually remove the line breaks from the description field of /var/lib/
Proposed solutions:
* Validate /var/lib/
* Fail gracefully, notify user, and fix setuid if possible.
* black list lexmark-
Expected:
Run update to 12.04LTS successfully
Actual:
I was updating to 12.04LTS from 11.10 (xbuntu variant)
I was using update manager, and it seemed to run through fine, it then asked to be rebooted.
After I rebooted something was wrong, mouse not moving, UI not loading up correctly etc.
I dropped into a console and ran apt-get update && apt-get upgrade. I said I had 899 packages to upgrade. To me this indicates that the package installation caused an issue during the install.
When I pressed Y to continue with apt-get upgrade, it failed with (from memory)
"setuid invalid for dbus-daemon-
I tried to correct this by fixing the setuid:
chmod 4755 /usr/lib/
When I ran apt-get upgrade the set UID problem had disappeared, but now it was failing with the error at the top of the report.
I manually checked the referenced files, and there is indeed a line break after the word "description".
To recreate:
Not tested: but would recommend installing lexmark-
NB. As of today all packages are current, I am in the middle of recovering my install, so I will update with package version numbers etc if required later.
Status changed to 'Confirmed' because the bug affects multiple users.