- Package:
- ncurses-term
- Source:
- ncurses-term
- Submitter:
- Helmut Grohne
- Date:
- 2026-07-19 06:23:01 UTC
- Severity:
- normal
- Tags:
ncurses-term has an undeclared file conflict. This may result in an unpack error from dpkg. The file /usr/share/terminfo/k/kmscon is contained in the packages * kmscon/10.0.1-1~bpo13+1 as present in trixie-backports * ncurses-term/6.6+20260608-2 as present in forky|unstable These packages can be unpacked concurrently, because there is no relevant Replaces or Conflicts relation. Attempting to unpack these packages concurrently results in an unpack error from dpkg, because none of the packages installs a diversion for the affected file. Kind regards Helmut Grohne
Am 16.07.2026 um 12:39 schrieb Helmut Grohne:
The kmscon package in trixie-backports explicitly depends on
ncurses-term (<< 6.6+20260608~) in an attempt to avoid the problem, but
you are right that this is not sufficient because the unpack order on
upgrades to forky is not defined, so there is a 50% chance to run into
the file conflict depending on whether kmscon or ncurses-term is
unpacked first.
Prior art suggests[1] that moving the file in kmscon/trixie-backports to
/usr/lib/terminfo is a good way to avoid the file clash. I will look
into this later today if nobody beats me to it.
Once the file in kmscon has been moved, I can add suitable Replaces to
ncurses-term. Before that it makes little sense as it would either
require unversioned Replaces or a diversion, and I consider both of
these options evil™.
Cheers,
Sven
1. https://bugs.debian.org/cgi-bin/911515
Control: tags 1142216 + patch
The attached patch should do the trick. I have also opened a merge
request[1] on Salsa.
Cheers,
Sven
1. https://salsa.debian.org/debian/kmscon/-/merge_requests/3
Hello, Bug #1142185 in ncurses reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/debian/ncurses/-/commit/a2085cbb8afcd9f3196813a48294202b6fc6c180 This version of kmscon shipped /usr/share/terminfo/k/kmscon, clashing with our provided file. Later backports of kmscon moved the file to /usr/lib/terminfo/k/kmscon to avoid the file conflict. There is no need for Breaks here, since the problematic version of kmscon explicitly depends on an older version of ncurses-term, meaning that kmscon and ncurses-term have to be upgraded in lockstep. Closes: #1142185 ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1142185