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

Can't install on Debian 12 - libc version issue #1460

Open
1 task done
lgwapnitsky opened this issue Nov 6, 2024 · 3 comments
Open
1 task done

Can't install on Debian 12 - libc version issue #1460

lgwapnitsky opened this issue Nov 6, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@lgwapnitsky
Copy link

Duplicates

  • I have searched the existing issues

Current behavior 😯

Installation of the .deb file fails due to a dependency issue. Debian 12 does not currently have required version of libc

dpkg -i onefetch_2.22.0_amd64.deb
Selecting previously unselected package onefetch.
(Reading database ... 42987 files and directories currently installed.)
Preparing to unpack onefetch_2.22.0_amd64.deb ...
Unpacking onefetch (2.22.0) ...
dpkg: dependency problems prevent configuration of onefetch:
 onefetch depends on libc6 (>= 2.39); however:
  Version of libc6:amd64 on system is 2.36-9+deb12u8.

dpkg: error processing package onefetch (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.11.2-2) ...
Errors were encountered while processing:
 onefetch

Expected behavior 🤔

Onefetch should operate on the current version of libc

Steps to reproduce 🕹

See current behavior

Additional context/Screenshots 🔦

No response

Possible Solution 💡

No response

@lgwapnitsky lgwapnitsky added the bug Something isn't working label Nov 6, 2024
@spenserblack
Copy link
Collaborator

Related conversation: #1125

Could you try installing via cargo install onefetch and let us know if that worked?

@lgwapnitsky
Copy link
Author

lgwapnitsky commented Nov 7, 2024 via email

@spenserblack
Copy link
Collaborator

spenserblack commented Nov 7, 2024

Thanks! I actually have a PR up to use Bookworm (Debian 12) in a devcontainer: #1461 (correct me if I'm wrong, I'm not too familiar with the Debian release strategy). You could try starting up a GitHub Codespace to see if you can compile from source on Debian 12. I'm not sure which version of libc the container would have, but it's a good start to at least confirm that onefetch can be built on Debian 12. You might also try to install the .deb package in that container. That way you don't clutter up your main environment, and we can investigate the differences between that container and your install if it works in one but not the other.

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

2 participants