[Bug 2013243] [NEW] Disk spacce required for upgrade incorrect and upgrade fails

Rich Hauke 2013243 at bugs.launchpad.net
Wed Mar 29 19:45:19 UTC 2023


Public bug reported:

Reporting issue as requested by the do-release-upgrade failure output.

Upgrading from 20.04 LTS to 20.04.2 LTS using "do-release-upgrade".

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://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+filebug
and attach the files in /var/log/dist-upgrade/ to the bug report.
E:Sub-process /usr/bin/dpkg returned an error code (2)
dpkg: unrecoverable fatal error, aborting:
unable to fill /var/lib/dpkg/updates/tmp.i with padding: No space left on device
Logging error ---
--
Traceback (most recent call last):
File "/usr/lib/python3.10/logging/__init__.py", line 1104, in emit
self.flush()
File "/usr/lib/python3.10/logging/_init_.py", line 1084, in flush
self.stream.flush()
SError: [Errno 28] No space left on device
all stack:
File /tmp/ubuntu-release-upgrader-go7hg9ns/./xorg_fix_proprietary.py", line 88, in <module>
logging. info("$s running" * sys.argv[0])
essage: '/usr/bin/do-release-upgrade running'
rguments: ()
Logging error
-
raceback (most recent call last):
File "/usr/lib/python3.10/logging/__init_.py", line 1104, in emit
self.flush()
File "/usr/lib/python3.10/logging/_init_.py", line 1084, in flush
self.stream.flush()
SError: [Errno 28] No space left on device
all stack:
File "/tmp/ubuntu-release-upgrader-go7hg9ns/./xorg_fix_proprietary.py", line 91, in <module>
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]

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Files in /var/log/dist-upgrade as requested in error message."
   https://bugs.launchpad.net/bugs/2013243/+attachment/5658759/+files/dist-upgrade-files.tgz

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2013243

Title:
  Disk spacce required for upgrade incorrect and upgrade fails

Status in ubuntu-release-upgrader package in Ubuntu:
  New

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-upgrade".

  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://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+filebug
  and attach the files in /var/log/dist-upgrade/ to the bug report.
  E:Sub-process /usr/bin/dpkg returned an error code (2)
  dpkg: unrecoverable fatal error, aborting:
  unable to fill /var/lib/dpkg/updates/tmp.i with padding: No space left on device
  Logging error ---
  --
  Traceback (most recent call last):
  File "/usr/lib/python3.10/logging/__init__.py", line 1104, in emit
  self.flush()
  File "/usr/lib/python3.10/logging/_init_.py", line 1084, in flush
  self.stream.flush()
  SError: [Errno 28] No space left on device
  all stack:
  File /tmp/ubuntu-release-upgrader-go7hg9ns/./xorg_fix_proprietary.py", line 88, in <module>
  logging. info("$s running" * sys.argv[0])
  essage: '/usr/bin/do-release-upgrade running'
  rguments: ()
  Logging error
  -
  raceback (most recent call last):
  File "/usr/lib/python3.10/logging/__init_.py", line 1104, in emit
  self.flush()
  File "/usr/lib/python3.10/logging/_init_.py", line 1084, in flush
  self.stream.flush()
  SError: [Errno 28] No space left on device
  all stack:
  File "/tmp/ubuntu-release-upgrader-go7hg9ns/./xorg_fix_proprietary.py", line 91, in <module>
  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]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2013243/+subscriptions




More information about the foundations-bugs mailing list