Disk spacce required for upgrade incorrect and upgrade fails
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| ubuntu-release-upgrader (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
Reporting issue as requested by the do-release-upgrade failure output.
Upgrading from 20.04 LTS to 20.04.2 LTS using "do-release-
First attempt at upgrade stopped due to insufficient disk space warning, 3.3 GB available of required 5 GB on / filesystem. Aborted upgrade and proceeded to clear up space.
Cleared up space to have 5.2 GB available on / filesystem.
Second attempt proceeded, ran for quite some time and failed with following message:
The upgrade has aborted. Your system could be in an unusable state. A
recovery will run now (dpkg --configure -a).
Please report this bug in a browser at
http://
and attach the files in /var/log/
E:Sub-process /usr/bin/dpkg returned an error code (2)
dpkg: unrecoverable fatal error, aborting:
unable to fill /var/lib/
Logging error ---
--
Traceback (most recent call last):
File "/usr/lib/
self.flush()
File "/usr/lib/
self.stream.flush()
SError: [Errno 28] No space left on device
all stack:
File /tmp/ubuntu-
logging. info("$s running" * sys.argv[0])
essage: '/usr/bin/
rguments: ()
Logging error
-
raceback (most recent call last):
File "/usr/lib/
self.flush()
File "/usr/lib/
self.stream.flush()
SError: [Errno 28] No space left on device
all stack:
File "/tmp/ubuntu-
logging.infol "No xorg.conf, exiting")
essage: 'No xorg.conf, exiting'
rguments: ()
ograde complete
ve upgrade has completed but there were errors during the upgrade
ocess.
‣ continue please press [ENTER]
