[Bug 1999489] Re: Ubuntu 22.04.1 installation "forgets" to remove swap partition (of 16.04)

Chris Guiver 1999489 at bugs.launchpad.net
Tue Dec 13 12:16:40 UTC 2022


Thank you for taking the time to report this bug and helping to make
Ubuntu better.

Ubuntu 22.04 LTS will use swap partitions, or swap files (or both). Each
has advantages & disadvantages, and some users will prefer to use one
over the other. Some may prefer the swap partition to be auto-deleted,
yet if it was deleted others would see that as a bug.

If you upgrade, you'll continue using the same method as you used before
(ie. if using swap-partition, your system would still use that swap-
partition).

As I understand it, you used a 'Replace partition' type of install,
which won't make changes to other partitions. As a swap partition could
be used by other OSes (non-Ubuntu's or other Ubuntu installs) your
request for removal could break those other OSes, which I'd see as a bad
move. I use swap partition myself so my swap partition can be utilized
by my other installed OSes (as I dual boot).

Please execute the following command only once, as it will automatically
gather debugging information, in a terminal:

apport-collect 1999489

When reporting bugs in the future please use apport by using 'ubuntu-
bug' and the name of the package affected. You can learn more about this
functionality at https://wiki.ubuntu.com/ReportingBugs.

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

Title:
  Ubuntu 22.04.1 installation "forgets" to remove swap partition (of
  16.04)

Status in ubiquity package in Ubuntu:
  New

Bug description:
  I installed Ubuntu 22.04.1 on a disk that contained 16.04.
  During the installation I selected "Overwrite 16.04" (it was named similarly).
  The installation worked fine except for one thing:

  The swap partition of 16.04 was not deleted, even though Ubuntu 22.04
  uses a swap file and not a swap partition. So the swap partition
  wastes disk space.

  The problem description probably applies to all Ubuntu versions (or
  Linux distributions?) that include a swap partition (hint: does an LTS
  upgrade from 16.04 to 18.04 keep the swap partition from 16.04?).

  
  Translated with www.DeepL.com/Translator (free version)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1999489/+subscriptions




More information about the foundations-bugs mailing list