Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2014 12:29:57 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Beeblebrox <zaphod@berentweb.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: "pkg upgrade" without using INDEX (pkg-1.3)
Message-ID:  <20140725102957.GD46674@ivaldir.etoilebsd.net>
In-Reply-To: <1406279398525-5931637.post@n5.nabble.com>
References:  <1406279398525-5931637.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--rqzD5py0kzyFAOWN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 25, 2014 at 02:09:58AM -0700, Beeblebrox wrote:
> pkg-1.3 apparently uses INDEX to speed things along. I can't use INDEX and
> need a way to do "pkg upgrade" the old way because:
>=20
> I merge gnome3 and linux_c6 branches into the ports tree. The latest
> linux_c6 merge breaks "make index" at emulators/linux-systemsimcell (PR
> filed). As a result, "fethcindex" is not going to work for me since it wo=
n't
> have a listing of the merged ports. So now the oddities that I face,
>=20
> * Upgraded to pkg-1.3, then I had a number of very weird problems by pkg.=
 I
> then ran "portmaster -a", which did an upgrade for 2 ports: vo-aacenc and
> vo-amrwbenc. After this pkg started behaving a little more sanely
> (mentioning this, in case anyone else runs into similar problem)
>=20
> * when starting portmaster, I get below message before it decides to
> continue with the process anyway (repeats 3 times): "pkg: Cannot get a re=
ad
> lock on a database, it is locked by another process"
>=20
> * I have no INDEX in the ports tree, so "pkg version -PoL=3D" shows that =
pkg
> is greatly confused by a number of ports. For example:
> games/gnome-mahjongg               ?
> deskutils/gnome-maps               ?
> net/gnome-online-accounts          ?
> deskutils/gnome-photos             ?
> games/gnome-robots                 ?
> deskutils/gnome-screenshot         ?
> deskutils/gnome-search-tool        ?
> x11/gnome-shell-extensions         ?
> games/gnome-sudoku                 ?
> deskutils/gnome-system-log         ?
> x11-themes/gnome-themes-standard   ?
> deskutils/gnome-tweak-tool         ?
> graphics/gnome-video-effects       ?
> security/gnomint                   <
> security/gnutls                    <
>=20
> * For the ports that pkg is *not* confused about, (the last two ports abo=
ve
> with "<" for example), my local poudriere build repo is now being ignored=
 by
> pkg and "pkg upgrade -r myrepo" completes with a not-so-reassuring "Your
> packages are up to date" message. YEt as seen above, the version output s=
ays
> otherwise.
>=20
> * From another thread/post: "If you want the old behavior either delete t=
he
> INDEX file or use the -P flag" No INDEX as stated, and P not an option for
> upgrade.
>=20
> * I did a fresh merge of branches/trees and the problem persists.
>=20
>=20
>=20
I do not understand what you do ask for.
Right now pkg version first rely on INDEX if index is not there then it que=
ry
ports by ports.

regards,
Bapt

--rqzD5py0kzyFAOWN
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlPSMaUACgkQ8kTtMUmk6EzgKgCffMl1K1795kWU27BSM29M2zhk
WjYAn3PtSgQIRWddLTWUlMbLCUbEvRGu
=3h8n
-----END PGP SIGNATURE-----

--rqzD5py0kzyFAOWN--



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