You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 19, 2022. It is now read-only.
I am packaging my application in deb file and there are some images and videos to include in deb file which I have included using assets like below in cargo.toml file but while installing I am getting error.
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess returned error exit status 2
dpkg: error processing archive bro_rust_0.1.0_amd64.deb (--install):
cannot copy extracted data for 'var/background_stat2.png' to '/var/background_stat2.png.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
bro_rust_0.1.0_amd64.deb
The text was updated successfully, but these errors were encountered:
So, I reinstalled using cargo install --no-default-features cargo-deb, and the re-generated deb file with this version installs without the decompression error. I'm guessing it's a bug in xz2.
I am packaging my application in deb file and there are some images and videos to include in deb file which I have included using assets like below in cargo.toml file but while installing I am getting error.
[package.metadata.deb]
assets = [
["webserver.jpg","/var/","777"],
["Video.mp4","/var/","777"],
["background_stat2.png","/var/","777"]
]
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess returned error exit status 2
dpkg: error processing archive bro_rust_0.1.0_amd64.deb (--install):
cannot copy extracted data for 'var/background_stat2.png' to '/var/background_stat2.png.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
bro_rust_0.1.0_amd64.deb
The text was updated successfully, but these errors were encountered: