インストールしようとしています松明image
lua のパッケージの場合。bash install-deps
コマンドを実行すると、次のエラーが発生します。
...
E: The repository 'https://ppa.launchpadcontent.net/rock-core/qt4/ubuntu jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Some portion of the update is failed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'git' instead of 'git-core'
Note, selecting 'libncurses-dev' instead of 'ncurses-dev'
Package ipython is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package libqt4-dev
E: Package 'ipython' has no installation candidate
私はこれに対する回答を使用してQt4ライブラリPPAを追加しました質問ただし、次のコマンドを実行すると:
sudo apt update
sudo apt install qt4-dev-tools libqt4-dev libqtcore4 libqtgui4
次のエラーが発生します:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libqtcore4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libqt5core5a:i386 libqt5core5a qtchooser:i386 qtchooser
Package libqtgui4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package qt4-dev-tools
E: Unable to locate package libqt4-dev
E: Package 'libqtcore4' has no installation candidate
E: Package 'libqtgui4' has no installation candidate
また、私はipython
この回答に従ってインストールしたことを言及します質問ですが、まだエラーが発生します。
答え1
これらのエラーは「ipython」がインストールされているかどうかとは関係ないと思います。私も同じエラーが発生しました("パッケージ libqt4-dev が見つかりません「libqt4-dev」をインストール中に(qt5を使いたいのですが、私の環境はUbuntu22.04私が見つけた解決策は、新しい「add-apt-repository」を追加することでした。
$sudo add-apt-repository ppa:ubuntuhandbook1/ppa
$sudo apt-get update
次のコマンドを実行します:
$sudo apt-get install qt4-dev-tools libqt4-dev libqtcore4 libqtgui4
これがお役に立てば幸いです。