Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2013 14:04:01 +0100
From:      Matthew Seaman <matthew@freebsd.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkgng problem
Message-ID:  <520E2341.6000902@freebsd.org>
In-Reply-To: <20130816124343.GA21009@bewilderbeast.blackhelicopters.org>
References:  <20130816124343.GA21009@bewilderbeast.blackhelicopters.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16/08/2013 13:43, Michael W. Lucas wrote:
> Hi,
> 
> I'm sure someone has had this before, but I can't find any reference
> to it.
> 
> # pkg upgrade
> Updating repository catalogue
> digests.txz                         100%  997KB 997.1KB/s 997.1KB/s   00:00
> packagesite.txz                     100% 5530KB   1.8MB/s   3.2MB/s   00:03
> pkg: Invalid manifest format: mapping values are not allowed in this context
> Incremental update completed, 0 packages processed:
> 0 packages updated, 0 removed and 22568 added.
> pkg: No digest falling back on legacy catalog format
> packagesite repository catalogue is up-to-date, no need to fetch fresh copy
> Nothing to do
> 
> This is from a machine freshly converted to pkgng.
> 
> Any suggestions?

What repositories are you using?  Please show us the result of:

pkg -vv | sed -ne '/Repositories/,$p'

I'd hazard a guess that the repository either had a bit of a flail when
creating the catalogue, or it's running some ancient version of pkg.

"mapping values are not allowed in this context" is an error message
from libyaml, so you've got a +MANIFEST file (or the partial copy of it
that gets incorporated into the repository catalogue) which it thinks
contains a mapping ( a sequence of key : value pairs ) when the YAML
parser was expecting an array or whatever.

	Cheers,

	Matthew






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?520E2341.6000902>