[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dpkg-diversion confusion

I have a custom VNC jar file in /usr/share/java/vncviewer-4.1-local.jar,
and I want it to be used instead of the jar file installed by vnc-java
in /usr/share/java/vncviewer-3.3.3r2.jar, but I can't seem to get the
syntax right:

    $ sudo dpkg-divert --add --rename --divert \
    	/usr/share/java/vncviewer-4.1-local.jar \

    pkg-divert: rename involves overwriting
    `/usr/share/java/vncviewer-4.1-local.jar' with
      different file `/usr/share/java/vncviewer-3.3.3r2.jar', not

How is this *supposed* to be done? The man pages aren't really very
clear to me.

"Oh, look: rocks!"
	-- Doctor Who, "Destiny of the Daleks"

Reply to: