Skip to content
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

Debian package does not install cleanly on older ubuntu versions #834

Closed
abailly-iohk opened this issue Mar 27, 2023 · 4 comments
Closed
Assignees
Labels
bug ⚠️ Something isn't working

Comments

@abailly-iohk
Copy link
Collaborator

Context & versions

Not sure which version of ubuntu but I would guess ubuntu 20.04 or something.

Steps to reproduce

  1. Download .deb package
  2. Run sudo dpkg -i mithril-client_0.2.14+b61945b_amd64.deb

Actual behavior

It fails with:

$ sudo dpkg -i mithril-client_0.2.14+b61945b_amd64.deb 
Selecting previously unselected package mithril-client.
(Reading database ... 31294 files and directories currently installed.)
Preparing to unpack mithril-client_0.2.14+b61945b_amd64.deb ...
Unpacking mithril-client (0.2.14+b61945b) ...
dpkg: dependency problems prevent configuration of mithril-client:
 mithril-client depends on libc6 (>= 2.34); however:
  Version of libc6:amd64 on system is 2.31-13+deb11u5.
 mithril-client depends on libssl3 (>= 3.0.0~~alpha1); however:
  Package libssl3 is not installed.

dpkg: error processing package mithril-client (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 mithril-client

Expected behavior

IT should install cleanly or at least warn user about distribution version being too old/Provide some actionable feedback?

@abailly-iohk abailly-iohk added the bug ⚠️ Something isn't working label Mar 27, 2023
@abailly-iohk
Copy link
Collaborator Author

Ping @pgrange

@pgrange
Copy link

pgrange commented Mar 27, 2023

Thank you for the issue @abailly-iohk. Problem appears on Debian 11:

cat /etc/issue
Debian GNU/Linux 11 \n \l

@Alenar
Copy link
Collaborator

Alenar commented Jul 13, 2023

We merged #1043 that changes the ubuntu version used to build the packaged binaries from ubuntu 22.04 to ubuntu 20.04.
That mean that we are now compatible with system bundling libc 2.31 or more (Debian 11+), instead of 2.35 minimum previously (Debian 12).

We also updated the doc to specify the minimum required libc version (ie: mithril client guide) and it's also specified in the github release notes as well (ie: last unstable).

Note: those changes are only available for unstable releases until the next (pre)release.

Does this solve this ticket for you @abailly-iohk, @pgrange ?

@pgrange
Copy link

pgrange commented Jul 25, 2023

Yes, problem solved @Alenar

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ⚠️ Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants