apt-get upgrade of gir1.2-mutter-3.0 fails on amd64

Asked by John

Unpacking gir1.2-mutter-3.0 (from .../gir1.2-mutter-3.0_3.0.0-0ubuntu1~build2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/gir1.2-mutter-3.0_3.0.0-0ubuntu1~build2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/mutter/Meta-3.0.typelib', which is also in package gir1.2-mutter-2.91 3.0.0-0ubuntu1~build1

Additional issues that may be related:

Unpacking replacement gnome-accessibility-themes ...
dpkg: error processing /var/cache/apt/archives/gnome-accessibility-themes_3.0.0-0ubuntu1~build2_all.deb (--unpack):
 trying to overwrite '/usr/share/themes/HighContrastInverse/index.theme', which is also in package gnome-themes-standard 3.0.0-1~~build1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

Then is seems to retry:

Errors were encountered while processing:
 /var/cache/apt/archives/gir1.2-mutter-3.0_3.0.0-0ubuntu1~build2_amd64.deb
 /var/cache/apt/archives/gnome-accessibility-themes_3.0.0-0ubuntu1~build2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:

dpkg: dependency problems prevent configuration of gnome-shell:
 gnome-shell depends on gir1.2-mutter-3.0 (>= 3.0.0); however:
  Package gir1.2-mutter-3.0 is not installed.
dpkg: error processing gnome-shell (--configure):
 dependency problems - leaving unconfigured

dpkg: dependency problems prevent configuration of gnome-session:
 gnome-session depends on gnome-shell; however:
  Package gnome-shell is not configured yet.
dpkg: error processing gnome-session (--configure):
 dependency problems - leaving unconfigured

dpkg: dependency problems prevent configuration of ubuntu-desktop:
 ubuntu-desktop depends on gnome-session; however:
  Package gnome-session is not configured yet.
dpkg: error processing ubuntu-desktop (--configure):
 dependency problems - leaving unconfigured

update-initramfs: Generating /boot/initrd.img-2.6.38-8-generic
Errors were encountered while processing:
 gnome-shell
 gnome-session
 ubuntu-desktop

And attempt to fix this ends with:

> sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  gir1.2-mutter-3.0
The following NEW packages will be installed:
  gir1.2-mutter-3.0
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
3 not fully installed or removed.
Need to get 20.6 kB of archives.
After this operation, 172 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu/ natty/main gir1.2-mutter-3.0 amd64 3.0.0-0ubuntu1~build2 [20.6 kB]
Fetched 20.6 kB in 0s (39.5 kB/s)
(Reading database ... 344389 files and directories currently installed.)
Unpacking gir1.2-mutter-3.0 (from .../gir1.2-mutter-3.0_3.0.0-0ubuntu1~build2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/gir1.2-mutter-3.0_3.0.0-0ubuntu1~build2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/mutter/Meta-3.0.typelib', which is also in package gir1.2-mutter-2.91 3.0.0-0ubuntu1~build1
Errors were encountered while processing:
 /var/cache/apt/archives/gir1.2-mutter-3.0_3.0.0-0ubuntu1~build2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-session Edit question
Assignee:
No assignee Edit question
Solved by:
John
Solved:
Last query:
Last reply:
Revision history for this message
John (john-ehrlinger) said :
#1

 sudo apt-get remove gir1.2-mutter-2.91 gnome-shell gnome-session ubuntu-desktop

works fine.

 sudo apt-get install gnome-shell

installs. So maybe it's ubuntu-desktop and gnome-session?

Revision history for this message
John (john-ehrlinger) said :
#2

Also need to remove gnome-themes-standard so that gnome-accessibility-themes can be install?

Then update/dist-upgrade/upgrade complete.