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?

環境

  • 検証日 2024/06/30
  • Debian 12.5 (gnome) → trixie/sid
  • AMD64

iso からインストールしようとしてダメだった

https://www.debian.org/devel/debian-installer/index.ja.html
からダウンロードした debian-12.5.0-amd64-netinst.iso をVirtualBoxで使ってみようとしましたが GUI インストーラが起動しませんでした。

image.png

stable からアップグレード

仕方がないので、debian-12.5.0-amd64-netinst.iso から一旦 stable をインストールして、それから testing にアップグレードすることにします。

stable のインストール直後の状態から作業します。

/etc/apt/sources.list は以下のようになっていました。(抜粋)

deb http://deb.debian.org/debian/ bookworm main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware

deb http://security.debian.org/bookworm-security testing-security main non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware

deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware


ここに書かれている bookworm を testing に変更して保存します。

以下で反映します。


# apt update
# apt upgrade

スクリーンキャプチャを取っていませんでしたが、 libc6 のアップデートに伴うサービスのリスタートを without asking ? とかなんとか効いてきたのは Y で進みました。

エラー

途中で以下のようにエラーが出ました。

Errors were encountered while processing:
 libuim-data
 uim-data
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@debian12Testing:~# 

uim を削除します。

# apt remove uim

再度

# apt upgrade

とすると

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  cpp-12 libcolamd2 libgphoto2-l10n libm17n-0 libotf1 libqt5x11extras5 libquadmath0
  libsuitesparseconfig5 libuim-custom2 libuim-data linux-image-6.1.0-18-amd64 m17n-db
  p7zip python3-packaging python3-pycurl python3-pysimplesoap uim-data uim-plugins
Use 'apt autoremove' to remove them.
The following packages have been kept back:
  accountsservice aisleriot alsa-ucm-conf alsa-utils anthy apache2-bin appstream apt
  apt-utils at-spi2-core avahi-daemon baobab bc bind9-dnsutils bind9-host bind9-libs
  bluez bluez-obexd bogofilter bogofilter-bdb bogofilter-common bolt bsdextrautils
  bsdutils cheese coinor-libcoinmp1v5 colord coreutils cups cups-browsed cups-client
.
.
.
  speech-dispatcher-espeak-ng sudo swell-foop switcheroo-control synaptic
  system-config-printer-udev systemd systemd-timesyncd tali thunderbird
  thunderbird-l10n-ja totem totem-plugins tracker tracker-extract tracker-miner-fs
  transmission-common transmission-gtk udev udisks2 uim-mozc uim-plugins
  uno-libs-private upower ure usb-modeswitch webp-pixbuf-loader wget wireplumber
  wpasupplicant x11-apps x11-session-utils x11-utils x11-xkb-utils x11-xserver-utils
  xdg-dbus-proxy xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk
  xdg-user-dirs-gtk xserver-xorg-input-libinput xwayland yelp zenity
0 upgraded, 0 newly installed, 0 to remove and 606 not upgraded.

となります。結構残っている。

まずは auoremove

# apt autoremove

次に

# apt dist-upgrade

途中このように聞いてきました。
image.png

ここは Y に。

終わった後に再起動。

$ cat /etc/debian_version 
trixie/sid

うまくアップグレードできたみたいです。

uim をインストール

# apt install uim

として再起動。

完了しました。

問題だったこれも、バージョンが上がってめでたしめでたし。

$ apt-cache policy libcairo-gobject2
libcairo-gobject2:
  インストールされているバージョン: 1.18.0-3+b1
  候補:               1.18.0-3+b1
  バージョンテーブル:
 *** 1.18.0-3+b1 500
        500 http://deb.debian.org/debian testing/main amd64 Packages
        100 /var/lib/dpkg/status
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?