Hi,
when I try to install Trinity 3.5.13 on my Ubuntu oneiric machine the package "ksmserver-trinity" fails to install. Apt-get shows the following error:
dpkg-divert: error: `diversion of /usr/bin/plasma to /usr/bin/plasma.kde4 by ksmserver-trinity' clashes with `local diversion of /usr/bin/plasma to /usr/bin/plasma.kde4' dpkg: error processing /var/cache/apt/archives/ksmserver-trinity_4%3a3.5.13-0ubuntu9+r1261450+pr23~oneiric_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 2
(full output of "apt-get -f install" in appendix)
I suppose this is a bug, but is there a way to work around it?
Regards, Stefan
--
$ 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: ksmserver-trinity The following NEW packages will be installed: ksmserver-trinity 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 3 not fully installed or removed. Need to get 0 B/279 kB of archives. After this operation, 696 kB of additional disk space will be used. Do you want to continue [Y/n]? (Reading database ... 774233 files and directories currently installed.) Unpacking ksmserver-trinity (from .../ksmserver-trinity_4%3a3.5.13-0ubuntu9+r1261450+pr23~oneiric_amd64.deb) ... dpkg-divert: error: `diversion of /usr/bin/plasma to /usr/bin/plasma.kde4 by ksmserver-trinity' clashes with `local diversion of /usr/bin/plasma to /usr/bin/plasma.kde4' dpkg: error processing /var/cache/apt/archives/ksmserver-trinity_4%3a3.5.13-0ubuntu9+r1261450+pr23~oneiric_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/ksmserver-trinity_4%3a3.5.13-0ubuntu9+r1261450+pr23~oneiric_amd64.deb
OK, I found a workaround: I removed the existing, problematic diversions via
dpkg-divert --remove /usr/bin/plasma dpkg-divert --remove /usr/bin/plasma-desktop
and afterwards I could install ksmserver-trinity and also kdebase-trinity.
Regards, Stefan
On 14.11.2011 13:47, Stefan Endrullis wrote:
Hi,
when I try to install Trinity 3.5.13 on my Ubuntu oneiric machine the package "ksmserver-trinity" fails to install. Apt-get shows the following error:
dpkg-divert: error: `diversion of /usr/bin/plasma to /usr/bin/plasma.kde4 by ksmserver-trinity' clashes with `local diversion of /usr/bin/plasma to /usr/bin/plasma.kde4' dpkg: error processing /var/cache/apt/archives/ksmserver-trinity_4%3a3.5.13-0ubuntu9+r1261450+pr23~oneiric_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 2
(full output of "apt-get -f install" in appendix)
I suppose this is a bug, but is there a way to work around it?
Regards, Stefan
--
$ 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: ksmserver-trinity The following NEW packages will be installed: ksmserver-trinity 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 3 not fully installed or removed. Need to get 0 B/279 kB of archives. After this operation, 696 kB of additional disk space will be used. Do you want to continue [Y/n]? (Reading database ... 774233 files and directories currently installed.) Unpacking ksmserver-trinity (from .../ksmserver-trinity_4%3a3.5.13-0ubuntu9+r1261450+pr23~oneiric_amd64.deb) ... dpkg-divert: error: `diversion of /usr/bin/plasma to /usr/bin/plasma.kde4 by ksmserver-trinity' clashes with `local diversion of /usr/bin/plasma to /usr/bin/plasma.kde4' dpkg: error processing /var/cache/apt/archives/ksmserver-trinity_4%3a3.5.13-0ubuntu9+r1261450+pr23~oneiric_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/ksmserver-trinity_4%3a3.5.13-0ubuntu9+r1261450+pr23~oneiric_amd64.deb
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messsages on the Web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting