Problems with pkgng (pkg upgrade)

Baptiste Daroussin bapt at FreeBSD.org
Mon Sep 9 13:29:36 UTC 2013


On Mon, Sep 09, 2013 at 08:57:49AM -0400, Adam McDougall wrote:
> On 09/09/13 08:31, Lapo Luchini wrote:
> > Hi!
> > 
> > I'm wondering why the chrome process has the habit of crashing when I do
> > "pkg upgrade" (last time, it was a signal 11).
> > 
> > I certainly expect something like this during a "pkg upgrade" that
> > involves "chromium" package itself, but this also happens with updating
> > something totally unrelated, such as when "pkg upgrade" only upgrades
> > "pkg" (in the first run); or maybe upgrading "nano", or stuff like that.
> > 
> > Is it expected?
> > Is it only me?
> > In that case, I can probably help with debug.
> > 
> 
> It is not only you, it happens on pretty much all my installs.  It can
> happen even if you pkg install something small and unrelated to
> chromium.  Last week I was shocked when I ran pkg upgrade and it did NOT
> cause chromium to crash; it had even replaced chromium itself!  I don't
> think it crashes 100% of the time, but most.  I don't have time to debug
> it.  Just in case it got fixed, be sure to test using the latest
> chromium version from ports.
> _______________________________________________
> freebsd-chromium at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-chromium
> To unsubscribe, send any mail to "freebsd-chromium-unsubscribe at freebsd.org"

That is because pkgng overwrite the binaries during an upgrade instead of first
unlinking them then extract the new one.

This is planned to be fixed soon.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-chromium/attachments/20130909/33625339/attachment.sig>


More information about the freebsd-chromium mailing list