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

Re: Detecting install vs upgrade in postinst



On Sun, 2016-06-05 at 18:41 -0700, Josh Triplett wrote:
> On Mon, Jun 06, 2016 at 02:22:18AM +0100, Ben Hutchings wrote:
> > On Sun, 2016-06-05 at 12:22 -0700, Josh Triplett wrote:
> > > [Please CC me on replies.  Aside: in my previous mail, I set both
> > > Mail-Followup-To and Reply-To to include myself.  What mailer and mechanism did
> > > you use to reply that didn't look at either of those headers?]
> > 
> > Evolution, Reply to List (Ctrl-L).
> 
> Thanks; looks like that's https://bugs.debian.org/153244 .
> 
> > > Sounds great!
> > > 
> > > Would that potentially make it easier to run via dpkg trigger, rather than
> > > postinst, so that it does less duplicate work during an apt run that involves
> > > multiple kernel-related packages?
> > 
> > No, I think that would result in worse decisions about what the default
> > kernel version should be.
> 
> Depends on the criteria for setting the default kernel version; ideally
> that should always produce the same result for a given set of kernel
> packages (assuming the user hasn't overridden it).
> 

If I agreed with that I wouldn't have asked the original question,
would I?  See <[🔎] 1465143498.2847.227.camel@decadent.org.uk>.

Ben.

-- 
Ben Hutchings
The obvious mathematical breakthrough [to break modern encryption]
would be
development of an easy way to factor large prime numbers. - Bill Gates

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: