greymd / tmux-xpanes

Awesome tmux-based terminal divider
MIT License
1.96k stars 61 forks source link

[Debian] Cannot install using `apt` #172

Closed LukeSavefrogs closed 1 year ago

LukeSavefrogs commented 1 year ago

Following your guide i ran the following commands:

sudo apt install software-properties-common

sudo add-apt-repository ppa:greymd/tmux-xpanes

sudo apt update      # <---- Stuck here

sudo apt install tmux-xpanes

However, when running sudo apt update the following error shows up:

Err:7 http://ppa.launchpad.net/greymd/tmux-xpanes/ubuntu lunar Release
  404  Not Found [IP: 185.125.190.52 80]
[...]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/greymd/tmux-xpanes/ubuntu lunar Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Repository 'http://deb.debian.org/debian bullseye InRelease' changed its 'Version' value from '11.5' to '11.6'

Here it is the full log:

lsalvarani@Desktop-Luca:~$ sudo apt update
Get:1 http://ftp.debian.org/debian bullseye-backports InRelease [49.0 kB]
Get:2 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:3 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:4 https://cli.github.com/packages stable InRelease [3,917 B]
Get:5 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Ign:6 http://ppa.launchpad.net/greymd/tmux-xpanes/ubuntu lunar InRelease
Err:7 http://ppa.launchpad.net/greymd/tmux-xpanes/ubuntu lunar Release
  404  Not Found [IP: 185.125.190.52 80]
Get:8 http://ftp.debian.org/debian bullseye-backports/main amd64 Packages.diff/Index [63.3 kB]
Get:9 https://cli.github.com/packages stable/main amd64 Packages [344 B]
Get:10 http://ftp.debian.org/debian bullseye-backports/main Translation-en.diff/Index [63.3 kB]
Get:11 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [210 kB]
Get:12 http://ftp.debian.org/debian bullseye-backports/main amd64 Packages T-2022-12-28-0804.37-F-2022-12-08-2006.35.pdiff [36.3 kB]
Get:12 http://ftp.debian.org/debian bullseye-backports/main amd64 Packages T-2022-12-28-0804.37-F-2022-12-08-2006.35.pdiff [36.3 kB]
Get:13 http://security.debian.org/debian-security bullseye-security/main Translation-en [136 kB]
Get:14 http://deb.debian.org/debian bullseye/main amd64 Packages [8,183 kB]
Get:15 http://ftp.debian.org/debian bullseye-backports/main Translation-en T-2022-12-24-1408.44-F-2022-12-08-2006.35.pdiff [17.3 kB]
Get:15 http://ftp.debian.org/debian bullseye-backports/main Translation-en T-2022-12-24-1408.44-F-2022-12-08-2006.35.pdiff [17.3 kB]
Get:16 http://deb.debian.org/debian bullseye/main Translation-en [6,240 kB]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/greymd/tmux-xpanes/ubuntu lunar Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Repository 'http://deb.debian.org/debian bullseye InRelease' changed its 'Version' value from '11.5' to '11.6'
greymd commented 1 year ago

Thank you for letting me know the issue.

Can you try sudo apt update again? You should be able to install the package now. I have just prepared a package for Lunar used in your environment.

https://ppa.launchpadcontent.net/greymd/tmux-xpanes/ubuntu/dists/

lunar/ 2023-01-06 18:07 -

If you are still unable to install it, please let me know.

LukeSavefrogs commented 1 year ago

Nope, does not work even after clearing apt cache...

lsalvarani@Desktop-Luca:~$ sudo apt-get clean

lsalvarani@Desktop-Luca:~$ sudo apt-get autoclean
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

lsalvarani@Desktop-Luca:~$ sudo apt update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://ftp.debian.org/debian bullseye-backports InRelease
Hit:3 http://deb.debian.org/debian bullseye InRelease
Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
Get:5 http://ppa.launchpad.net/greymd/tmux-xpanes/ubuntu lunar InRelease [18.1 kB]
Hit:6 https://cli.github.com/packages stable InRelease
Err:5 http://ppa.launchpad.net/greymd/tmux-xpanes/ubuntu lunar InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 91D71EBF28C3BA9D
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net/greymd/tmux-xpanes/ubuntu lunar InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 91D71EBF28C3BA9D
E: The repository 'http://ppa.launchpad.net/greymd/tmux-xpanes/ubuntu lunar InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
LukeSavefrogs commented 1 year ago

Don't know if it can be of any help, but i'm using Debian under WSL2:

lsalvarani@Desktop-Luca:~$ uname -a
Linux Desktop-Luca 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 GNU/Linux
greymd commented 1 year ago

I noticed that your environment (Debian/WSL2) does not support installation procedure for Ubuntu.

Can you please install it from deb package?

$ wget https://github.com/greymd/tmux-xpanes/releases/download/v4.1.3/tmux-xpanes_v4.1.3.deb
$ sudo dpkg -i tmux-xpanes*.deb
$ xpanes -V

Install tmux manually if necessary.

LukeSavefrogs commented 1 year ago

I noticed that your environment (Debian/WSL2) does not support installation procedure for Ubuntu.

Can you please install it from deb package?

$ wget https://github.com/greymd/tmux-xpanes/releases/download/v4.1.3/tmux-xpanes_v4.1.3.deb
$ sudo dpkg -i tmux-xpanes*.deb
$ xpanes -V

Install tmux manually if necessary.

Doing as you told worked!

lsalvarani@Desktop-Luca:~$ sudo dpkg -i tmux-xpanes*.deb
[sudo] password for lsalvarani:
Selecting previously unselected package tmux-xpanes.
(Reading database ... 32538 files and directories currently installed.)
Preparing to unpack tmux-xpanes_v4.1.3.deb ...
Unpacking tmux-xpanes (4.1.3-1) ...
Setting up tmux-xpanes (4.1.3-1) ...
Processing triggers for man-db (2.9.4-2) ...
lsalvarani@Desktop-Luca:~$ xpanes -V
xpanes 4.1.3

Thank you!

It could be useful to add it to the documentation.

greymd commented 1 year ago

Thanks for confirmation.

README.md updated closed.