fix: install libtinfo 6 instead of libtinfo-dev

This commit is contained in:
Amin Yahyaabadi 2025-01-25 22:33:19 -08:00
parent a1e30580e4
commit 17f5ebc5b9
5 changed files with 9 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -119,7 +119,11 @@ async function llvmBinaryDeps_(majorVersion: number) {
execRootSync("dpkg", ["-i", join(tmpdir(), fileName)])
}
} else {
await installAptPack([{ name: "libtinfo-dev" }])
try {
await installAptPack([{ name: "libtinfo6" }])
} catch (err) {
info(`Failed to install libtinfo6 ${err}\nSkipping the dependency`)
}
}
} else if (isArch()) {
// https://aur.archlinux.org/packages/ncurses5-compat-libs