0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ログイン時にnvidia-driverの依存関係でupgradeできずにログインできない問題

Posted at

経緯

  • 久しぶりに自作PCを立ち上げると、ログイン画面に遷移せず以下のエラーが発生したため、なんとか復旧を試みる
    ** Bluethooth hci0: Malformed MSFT vender event: 0x02
    

結論

  • 得意のnvidia-driverの自動更新による依存関係の崩壊
  • 問題が発生しているドライバーの再インストールで解決

やったこと

  • まずは、よくわからんので、とりあえずttyにctr+alt+F2でログイン
    • おまじないの、sudo apt update & sudo apt upgradeを実行
    • upgrad時に以下のエラーが発生し、'apt --fix-broken install'を推奨されるが解消せず
    nvidia-dkms-525 : 依存: nvidia-kernel-common-525 (= 525.126.06-0ubuntu1) しかし、525.129.03-0ubuntu0.22.04.1 はインストールされています
    nvidia-driver-525 : 依存: nvidia-compute-utils-525 (= 525.126.06-0ubuntu1) しかし、525.129.03-0ubuntu0.22.04.1 はインストールされています
    
    • エラーをよく見ると、すでにインストールされているdriverとupgradeによって更新しようとしているdriverの依存関係の問題でupgradeできていないことが判明
    • あとは、結論のURLに沿って、driverをとってきて強制更新で解決
  • 再発防止

おまけ

  • そもそも引越し後に自作PCを起動していなかったので、ネットがつながっていなかったので、ネットからdriver取得ができていなかった
  • Wi-Fiの設定をCLIで実施

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?