Hello
as I wrote some time ago, I have a problem concerning the user managment in trinity. So finally I came to the conclusion that I have to purge the trinity installation completly and restart a fresh installation afterwards..
Howeven when running sudo apt-get purge name-of-trinity-pkg
I obtain
Removing ksmserver-trinity ... No diversion `any diversion of /usr/bin/plasma', none removed Removing `local diversion of /usr/bin/plasma-desktop to /usr/bin/plasma-desktop.kde4' dpkg-divert: rename involves overwriting `/usr/bin/plasma-desktop' with different file `/usr/bin/plasma-desktop.kde4', not allowed dpkg: error processing ksmserver-trinity (--remove): subprocess installed post-removal script returned error exit status 2 Errors were encountered while processing: ksmserver-trinity E: Sub-process /usr/bin/dpkg returned an error code (1)
What can I do?
thanks
Uwe Brauer
My solution is not clean and cetainly does not solve the problem, but I work around the same problem on wheezy with this script:
------------8<------------8<------------ #!/bin/sh
mv /usr/sbin/dpkg-divert /root && \ cp /bin/echo /usr/sbin/dpkg-divert
apt-get -f install
rm /usr/sbin/dpkg-divert && \ mv /root/dpkg-divert /usr/sbin/dpkg-divert
------------8<------------8<------------
Am Freitag, 14. Dezember 2012 schrieb Uwe Brauer:
Hello
as I wrote some time ago, I have a problem concerning the user managment in trinity. So finally I came to the conclusion that I have to purge the trinity installation completly and restart a fresh installation afterwards..
Howeven when running sudo apt-get purge name-of-trinity-pkg
I obtain
Removing ksmserver-trinity ... No diversion `any diversion of /usr/bin/plasma', none removed Removing `local diversion of /usr/bin/plasma-desktop to /usr/bin/plasma-desktop.kde4' dpkg-divert: rename involves overwriting `/usr/bin/plasma-desktop' with different file `/usr/bin/plasma-desktop.kde4', not allowed dpkg: error processing ksmserver-trinity (--remove): subprocess installed post-removal script returned error exit status 2 Errors were encountered while processing: ksmserver-trinity E: Sub-process /usr/bin/dpkg returned an error code (1)
What can I do?
thanks
Uwe Brauer
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Mag. Dr. Nikolaus Klepp wrote:
My solution is not clean and cetainly does not solve the problem, but I work around the same problem on wheezy with this script:
------------8<------------8<------------ #!/bin/sh
mv /usr/sbin/dpkg-divert /root && \ cp /bin/echo /usr/sbin/dpkg-divert
apt-get -f install
rm /usr/sbin/dpkg-divert && \ mv /root/dpkg-divert /usr/sbin/dpkg-divert
------------8<------------8<------------
thanks but I obtain mv: cannot stat `/usr/sbin/dpkg-divert': No such file or directory
now I am puzzled, I never heard of such a dir.
Am Freitag, 14. Dezember 2012 schrieb Uwe Brauer:
Mag. Dr. Nikolaus Klepp wrote:
My solution is not clean and cetainly does not solve the problem, but I work around the same problem on wheezy with this script:
------------8<------------8<------------ #!/bin/sh
mv /usr/sbin/dpkg-divert /root && \ cp /bin/echo /usr/sbin/dpkg-divert
apt-get -f install
rm /usr/sbin/dpkg-divert && \ mv /root/dpkg-divert /usr/sbin/dpkg-divert
------------8<------------8<------------
thanks but I obtain mv: cannot stat `/usr/sbin/dpkg-divert': No such file or directory
now I am puzzled, I never heard of such a dir.
well, you have run it as root and maybe your distribution has dpkg-divert in some other place. You may try "which dpkg-divert" or "dpkg -S dpkg-divert" to figure out where your dpkg-divert on your system resides and modify the lines accordingly :-)
Nik
Mag. Dr. Nikolaus Klepp wrote:
well, you have run it as root and maybe your distribution has dpkg-divert in some other place. You may try "which dpkg-divert" or "dpkg -S dpkg-divert" to figure out where your dpkg-divert on your system resides and modify the lines accordingly :-)
Nik
ok, now it seems to work but out of a sudden i do not any langer belong to the sudoers! Help what can I do
Uwe