So it turns out this way is true too:

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

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-icecream
/.
/banana
diverted by banana to: /banana.other
/icecream


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

syndicate tmp# dpkg -L banana-icecream
/.
/icecream
/banana-flavouring

syndicate /# cat /banana.other
This is banana from banana-icecream 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