atuin icon indicating copy to clipboard operation
atuin copied to clipboard

Can't install on Ubuntu 16.04.7 LTS

Open Donkkaseu opened this issue 2 years ago • 3 comments

Got this error:

# bash <(curl https://raw.githubusercontent.com/ellie/atuin/main/install.sh)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4924  100  4924    0     0   2843      0  0:00:01  0:00:01 --:--:--  2842
 _______  _______  __   __  ___   __    _
|   _   ||       ||  | |  ||   | |  |  | |
|  |_|  ||_     _||  | |  ||   | |   |_| |
|       |  |   |  |  |_|  ||   | |       |
|       |  |   |  |       ||   | |  _    |
|   _   |  |   |  |       ||   | | | |   |
|__| |__|  |___|  |_______||___| |_|  |__|

Magical shell history

Atuin setup
https://github.com/ellie/atuin

Please file an issue if you encounter any problems!

===============================================================================

Detected Linux!
Checking distro...
Ubuntu detected
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   660  100   660    0     0    894      0 --:--:-- --:--:-- --:--:--   894
100 4117k  100 4117k    0     0   896k      0  0:00:04  0:00:04 --:--:-- 1600k
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'atuin' instead of '/tmp/tmp.GHAlz0Zcln.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 atuin : Depends: libc6 (>= 2.25) but 2.23-0ubuntu11.3 is to be installed
E: Unable to correct problems, you have held broken packages.

Donkkaseu avatar Apr 30 '22 04:04 Donkkaseu

I have the same problem.

fivestones avatar Sep 11 '22 09:09 fivestones

I saw this libc error the other day and managed to find a solution. I'll try retrace my steps and follow up

conradludgate avatar Sep 11 '22 10:09 conradludgate

You'll need to update your libc

Otherwise, Ubuntu 16.04 has reached end of life and we can no longer support it

@conradludgate might be worth building a 100% static binary for situations like this?

ellie avatar Sep 11 '22 10:09 ellie

ubuntu 18.04 install failed

Depends: libc6 (>= 2.29) but 2.27-3ubuntu1.5 is to be installed

akkuman avatar Nov 07 '22 08:11 akkuman

Ubuntu 18.04 is EOL in less than 6 months, so we won't be putting in any efforts to support it. Regardless of Atuin, it'd probably be a good idea to upgrade

Otherwise, you should be able to build from source for your platform

ellie avatar Nov 07 '22 08:11 ellie

Hello,

I got the same issue, but with Ubuntu 22.04.2 LTS (that is still alive ;-)

The following packages have unmet dependencies:
 atuin : Depends: libc6 (>= 2.29) but 2.28-10+deb10u2 is to be installed
E: Unable to correct problems, you have held broken packages.

I've tried to update my packages first, but the problem is still here !

PS: my context is : Ubuntu via WSL2 =>

Linux php 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 GNU/Linux

llaville avatar Apr 27 '23 05:04 llaville

Ok my install issue came from my docker environement (sorry to disturb). When I install it natively on Ubuntu 22.04 (even via WSL2), it works :)

llaville avatar Apr 27 '23 05:04 llaville