Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2014 02:09:58 -0700 (PDT)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-ports@freebsd.org
Subject:   "pkg upgrade" without using INDEX (pkg-1.3)
Message-ID:  <1406279398525-5931637.post@n5.nabble.com>

next in thread | raw e-mail | index | archive | help
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:

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 won't
have a listing of the merged ports. So now the oddities that I face,

* 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)

* when starting portmaster, I get below message before it decides to
continue with the process anyway (repeats 3 times): "pkg: Cannot get a read
lock on a database, it is locked by another process"

* I have no INDEX in the ports tree, so "pkg version -PoL=" 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                    <

* For the ports that pkg is *not* confused about, (the last two ports above
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 says
otherwise.

* From another thread/post: "If you want the old behavior either delete the
INDEX file or use the -P flag" No INDEX as stated, and P not an option for
upgrade.

* I did a fresh merge of branches/trees and the problem persists.



-----
FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS
--
View this message in context: http://freebsd.1045724.n5.nabble.com/pkg-upgrade-without-using-INDEX-pkg-1-3-tp5931637.html
Sent from the freebsd-ports mailing list archive at Nabble.com.



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