snstac / pytak

PyTAK is a Python package for rapid TAK integration.
https://pytak.readthedocs.io/en/stable/
Apache License 2.0
156 stars 42 forks source link

deb uses unknown compression of member 'control.tar.zst', giving up #37

Closed ampledata closed 1 year ago

ampledata commented 1 year ago

Got this while installing pytak on stratux 1.6r1-eu028-us

ampledata commented 1 year ago

Reproducted:

pi@stratux:~ $ sudo apt install -f ./python3-pytak_latest_all.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'python3-pytak' instead of './python3-pytak_latest_all.deb'
The following NEW packages will be installed:
  python3-pytak
0 upgraded, 1 newly installed, 0 to remove and 137 not upgraded.
Need to get 0 B/19.3 kB of archives.
After this operation, 90.1 kB of additional disk space will be used.
Get:1 /home/pi/python3-pytak_latest_all.deb python3-pytak all 5.6.1-1 [19.3 kB]
dpkg-deb: error: archive '/home/pi/python3-pytak_latest_all.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive /home/pi/python3-pytak_latest_all.deb (--unpack):
 dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
 /home/pi/python3-pytak_latest_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
ampledata commented 1 year ago
pi@stratux:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:    11
Codename:   bullseye
ampledata commented 1 year ago

Fixed in ~/.github/workflows/debian.yml Changed from 'ubuntu-latest' to 'debian-latest' as ubuntu changed default compression algo to one that's not compatible with debian bullseye, see also: https://github.com/RPi-Distro/repo/issues/311