View Issue Details

IDProjectCategoryView StatusLast Update
0009792Kali LinuxKali Package Bugpublic2026-07-17 09:13
ReporterDeztryoz Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0009792: dotnet-sdk-6.0 crashes with "The terminfo database is invalid" on Kali Rolling
Description

After the latest Kali Rolling update, running dotnet --info with .NET 6 started failing with the following error:

System.InvalidOperationException: The terminfo database is invalid.

The issue occurs with the default terminal environment:

TERM=xterm-256color

Before the update, the command worked normally. The same command still works when using:

TERM=linux dotnet --info

I checked the terminfo entry and it appears to be valid. infocmp xterm-256color successfully reads the entry from:

/usr/share/terminfo/x/xterm-256color

strace also shows that dotnet finds and opens this file successfully, so the issue does not seem to be caused by a missing or inaccessible terminfo entry.

Creating a local copy of the terminfo entry fixes the problem:

mkdir -p ~/.terminfo/x
infocmp -x xterm-256color | tic -x -o ~/.terminfo -

After this, dotnet --info works correctly again with TERM=xterm-256color.

Updating to .NET 8 also resolves the issue.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-07-17 09:13 Deztryoz New Issue