"pkg upgrade" without using INDEX (pkg-1.3)

Baptiste Daroussin bapt at FreeBSD.org
Fri Jul 25 10:30:02 UTC 2014


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:
> 
> 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.
> 
> 
> 
I do not understand what you do ask for.
Right now pkg version first rely on INDEX if index is not there then it query
ports by ports.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140725/b48cdee6/attachment.sig>


More information about the freebsd-ports mailing list