upgrade from ubuntu 20.04 to 22.04 fails due to yaru-theme-gnome-shell missing files

Bug #1976558 reported by ed20900
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Yaru Theme
Unknown
Unknown
yaru-theme (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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)

Revision history for this message
ed20900 (ed20900) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in yaru-theme (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.