package libcanberra-gtk0 0.6-0ubuntu3 failed to install/upgrade: trying to overwrite `/usr/bin/canberra-gtk-play', which is also in package libcanberra-gnome

Bug #302251 reported by Noel J. Bergman
328
This bug affects 23 people
Affects Status Importance Assigned to Milestone
libcanberra (Ubuntu)
Fix Released
High
Chris Coulson

Bug Description

From tonight's Jaunty updates:

E: /var/cache/apt/archives/libcanberra-gtk0_0.10-1ubuntu1_amd64.deb: trying to overwrite `/usr/bin/canberra-gtk-play', which is also in package libcanberra-gnome

# dpkg -l | grep canberra
ii libcanberra-gnome 0.6-0ubuntu3
ii libcanberra-gtk-module 0.10-1ubuntu1
ii libcanberra-gtk0 0.6-0ubuntu3
ii libcanberra0 0.10-1ubuntu1

ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 9.04
ErrorMessage: trying to overwrite `/usr/bin/canberra-gtk-play', which is also in package libcanberra-gnome
NonfreeKernelModules: nvidia
Package: libcanberra-gtk0 0.6-0ubuntu3
SourcePackage: libcanberra
Title: package libcanberra-gtk0 0.6-0ubuntu3 failed to install/upgrade: trying to overwrite `/usr/bin/canberra-gtk-play', which is also in package libcanberra-gnome
Uname: Linux 2.6.27-7-generic x86_64

WORKAROUND:
Manually remove libcanberra-gnome before upgrading. Remove and later reinstall ubuntu-desktop if you have to.

Related branches

Revision history for this message
Noel J. Bergman (noeljb) wrote :
Revision history for this message
Hew (hew) wrote :

I can confirm this, marking triaged.

Changed in libcanberra:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
marcosdsanchez (marcosdsanchez) wrote :

I can confirm this.

Revision history for this message
Hebert (hebert-bernardo) wrote :

I can also confirm this.

Revision history for this message
Dakkar (dakkar9999) wrote :

I also confirm this.

Revision history for this message
Noel J. Bergman (noeljb) wrote :

Guys, please note that this bug is marked as Triaged. That means, as per https://wiki.ubuntu.com/Bugs/Status, that Ubuntu Bug Control (in this case, Hew)acknowledges the problem and has sufficient information to resolve the problem.

Revision history for this message
ibizatunes (ibizatunes) wrote :

I just got this bug to

Revision history for this message
Telorn (telorn) wrote :

Same thing, 9.04 alpha 1

Revision history for this message
Hew (hew) wrote :

Please do not add further +1 or confirmation comments. This bug has already been triaged and is known to the developers. If you wish to say "me too", you can use the "affects me" feature at the top of the page. Thanks.

Changed in libcanberra:
importance: Medium → High
Revision history for this message
Shirish Agarwal (shirishag75) wrote :

for i386 as well, not just amd64.

Revision history for this message
Martin Beltov (mbeltov) wrote :

I confirm this,too.
Running jaunty on virtualbox 2.0.6

Revision history for this message
thor2002ro (thor2002ro) wrote :

me too :)

Revision history for this message
Kyle Jones (mutiny32) wrote :

Still an issue as of November 27 after updating 12:00 -6GMT

Revision history for this message
Dave Stroud (bigdavesr) wrote :

It has broke my virtuabox install.

Revision history for this message
Adam Stovicek (arstovicek) wrote :

I was able to restore what appeared to be a broken Jaunty installation after receiving this error. In my case, the system would freeze waiting for the gdm login to appear. In order to gain access to another terminal or login prompt, I had to have it boot without the splash, either by removing it as a kernel option or booting into failsafe from the grub menu.

This error prevented other packages from finishing. On a whim, I ran apt-get with the autoremove command which finished setting up about 50 packages. Afterwards, gdm would launch or start without fail.

Revision history for this message
tdflanders (thomasdelbeke) wrote :

