Installing a deb file build with checkinstall on Ubuntu into a docker container based on Debian
1
vote
2
answers
2781
views
I have compiled a C++ software on my Ubuntu 22.04 laptop, and used
checkinstall
to install it. This builds the corresponding .deb
file and that's nice.
But now I want to install that .deb
file into a docker container based on "Debian GNU/Linux 11 (bullseye)" and dpkg
shows this error:
# dpkg --install mypackage-8.0.0_20221030-1_amd64.deb
dpkg-deb: error: archive 'mypackage-8.0.0_20221030-1_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive mypackage-8.0.0_20221030-1_amd64.deb (--install):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
mypackage-8.0.0_20221030-1_amd64.deb
How could I install this .deb
file into my container without having to compile the software *again* (which will mean installing all the C++ building tools into my container, which I want to avoid...)?
Asked by s.k
(511 rep)
Oct 30, 2022, 01:32 PM
Last activity: Oct 16, 2024, 06:30 PM
Last activity: Oct 16, 2024, 06:30 PM