Ubuntuのアップグレードにより依存関係が満たされない

Ubuntuのアップグレードにより依存関係が満たされない

そのため、Ubuntu 18.04から20.04にアップグレードした後、システム設定が消えました。 gnome-control-centerをインストールして問題を解決しようとすると、一部の満たされていない依存関係が発生し、修正しようとしましたが機能しませんでした。必要な設定を直接変更しましたが、今日ノートパソコンを再起動したときにエラーメッセージが表示されました。

iwlwifi: 0000:02:00.0: BIOS contains WGDS but no WRDS

回復モードでubuntu-desktopをインストールしようとしましたが(再インストールせず、驚くべきことに現在インストールされていません)、動作せずに次のエラーが発生しました。

ubuntu-desktop: Depends: gdm3 but it it not going to be installed
Depends: gnome-control-center but it it not going to be installed
Depends: gnome-shell but it it not going to be installed
Depends: gnome-shell-extension-appindicator but it it not going to be installed
Depends: gnome-shell-extension-desktop-icons but it it not going to be installed
Depends: gnome-shell-extension-ubuntu-dock but it it not going to be installed
Depends: ubuntu-desktop-minimal but it it not going to be installed
Depends: ubuntu-release-upgrader-gtk but it it not going to be installed
Depends: ubuntu-session but it it not going to be installed
Depends: update-manager but it it not going to be installed
Depends: xorg but it it not going to be installed
Depends: yelp but it it not going to be installed
Depends: zenity but it it not going to be installed
Recommends: cheese but it it not going to be installed
Recommends: gnome-calendar but it it not going to be installed
Recommends: gnome-getting-started-docs but it it not going to be installed
Recommends: gnome-initial-setup but it it not going to be installed
Recommends: gnome-todo but it it not going to be installed
Recommends: nautilus-share but it it not going to be installed
Recommends: shotwell but it it not going to be installed
Recommends: totem but it it not going to be installed
Recommends: ubuntu-docs but it it not going to be installed
E: Unable to correct problems, you have held broken packages

破損したパッケージがあるかどうかを確認しましたが、dpkg --get-selections | grep hold結果はありません。

、、、、を試しましたが、 sudo dpkg --configure -a何も変更されませんでした。sudo aptitude install ubuntu desktopsudo apt-get -f installsudo apt-get update

家にいたら、Ubuntuを再インストールしますが、家にいないので、そうするオプションはありません。

依存関係の問題を解決する方法はありますか?再帰的に手動インストールを試みます。頼る: ...パッケージはこれが有益な努力ではないようです。

編集:実行すると、次のようにgrep -r deb /etc/apt/sources.list /etc/apt/sources.list.dなります。

/etc/apt/sources.list:# cdrom:[Ubuntu 18.04.3 LTS _Bionic Beaver_ - Release amd64 (20190805)] Biopic main restricted
/etc/apt/sources.list: deb http://de.archive.ubuntu.com/ubuntu/ focal main restricted 
/etc/apt/sources.list:# deb-src http://de.archive.ubuntu.com/ubuntu/ bionic main restricted
/etc/apt/sources.list: deb http://de.archive.ubuntu.com/ubuntu/ focal-updates main restricted
/etc/apt/sources.list:# deb-src http://de.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
/etc/apt/sources.list: deb http://de.archive.ubuntu.com/ubuntu/ focal universe
/etc/apt/sources.list:# deb-src http://de.archive.ubuntu.com/ubuntu/ bionic universe
/etc/apt/sources.list: deb http://de.archive.ubuntu.com/ubuntu/ focal-updates universe
/etc/apt/sources.list:# deb-src http://de.archive.ubuntu.com/ubuntu/ bionic-updates universe
/etc/apt/sources.list: deb http://de.archive.ubuntu.com/ubuntu/ focal multiverse 
/etc/apt/sources.list: # deb-src http://de.archive.ubuntu.com/ubuntu/ bionic multiverse
/etc/apt/sources.list: deb http://de.archive.ubuntu.com/ubuntu/ focal-updates multiverse
/etc/apt/sources.list: # deb-src http://de.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
/etc/apt/sources.list: deb http://de.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
/etc/apt/sources.list: # deb-src http://de.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
/etc/apt/sources.list: # deb http://archive.canonical.com/ubuntu bionic partner
/etc/apt/sources.list: #deb-src http://archive.canonical.com/ubuntu bionic partner
/etc/apt/sources.list: deb http://security.ubuntu.com/ubuntu focal-security main restricted
/etc/apt/sources.list: #deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
/etc/apt/sources.list: deb http://security.ubuntu.com/ubuntu focal-security universe
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
/etc/apt/sources.list: deb http://security.ubuntu.com/ubuntu focal-security multiverse
/etc/apt/sources.list: # deb arc http://security.ubuntu.com/ubuntu bionic-security multiverse
/etc/apt/sources.list.d/google.chrome.list.save: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/oibaf-ubuntu-graphics-drivers-bionic.list: # deb http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu focal main # disabled on upgrade to focal
/etc/apt/sources.list.d/oibaf-ubuntu-graphics-drivers-bionic.list: # deb-src http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic main 
/etc/apt/sources.list.d/oibaf-ubuntu-graphics-drivers-bionic.list.distUpgrade: deb http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic main 
/etc/apt/sources.list.d/oibaf-ubuntu-graphics-drivers-bionic.list.distUpgrade:# deb-src http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic main 
/etc/apt/sources.list.d/google-chrome.list.distUpgrade: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/google-chrome.list: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

誰でも助けてくれてありがとう!

ベストアンサー1

さて、誰の意見もおかげで解決策を見つけました。グラフィックドライバのppaは自動的にアップグレードされません。ランニング:

sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt update
sudo apt upgrade
sudo apt-get install ubuntu-desktop

依存関係が解決され、システム設定も戻ってきました。

同様の問題を抱えている人がいる場合:疑わしい項目があるかどうかを確認してください。

grep -r deb /etc/apt/sources.list /etc/apt/sources.list.d

私の場合、oibaf ...エントリにUbuntu 18.04バージョンの「bionic」が含まれているので、ドライバを更新すると正しいストレージが提供され、すべての問題が解決されました。

おすすめ記事