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

Re: piuparts, how to interpret logs ???

On Mon, Oct 26 2009, Laurent Guignard wrote:

> I don't understand how ucf can be unavailable has there is this in
> debian/control file :
> Depends: ${shlibs:Depends}, ${misc:Depends}, ucf, libpcap0.8 (>= 0.9), libnet1
> (>=
> So, it seems that ucf has and will be installed when dhcp-probe is
> installed...

        Precisely. It shall be there when your package is installed --
 and the postinst is called.

        It could get removed before your package is removed. You can't
 depend on non essential stuff in postrm.

        The solution for you is to test whether the command is still

| if which ucf >/dev/null; then
|     ucf --purge "$CONFIG_FILE";
| fi
| if which ucfr >/dev/null; then
|     ucfr --purge ${package_name} "$CONFIG_FILE"
| fi

Love is in the offing.  Be affectionate to one who adores you.
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/~srivasta/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

Reply to: