Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2012 15:21:09 +0000 (UTC)
From:      jb <jb.1234abcd@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: When Is The Ports Tree Going To Be Updated?
Message-ID:  <loom.20121126T161423-178@post.gmane.org>
References:  <50B2A57A.3050500@tundraware.com> <50B2A8D8.90301@FreeBSD.org> <50B2AA07.8090103@tundraware.com> <201211251856.40381.lumiwa@gmail.com> <50B2BEE1.9030903@tundraware.com> <loom.20121126T120530-186@post.gmane.org> <05eafe033134e0771d54dec2d9388c8f@homey.local>

next in thread | previous in thread | raw e-mail | index | archive | help
Stas Verberkt <legolas <at> legolasweb.nl> writes:

> 
> jb schreef op :
> > Tim Daneliuk <tundra <at> tundraware.com> writes:
> >
> >> ...
> >> > I use portsnap fetch update and it works...
> >>
> >> Ah, maybe that was the problem.  That works for me as well.
> >
> > Well, not quite ...
> >
> I think, after the security incident, you had to obtain a fresh 
> snapshot of the ports tree,
> i.e. you had to do "portsnap fetch extract" before usual service 
> continued.
> May this be your problem?

# portsnap fetch extract
# ls -al /usr/ports/IN*
-rw-r--r--  1 root  wheel  26879597 Nov 26 15:37 /usr/ports/INDEX-7
-rw-r--r--  1 root  wheel  26763600 Nov 26 15:38 /usr/ports/INDEX-8
-rw-r--r--  1 root  wheel  26744834 Nov 26 15:38 /usr/ports/INDEX-9
-rw-r--r--  1 root  wheel   1654048 Nov 11 11:45 /usr/ports/INDEX-9.bz2
# portsnap fetch update
Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found.
Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done.
Latest snapshot on server matches what we already have.
No updates needed.
Ports tree is already up to date.
#

This fixed it.

But, let's see what happens with this test:

# rm -rf  /usr/ports/
# portsnap extract
# ls -al /usr/ports/IN*
-rw-r--r--  1 root  wheel  26879563 Nov 26 16:07 /usr/ports/INDEX-7
-rw-r--r--  1 root  wheel  26763566 Nov 26 16:07 /usr/ports/INDEX-8
-rw-r--r--  1 root  wheel  26744800 Nov 26 16:07 /usr/ports/INDEX-9
# portmaster -L | egrep '(ew|ort) version|total install'
        ===>>> New version available: java-zoneinfo-2012.j
        ===>>> New version available: liberation-fonts-ttf-2.00.1,1
        ===>>> New version available: libxul-10.0.11
        ===>>> New version available: firefox-17.0,1
        ===>>> New version available: libreoffice-3.5.7
        ===>>> New version available: vigra-1.9.0
===>>> 545 total installed ports
        ===>>> 6 have new versions available
# portmaster -L --index | egrep '(ew|ort) version|total install'
/tmp/d-78227-index/INDEX-9.bz2                100% of 1615 kB  176 kBps 00m00s
        ===>>> New version available: libreoffice-3.5.7
===>>> 545 total installed ports
        ===>>> 1 has a new version available
# portmaster -L --index-only | egrep '(ew|ort) version|total install'
        ===>>> New version available: libreoffice-3.5.7
===>>> 545 total installed ports
        ===>>> 1 has a new version available
# ls -al /usr/ports/IN*
-rw-r--r--  1 root  wheel  26879563 Nov 26 16:07 /usr/ports/INDEX-7
-rw-r--r--  1 root  wheel  26763566 Nov 26 16:07 /usr/ports/INDEX-8
-rw-r--r--  1 root  wheel  26665016 Nov 26 16:12 /usr/ports/INDEX-9
-rw-r--r--  1 root  wheel   1654048 Nov 11 11:45 /usr/ports/INDEX-9.bz2
# portsnap update
Ports tree is already up to date.
#

Well, what do you say about this ?
jb





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