Re: Portsnap support on CURRENT



On Friday 10 February 2006 01:43 pm, Paul Mather wrote:
I've noticed lately a lot of "succeeds port" messages when I run
portversion (from the portupgrade port) to list which of my packages
are out of date and require updating. These messages are incorrect
(i.e., the "port has" version identified by portversion is older than
that in the actual port Makefile), and I don't get incorrect
identifications from either pkg_version or portmanager. (I also don't
get this problem on a RELENG_6 system I have, either.)

After a little looking, I discovered that my /usr/ports/INDEX-7 file is
not being updated. Investigation of the portsnap source reveals that
it only actually generates INDEX, INDEX-5, and INDEX-6 from portsnap
updates in extract_indices(); it doesn't generate INDEX-7.

Workarounds until portsnap does it again, in order of length of time to
generate INDEX-7:
cd /usr/ports ; make fetchindex
cd usr/ports ; make index
pkgdb -U

--
Freddie Cash
fcash@xxxxxxxx
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Portsnap support on CURRENT
    ... portversion to list which of my packages ... Investigation of the portsnap source ... to generate INDEX-7: ...
    (freebsd-current)
  • Re: 7.0 kde 3 build patch error
    ... After doing portsnap update I get further with building kde3, ... I got the kde3 port installed fine after only updating the cups-base ... i.e. after portsnap KDE installs fine (took 26 hours on my ...
    (freebsd-questions)
  • Re: 7.0 kde 3 build patch error
    ... removed all the system again (it's only a test machine), ... As I said I did 'portsnap fetch' and 'portsnap extract'; ... I want install a second laptop with exactly the same port versions ...
    (freebsd-questions)
  • Re: portversion vs pkg_version
    ... > base install. ... portversion uses the INDEX file to look up port versions. ... INDEX file with portsdb -uU, but this can take a long time depending ...
    (comp.unix.bsd.freebsd.misc)
  • Re: updating a port with problems (libxml2)
    ... I use portsnap to keep the port tree of my FreeBSD 7 box up to date. ... So, as usual, I run "sudo portsnap fetch && ...
    (freebsd-questions)