thomas@thomas-laptop:~$ apt-get source libcanberra-gnome
Reading package lists... Done
Building dependency tree
Reading state information... Done
NOTICE: 'libcanberra' packaging is maintained in the 'Git' version control system at:
git://git.debian.org/git/collab-maint/libcanberra.git
Need to get 932kB of source archives.
Get: 1 http://archive.ubuntu.com jaunty/main libcanberra 0.10-1ubuntu2 (dsc) [1712B]
Get: 2 http://archive.ubuntu.com jaunty/main libcanberra 0.10-1ubuntu2 (tar) [826kB]
Get: 3 http://archive.ubuntu.com jaunty/main libcanberra 0.10-1ubuntu2 (diff) [104kB]
Fetched 932kB in 9s (101kB/s)
gpg: Signature made Wed 26 Nov 2008 17:23:43 GMT using DSA key ID D06320CE
gpg: Can't check signature: public key not found
dpkg-source: extracting libcanberra in libcanberra-0.10
dpkg-source: info: unpacking libcanberra_0.10.orig.tar.gz
dpkg-source: info: applying libcanberra_0.10-1ubuntu2.diff.gz
thomas@thomas-laptop:~$

Revision history for this message
tdflanders (thomasdelbeke) wrote :

root@thomas-laptop:/home/thomas# apt-get remove libcanberra-gtk0
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
  fast-user-switch-applet gnome-applets gnome-control-center gnome-panel gnome-session libcanberra-gnome libcanberra-gtk-module libcanberra-gtk0 nautilus nautilus-cd-burner
  nautilus-share
0 upgraded, 0 newly installed, 11 to remove and 0 not upgraded.
After this operation, 15.9MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
root@thomas-laptop:/home/thomas#

Revision history for this message
Noel J. Bergman (noeljb) wrote :

After today's updates, both libcanberra-gtk0 and gnome-session-canberra are blocked. Because of the latter, ubuntu-desktop is a problem, since it depends on gnome-session-canberra.

You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  ubuntu-desktop: Depends: gnome-session-canberra but it is not installed
E: Unmet dependencies. Try using -f.
root@jaunty:~# 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:
  gnome-session-canberra
The following NEW packages will be installed:
  gnome-session-canberra
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0B/6188B of archives.
After this operation, 57.3kB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 104157 files and directories currently installed.)
Unpacking gnome-session-canberra (from .../gnome-session-canberra_0.10-1ubuntu2_all.deb) ...
dpkg: error processing /var/cache/apt/archives/gnome-session-canberra_0.10-1ubuntu2_all.deb (--unpack):
 trying to overwrite `/usr/share/gnome/autostart/libcanberra-login-sound.desktop', which is also in package libcanberra-gnome
Errors were encountered while processing:
 /var/cache/apt/archives/gnome-session-canberra_0.10-1ubuntu2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Hew (hew) wrote :

This is fixed now by the latest ubuntu-meta, however libcanberra-gnome first needs to be manually removed. I think this something that needs to be taken care of by update-manager, or by a Replaces dependency.

description: updated
Revision history for this message
tdflanders (thomasdelbeke) wrote :

Confirming fixed.

thomas@thomas-laptop:~$ lsb_release -rd ; uname -a ; apt-cache policy linux libcanberra-gnome libcanberra-gtk0
Description: Ubuntu jaunty (development branch)
Release: 9.04
Linux thomas-laptop 2.6.27-7-generic #1 SMP Fri Oct 24 06:42:44 UTC 2008 i686 GNU/Linux
linux:
  Installed: 2.6.27.7.11
  Candidate: 2.6.27.7.11
  Version table:
 *** 2.6.27.7.11 0
        500 http://archive.ubuntu.com jaunty/restricted Packages
        100 /var/lib/dpkg/status
libcanberra-gnome:
  Installed: (none)
  Candidate: 0.6-0ubuntu3
  Version table:
     0.6-0ubuntu3 0
        500 http://archive.ubuntu.com jaunty/main Packages
libcanberra-gtk0:
  Installed: 0.10-1ubuntu2
  Candidate: 0.10-1ubuntu2
  Version table:
 *** 0.10-1ubuntu2 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status
thomas@thomas-laptop:~$

Revision history for this message
Noel J. Bergman (noeljb) wrote :

Confirming that:

 # aptitude remove libcanberra-gnome -- also removes ubuntu-desktop
 # apt-get update
 # apt-get upgrade
 # apt-get install ubuntu-desktop

resolved the issue and dependencies. Thanks, Hew.

Revision history for this message
Luca Falavigna (dktrkranz) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libcanberra - 0.10-1ubuntu3

---------------
libcanberra (0.10-1ubuntu3) jaunty; urgency=low

  * Let libcanberra-gtk0(-dbg) conflicts/replaces libcanberra-gnome(-dbg)
    (<< 0.10-1) to allow a clean upgrade from Intrepid (LP: #302251).

 -- Luca Falavigna <email address hidden> Fri, 28 Nov 2008 20:02:28 +0100

Changed in libcanberra:
status: Triaged → Fix Released
Revision history for this message
Van De Velde patrice (vandpatr) wrote : Re: [Bug 302251] Re: package libcanberra-gtk0 0.6-0ubuntu3 failed to install/upgrade: trying to overwrite `/usr/bin/canberra-gtk-play', which is also in package libcanberra-gnome

