-
-
Notifications
You must be signed in to change notification settings - Fork 660
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
exa on ubuntu 21.10 (v0.10.1) has git support disabled #978
Comments
Perhaps same issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993768 |
Still not resolved ? |
nope! |
Right now I'm using "exa" 0.9 version. Installed by cargo and added by PATH variable for bin-files (export PATH="/home/username/.cargo/bin:$PATH"):
Maybe next version (over 0.10.1) will build with git support, I'm using exa only for this. |
Interestingly enough I installed latest version with cargo instead of apt and everything works fine |
Yeah Ubuntu builds exa with git support disabled because of some problem they had (or at least it was the case before, not sure if it’s still the case). I’m not gonna close this right away, so that people can see this issue until it’s solved upstream, but really you need to check if it’s fixed on recent versions of Ubuntu, then complain to Ubuntu if it’s still the case, because it’s an Ubuntu issue which I know nothing about (though it would be useful if I had more info about why it was disabled in the first place…). Anyways just install exa in another way, see e.g. here: |
Still an issue on Ubuntu 22.04 FYI. |
Same with Ubuntu 22.04.1 LTS ... |
I've clone git repo of exa (master branch), build by cargo and git function is enable by default ($exa -Glh --git). It's all fine. |
Same problem with $ ~ which exa && exa --version
/usr/bin/exa
exa - list files on the command-line
v0.10.1 [-git]
https://the.exa.website/ I have install |
This also happened on my PopOS. |
Issue on Pop_Os! |
I had the same issue and solved it by using cargo to install |
This isn’t very useful to post here information we already have (that exa on Ubuntu has git support disabled on 22.04). This is a Debian problem (because, in short, Ubuntu uses the Debian package), I’m reposting the link: Please send a nice message there, or to Ubuntu, if you want to let them know this is a issue you care about (I don’t really have the time, personally). Also, I wrote about instructions to install exa from other sources (with git enabled): |
hi, i got the same problem, i use sudo apt install exa and i have just remove it and install it with brew. it working now (just for someone who have the same problem) |
@ariasuni the debian issue you linked to seems to be fixed with Do we wait for ubuntu to catch up, or do we need to do something to make the bump happen? |
If anyone is still facing this issue, just pull the repo locally, and install it from there.
|
@shalak I don’t know and don’t have the time (at least right now) to learn how Ubuntu works. exa is probably in the category of packages which never gets upgraded after release, except if it’s a security issue. |
Ubuntu is not ArchLinux. It doesn't have rolling upgrades. So someone has to green light it. Here is the official package link for 22.10: |
If you're like me and really want # Uninstall the APT package if present
sudo apt remove exa
# Install rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Install exa
cargo install exa |
Exa does not support the git flag on all systems, namely Ubuntu. This change introduces a conditional statement in the alias declaration to only use the --git flag if git is enabled on exa. Ref: ogham/exa#978
I believe that this issue is more specifically with Ubuntu's upstream Debian. I had the same issue with Armbian OS which to my knowledge is based on Debian specifically.
Uninstalling through Apt and installing through cargo worked for me. Thanks @pabloqpacin for the guide! |
Well, I think this topic should be closed because the solution to the problem is all given. |
On Ubuntu 22.04.2 LTS (and probably others), apt-get install cargo |
When I upgraded from ubuntu from
21.04
to21.10
andexa --git
stopped working. I now get the following error:OS:
Ubuntu 21.10
Version:
Thank you for this great tool!
The text was updated successfully, but these errors were encountered: