Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 2021 15:00:05 +1100
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        ports@FreeBSD.org
Subject:   Port upgrade: dead in the water
Message-ID:  <20210116040005.GF95151@eureka.lemis.com>

next in thread | raw e-mail | index | archive | help

--+SfteS7bOf3dGlBC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

After years I have finally got round to upgrading my main computer.
My intention is to upgrade the ports as well, but pkg doesn't want to
play nice:

  # pkg-static install -f pkg
  pkg-static: Warning: Major OS version upgrade detected.  Running "pkg-static install -f pkg" recommended
  Updating FreeBSD repository catalogue...
  pkg-static: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2
  pkg-static: Repository FreeBSD load error: meta cannot be loaded No error: 0
  Fetching meta.txz: 100%    916 B   0.9kB/s    00:01
  pkg-static: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2
  repository FreeBSD has no meta file, using default settings
  Fetching packagesite.txz: 100%    6 MiB 582.8kB/s    00:11
  pkg-static: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2
  pkg-static: Repository FreeBSD load error: meta cannot be loaded No error: 0
  Unable to open created repository FreeBSD
  Unable to update repository FreeBSD
  Error updating repositories!

I'm happy to blow everything away, but is there a way to extract
something that pkg can use to determine which packages to install?

Greg
--
Sent from my desktop computer.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA

--+SfteS7bOf3dGlBC
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAmACZMUACgkQIubykFB6QiM1rwCfQJKeqjXzzNgFTjat9RfdOLe/
cawAn2hcDVtec/70+5/ST5BB7PYu5VBk
=RMT3
-----END PGP SIGNATURE-----

--+SfteS7bOf3dGlBC--



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