I can confirm the bug.

Initially faced with it in sid-ports for riscv64 via qemu chroot (starting 
since 2022-10-15), but it's also reproducable in sid.

```
# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux bookworm/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/";
SUPPORT_URL="https://www.debian.org/support";
BUG_REPORT_URL="https://bugs.debian.org/";
# sgdisk --version
GPT fdisk (sgdisk) version 1.0.9

# ls -la /disk.img
-rw-r--r-- 1 root root 524288 Oct 20 10:10 /disk.img
# sgdisk /disk.img
Problem opening �B�a for reading! Error is 2.
The specified file does not exist!
```

From my investigations, the problem appeared after upgrading `libpopt0`. 
Previously there was a symlink `libpopt.so.0 => libpopt.so.0.0.1` and sgdisk 
worked well; now it's a `libpopt.so.0 => libpopt.so.0.0.1` and sgdisk fails.

Most probably, `gdisk` package (that haven't get upgrade recently) should be 
simply rebuilt agains new version of `libpopt0` library.

Reply via email to