Netgear PMS Beta deb broken

The latest beta download for Netgear (1.40.0.7997-b09370ecd) is uninstallable on ReadyNAS OS.

Here is output from attempting to install deb.

$ sudo dpkg -i plexmediaserver_1.40.0.7997-b09370ecd_amd64.deb
dpkg-deb: error: archive '/home/nicholi/installs/plexmediaserver_1.40.0.7997-b09370ecd_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive /home/nicholi/installs/plexmediaserver_1.40.0.7997-b09370ecd_amd64.deb (--install):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 /home/nicholi/installs/plexmediaserver_1.40.0.7997-b09370ecd_amd64.deb

Last working deb I was using was: plexmediaserver_1.40.0.7775-456fbaf97_amd64.deb

Zstd compression wasn’t added to Debian until dpkg v1.21.18. This was implemented in Debian 12. However Netgear’s ReadyNAS OS is still running Debian 8 (Jessie) and has dpkg v1.17.28. Yes I know its fantastically and terribly outdated, not much choice here though using Netgear. Unsure if there is a path to getting a more recent version of dpkg available which supports zstd compression on it. Or even just zstd package.

We can easily re-package the deb on another system to use xz compression, whilst waiting for eventual fix.

plexdeb="plexmediaserver_1.40.0.7997-b09370ecd_amd64.deb"
plexdir="${plexdeb%.deb}_fixing"
mkdir -p "${plexdir}"
ar x --output "${plexdir}/" "${plexdeb}"
for file in "${plexdir}/"*.zst; do zstd -d < "${file}" | xz > "${file%.zst}.xz"; done
ar -m -c -a sdsd "${plexdeb%.deb}_fixed.deb" "${plexdir}/debian-binary" "${plexdir}/"*.xz

It looks like this was supposed to be fixed in the version you mentioned, but maybe it only targeted the debian release (https://downloads.plex.tv/plex-media-server-new/1.40.0.7997-b09370ecd/debian/plexmediaserver_1.40.0.7997-b09370ecd_amd64.deb), not the Netgear variant:

1 Like

Ahh good to know.

Thanks for letting us know about this!

Have the same problem on Netgear RN-3138

Please try 1.40.0.7998 which was just released to beta, this should resolve the install issue with the Netgear systems.

1 Like

Yup, all good on newest package. Thank you.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.