EternalTerminal icon indicating copy to clipboard operation
EternalTerminal copied to clipboard

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

Open egnor opened this issue 1 year ago • 1 comments

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...

egnor avatar Jan 10 '24 00:01 egnor

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.

mLewisLogic avatar Feb 07 '24 19:02 mLewisLogic

Any update on this?

xlorepdarkhelm avatar Mar 06 '24 21:03 xlorepdarkhelm

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: @.***>

MisterTea avatar Mar 07 '24 00:03 MisterTea

@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.

jribbens avatar Apr 04 '24 17:04 jribbens

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

MisterTea avatar Apr 04 '24 17:04 MisterTea

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

smammy avatar Apr 05 '24 02:04 smammy

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

jribbens avatar Apr 05 '24 03:04 jribbens

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.

MisterTea avatar Apr 05 '24 06:04 MisterTea

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

jribbens avatar Apr 06 '24 04:04 jribbens