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

Re: finding version of package being installed in postinst



On Sun, Mar 18, 2001 at 02:29:31AM +0100, Ivo Timmermans wrote:
> Hi,
> 
> I wonder, is it possible to find out what the last installed version
> of a package was from postinst?
> 
> What I want to do is this:  a package has released a new upstream
> version, and they replaced a good deal of configuration options with
> different ones.  It is both impossible to automatically convert the
> old options to new ones, and it is very hard to reliably check for the
> presence of old options.
> 
> So I wondered if I could somehow find out if the user is upgrading
> from a version before this upstream version, and issue a message
> referring to a document somewhere in /usr/share/doc during postinst.

I have faced the same problem with a package for the last days. If you find
out, please let me know :-)

> 
> Is it possible?
> 
> thanks.
> 
> 
> 	Ivo
> 
> -- 
> Poak poak, I'm a pengaru!
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
Eric VAN BUGGENHAUT

Eric.VanBuggenhaut@AdValvas.be



Reply to: