Re: portsnap and portupgrade



On Thu, 18 Dec 2008, RW wrote:


[ Since this is on-topic, I'm taking it back on-list. ]

On Thu, 18 Dec 2008 14:11:26 +0100 (CET)
Pieter Donche <Pieter.Donche@xxxxxxxx> wrote:


'Installing the tree from disk' do you mean with that: the install
during sysinstall of /usr/ports from what is on the
FREEBDSD-7.0-RELEASE CD's ?

Yes

If so, if you have did create a /usr/ports from sysinstall, then only
a portsnap fetch has to be done, and no portsnap extract
but only a portsnap update when you need updating a program you
installed previously from the ports tree ?

Portsnap doesn't know about anything in the ports tree that it didn't
put there itself. For that reason it needs to bring the tree to an
initial known-state by replacing all port directories and other
files. For the same reason you shouldn't mix portsnap and c[v]sup.

So, do you confirm my statement that only a portsnap update is OK?

But is it then not better to do a portsnap upgrade immmediatly after
that first portsnap fetch, since fetch will only get compressed .gz
files (not decompressed to /usr/ports), so /usr/ports will still be
of the date of the release of the 7.0 (febr. 2008) ?

The extract will bring the tree up-to-date with the fetched snapshot.
You could use extract instead of update all the time, except that it's
slower and deletes user generated files in the ports directories (e.g.
README.html).

So since it's faster and doesn't delete user generated files, upgrade is always to be preferred over extract, right?
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: portsnap failing
    ... Fetching 3 metadata patches.. ... Why are you deleting the portsnap files. ... run 'portsnap fetch update', you'll get plenty of action from that. ...
    (freebsd-questions)
  • Re: FreeBSD-8 and portsnap
    ... portsnap fetch, then portsnap extract, ... If you remove those files and run portsnap fetch update again, ... does 'portsnap fetch update -I' restore INDEX-8? ...
    (freebsd-current)
  • Re: Portsnap gets ports that claim to be out of date
    ... update" will update your tree from an already-fetched update, ... Nope, I do portsnap fetch, it's OK for a day or two, then I update ... force a complete new snapshot download. ...
    (comp.unix.bsd.freebsd.misc)
  • portsnap proxy
    ... I try to instal an apache proxy for portsnap under FreeBSD ... on the serveur portsnap fetch update is ok ... but on the client i obtain this ... chora# portsnap fetch ...
    (freebsd-questions)
  • Re: files/dd7c394c9c9ddf4b97f1b14c676f370adc259b2c7a4b8346eba0788a431db398.gz not found -- s
    ... Does this file actually exist if you extract the snapshot? ... I tried portsnap again. ... file that was extracted with tar. ...
    (freebsd-current)