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

Bug#546723: apt-get fails to install the package, Synaptic does



On Fri, Sep 18, 2009 at 01:21:17PM +0200, Rene Engelhard wrote:
> Hi,
> 
> On Fri, Sep 18, 2009 at 12:52:20PM +0200, Francesco Paolo Lovergine wrote:
> > Well, I found casually the same problem while upgrading to current
> > version. At least for me I had an OOo instance running _while_ doing
> > an upgrade (oowriter), with both a .doc and a native document open.
> 
> Of course that shoudldn't be done.
> 
> > It crashed (just by pointing and clicking into the native document)
> > and then the postinst just succeeded. Some locking problem?
> 
> Maybe.
> 
> > Anyway I would be defensive and asking for closing ALL instances
> > of OOo while upgrading... Geeeee, a windows-style request, isn't it?
> 
> When would you print such message? After the new version already is
> unpacked? In the preinst of whatever random OOo package?
> 
> And should you fail then if soffice.bin is running?
> 

Well, at least I would warn about that if a soffice.bin is running
in preinst. It could ask if it should stop or not (as the kernel does, 
for instance). That would allow admin to kill current instances soon
or block upgrading instead.

> With your scanrio in the first paragraph, doing it like iceweasel
> after install is too late.
> 

Yep it's too late. 

> In any case imho it should be obvious that it's safer to quit the app you
> are running *before* upgrading and that you *might* experience problems
> if you don't...
> 

Some apps can be upgraded on fly, other not. 

-- 
Francesco P. Lovergine



Reply to: