Impish Indri(21.10) – matoken's blog https://matoken.org/blog Is there no plan B? Wed, 13 Apr 2022 22:33:05 +0000 ja hourly 1 https://wordpress.org/?v=6.8.3 https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9-32x32.jpeg Impish Indri(21.10) – matoken's blog https://matoken.org/blog 32 32 Ubuntu 21.10 -> 22.04のアップグレードに失敗 https://matoken.org/blog/2022/04/14/ubuntu-21-10-22-04-upgrade-failed/ https://matoken.org/blog/2022/04/14/ubuntu-21-10-22-04-upgrade-failed/#respond Wed, 13 Apr 2022 22:29:33 +0000 http://matoken.org/blog/?p=3600

Ubuntu 21.10 amd64 から 22.04(development branch) へのアップグレード時に以下のようなエラーで失敗してしまいました.

unable to open '/usr/share/themes/Yaru/gnome-shell/calendar-today-light.svg.dpkg-new': No such file or directory

Preparing to unpack .../yaru-theme-gnome-shell_22.04.3.1_all.deb ...
Unpacking yaru-theme-gnome-shell (22.04.3.1) over (21.10.2) ...
dpkg: error processing archive /var/cache/apt/archives/yaru-theme-gnome-shell_22.04.3.1_all.deb (--unpack):
 unable to open '/usr/share/themes/Yaru/gnome-shell/calendar-today-light.svg.dpkg-new': No such file or directory
No apport report written because the error message indicates an issue on the local system
       Errors were encountered while processing:
 /var/cache/apt/archives/yaru-theme-gnome-shell_22.04.3.1_all.deb
.../yaru-theme-gnome-shell_22.04.3.1_all.deb を転換する準備をしています ...
yaru-theme-gnome-shell (22.04.3.1) で (21.10.2 に) 上書き展開しています ...
dpkg: アーカイブ /var/cache/apt/archives/yaru-theme-gnome-shell_22.04.3.1_all.deb の処理中にエラーが発生しました (--install):
 '/usr/share/themes/Yaru/gnome-shell/calendar-today-light.svg.dpkg-new' をオープンできません: そのようなファイルやディレクトリはありません
処理中にエラーが発生しました:
/var/cache/apt/archives/yaru-theme-gnome-shell_22.04.3.1_all.deb

エラーメッセージで検索すると以下のBugが見つかりました.

とりあえず添付された.debをダウンロードしてdpkgで導入すれば良さそうです.

$ wget https://bugs.launchpad.net/ubuntu/+source/yaru-theme/+bug/1968405/+attachment/5580229/+files/yaru-theme-gnome-shell_22.04.3.1+git2ff06a41_all.deb
$ sudo dpkg -i ./yaru-theme-gnome-shell_22.04.3.1+git2ff06a41_all.deb
$ sudo apt --fix-broken install
  :
$ sudo apt dist-upgrade
  :

若しくは少し待ってリポジトリに反映されるのを待ちましょう.

環境
$ lsb_release -dr
Description:    Ubuntu 21.10
Release:        21.10
$ arch
x86_64
]]>
https://matoken.org/blog/2022/04/14/ubuntu-21-10-22-04-upgrade-failed/feed/ 0