Update manager doesn't calculate free space correctly for distribution upgrade
Bug #986272 reported by
bcbc
This bug affects 16 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
I ran an upgrade from 11.10 to 12.04 with 1.9GB free space. No warning was given about insufficient free space. I received two popup windows during the upgrade informing me that I was low on space and this went down to less than 100MB (as I manually freed up space).
The problem may be:
1. ~1800 packages are downloaded (this could be the amount of free space it thinks it needs
2. After upgrading and removing old packages it uses a net amount of ~500MB (this could be the free space it thinks)
3. During unpacking and installing 1800 packages it uses 2GB+ <== this is definitely not the amount of space it thinks it needs.
tags: | added: dist-upgrade |
Changed in update-manager (Ubuntu): | |
importance: | Undecided → Medium |
affects: | update-manager (Ubuntu) → ubuntu-release-upgrader (Ubuntu) |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Confirmed → Triaged |
To post a comment you must log in.
2012-04-18 22:18:42,171 DEBUG Free space on /: 1856667648
2012-04-18 22:18:45,900 DEBUG dir '/var/cache/ apt/archives' needs '987733436' of '<DistUpgradeCa che.FreeSpace object at 0xae731cc>' (1856667648.000000) che.FreeSpace object at 0xae731cc>' (868934212.000000) che.FreeSpace object at 0xae731cc>' (657203780.000000) che.FreeSpace object at 0xae731cc>' (604774980.000000) che.FreeSpace object at 0xae731cc>' (582429444.000000) che.FreeSpace object at 0xae731cc>' (577186564.000000) che.FreeSpace object at 0xae731cc>' (566700804.000000) che.FreeSpace object at 0xae731cc>' (566700804.000000)
2012-04-18 22:18:45,901 DEBUG dir '/usr' needs '211730432' of '<DistUpgradeCa
2012-04-18 22:18:45,901 DEBUG dir '/usr' needs '52428800' of '<DistUpgradeCa
2012-04-18 22:18:45,901 DEBUG dir '/boot' needs '22345536' of '<DistUpgradeCa
2012-04-18 22:18:45,901 DEBUG dir '/tmp' needs '5242880' of '<DistUpgradeCa
2012-04-18 22:18:45,901 DEBUG dir '/' needs '10485760' of '<DistUpgradeCa
2012-04-18 22:18:45,901 DEBUG dir '/tmp' needs '0.0' of '<DistUpgradeCa
2012-04-18 22:18:45,901 DEBUG dir '/usr' needs '0.0' of '<DistUpgradeCa