Upgrade Failure cleanup with lock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Software Updater |
Invalid
|
Undecided
|
Unassigned | ||
update-manager (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
For what ever reason my update for Hardy failed just after it had replaced the sources.list, the reason the process was killed was a simple enough mistake on my part (I killed it) the problem was that it wasn't able to safely recover from this state.
The update manager tried on the next hit to update packages, telling me that it could only do a partial upgrade. I decided this was an error and quit and replacing the sources.list with the distUpdate backup gutsy copy and apt-get updating; I could then do the upgrade as usual.
Should the upgrade not place some sort of "I'm upgrading hang on" lock in the /etc/apt or /var/cache dir so if something odd happens and it sees the lock it can try and repair it's self, putting the backup sources.lists back, repairing any other damage such as partial package upgrades and such.
Thoughts?
Changed in update-manager: | |
status: | New → Invalid |
Changed in update-manager: | |
status: | Invalid → New |
Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.