Does KDE do offline software updates?

Marko Vojinovic vvmarko at gmail.com
Thu Mar 26 01:25:18 UTC 2015


On Thu, 26 Mar 2015 01:01:36 +0000
Patrick O'Callaghan <pocallaghan at gmail.com> wrote:
> On Wed, 2015-03-25 at 16:42 -0700, Rick Stevens wrote:
> > If you update libraries a running program uses, it won't get the new
> > libraries until it is restarted since it's already got a copy. In
> > fact, I think any program that starts and wants that updated library
> > will get the old version as it's already in memory.
> 
> Are you sure of that? I always assumed that shared libraries are just
> files and once a file is replaced the normal rules apply, i.e.
> anything that opened it before the replacement gets the old version,
> anything that opens it afterwards gets the new one. That's how
> inconsistencies can arise.

I'd second that question. I can easily imagine a running program which
loads a library on *demand*, not on its start-up. So a program may
start regularly, work for a while, and then try to load some library ---
only to find out that the library was updated to an incompatible version
in the meantime.

Yum will of course make sure that there is a new version of the program
itself which is compatible with the new library, but that is not
necessarily the version of the program currently running in memory.

At least, that's how I tend to explain firefox-updating glitches to
myself. :-)

Best, :-)
Marko



More information about the users mailing list