[Bug]: audiobookshelf_2.8.0_amd64.deb' uses unknown compression for member 'control.tar.zst' #1749

Closed
opened 2026-04-24 23:56:40 +02:00 by adam · 16 comments
Owner

Originally created by @LacksPeopleSkills on GitHub (Feb 20, 2024).

Describe the issue

I am running AudioBookShelf 2.7.2 in an LXC hosted on ProxMox. I attempted to update to 2.8.0 this evening and received an error reading:
dpkg-deb: error: archive '/var/cache/apt/archives/audiobookshelf_2.8.0_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up

Other updates were installed at the same time. I tried rebooting and trying again but got the same results.

I rebooted again and my existing install of 2.7.2 is unaffected.

Please let me know if there is any additional information I can provide.

Here is the full output from the apt upgrade command:

root@abs01:~# sudo apt update && apt upgrade -y
Hit:1 https://advplyr.github.io/audiobookshelf-ppa ./ InRelease
Hit:2 http://security.debian.org bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye InRelease
Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
audiobookshelf
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
16 not fully installed or removed.
Need to get 0 B/25.9 MB of archives.
After this operation, 0 B of additional disk space will be used.
apt-listchanges: Reading changelogs...
dpkg-deb: error: archive '/var/cache/apt/archives/audiobookshelf_2.8.0_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up
Traceback (most recent call last):
File "/usr/share/apt-listchanges/DebianFiles.py", line 124, in readdeb
output = subprocess.check_output(command)
File "/usr/lib/python3.9/subprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['dpkg-deb', '-f', '/var/cache/apt/archives/audiobookshelf_2.8.0_amd64.deb', 'Package', 'Source', 'Version', 'Architecture', 'Status']' returned non-zero exit status 2.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 323, in
main(config)
File "/usr/bin/apt-listchanges", line 104, in main
pkg = DebianFiles.Package(deb)
File "/usr/share/apt-listchanges/DebianFiles.py", line 358, in init
parser.readdeb(self.path)
File "/usr/share/apt-listchanges/DebianFiles.py", line 127, in readdeb
raise RuntimeError(_("Error processing '%(what)s': %(errmsg)s") %
RuntimeError: Error processing '/var/cache/apt/archives/audiobookshelf_2.8.0_amd64.deb': Command '['dpkg-deb', '-f', '/var/cache/apt/archives/audiobookshelf_2.8.0_amd64.deb', 'Package', 'Source', 'Version', 'Architecture', 'Status']' returned non-zero exit status 2.
dpkg-deb: error: archive '/var/cache/apt/archives/audiobookshelf_2.8.0_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive /var/cache/apt/archives/audiobookshelf_2.8.0_amd64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/audiobookshelf_2.8.0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Steps to reproduce the issue

  1. Run apt upgrade to go from 2.7.2 to 2.8.0

Audiobookshelf version

2.7.2

How are you running audiobookshelf?

Other

Originally created by @LacksPeopleSkills on GitHub (Feb 20, 2024). ### Describe the issue I am running AudioBookShelf 2.7.2 in an LXC hosted on ProxMox. I attempted to update to 2.8.0 this evening and received an error reading: dpkg-deb: error: archive '/var/cache/apt/archives/audiobookshelf_2.8.0_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up Other updates were installed at the same time. I tried rebooting and trying again but got the same results. I rebooted again and my existing install of 2.7.2 is unaffected. Please let me know if there is any additional information I can provide. Here is the full output from the apt upgrade command: root@abs01:~# sudo apt update && apt upgrade -y Hit:1 https://advplyr.github.io/audiobookshelf-ppa ./ InRelease Hit:2 http://security.debian.org bullseye-security InRelease Hit:3 http://deb.debian.org/debian bullseye InRelease Hit:4 http://deb.debian.org/debian bullseye-updates InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it. Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: audiobookshelf 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 16 not fully installed or removed. Need to get 0 B/25.9 MB of archives. After this operation, 0 B of additional disk space will be used. apt-listchanges: Reading changelogs... dpkg-deb: error: archive '/var/cache/apt/archives/audiobookshelf_2.8.0_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up Traceback (most recent call last): File "/usr/share/apt-listchanges/DebianFiles.py", line 124, in readdeb output = subprocess.check_output(command) File "/usr/lib/python3.9/subprocess.py", line 424, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.9/subprocess.py", line 528, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['dpkg-deb', '-f', '/var/cache/apt/archives/audiobookshelf_2.8.0_amd64.deb', 'Package', 'Source', 'Version', 'Architecture', 'Status']' returned non-zero exit status 2. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/apt-listchanges", line 323, in <module> main(config) File "/usr/bin/apt-listchanges", line 104, in main pkg = DebianFiles.Package(deb) File "/usr/share/apt-listchanges/DebianFiles.py", line 358, in __init__ parser.readdeb(self.path) File "/usr/share/apt-listchanges/DebianFiles.py", line 127, in readdeb raise RuntimeError(_("Error processing '%(what)s': %(errmsg)s") % RuntimeError: Error processing '/var/cache/apt/archives/audiobookshelf_2.8.0_amd64.deb': Command '['dpkg-deb', '-f', '/var/cache/apt/archives/audiobookshelf_2.8.0_amd64.deb', 'Package', 'Source', 'Version', 'Architecture', 'Status']' returned non-zero exit status 2. dpkg-deb: error: archive '/var/cache/apt/archives/audiobookshelf_2.8.0_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up dpkg: error processing archive /var/cache/apt/archives/audiobookshelf_2.8.0_amd64.deb (--unpack): dpkg-deb --control subprocess returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/audiobookshelf_2.8.0_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) ### Steps to reproduce the issue 1. Run apt upgrade to go from 2.7.2 to 2.8.0 ### Audiobookshelf version 2.7.2 ### How are you running audiobookshelf? Other
adam added the bug label 2026-04-24 23:56:40 +02:00
adam closed this issue 2026-04-24 23:56:41 +02:00
Author
Owner

@prowaynes commented on GitHub (Feb 20, 2024):

The same problem

@prowaynes commented on GitHub (Feb 20, 2024): The same problem
Author
Owner

@MrBearedJoe commented on GitHub (Feb 20, 2024):

Same with 2.7.0 to 2.8.0

@MrBearedJoe commented on GitHub (Feb 20, 2024): Same with 2.7.0 to 2.8.0
Author
Owner

@nathanhbrown1978 commented on GitHub (Feb 21, 2024):

Same. From 2.7.2 to 2.8.0

@nathanhbrown1978 commented on GitHub (Feb 21, 2024): Same. From 2.7.2 to 2.8.0
Author
Owner

@advplyr commented on GitHub (Feb 21, 2024):

Are you all using ProxMox?

@advplyr commented on GitHub (Feb 21, 2024): Are you all using ProxMox?
Author
Owner

@MrBearedJoe commented on GitHub (Feb 21, 2024):

Yes, we do

@MrBearedJoe commented on GitHub (Feb 21, 2024): Yes, we do
Author
Owner

@jonarihen commented on GitHub (Feb 22, 2024):

/var/cache/apt/archives$ sudo dpkg -i audiobookshelf_2.8.0_amd64.deb dpkg-deb: error: archive 'audiobookshelf_2.8.0_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up dpkg: error processing archive audiobookshelf_2.8.0_amd64.deb (--install): dpkg-deb --control subprocess returned error exit status 2 Errors were encountered while processing: audiobookshelf_2.8.0_amd64.deb

it's also happening for me on Debian GNU/Linux 11 (bullseye) x86_64

@jonarihen commented on GitHub (Feb 22, 2024): `/var/cache/apt/archives$ sudo dpkg -i audiobookshelf_2.8.0_amd64.deb dpkg-deb: error: archive 'audiobookshelf_2.8.0_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up dpkg: error processing archive audiobookshelf_2.8.0_amd64.deb (--install): dpkg-deb --control subprocess returned error exit status 2 Errors were encountered while processing: audiobookshelf_2.8.0_amd64.deb` it's also happening for me on Debian GNU/Linux 11 (bullseye) x86_64
Author
Owner

@prowaynes commented on GitHub (Feb 23, 2024):

Are you all using ProxMox?
no, vmware, with debian

@prowaynes commented on GitHub (Feb 23, 2024): > Are you all using ProxMox? no, vmware, with debian
Author
Owner

@Deekerman commented on GitHub (Feb 23, 2024):

Think its the same for me too

dpkg-deb: error: archive './audiobookshelf_2.8.0_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive ./audiobookshelf_2.8.0_amd64.deb (--install):
 dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
 ./audiobookshelf_2.8.0_amd64.deb
An error occurred during the update process.

Maybe my method of updating is outdated?

When i first started using Audiobookshelf it was version 2.2.17 or previous. and the install system was:

image

Which I changed to using the below because someone suggested to.

 dpkg -i ./audiobookshelf_2.2.15_amd64.deb

I have been using that ever since and until this time it has been flawless. I wrote a little (very poor) script to do it.

Anyways, I looked at the new install suggestion and it is much different. So maybe that has something to do with it? Do i need to change?

Sincerely,
Someone who has almost no idea what they are doing.

Edit: included way more information.

@Deekerman commented on GitHub (Feb 23, 2024): Think its the same for me too ``` dpkg-deb: error: archive './audiobookshelf_2.8.0_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up dpkg: error processing archive ./audiobookshelf_2.8.0_amd64.deb (--install): dpkg-deb --control subprocess returned error exit status 2 Errors were encountered while processing: ./audiobookshelf_2.8.0_amd64.deb An error occurred during the update process. ``` Maybe my method of updating is outdated? When i first started using Audiobookshelf it was version 2.2.17 or previous. and the install system was: ![image](https://github.com/advplyr/audiobookshelf/assets/33733383/b7f4f322-480e-48d6-b674-dc2585c27a2f) Which I changed to using the below because someone suggested to. ``` dpkg -i ./audiobookshelf_2.2.15_amd64.deb ``` I have been using that ever since and until this time it has been flawless. I wrote a little (very poor) script to do it. Anyways, I looked at the new install suggestion and it is much different. So maybe that has something to do with it? Do i need to change? Sincerely, Someone who has almost no idea what they are doing. Edit: included way more information.
Author
Owner

@danmed commented on GitHub (Feb 24, 2024):

This seems to detail the issue..

https://unix.stackexchange.com/questions/669004/zst-compression-not-supported-by-apt-dpkg

I run Audiobookshelf in a privileged Debian 11 LXC within Proxmox. I ran the commands in the first post on the link below and it upgrade me to 2.8 without issue.

Having said all that.. i took a backup from bookshelf gui and built a new debian 12 lxc and restored the backup.. feels cleaner this way to me.

@danmed commented on GitHub (Feb 24, 2024): This seems to detail the issue.. https://unix.stackexchange.com/questions/669004/zst-compression-not-supported-by-apt-dpkg I run Audiobookshelf in a privileged Debian 11 LXC within Proxmox. I ran the commands in the first post on the link below and it upgrade me to 2.8 without issue. Having said all that.. i took a backup from bookshelf gui and built a new debian 12 lxc and restored the backup.. feels cleaner this way to me.
Author
Owner

@prowaynes commented on GitHub (Feb 24, 2024):

Confirmed, source.list needs to be modified
/etc/apt/sources.list
to the official repository, Debian code

deb http://deb.debian.org/debian bookworm main non-free-firmware
deb-src http://deb.debian.org/debian bookworm main non-free-firmware

deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
deb-src http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware

deb http://deb.debian.org/debian bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware

after that, apt update and upgrade. version 2.8.0 will install successfully.

@prowaynes commented on GitHub (Feb 24, 2024): Confirmed, source.list needs to be modified `/etc/apt/sources.list` to the official repository, Debian code deb http://deb.debian.org/debian bookworm main non-free-firmware deb-src http://deb.debian.org/debian bookworm main non-free-firmware deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware deb-src http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware deb http://deb.debian.org/debian bookworm-updates main non-free-firmware deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware after that, apt update and upgrade. version 2.8.0 will install successfully.
Author
Owner

@advplyr commented on GitHub (Feb 24, 2024):

Thanks @danmed
I found that I can pass a flag in to dpkg-deb to change the compression method from zstd to xz

I just re-packaged v2.8.0 if anyone here wants to test it out. I'm not sure if apt update will recognize it as an update

@advplyr commented on GitHub (Feb 24, 2024): Thanks @danmed I found that I can pass a flag in to `dpkg-deb` to change the compression method from `zstd` to `xz` I just re-packaged v2.8.0 if anyone here wants to test it out. I'm not sure if apt update will recognize it as an update
Author
Owner

@Deekerman commented on GitHub (Feb 24, 2024):

Thanks @danmed I found that I can pass a flag in to dpkg-deb to change the compression method from zstd to xz

I just re-packaged v2.8.0 if anyone here wants to test it out. I'm not sure if apt update will recognize it as an update

I'm willing to give it a go but I feel like you want someone who is better versed in well, everything. Lol. But if you make a script I'll run it. Worst case deploy a back up lol.

Added: After realizing(again) there was a back up I'm going to redeploy it anyways as I was also having issues with downloading a lot of podcasts.

@Deekerman commented on GitHub (Feb 24, 2024): > Thanks @danmed I found that I can pass a flag in to `dpkg-deb` to change the compression method from `zstd` to `xz` > > I just re-packaged v2.8.0 if anyone here wants to test it out. I'm not sure if apt update will recognize it as an update I'm willing to give it a go but I feel like you want someone who is better versed in well, everything. Lol. But if you make a script I'll run it. Worst case deploy a back up lol. Added: After realizing(again) there was a back up I'm going to redeploy it anyways as I was also having issues with downloading a lot of podcasts.
Author
Owner

@danmed commented on GitHub (Feb 24, 2024):

Thanks @danmed I found that I can pass a flag in to dpkg-deb to change the compression method from zstd to xz

I just re-packaged v2.8.0 if anyone here wants to test it out. I'm not sure if apt update will recognize it as an update

Nice, do i need to do anything seeing as i upgraded to Debian 12 and started fresh? (btw.. your backup functionality is awesome.. literally had me back up and running in minutes!)

@danmed commented on GitHub (Feb 24, 2024): > Thanks @danmed I found that I can pass a flag in to `dpkg-deb` to change the compression method from `zstd` to `xz` > > I just re-packaged v2.8.0 if anyone here wants to test it out. I'm not sure if apt update will recognize it as an update Nice, do i need to do anything seeing as i upgraded to Debian 12 and started fresh? (btw.. your backup functionality is awesome.. literally had me back up and running in minutes!)
Author
Owner

@advplyr commented on GitHub (Feb 24, 2024):

I don't think the original issue exists on Debian 12 as per that stackexchange you shared.

If anyone still on Debian 11 can pull the package again that will let us know if my update fixed it. The debian package for 2.8.0 is replaced in the PPA repo already https://github.com/advplyr/audiobookshelf-ppa so doing an apt update, apt install audiobookshelf should do the trick.

@advplyr commented on GitHub (Feb 24, 2024): I don't think the original issue exists on Debian 12 as per that stackexchange you shared. If anyone still on Debian 11 can pull the package again that will let us know if my update fixed it. The debian package for 2.8.0 is replaced in the PPA repo already https://github.com/advplyr/audiobookshelf-ppa so doing an apt update, apt install audiobookshelf should do the trick.
Author
Owner

@Deekerman commented on GitHub (Feb 24, 2024):

Updated

@Deekerman commented on GitHub (Feb 24, 2024): Updated
Author
Owner

@advplyr commented on GitHub (Feb 25, 2024):

Great, thanks!

@advplyr commented on GitHub (Feb 25, 2024): Great, thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1749