dpkg fails with error code (2)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Using Ubuntu Karmic Alpha 6, I encountered an error when trying to upgrade the distribution.
I installed it in VirtualBox to test. The install went well, and after that I tried to upgrade all packages with 'sudo apt-get upgrade' after 'sudo apt-get update'. The first time I did the upgrade, dpkg failed with error code 2:
[code]
(Reading database ... 105507 files and directories currently installed.)
Preparing to replace initscripts 2.87dsf-4ubuntu3 (using .../initscripts
Unpacking replacement initscripts ...
Processing triggers for sreadahead ...
Processing triggers for man-db ...
E: Sub-process /usr/bin/dpkg returned an error code (2)
[/code]
The second time I issued the 'sudo apt-get upgrade' statement, all went well.
Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug '435425', so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.