On Sun, Jan 23, 2005 at 08:13:08PM +0100, Tollef Fog Heen wrote:
> * Kevin Mark
>
> | In my quest to log package installation, I wrote a wrapper script for
> | dpkg. I 'mv dpkg dpkg.real' and 'vi dpkg' with a wrapper[0]. When I use
> | aptitude and apt-get, these commands seem to call dpkg for all of there
> | package installation and query needs. Do others (wajig,feta,...)
> | use '/usr/bin/dpkg' for installing packages or do they use a library?
>
> There is no libdpkg yet, so they all use the dpkg binary. If not,
> they are messing around with dpkg's internal data, something which
> they shouldn't.
ACK.
>
> | 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?
>
> dpkg-divert, as others have said.
Cheers,
Kev
--
counter.li.org #238656 -- goto counter.li.org and be counted!
(__)
(oo)
/------\/
/ | ||
* /\---/\
~~ ~~
...."Have you mooed today?"...
Attachment:
signature.asc
Description: Digital signature