Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
58.14k stars 3.35k forks source link

Missing steps in .deb install instructions #8068

Open nelsonov opened 1 year ago

nelsonov commented 1 year ago

Describe the problem:

$ curl -s https://packagecloud.io/install/repositories/eugeny/tabby/script.deb.sh | sudo bash
Detected operating system as Ubuntu/jammy.
Checking for curl...
Detected curl...
Checking for gpg...
Detected gpg...
Detected apt version as 2.4.8
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/eugeny_tabby.list...done.
Importing packagecloud gpg key... Packagecloud gpg key imported to /etc/apt/keyrings/eugeny_tabby-archive-keyring.gpg
done.
Running apt-get update... done.

The repository is setup! You can now install packages.

Which packages do I install???

lnelson@rpi10:~$ apt-cache search tabby
lnelson@rpi10:~$ 

There's no package named tabby or any other version of "tabby" that I can think of. It's a regex search, so it shouldn't be too hard to find something.

lnelson@rpi10:~$ cat /etc/apt/sources.list.d/eugeny_tabby.list 
# this file was generated by packagecloud.io for
# the repository at https://packagecloud.io/eugeny/tabby

deb [signed-by=/etc/apt/keyrings/eugeny_tabby-archive-keyring.gpg] https://packagecloud.io/eugeny/tabby/ubuntu/ jammy main
deb-src [signed-by=/etc/apt/keyrings/eugeny_tabby-archive-keyring.gpg] https://packagecloud.io/eugeny/tabby/ubuntu/ jammy main
lnelson@rpi10:~$ uname -a
Linux rpi10 5.15.0-1025-raspi #27-Ubuntu SMP PREEMPT Thu Feb 16 17:09:55 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
lnelson@rpi10:~$ cat /etc/issue
Ubuntu 22.04.2 LTS \n \l

This is almost certainly happening because you have no pacakges availble for arm64/aarch64, but there's absolutely nothing that tells anyone that and no errors occur, leaving them very confused.

To Reproduce: Follow instructions on this page: https://packagecloud.io/eugeny/tabby/install#bash-deb

Which is linked to from the README.

Porygon31 commented 5 months ago

Hi, The package name is: tabby-terminal

apt install tabby-terminal

This should finish your Tabby installation ;)

I entirely agree that the package name should be written at the end of the .deb script or in the readme Because for people who don't know the command: apt-cache search packageName this can completely block them from installing Tabby.

On the other hand @nelsonov, I have no idea why apt didn't return the name of the tabby package, it worked fine for me and that's how I was able to get the name of the package and finish installing tabby.

Porygon