On Sun, 26 May 2024 22:36:53 +0200 Marcel Partap <mpar...@gmx.net> wrote:

tmux:
  Installed: 3.4-5
  Candidate: 3.4-5
  Version table:
 *** 3.4-5 510
        500 http://ftp.de.debian.org/debian testing/main amd64 Packages
        510 http://ftp.de.debian.org/debian unstable/main amd64 Packages
        500 http://http.kali.org/kali kali-rolling/main amd64 Packages
        100 /var/lib/dpkg/status
     3.4-5~bpo12+1 100
        100 http://ftp.de.debian.org/debian bookworm-backports/main amd64
Packages
     3.3a-3 500
        500 http://ftp.de.debian.org/debian stable/main amd64 Packages
        500 http://ftp.de.debian.org/debian bookworm/main amd64 Packages
     3.3a-3~bpo11+1 100
        100 http://ftp.de.debian.org/debian bullseye-backports/main amd64
Packages
     3.1c-1+deb11u1 500
        500 http://ftp.de.debian.org/debian bullseye/main amd64 Packages

libtinfo6:
  Installed: 6.5-2
  Candidate: 6.5-2
  Version table:
 *** 6.5-2 510
        500 http://ftp.de.debian.org/debian testing/main amd64 Packages
        510 http://ftp.de.debian.org/debian unstable/main amd64 Packages
        500 http://http.kali.org/kali kali-rolling/main amd64 Packages
        100 /var/lib/dpkg/status
     6.4-4 500
        500 http://ftp.de.debian.org/debian stable/main amd64 Packages
        500 http://ftp.de.debian.org/debian bookworm/main amd64 Packages
     6.2+20201114-2+deb11u2 500
        500 http://ftp.de.debian.org/debian bullseye/main amd64 Packages


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (510, 'unstable'), (509, 'experimental'), (500, 
'stable-updates'), (500, 'stable-security'), (500, 'oldstable-updates'), (500, 
'oldstable-security'), (500, 'testing'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386




Hello Marcel, hello Romain,
is this probably caused by having e.g. tmux from a Debian repository,
and libtinfo from a Kali repository.

I guess this could qualify this installation as "FrankenDebian" [1].

It might be possible to disable the Kali repository, do a `apt update`
and then list packages, which are not available in the configured repositories:

    apt list "?obsolete"

I assume this list will contain either tmux, libtinfo6 or an even more central 
system package.
(Or none at all if versions of Kali and Debian packages match exactly?)

Reinstalling the Debian version of such packages might get the system
back to a consistent state, but be prepared for breaking the system even more.
apt install --reinstall package-name

Kind regards,
Bernhard

[1] https://wiki.debian.org/DontBreakDebian#Don.27t_make_a_FrankenDebian

Reply via email to