On Sun, Jan 23, 2005 at 09:22:36PM +1100, Matthew Palmer wrote: > On Sun, Jan 23, 2005 at 05:21:02AM -0500, Kevin Mark wrote: > > Also, is there a way to avoid a dpkg upgrade overwriting /usr/bin/dpkg > > and (IIRC) divert /usr/bin/dpkg -> /usr/bin/dpkg.real, so that I dont > > have to remember to redo this step? > > man dpkg-divert > > It rocks. Hard. > > - Matt Hi Matt, I thought it was the way but wasnt sure. The man page is a little skimpy. I did not help. But google found IIRC a debian-*-manual entry. So: dpkg-divert --package dpkg --add --rename --divert \ /usr/bin/dpkg.real /usr/bin/dpkg did the trick! Cheers! -Kev -- counter.li.org #238656 -- goto counter.li.org and be counted!
(__) (oo) /------\/ / | || * /\---/\ ~~ ~~ ...."Have you mooed today?"...
signature.asc
Description: Digital signature