mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 12:56:59 +00:00
[GH-ISSUE #1503] [Bug] Deb packaging error #584
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#584
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LaBaude32 on GitHub (Nov 28, 2022).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1503
Originally assigned to: @LucasXu0 on GitHub.
Bug Description
Hi !
I tried to install the Debian package (thx for it) on my Debian 11, but it's doesn't work because Debian’s dpkg package doesn’t support zstd compression.
So i get that error :
How to Reproduce
sudo apt install ./AppFlowy_0.0.7_linux-amd64.debExpected Behavior
Maybe using an other compression method ?
Operating System
Debian 11
AppFlowy Version(s)
0.0.7
@maranix commented on GitHub (Nov 29, 2022):
So, I've been looking into this and have managed to make an installable package. It installs but there is a problem, I cannot launch the executable.
Error
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not foundReason
The application was built & compiled on Ubuntu with
GLIBC 2.34but Debian ships withGLIBC 2.31by default. That makes the GLIBC target of >=2.34.It is not recommended to mess with shipped GLIBC since it can cause problems and unexpected behaviors.
Proposed Solutions
@LucasXu0 commented on GitHub (Nov 29, 2022):
GitHub doesn't provide the CI machine on the Debian platform.
It seems there are two questions.
@maranix commented on GitHub (Nov 29, 2022):
It's the latter one. I rebuilt the deb package using
-Z xzflag and it installed flawlessly but failed to launch theapp_flowybinary with above mentioned error.@LucasXu0 commented on GitHub (Nov 30, 2022):
@ramanverma2k Are there any other options besides building the application using Debian?
@maranix commented on GitHub (Nov 30, 2022):
As of now we shouldn't need to do anything for Debian 12 as it is pre-packaged with GLIBC 2.36. It installs and works without any issues or side effects on Debian 12.
I am looking into possible solutions and workarounds for Debian 11, will report back as soon as I find something.
It seems like the most reasonable and optimal approach for now will be to compile a 2.31 GLIBC and use that to build the application on CI temporarily. After the stable release of Debian 12 we can discard it from CI.
@maranix commented on GitHub (Dec 1, 2022):
@LucasXu0 and @LaBaude32 Can you please test this package AppFlowy_0.7.2_linux-amd64
*ignore the version.
In my case the package was installed successfully on
Debian 11&Ubuntu 22.04, and the application also ran without any issues. I would just like to double check and see it's not only limited to my machine.@LaBaude32 commented on GitHub (Dec 1, 2022):
No problems with the install. But the app doesn't run on my Debian 11.
I tried with the terminal and I got that error :
appflowy: error while loading shared libraries : libkeybinder-3.0.so.0; cannot open shared object file: No such file or directory@LucasXu0 commented on GitHub (Dec 1, 2022):
@LaBaude32 Please try to run the below command before installing the app.
@maranix commented on GitHub (Dec 1, 2022):
I forgot to add
libkeybinder-3.0-0dependency in the package. I'll make a PR so that the package automatically installs it if the user doesn't have it on their OS. However,libssl1.1will need to be downloaded and installed manually on Ubuntu 22.10 as it was deprecated. So, it makes more sense to not add it as required dependency even though the application needs it to work also it will break the installer onUbuntu 22.10.@LaBaude32 commented on GitHub (Dec 1, 2022):
I installed it after installing the app and it works perfectly! Thx !
@maranix commented on GitHub (Dec 1, 2022):
@LucasXu0 Downgrading the runner image to
ubuntu-18.04fixes theGLIBC 2.34error. As for theunsupported compressionerror, we just need to add the-Z xzflag in thedpkg-debcommand.The package that i shared above was made using only these changes.
@maranix commented on GitHub (Dec 4, 2022):
@LucasXu0 Would it be better to add another task with
ubuntu-18.04runner image to build an alternate package forlinuxinstead of replacing the currentlinux_x86-64workflow?I can make a PR based on your decision and refactor the linux workflow a little bit too.
@LucasXu0 commented on GitHub (Dec 4, 2022):
@ramanverma2k Do you mean to build two packages for different Linux platforms?
@maranix commented on GitHub (Dec 4, 2022):
Yes, I know that will increase confusion among users about which package to install but I am a little skeptical about downgrading the current runner image since it is deprecated.
@LucasXu0 commented on GitHub (Dec 4, 2022):
It sounds reasonable. We should not downgrade the current Linux runner image because the 18.04 image has been indicated as deprecated. We can offer two packages for the Linux user.
I think the other important thing is that we should add
libkeybinderas a dependency for Linux package in the CI.@maranix commented on GitHub (Dec 4, 2022):
Yeah, I can add
libkeybinderas a dependency in the package for automatically installing it if the user doesn't have it.@LaBaude32 commented on GitHub (Dec 9, 2022):
I tried to install version 0.0.8.1 but it seems that the same error occurs when I try to run it:
appflowy: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.34' not found (required by appflowy)@maranix commented on GitHub (Dec 9, 2022):
Hey @LaBaude32 make sure to install the
AppFlowy_0.8.1_linux-amd64-alt.debpackage instead of regularAppFlowy_0.8.1_linux-amd64.deb.The package suffixed with
-altis for Debian 11 and Ubuntu 18.04 distributions.