Thank you very much, I solved the problem by re-installing Ubuntu 8.04.

2008/11/28 Launchpad Bug Tracker <email address hidden>

> This bug was fixed in the package libcanberra - 0.10-1ubuntu3
>
> ---------------
> libcanberra (0.10-1ubuntu3) jaunty; urgency=low
>
> * Let libcanberra-gtk0(-dbg) conflicts/replaces libcanberra-gnome(-dbg)
> (<< 0.10-1) to allow a clean upgrade from Intrepid (LP: #302251).
>
> -- Luca Falavigna <email address hidden> Fri, 28 Nov 2008 20:02:28
> +0100
>
> ** Changed in: libcanberra (Ubuntu)
> Status: Triaged => Fix Released
>
> --
> package libcanberra-gtk0 0.6-0ubuntu3 failed to install/upgrade: trying to
> overwrite `/usr/bin/canberra-gtk-play', which is also in package
> libcanberra-gnome
> https://bugs.launchpad.net/bugs/302251
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "libcanberra" source package in Ubuntu: Fix Released
>
> Bug description:
> >From tonight's Jaunty updates:
>
> E: /var/cache/apt/archives/libcanberra-gtk0_0.10-1ubuntu1_amd64.deb: trying
> to overwrite `/usr/bin/canberra-gtk-play', which is also in package
> libcanberra-gnome
>
> # dpkg -l | grep canberra
> ii libcanberra-gnome 0.6-0ubuntu3
> ii libcanberra-gtk-module 0.10-1ubuntu1
> ii libcanberra-gtk0 0.6-0ubuntu3
> ii libcanberra0 0.10-1ubuntu1
>
> ProblemType: Package
> Architecture: amd64
> DistroRelease: Ubuntu 9.04
> ErrorMessage: trying to overwrite `/usr/bin/canberra-gtk-play', which is
> also in package libcanberra-gnome
> NonfreeKernelModules: nvidia
> Package: libcanberra-gtk0 0.6-0ubuntu3
> SourcePackage: libcanberra
> Title: package libcanberra-gtk0 0.6-0ubuntu3 failed to install/upgrade:
> trying to overwrite `/usr/bin/canberra-gtk-play', which is also in package
> libcanberra-gnome
> Uname: Linux 2.6.27-7-generic x86_64
>
> WORKAROUND:
> Manually remove libcanberra-gnome before upgrading. Remove and later
> reinstall ubuntu-desktop if you have to.
>

--
Patrice Van De Velde
Vieux chemin de Louvain, 29
B-1320 Hamme-Mille
T. 00 32 (0) 10 84 24 67
G. 00 32 (0) 478 25 14 19
E. patrice[dot]vdvelde[At]gmail[dot]com
Remarque : Si vous voulez m'envoyer un message, remplacez [At] par un @ et
[Dot] par un point; Merci.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Van De Velde patrice - there was really no need to send that reply to every duplicate of this bug report.

Revision history for this message
Van De Velde patrice (vandpatr) wrote :

OK.
Sorry for the trouble caused, but I do not know enough yet this form of work
with the community.
I will seek to do better next time.
For now, I reinstalled the version 8.04 and everything is back to normal on
my desktop.
And thank you to another time.

2008/11/29 Chris Coulson <email address hidden>

> Van De Velde patrice - there was really no need to send that reply to
> every duplicate of this bug report.
>
> --
> package libcanberra-gtk0 0.6-0ubuntu3 failed to install/upgrade: trying to
> overwrite `/usr/bin/canberra-gtk-play', which is also in package
> libcanberra-gnome
> https://bugs.launchpad.net/bugs/302251
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "libcanberra" source package in Ubuntu: Fix Released
>
> Bug description:
> >From tonight's Jaunty updates:
>
> E: /var/cache/apt/archives/libcanberra-gtk0_0.10-1ubuntu1_amd64.deb: trying
> to overwrite `/usr/bin/canberra-gtk-play', which is also in package
> libcanberra-gnome
>
> # dpkg -l | grep canberra
> ii libcanberra-gnome 0.6-0ubuntu3
> ii libcanberra-gtk-module 0.10-1ubuntu1
> ii libcanberra-gtk0 0.6-0ubuntu3
> ii libcanberra0 0.10-1ubuntu1
>
> ProblemType: Package
> Architecture: amd64
> DistroRelease: Ubuntu 9.04
> ErrorMessage: trying to overwrite `/usr/bin/canberra-gtk-play', which is
> also in package libcanberra-gnome
> NonfreeKernelModules: nvidia
> Package: libcanberra-gtk0 0.6-0ubuntu3
> SourcePackage: libcanberra
> Title: package libcanberra-gtk0 0.6-0ubuntu3 failed to install/upgrade:
> trying to overwrite `/usr/bin/canberra-gtk-play', which is also in package
> libcanberra-gnome
> Uname: Linux 2.6.27-7-generic x86_64
>
> WORKAROUND:
> Manually remove libcanberra-gnome before upgrading. Remove and later
> reinstall ubuntu-desktop if you have to.
>

--
Patrice Van De Velde
Vieux chemin de Louvain, 29
B-1320 Hamme-Mille
T. 00 32 (0) 10 84 24 67
G. 00 32 (0) 478 25 14 19
E. patrice[dot]vdvelde[At]gmail[dot]com
Remarque : Si vous voulez m'envoyer un message, remplacez [At] par un @ et
[Dot] par un point; Merci.

Revision history for this message
quequotion (quequotion) wrote :

Perhaps I found a much easier fix:

dpkg --purge libcanberra-gnome

apt-get -f install

Can someone verify that their system is working after this?

Mine is working now.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

quequotion - this bug was fixed ages ago.

Revision history for this message
Bart Samwel (bart-samwel) wrote :

Chris, you said on 2009-02-04 that this bug was fixed ages ago. But was it? I installed my system by installing 8.10 and then upgrading to jaunty, on 31 January 2009. And I experienced this problem. So I'm afraid it's not completely fixed!

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Indeed, this has regressed with the latest merge. Thanks for spotting that

Changed in libcanberra:
assignee: nobody → chrisccoulson
status: Fix Released → In Progress
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Here's a debdiff to fix this

Changed in libcanberra:
status: In Progress → Triaged
Revision history for this message
Alexander Sack (asac) wrote :
Changed in libcanberra:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libcanberra - 0.11-1ubuntu2

---------------
libcanberra (0.11-1ubuntu2) jaunty; urgency=low

  * debian/control:
    - Let libcanberra-gtk0 conflicts/replaces libcanberra-gnome
      (<< 0.10-1) to allow a clean upgrade from Intrepid.
      This was unintentionally dropped at the last merge.
      (LP: #302251)

 -- Chris Coulson <email address hidden> Sun, 22 Feb 2009 17:06:32 +0000

Changed in libcanberra:
status: Fix Committed → Fix Released
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.