なんとな~くしあわせ?の日記

「そしてそれゆえ、知識そのものが力である」 (Nam et ipsa scientia potestas est.) 〜 フランシス・ベーコン

Debianをsidからbuster(stable)に戻した

Debianをsidからbuster(stable)に戻した

表題通り、ここしばらく(1年ぐらい)Debianを入れていたマシンが不調で原因がわかっていなかった。いろいろやってメモリがだめだとわかったので新たに購入して再起動したわけだ。

nantonaku-shiawase.hatenablog.com

本体(メモリ含む)を買ったのがもう7年前か…

sidからbusterに戻す手順

以下の記事に従う
www.adammargherio.com

  • aptの設定を変える
$ cat /etc/apt/sources.list

#deb http://ftp.jp.debian.org/debian sid main contrib non-free
#deb-src http://ftp.jp.debian.org/debian sid main contrib non-free

# buster
deb http://ftp.jp.debian.org/debian buster main contrib non-free
deb-src http://ftp.jp.debian.org/debian buster main contrib non-free

deb http://ftp.jp.debian.org/debian buster-updates main contrib non-free
deb-src http://ftp.jp.debian.org/debian buster-updates main contrib non-free
  • パッケージ更新と再起動
    • とくにカーネルになにかしていることもなかったのですんなり終わった
# apt-get update
# apt-get upgrade
# apt-get dist-upgrade
# reboot