As well as this way round:

syndicate tmp# dpkg-divert --package banana-icecream --divert /banana.other 
--add /banana
Adding `diversion of /banana to /banana.other by banana-icecream'

syndicate tmp# dpkg -i banana.deb Selecting previously deselected package 
banana.
(Reading database ... 126152 files and directories currently installed.)
Unpacking banana (from banana.deb) ...
Setting up banana (1.0) ...
syndicate tmp# dpkg -i banana-icecream.deb
Selecting previously deselected package banana-icecream.
(Reading database ... 126153 files and directories currently installed.)
Unpacking banana-icecream (from banana-icecream.deb) ...
Setting up banana-icecream (1.0) ...

syndicate tmp# dpkg -L banana
/.
/banana
diverted by banana-icecream to: /banana.other
/stamp


syndicate tmp# dpkg -i banana2.deb
(Reading database ... 126154 files and directories currently installed.)
Preparing to replace banana 1.0 (using banana2.deb) ...
Unpacking replacement banana ...
Setting up banana (2.0) ...

syndicate tmp# dpkg -L banana
/.
/stamp
/banana-fruit

syndicate tmp# cat /banana.other
This is banana 1.0.


Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to