依存関係が満たされていないため、WSL-Debianにneovimをインストールできません。

依存関係が満たされていないため、WSL-Debianにneovimをインストールできません。

私のWSL-debianでは

$ uname -a
Linux BlahBlah 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 GNU/Linux

sudo apt install neovimのようにトリガーされた満たされていない依存関係のため、apt()からneovimをインストールできません。ncurses-base

The following packages have unmet dependencies:
 ncurses-base : Breaks: neovim (< 0.6.0) but 0.4.4-1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

回避策がありますか?


~によるとこのリンク、壊れたパッケージがあるかどうかを確認する必要がありますが、/var/log/dist-upgrade/apt.logシステムにこのログファイルがないため、現在壊れたパッケージがないとします。

$ apt show ncurses-base
Package: ncurses-base
Version: 6.4-4
Status: install ok installed
Priority: required
Essential: yes
Section: misc
Source: ncurses
Maintainer: Craig Small <[email protected]>
Installed-Size: 388 kB
Provides: ncurses-runtime
Breaks: bash-static (<< 4.4.18-1.1), libmono-corlib4.5-cil (<< 4.6.2.7+dfsg-2), libslang2 (<< 2.3.1a-3), libtinfo5 (<< 6.1), libunibilium0 (<< 2), libunibilium4 (<< 2.0.0-3), neovim (<< 0.6.0), vim-common (<< 2:9.0.1000-2), zsh-static (<< 5.4.2-4)
Homepage: https://invisible-island.net/ncurses/
Download-Size: unknown
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: basic terminal type definitions
 The ncurses library routines are a terminal-independent method of
 updating character screens with reasonable optimization.
 .
 This package contains terminfo data files to support the most common types of
 terminal, including ansi, dumb, linux, rxvt, screen, sun, vt100, vt102, vt220,
 vt52, and xterm.

ベストアンサー1

おすすめ記事