On Sun, Dec 19, 2004 at 02:32:42PM +0100, Matthijs Mohlmann wrote:
> On Sun, 2004-12-19 at 13:57 +0100, Matthijs Mohlmann wrote:
> > Hey,
> > 
> > I'm preparing an upgrade path to the new pdns and want something to
> > know. According to the debian policy:
> > The preinst and postinst are called this way:
> > preinst upgrade installed-version
> > postinst configure most-recent-configured-version
> > 
> > When i do an upgrade of that package and i try to echo $2 then there is
> > now installed-version or most-recent-configured-version ?
> > 
> hmm of course. I've changed pdns to pdns-server and made pdns a virtual
> package.
> 
> Is there a easy way to check which version is installed of pdns instead
> of pdns-server ?
There may be a more official way, but

        dpkg-query --showformat '${Version}' -W libc6

should be good enough until someone replies to correct me..

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to