Cannot install notify-osd dpkg-divert error
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.
500 http://
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-
dpkg-divert: error: la rinomina comprende il soprascrivere "/usr/share/
il file "/usr/share/
dpkg: errore nell'elaborare /var/cache/
il sottoprocesso nuovo script pre-installation ha restituito lo stato di errore 2
Si sono verificati degli errori nell'elaborazione:
/var/cache/
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/
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: Disk space freed in /usr/share/
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)
ProcVersionSign
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=
RelatedPackageV
xserver-xorg 1:7.6+4ubuntu3.1
libgl1-mesa-glx 7.10.2-0ubuntu2
libdrm2 2.4.23-1ubuntu6
xserver-
xserver-
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.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
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