Public bug reported: I had to delete installed files of Yaru Theme for Ubuntu 20.04 LTS before continuing the upgrade to Ubuntu 22.04 LTS.
dpkg-maintscript-helper: error: file '/usr/share/themes/Yaru-dark/gnome-shell/key-enter.svg' not owned by package 'yaru-theme-gnome-shell:all' dpkg-maintscript-helper: error: file '/usr/share/themes/Yaru-dark/gnome-shell/meson.build' not owned by package 'yaru-theme-gnome-shell:all' dpkg-maintscript-helper: error: file '/usr/share/themes/Yaru-dark/gnome-shell/key-layout.svg' not owned by package 'yaru-theme-gnome-shell:all' dpkg-maintscript-helper: error: file '/usr/share/themes/Yaru-dark/gnome-shell/key-shift.svg' not owned by package 'yaru-theme-gnome-shell:all' dpkg-maintscript-helper: error: file '/usr/share/themes/Yaru-dark/gnome-shell/key-shift-latched-uppercase.svg' not owned by package 'yaru-theme-gnome-shell:all' dpkg-maintscript-helper: error: file '/usr/share/themes/Yaru-dark/gnome-shell/key-hide.svg' not owned by package 'yaru-theme-gnome-shell:all' dpkg-maintscript-helper: error: file '/usr/share/themes/Yaru-dark/gnome-shell/key-shift-uppercase.svg' not owned by package 'yaru-theme-gnome-shell:all' dpkg-maintscript-helper: error: directory '/usr/share/themes/Yaru-dark/gnome-shell' contains files not owned by package yaru-theme-gnome-shell:all, cannot switch to symlink dpkg: s'ha produït un error en processar l'arxiu /tmp/apt-dpkg-install-CLn2dX/14-yaru-theme-gnome-shell_22.04.4_all.deb (--unpack): el subprocés «guió «yaru-theme-gnome-shell» nou del paquet pre-installation» retornà el codi d'eixida d'error 1 After removing those files and trying a second time, there were more missing files: /usr/share/themes/Yaru/gnome-shell/key-enter.svg /usr/share/themes/Yaru/gnome-shell/meson.build /usr/share/themes/Yaru/gnome-shell/key-layout.svg /usr/share/themes/Yaru/gnome-shell/key-shift.svg /usr/share/themes/Yaru/gnome-shell/gnome-shell-high-contrast.css /usr/share/themes/Yaru/gnome-shell/key-shift-latched-uppercase.svg /usr/share/themes/Yaru/gnome-shell/key-hide.svg /usr/share/themes/Yaru/gnome-shell/key-shift-uppercase.svg /usr/share/themes/Yaru/gnome-shell/gnome-shell.css After removing those too, I could proceed and finish the upgrade. With aptitude resolving broken dependencies was possible. Afterwards reexecuted the upgrader already unpacked to /tmp. That removed old packages not needed anymore which aptitude failed to manage. ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: yaru-theme-gnome-shell 22.04.4 ProcVersionSignature: Ubuntu 5.15.0-33.34-generic 5.15.30 Uname: Linux 5.15.0-33-generic x86_64 ApportVersion: 2.20.11-0ubuntu82.1 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Wed Jun 1 21:47:29 2022 Dependencies: InstallationDate: Installed on 2014-06-05 (2917 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417) PackageArchitecture: all SourcePackage: yaru-theme UpgradeStatus: Upgraded to jammy on 2022-06-01 (0 days ago) ** Affects: yaru-theme (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1976558 Title: upgrade from ubuntu 20.04 to 22.04 fails due to yaru-theme-gnome-shell missing files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/yaru-theme/+bug/1976558/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs