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

executable not found after upgrading to ubuntu 20.04 #905

Closed
adgai19 opened this issue Apr 5, 2020 · 4 comments
Closed

executable not found after upgrading to ubuntu 20.04 #905

adgai19 opened this issue Apr 5, 2020 · 4 comments

Comments

@adgai19
Copy link
Contributor

adgai19 commented Apr 5, 2020

What version of bat are you using?
[paste the output of bat --version here]
currently none. before upgrade 0.12

Describe the bug you encountered:
...After upgrading to ubuntu 20.04 bat executable disappeared and this output is generated after running bat
Command 'bat' not found, but can be installed with:

sudo apt install bacula-console-qt

Describe what you expected to happen?
...bat to run without any problem

How did you install bat?
apt-get, homebrew, GitHub release, etc.

---apt-get

[paste the output of info.sh here]
system

$ uname -srm
Linux 5.4.0-21-generic x86_64

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
Codename: focal

bat

$ bat --version
./info.sh: line 101: bat: command not found

$ env

bat_config

./info.sh: line 45: bat: command not found

bat_wrapper

No wrapper script.

bat_wrapper_function

No wrapper function.

tool

$ less --version
less 551 (GNU regular expressions)

@adgai19 adgai19 added the bug Something isn't working label Apr 5, 2020
@sharkdp
Copy link
Owner

sharkdp commented Apr 5, 2020

Yeah, unfortunately they had to rename the bat binary.

This is documented in the Ubuntu ChangeLog, the package description, the list of files and the README.Debian file:

bat for Debian
==============

In this package the executable and its manpage have been
renamed from ‘bat’ to ‘batcat’ because of a file name clash
with another Debian paclage.

Related issues on the Debian tracker:

@eth-p eth-p added documentation and removed bug Something isn't working labels Apr 8, 2020
@sharkdp sharkdp closed this as completed Apr 22, 2020
@eugeneromero
Copy link

Just a note, at least in Ubuntu 20.04, the new executable is 'batcat', not 'batbat' as mentioned in the README above. A small typo :)

@sharkdp
Copy link
Owner

sharkdp commented Apr 27, 2020

uh, yes. that has to be fixed in the Debian package.

@Alechan
Copy link

Alechan commented May 2, 2020

@sharkdp , can you edit your first comment? It would save people the "try and error" until they read eugeneromero's comment with the right name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants