-
Notifications
You must be signed in to change notification settings - Fork 50
How to include image and video files in assets #169
Comments
But I'm surprised it complains about EOF. That doesn't seem to be related to file type at all. |
I have also tried permission 664 but it gave me same error. |
I'm getting the same thing with
I'm starting to dig in to see what's going on. |
So, I reinstalled using |
can you try decompressing manually? I wonder if cargo-deb's library creates invalid or incompatible xz files. |
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: