Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 18:37:38 +0200 (CEST)
From:      Melvyn Sopacua <melvyn@magemana.nl>
To:        Beeblebrox <zaphod@berentweb.com>
Cc:        freebsd-ports@freebsd.org
Subject:   pkgng doesn't upgrade if old package exists (Was: Re: libfreetype.so.9 errors)
Message-ID:  <alpine.BSF.2.00.1404261831410.51748@fire.magemana.nl>
In-Reply-To: <1398014301417-5905087.post@n5.nabble.com>
References:  <1398014301417-5905087.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1404261831410.51748>