pkgng doesn't upgrade if old package exists (Was: Re: libfreetype.so.9 errors)
Melvyn Sopacua
melvyn at magemana.nl
Sat Apr 26 16:37:41 UTC 2014
Hi,
On Sun, 20 Apr 2014, Beeblebrox wrote:
> I have read UPDATING, and it does not apply to my situation since I do a
> full poudriere run of all ports on the system before each "# pkg upgrade -r
> myrepo". Recent freetype update (20140416) should therefore not cause any
> issue for me.
I may have stumbled upon the root cause.
pkg does not consider a package upgradeable if the old version of the
package still exists in the remote repository.
To reproduce:
- Bump a portrevision for a port
- Build it on your repository
- Run pkg repo on the repository
- Run pkg upgrade on the client machine
You will see "1 package updated", but pkg will not proceed to update it.
I don't know if poudriere cleans out stale versions, so it may not apply
to this after all.
--
Melvyn
More information about the freebsd-ports
mailing list