mkswap fails because you appear to have something that looks like an MBR ( like a previous fat filesystem ) in that partition and mkswap has a foolish check where it refuses to wipe out an MBR that is triggered by this and the fact that you are using fakeraid. You can work around this by using dd to copy /dev/zero to the first sector of the partition. The proper fix for this is for mkswap to be invoked with a -f switch to force it to erase the MBR.
** Package changed: ubiquity (Ubuntu) => partman-basicfilesystems (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/990744 Title: Ubuntu installer says: The creation of swap space in partition failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/partman-basicfilesystems/+bug/990744/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs