Cannot install notify-osd dpkg-divert error

Bug #796397 reported by marcobra (Marco Braida)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
notify-osd (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: notify-osd

1)
Description: Ubuntu 11.04
Release: 11.04

2)
apt-cache policy notify-osd
notify-osd:
  Installato: (nessuno)
  Candidato: 0.9.30-0ubuntu4
  Tabella versione:
     0.9.30-0ubuntu4 0
        500 http://archive.ubuntu.com/ubuntu/ natty/main i386 Packages

3) i expect the notify-osd install itself without the error reported below ( i need to solve because i need to install ubuntu-desktop and notify-osd as requested dependency make me impossible to install ubuntu-desktop package):

I seguenti pacchetti NUOVI saranno installati:
  notify-osd
0 aggiornati, 1 installati, 0 da rimuovere e 0 non aggiornati.
1 non completamente installati o rimossi.
È necessario scaricare 0 B/107 kB di archivi.
Dopo quest'operazione, verranno occupati 856 kB di spazio su disco.
Continuare [S/n]?
(Lettura del database... 400902 file e directory attualmente installati.)
Estrazione di notify-osd (da .../notify-osd_0.9.30-0ubuntu4_i386.deb)...
dpkg-divert: error: la rinomina comprende il soprascrivere "/usr/share/dbus-1/services/org.freedesktop.Notifications.service.notify-osd" con
   il file "/usr/share/dbus-1/services/org.freedesktop.Notifications.service", non consentito
dpkg: errore nell'elaborare /var/cache/apt/archives/notify-osd_0.9.30-0ubuntu4_i386.deb (--unpack):
 il sottoprocesso nuovo script pre-installation ha restituito lo stato di errore 2
Si sono verificati degli errori nell'elaborazione:
 /var/cache/apt/archives/notify-osd_0.9.30-0ubuntu4_i386.deb
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB

Total disk space freed by localepurge: 0 KiB

E: Sub-process /usr/bin/dpkg returned an error code (1)

Thank you

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: notify-osd (not installed)
ProcVersionSignature: Ubuntu 2.6.38-10.44-generic 2.6.38.7
Uname: Linux 2.6.38-10-generic i686
Architecture: i386
Date: Mon Jun 13 03:47:07 2011
GtkTheme: Ambiance
IconTheme: ubuntu-mono-dark
Lsusb:
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: System manufacturer System Product Name
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-10-generic root=UUID=81ab79c8-7317-4c95-b504-763ca386fd8e ro crashkernel=384M-2G:64M,2G-:128M ipv6.disable=1 text
RelatedPackageVersions:
 xserver-xorg 1:7.6+4ubuntu3.1
 libgl1-mesa-glx 7.10.2-0ubuntu2
 libdrm2 2.4.23-1ubuntu6
 xserver-xorg-video-intel 2:2.14.0-4ubuntu7.1
 xserver-xorg-video-ati 1:6.14.0-0ubuntu4
SourcePackage: notify-osd
UpgradeStatus: Upgraded to natty on 2011-06-06 (6 days ago)
WindowManager: compiz
dmi.bios.date: 09/09/2005
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0401
dmi.board.name: P5GD1-VML
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0401:bd09/09/2005:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5GD1-VML:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
marcobra (Marco Braida) (marcobra) wrote :
Revision history for this message
marcobra (Marco Braida) (marcobra) wrote :

As a workaround:

sudo mv /usr/share/dbus-1/services/org.freedesktop.Notifications.service /usr/share/dbus-1/services/org.freedesktop.Notifications.service.disabled

sudo apt-get -f install
sudo apt-get install ubuntu-desktop

 sudo mv /usr/share/dbus-1/services/org.freedesktop.Notifications.service.disabled /usr/share/dbus-1/services/org.freedesktop.Notifications.service

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.