Solution to UBI partman failed with code 141 when installing Ubuntu

when installing ubuntu with livecd, ubi-partman failed with code 141 May occur when the hard disk partition step is taken. The solution:

Ctrl+Alt+t pop-up terminal, input:

sudo fdisk /dev/sda

#sda is my hard disk device number, according to your system, it should be modified to the appropriate device number

then take a look at the partitions above sda with the p command, delete all Linux native and swap partitions with the d command (NTFS \ fat32 are for Windows, needless to say you wouldn’t dare to touch them), then write to the partition table with the w command, then double-click Install Ubuntu icon again, enter the installation process, everything is ok.

Read More: