-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Bug report) 0.48.3 deb is broken #2272
Comments
Hi, this is caused by the newly introduced ZStandard compression as the default for I created an issue electron-userland/electron-installer-debian#272 for allowing configuration of compression which would allow us to switch back to XZ which is supported in debian as well. The workaround for now would be to use the *.tar.xz file |
Or if someone like me really requires using the deb package, you can convert it manually for now (requires # configure version
export trilium_version=0.48.4
# jump into own directory
mkdir -p trilium-deb-fix
cd trilium-deb-fix
# download trilium
wget https://github.com/zadam/trilium/releases/download/v${trilium_version}/trilium_${trilium_version}_amd64.deb
ar x trilium_${trilium_version}_amd64.deb
# recompress
< control.tar.zst zstd -d | xz > control.tar.xz
< data.tar.zst zstd -d | xz > data.tar.xz
# create deb archive (I really do not know, what argument "sdsd" is for but something is required for ar to create the archive as desired)
ar -m -c -a sdsd trilium_${trilium_version}_amd64_xz.deb debian-binary control.tar.xz data.tar.xz
## uncomment if you want to install it directly afterwards
# sudo dpkg -i trilium_${trilium_version}_amd64_xz.deb |
@Zocker1999NET thanks, I added your workaround to the build process as a temporary solution so 0.48.5 and later should be again compatible with debian. |
Preflight Checklist
Trilium Version
0.48.3
What operating system are you using?
Other Linux
What is your setup?
Local + server sync
Operating System Version
Debian Testig x64
Expected Behavior
Proper installation
Actual Behavior
The .deb file does not install properly. This is the first time I getting with the provided .deb file. Please see the log
Additional Information
No response
The text was updated successfully, but these errors were encountered: