pkgng problem
Matthew Seaman
matthew at freebsd.org
Fri Aug 16 13:04:08 UTC 2013
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
More information about the freebsd-questions
mailing list