space requirement calculation seems to abort too early
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| update-manager (Ubuntu) |
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
Kees Cook (kees) wrote : | #1 |
Changed in update-manager: | |
assignee: | nobody → mvo |
milestone: | none → later |
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 |
Launchpad Janitor (janitor) wrote : | #2 |
This bug was fixed in the package update-manager - 1:0.110.0
---------------
update-manager (1:0.110.0) jaunty; urgency=low
* DistUpgrade/
- take changes in update-initramfs into account when
calculating the space requirements in /boot (LP: #287826)
- when doing the space calculation, show the required space
for each directory (if multiple need more space) LP: #219416
* DistUpgrade/
- updated for beta
* UpdateManager/
- set 5s timeout for the ReleaseNotes fetching (LP: #109397)
* UpdateManager/
- pass the correct FetchProgress to the release-upgrade fetching
code instead of the incorrect OpProgress
-- Michael Vogt <email address hidden> Thu, 19 Mar 2009 16:48:11 +0100
Changed in update-manager: | |
status: | In Progress → Fix Released |
I should note, this is for a Gutsy -> Hardy upgrade.