space requirement calculation seems to abort too early
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt |
Bug Description
Binary package hint: update-manager
I was attempting upgrades in a kvm instance, but didn't have enough disk space.
I then noticed that the upgrade was requiring more and more space, even though I was freeing as much as it was asking for. Since the dist-upgrade logs are over-written (should they be set to append?), I don't have the prior history, but I started copying them off and comparing the space calculations. Note the "needs" value growing from 1377M to 1513M. This was more dramatic earlier when it claimed it only needed 600M, then 900M, then 1000M (roughly) in earlier attempts when there was very little disk space free (<200M, <400M, <800M roughly).
failed ("needs a total of 1377M"):
2008-04-18 16:10:34,723 DEBUG dir '/var/cache/
2008-04-18 16:10:34,724 DEBUG dir '/usr' needs '634007552.0' of '<DistUpgradeCo
2008-04-18 16:10:34,725 ERROR not enough free space on /usr (missing 497M)
*purge openoffice*
/dev/sda1 3.8G 2.3G 1.1G 64% /
failed ("needs a total of 1513M"):
2008-04-18 16:15:06,012 DEBUG dir '/var/cache/
2008-04-18 16:15:06,013 DEBUG dir '/usr' needs '809545728.0' of '<DistUpgradeCo
2008-04-18 16:15:06,013 ERROR not enough free space on /usr (missing 345M)
*remove 200M junk file*
/dev/sda1 3.8G 2.3G 1.3G 64% /
failed ("needs a total of 1513M"):
2008-04-18 16:21:58,000 DEBUG dir '/var/cache/
2008-04-18 16:21:58,001 DEBUG dir '/usr' needs '809545728.0' of '<DistUpgradeCo
2008-04-18 16:21:58,001 ERROR not enough free space on /usr (missing 144M)
*remove autoremove packages*
/dev/sda1 3.8G 2.3G 1.3G 64% /
*remove ia32-libs, koffice, and newly auto-removeable stuff*
/dev/sda1 3.8G 2.0G 1.6G 55% /
finally:
2008-04-18 16:34:59,942 DEBUG dir '/var/cache/
2008-04-18 16:34:59,944 DEBUG dir '/usr' needs '790843392.0' of '<DistUpgradeCo
2008-04-18 16:34:59,944 DEBUG dir '/usr' needs '52428800' of '<DistUpgradeCo
2008-04-18 16:34:59,944 DEBUG dir '/boot' needs '20971520' of '<DistUpgradeCo
2008-04-18 16:34:59,944 DEBUG dir '/' needs '10485760' of '<DistUpgradeCo
Changed in update-manager: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in update-manager: | |
status: | Confirmed → Triaged |
Changed in update-manager (Ubuntu): | |
status: | Triaged → In Progress |
I should note, this is for a Gutsy -> Hardy upgrade.