パッケージ管理 - Arch 系 pacman - ファイルの衝突その2
1. 概要 2023年11月16日、「Garuda Linux 231029 Cinnamon」を扱っていた時のことです。 本ページは、下記のサイトを参考にさせていただきました。 「Sweet-theme-full-git and sweet-kde-git are in conflict - 4xx Client Error / 412 Precondition Failed」 「Unable to install sweet-theme-full-git - Issues & Assistance / KDE - Garuda Linux Forum」 結局、自己解決するに至ったのですがね。 2. 現象 pacman -Syu を実行すると。 :: パッケージデータベースの同期中... garuda は最新です core は最新です extra は最新です community は最新です multilib は最新です chaotic-aur は最新です :: システム全体の更新を開始... :: mhwd-db-garuda-git を garuda/mhwd-db-garuda に置き換えますか? [Y/n] :: sweet-kde-theme-git を chaotic-aur/plasma5-themes-sweet-kde-git に置き換えますか? [Y/n] 依存関係を解決しています... 衝突するパッケージがないか確認しています... エラー: 処理の準備に失敗しました (依存関係を解決できませんでした) :: sweet-kde-theme-git を削除すると 'sweet-kde-theme-git' が破壊され sweet-theme-full-git の依存関係が壊れます てなことになって、更新できません。 参考サイトで「garuda-update」なるものがあると知って、やってみます。 garuda-update すると。 :: パッケージデータベースの同期中... garuda は最新です core は最新です extra は最新です community は最新です multilib は最新です chaotic-aur は最新です --> Refreshing mirrorlists using rate-mirrors, please be patient..? :: パッケージデータベースの同期中... garuda をダウンロード... core をダウンロード... extra をダウンロード... multilib をダウンロード... chaotic-aur をダウンロード... :: Starting full system upgrade... :: Replace mhwd-db-garuda-git with garuda/mhwd-db-garuda? [Y/n] y :: Replace sweet-kde-theme-git with chaotic-aur/plasma5-themes-sweet-kde-git? [Y/n] y resolving dependencies... looking for conflicting packages... error: failed to prepare transaction (could not satisfy dependencies) :: removing sweet-kde-theme-git breaks dependency 'sweet-kde-theme-git' required by sweet-theme-full-git Unable to install sweet-theme-full-git これもだめ。 3. 解決 はたと気づいたのです。 なんかエラーになってるのは、「sweet-kde-theme-git」ですわな。 なに?「kde」。 「Cinnamon」には、必要ないんじゃね? で。 pacman -Rs sweet-kde-theme-git sweet-theme-full-git で、アンインストールしたら。 pacman -Syu が、通るようになりました。
「Sweet-theme-full-git and sweet-kde-git are in conflict - 4xx Client Error / 412 Precondition Failed」 「Unable to install sweet-theme-full-git - Issues & Assistance / KDE - Garuda Linux Forum」
pacman -Syu
:: パッケージデータベースの同期中... garuda は最新です core は最新です extra は最新です community は最新です multilib は最新です chaotic-aur は最新です :: システム全体の更新を開始... :: mhwd-db-garuda-git を garuda/mhwd-db-garuda に置き換えますか? [Y/n] :: sweet-kde-theme-git を chaotic-aur/plasma5-themes-sweet-kde-git に置き換えますか? [Y/n] 依存関係を解決しています... 衝突するパッケージがないか確認しています... エラー: 処理の準備に失敗しました (依存関係を解決できませんでした) :: sweet-kde-theme-git を削除すると 'sweet-kde-theme-git' が破壊され sweet-theme-full-git の依存関係が壊れます
garuda-update
:: パッケージデータベースの同期中... garuda は最新です core は最新です extra は最新です community は最新です multilib は最新です chaotic-aur は最新です --> Refreshing mirrorlists using rate-mirrors, please be patient..? :: パッケージデータベースの同期中... garuda をダウンロード... core をダウンロード... extra をダウンロード... multilib をダウンロード... chaotic-aur をダウンロード... :: Starting full system upgrade... :: Replace mhwd-db-garuda-git with garuda/mhwd-db-garuda? [Y/n] y :: Replace sweet-kde-theme-git with chaotic-aur/plasma5-themes-sweet-kde-git? [Y/n] y resolving dependencies... looking for conflicting packages... error: failed to prepare transaction (could not satisfy dependencies) :: removing sweet-kde-theme-git breaks dependency 'sweet-kde-theme-git' required by sweet-theme-full-git Unable to install sweet-theme-full-git
pacman -Rs sweet-kde-theme-git sweet-theme-full-git