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