Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2017 09:42:38 -0500
From:      "Jason E. Hale" <jhale@freebsd.org>
To:        Gerard Seibert <carmel_ny@outlook.com>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>, Matthew Seaman <matthew@freebsd.org>,  Tijl Coosemans <tijl@freebsd.org>, ohauer@freebsd.org
Subject:   Re: Problem with index
Message-ID:  <CAJE75NHZrnbuK0R=Q08NPaSUGi4KOtRpF%2BEHPLXZvZO5JqYrjw@mail.gmail.com>
In-Reply-To: <CY4PR20MB1397F2C5EB92C997A90A0608805E0@CY4PR20MB1397.namprd20.prod.outlook.com>
References:  <CY4PR20MB1397E1EEE2FA832D41D5A59E805E0@CY4PR20MB1397.namprd20.prod.outlook.com> <3debec33-5a8c-8f7d-a1a8-7d5a9628e717@FreeBSD.org> <20170220134141.16704cc3@kalimero.tijl.coosemans.org> <CY4PR20MB1397F2C5EB92C997A90A0608805E0@CY4PR20MB1397.namprd20.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 20, 2017 at 9:12 AM, Gerard Seibert <carmel_ny@outlook.com> wrote:
> On Mon, 20 Feb 2017 13:41:41 +0100, Tijl Coosemans stated:
>
>>On Mon, 20 Feb 2017 12:29:47 +0000 Matthew Seaman
>><matthew@FreeBSD.org> wrote:
>>> On 2017/02/20 11:36, Gerard Seibert wrote:
>>>> I just updated my ports tree using "portsnap". I then ran the
>>>> following command:
>>>>
>>>> /usr/sbin/pkg version -vL=
>>>>
>>>> This resulted in the following message:
>>>>
>>>> postfix-current-3.2.20170129,4     >   succeeds index (index has
>>>> 3.2.0.r1,4)
>>>>
>>>> This does not seem correct. What is happening and how do I correct
>>>> it?
>>>
>>> Your index file is out of date -- portsnap doesn't updated it
>>> because it changes too fast to be suitable for keeping in SVN.
>>>
>>> You need to
>>>
>>>   # make fetchindex
>>>
>>> from /usr/ports to download a pre-built index.  Or build your own, by
>>> 'make index'.  Or tell 'pkg version' to compare versions directly
>>> with what's in your ports tree by 'pkg version -vP=' (but this will
>>> be quite a bit slower).
>>
>>Portsnap should update the INDEX file.  Check /etc/portsnap.conf.
>>There should be a line like this: INDEX INDEX-<N> DESCRIBE-<N> where
>><N> is the major version of the FreeBSD release you have installed
>>(10, 11 or 12).
>
>
> Okay, I followed Matthew's advice and ran 'make index', but that did
> not change anything. The line described by Tiji is present and correct
> in the '/etc/portsnap.conf' file.
>
> Also, 'pkg version -vP=' bombs out with an "illegal option -- =". Sans
> the "=", it reports, "postfix-current-3.2.20170129,4     >   succeeds
> index (index has 3.2.0.r1,4), which is what was being reported
> previously.
>
> I even ran 'portsdb -Fu' which updated the index also. However, that
> did not correct the problem.
>
> I am open to suggestions.
>

I just went ahead and fixed the mail/postfix-current port.  If you run
portsnap again in 20-30 minutes, it should fix the problem you're
seeing.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJE75NHZrnbuK0R=Q08NPaSUGi4KOtRpF%2BEHPLXZvZO5JqYrjw>