You are not logged in.
Pages: 1
I've recently tried to install deb packages containing zst-archives and failed. I have zstd installed (Chimeara).
What can I do? I can unpack zst archives in terminal, but Gdebi and Dpkg fails.
I don't mind hacking the deb packages if only I knew how to do it. Must be some way...
Offline
I've recently tried to install deb packages containing zst-archives and failed. I have zstd installed (Chimeara).
What can I do? I can unpack zst archives in terminal, but Gdebi and Dpkg fails.I don't mind hacking the deb packages if only I knew how to do it. Must be some way...
Where did you get the deb package, what is it? If it is a ubuntu package or a debian 12 package you shouldnt try doing that on chimaera (debian/devuan 11) or at all. Support for zst is slated for debian 12 (unstable at the moment).
In addition:
https://tracker.debian.org/news/1407587 … -unstable/
- libdpkg: Add zstd support for .deb archives. Closes: #892664
Last edited by soren (2023-04-30 08:02:17)
Offline
I've collected deb packages from all over. It's mainly addons to my DAW (plugins). So they are not mission critical nor damaging to the system. Most install in /home/user as well. I've been seeing more and more zst archives lately, so I'm glad we have zstd at least.
Offline
Given that a .deb file is an ar archive file containing two .tar.gz files it might be within scope for you to repackage things yourself.
Online
Given that a .deb file is an ar archive file containing two .tar.gz files it might be within scope for you to repackage things yourself.
Yeah, but I forgot how to do it. I could possibly unpack debs and unzst them, and then repack them as new debs.
Where can I find good guides on that?
Thanks for the help guys!
Offline
man ar (from binutils-common)
man tar (from package tar)
Online
ralph.ronnquist wrote:Given that a .deb file is an ar archive file containing two .tar.gz files it might be within scope for you to repackage things yourself.
Yeah, but I forgot how to do it. I could possibly unpack debs and unzst them, and then repack them as new debs.
Where can I find good guides on that?
Thanks for the help guys!
I havent done this in awhile either but ill try and give a somewhat simplistic guide, in a terminal i just tried with the jq package but the data and control file were in xz format.
mkdir jq
ar vx jq.deb --output /home/soren/jq
cd /home/soren/jq
tar xvf data.tar.xz
tar xvf control.tar.xz
rm control.tar.xz data.tar.xz
mkdir DEBIAN
mv usr/ control debian-binary md5sums DEBIAN/
cd ..
dpkg-deb -b /home/soren/jq jq.fixed.deb
Last edited by soren (2023-05-01 08:39:17)
Offline
Pages: 1