Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 2014 16:06:06 -0400
From:      mfv <mfv@bway.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg problem after upgrade pkg on 10.0
In-Reply-To: <53E119F3.6030804@FreeBSD.org>
References:  <B2E0472020754D45B72E9B0CE35278CAB716B5C720@EXCHANGE.mail.starnet.cz> <942dafe6-a6d6-4a6c-a559-0b5947bdcbaa@email.android.com> <B2E0472020754D45B72E9B0CE35278CAB716B5C8BA@EXCHANGE.mail.starnet.cz> <53E119F3.6030804@FreeBSD.org>

| previous in thread | raw e-mail | index | archive | help
On Tue, 05 Aug 2014 18:52:51 +0100
Matthew Seaman <matthew@FreeBSD.org> wrote:

> 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
> > Found pkg: repository FreeBSD has no meta file, using default
> > settings FreeBSD repository is up-to-date
> > All repositories are up-to-date
>=20
> 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:
>=20
>    # rm -i /var/db/pkg/repo-* /var/db/pkg/*.meta
>    # pkg clean -a
>=20
> 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.
>=20
> 	Cheers,
>=20
> 	Matthew
>=20
Hello,

The reason that the file "meta.txz" is not found is that it does not
exist, except on

  http://pkg.FreeBSD.org/freebsd:11:x86:32/latest/meta.txz
                                        --
and=20

  http://pkg.FreeBSD.org/freebsd:11:x86:64/latest/meta.txz
                                        --

My guess is that since release 11 is the leading edge of development it
is being used for testing purposes.  I suppose if the tests work out
then this file and the purposes for which it exists will be back
ported.  Some other person who is more knowledgeable than myself could
comment on the need for meta.txz.

I am running pkg-1.3.4 on release 9.1 and the same message appears
when I run "pkg update" or "pkg upgrade".  Nevertheless, both parameters
to pkg work as intended.

I've been using the new pkg program since it was first released and
except for a few minor hiccups with no data loss it has worked quite
well. Kudos to the developers.

 Carpe Diem                                    __o
                                             _.\<,_
    Marek                                   (+)/ (+)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




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