Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#37379 - [gnome-disk-utility] missing dependency: gptfdisk

Attached to Project: Arch Linux
Opened by mitsu (mitsu) - Thursday, 17 October 2013, 23:43 GMT
Last edited by Jan de Groot (JGC) - Monday, 02 October 2017, 07:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Formatting LUKS+ext4 partitions on GUID Partition Tables throws error:

********
Error setting partition type after formatting: Error setting partition flags on /dev/sdX1: Error spawning command-line `sgdisk --typecode 1:"XXXXX" "/dev/sdX"': Failed to execute child process "sgdisk" (No such file or directory) (g-exec-error-quark, 8) (udisks-error-quark, 0)
********

Partition SEEMS to work anyway. But.

SOLVED by installing package "gptfdisk" (which provides the missing tool "sgdisk"). No more error message.
-> gptfdisk should be added as gnome-disk-utility dependency.

Additional info:
* gnome-disk-utility 3.10.0-1
* gptfdisk 0.8.8-2

This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 02 October 2017, 07:29 GMT
Reason for closing:  Fixed
Comment by Matthias Dienstbier (fs4000) - Friday, 18 October 2013, 11:02 GMT
gptfdisk is not a dependency of gnome-disk-utility. It is a dependency of udisks2 and it is corrently optional as it is not needed for normal operation.
Comment by Tamaskan (Tamaskan) - Thursday, 09 June 2016, 23:40 GMT
  • Field changed: Percent Complete (100% → 0%)
sgdisk is used to set GPT partition labels. Incorrect labels could cause misbehavior (for example an EFI System Partition needs the correct label to get recognized by the EFI firmware).

gptfdisk contains small command line utilities with very few dependencies. It does no harm to depend on it, and it saves people's time because they don't need to investigate how to get rid of this confusing error message.
Comment by mattia (nTia89) - Sunday, 01 October 2017, 14:35 GMT
actually, gptfdisk is required by libblockdev which in turn is required by udisks2 which in turn is required by gnome-disk-utility.
in a few words, gnome-disk-utility depends on gptfdisk
so
we can close the bug

Loading...