酒と機械とときどき読書

PCいじりやウイスキーについて書くブログ。ほとんど自分用備忘録

いつの間にかBusterがstableになってた

今年の2月の頭頃から10ヶ月間、ほとんどゲームしかしていないオタクになっていた。主にオンラインゲーム(だいたいLoLと黒い砂漠)をやっていてWindowsしか使っていなかったため、Linuxを起動することもほぼ無かった。最近になってようやく創作意欲が湧いてきたので久しぶりにノートPCのDebianを起動した。溜まりに溜まったアップデートを適用するのに時間がかかるだろうなというのは覚悟して

apt-get update

してみると、

N: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Version' value from '' to '10'
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'testing' to 'stable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
N: Repository 'http://ftp.jp.debian.org/debian buster InRelease' changed its 'Version' value from '' to '10.2'
E: Repository 'http://ftp.jp.debian.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
E: Repository 'http://ftp.jp.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'testing-updates' to 'stable-updates'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

こんな感じのメッセージがでてきてそもそもアップデート出来なかった。ハードウェアが割と新しかったり、使いたい新機能があったりでDebian testingを使っていたのだが、知らない間(2019年7月)にDebian 10が正式リリースされていたらしい。明示的に変更をacceptしないといけないらしいが、manページをみてもよくわからなかったのでググった。どうやら、

apt-get update --allow-releaseinfo-change

でアップデート出来るようになるそうだ。
続いて、

apt-get upgrade

しようとしたが、

libcuda1 : Depends: nvidia-alternative (= 418.74-1)
            Recommends: nvidia-smi but it is not going to be installed

このような依存関係のせいで止まってしまう。これは普通に

apt-get install nvidia-smi

でなんとかなった。ただ、nvidia-smiの依存パッケージのインストール中に、古いGeForce(たぶんFermi世代以前)を使ってる人はインストールするなよ的なメッセージが出てたのでハードが古い人は気をつけたほうがいいかもしれない。GPUドライバの更新があったので念の為ここで再起動を挟んだ。
再度

apt-get upgrade

すると、700MBほどのファイルをダウンロードし始めた。途中、libpamのアップデートで再起動するサービスを適宜選べと言われるが、そのまま進んだ。ディスプレイマネージャーも再起動しとけと言われた。
その後はなにか聞かれることもなく順調だったが、

update-initramfs: Generating /boot/initrd.img-4.19.0-2-amd64
Errors were encountered while processing:
 minissdpd
E: Sub-process /usr/bin/dpkg returned an error code (1)

こんなエラーで止まってしまった。minissdpdはUPnPの高速化用のデーモンらしい。何が悪いのかよくわからないので

apt-get remove minissdpd

で削除してしまうことにした。