pkg question upgrade question

Mike Clarke jmc-freebsd2 at milibyte.co.uk
Mon Mar 9 20:49:40 UTC 2015


On Mon, 9 Mar 2015 21:31:33 +0100
Julien Cigar <jcigar at ulb.ac.be> wrote:

> 1) tigervnc depends on graphics/png (direct dependency)
> 2) you did "pkg upgrade tigervnc"
> 3) there was an upgrade for graphics/png too, with a shared library bump
> 4) pkg upgraded tigervnc, png, and other dependencies
> 
> AFAIK pkg doesn't handle this scenario properly as reverse dependencies
> of graphics/png aren't upgraded at the same time... and you end up with
> a semi-"broken" system :(
> 
> I hope this will be fixed in a close future as this is pretty annoying
> and limiting

In the meantime the way to avoid this is to run pkg upgrade before
installing any new package.

It's quite likely that running pkg upgrade now will rectify the problem.

-- 
Mike Clarke


More information about the freebsd-questions mailing list