Bug#992164: calamares: Creating a new blank partition table GPT/UEFI results in failure

2021-08-14 Thread liz
Package: calamares
Severity: critical
Justification: breaks the whole system
X-Debbugs-Cc: itsvaporw...@icloud.com

Dear Maintainer,

I was testing Debian 11 Bullseye on a Thinkpad T530 with UEFI/GPT and LVM. When 
the new volume group was being created, the error 'Create a new partition table 
(type gpt_ on '/dev/debian-vg') is shown. Once this is closed, calamares 
installer closes and results in failure.



-- System Information:
Debian Release: 11.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages calamares depends on:
ii  kpackagetool5   5.78.0-3
pn  libboost-python1.74.0   
pn  libboost-python1.74.0-py39  
ii  libc6   2.31-13
ii  libcrypt1   1:4.4.18-4
ii  libgcc-s1   10.2.1-6
ii  libkf5configcore5   5.78.0-4
ii  libkf5coreaddons5   5.78.0-4
ii  libkf5package5  5.78.0-3
ii  libkf5parts55.78.0-3
ii  libkf5service-bin   5.78.0-2
ii  libkf5service5  5.78.0-2
ii  libkpmcore1020.12.3-2
ii  libparted2  3.4-1
pn  libpwquality1   
ii  libpython3.93.9.2-1
ii  libqt5core5a5.15.2+dfsg-9
ii  libqt5dbus5 5.15.2+dfsg-9
ii  libqt5gui5  5.15.2+dfsg-9
ii  libqt5network5  5.15.2+dfsg-9
ii  libqt5qml5  5.15.2+dfsg-6
ii  libqt5quick55.15.2+dfsg-6
ii  libqt5quickwidgets5 5.15.2+dfsg-6
ii  libqt5svg5  5.15.2-3
ii  libqt5webkit5   5.212.0~alpha4-11
ii  libqt5widgets5  5.15.2+dfsg-9
ii  libqt5xml5  5.15.2+dfsg-9
ii  libstdc++6  10.2.1-6
pn  libyaml-cpp0.6  
ii  os-prober   1.79

Versions of packages calamares recommends:
ii  btrfs-progs 5.10.1-2
pn  squashfs-tools  

calamares suggests no packages.



Bug#992164: calamares: Creating a new blank partition table GPT/UEFI results in failure

2021-08-14 Thread Steve McIntyre
On Sat, Aug 14, 2021 at 05:50:47PM +0100, Steve McIntyre wrote:
>
>Starting in BIOS mode on a kde i386 live image. The existing disk on
>my test system has an LVM setup on it. I've told calamares to wipe the
>whole disk and do a fresh installation, but it looks like the code to
>work out the existing disks has got confused and it thinks that the
>whole disk is /dev/debian-vg rather than /dev/sda. Three attachments
>here:
>
> * partitions.txt is the output of "fdisk -l" at the start
> * Screenshot_20210814_174257.png shows calamares just before I hit
>   "Install"
> * Screenshot_20210814_174916.png shows the error message

FTAOD: I've just cleared the partition on the disk and restarted
calamares and now it's working fine.


-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
"I used to be the first kid on the block wanting a cranial implant,
 now I want to be the first with a cranial firewall. " -- Charlie Stross