MisterTea / EternalTerminal

Re-Connectable secure remote shell
https://mistertea.github.io/EternalTerminal/
Apache License 2.0
3k stars 171 forks source link

Ubuntu mantic et package (et_6.2.8-mantic1_amd64.deb) broken (bad dep on libtinfo5) #612

Closed egnor closed 6 months ago

egnor commented 9 months ago

Attempting to install this package (which is where the PPA currently points) gives this error:

% sudo dpkg -i ~/Downloads/et_6.2.8-mantic1_amd64.deb
[sudo] password for egnor: 
(Reading database ... 194462 files and directories currently installed.)
Preparing to unpack .../et_6.2.8-mantic1_amd64.deb ...
Unpacking et (6.2.8-mantic1) over (6.2.8-mantic1) ...
dpkg: dependency problems prevent configuration of et:
 et depends on libtinfo5; however:
  Package libtinfo5 is not installed.

dpkg: error processing package et (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 et

This is proximally because libtinfo5 has been removed from Debian for general ancientness and therefore Ubuntu as well.

But I don't see any actual dependency on this package, none of the binaries installed seem to depend on that library? Using --force-deps to install the package seems to result in a working EternalTerminal, but I haven't tested everything...

mLewisLogic commented 8 months ago

Same issue.

As a stopgap, @egnor's suggestion got it limping along for me.

wget https://ppa.launchpadcontent.net/jgmath2000/et/ubuntu/pool/main/e/et/et_6.2.8-mantic1_amd64.deb
sudo dpkg --force-depends -i ./et_6.2.8-mantic1_amd64.deb

Hoping it gets fixed soon to get back to having it managed via apt.

xlorepdarkhelm commented 7 months ago

Any update on this?

MisterTea commented 7 months ago

Hmm, as the thread suggests, I'm not using libtinfo5, but maybe it's coming it through ncurses-dev?

On Wed, Mar 6, 2024, 3:12 PM Cliff Hill @.***> wrote:

Any update on this?

— Reply to this email directly, view it on GitHub https://github.com/MisterTea/EternalTerminal/issues/612#issuecomment-1981794782, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACK5P45W5K5NZAADNUPRL3YW6BE7AVCNFSM6AAAAABBT5XPUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBRG44TINZYGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jribbens commented 6 months ago

@MisterTea What do you mean by that? The package you are publishing depends directly on libtinfo5, and doesn't depend on curses either directly or indirectly.

MisterTea commented 6 months ago

Maybe I'm missing/forgetting something, but I don't see libtinfo5 mentioned anywhere in the repo?

smammy commented 6 months ago

It'll be in the debian/control file in the sources you generate your .debs from. (Is the packaging source on here somewhere?)

jribbens commented 6 months ago

As @smammy says, we're not talking about what your code actually depends on, we're talking about what your package metadata says it depends on:


$ apt-get download et
Get:1 https://ppa.launchpadcontent.net/jgmath2000/et/ubuntu mantic/main amd64 et amd64 6.2.8-mantic1 [1293 kB]
Fetched 1293 kB in 0s (11.9 MB/s)
$ dpkg -e et_6.2.8-mantic1_amd64.deb 
$ fgrep libtinfo5 DEBIAN/control | fmt
Depends: libc6 (>= 2.38), libcurl4 (>= 7.16.2), libgcc-s1 (>= 3.3.1),
libprotobuf32 (>= 3.21.12), libsodium23 (>= 0.6.0), libssl3 (>= 3.0.0),
libstdc++6 (>= 13.1), libunwind8, libutempter0 (>= 1.1.5), zlib1g (>=
1:1.1.4), libgcc1 (>= 1:3.3), libtinfo5
MisterTea commented 6 months ago

Ok, sorry it took so long for me to figure this out. I pushed a 6.2.8-2 package that should have libtinfo5 removed.

jribbens commented 6 months ago

Brilliant, thanks! Got it working for me now from Mac OS client to Ubuntu server.