Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Aug 2014 18:52:51 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg problem after upgrade pkg on 10.0
Message-ID:  <53E119F3.6030804@FreeBSD.org>
In-Reply-To: <B2E0472020754D45B72E9B0CE35278CAB716B5C8BA@EXCHANGE.mail.starnet.cz>
References:  <B2E0472020754D45B72E9B0CE35278CAB716B5C720@EXCHANGE.mail.starnet.cz> <942dafe6-a6d6-4a6c-a559-0b5947bdcbaa@email.android.com> <B2E0472020754D45B72E9B0CE35278CAB716B5C8BA@EXCHANGE.mail.starnet.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--kmI4OG77WMLvBG6D8kGv7lRgLd42LptOQ
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 05/08/2014 18:00, Radek Krej=C4=8Da wrote:
>> I think you would not have to remove the repro, pkg does everything
>> itself by using pkg update. Maybe it helps to reinstall pkg.
>> Commands:
>> # cd /usr/ports/ports-mgmt/pkg
>> # make deinstall
>> # make
>> # make install clean
>=20
> [Radek Krejca]=20
>=20
> Hello, thank you. But its still the same:
>=20
> pkg update
> Updating repository catalogue
> pkg: http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/meta.txz: Not Foun=
d
> pkg: repository FreeBSD has no meta file, using default settings
> FreeBSD repository is up-to-date
> All repositories are up-to-date

After updating from pkg-1.2.7 to pkg-1.3.x I've been finding it
necessary to delete the repository catalogues and sometimes to clear out
any cached packages:

   # rm -i /var/db/pkg/repo-* /var/db/pkg/*.meta
   # pkg clean -a

You should then find that pkg will update its catalogues and start
behaving more sensibly.  Don't worry about the warning about 'no meta
file' -- that is /only/ a warning and doesn't stop pkg(8) from working.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



--kmI4OG77WMLvBG6D8kGv7lRgLd42LptOQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ8BAEBCgBmBQJT4Rn7XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATZHsQAKhw+88U2M593c4BFWXT3BwP
5JOGi+Mz/GRQJh9A/f6WHcgDyv99AejhBhNYkvNvg4T+mkhyVl1AvdTWyf6DRLnz
liCGx6vyf2ik0fhq1sUMbkOvAlNYWJbXkYBkj4ptDQxlZFHah8DvvmFfO1ZJ3/M7
lJOYxDRaLTpA6BuRBLb0RfdWqFrvcB9h1RKc6fcYhTnuWdxL5opUCHnPkhcJmGkX
JfpHFCxg5qCq+Jw+RnOp6AEUp7ixHKI6LYU2JJV9uQOaiHGFEOnlJAVP1pbndBKu
N+XXE3PxqI7IfK2f9YOfeHOdDHEqSEmca/L5xgu9lzoRmCCOh5/rUVqwVrDjbOuh
aHuyMDffelHCC0XBnV8Ky/Z06nbnEAdY+NdblcwGxud+/RzFTEFsR8O3192vE5nS
n6xGKlUQbHUM0B0pZS8c/GgHkhVrqkYYhRXy2ORN7ZYuwiimLmRVcINXpHkcL54J
fJo1O+XptqVyIR3qJnZPjylCKsQQvpF5XWGw1CmAi46GiJmC3auV/UGd/BmCl9i0
N7jm8aiw07hwfbRixlzZgNgAeHjnRJf7MuGWrUuqcPQ3RkM8nX3jO/qirK8zQYxk
ttab0IXmYkx6u0hVElY7oFNDPLtQr62f7A+wWVY/p+NjVtORHmadhmO/bUwPwvp+
gKHDQ+RJwNq6ii9EnO29
=+ZaL
-----END PGP SIGNATURE-----

--kmI4OG77WMLvBG6D8kGv7lRgLd42LptOQ--



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