Re: portmaster -a und UPDATING Reihenfolge

From: Marc Santhoff <M.Santhoff(at)web.de>
Date: Sun, 10 Feb 2013 15:54:17 +0100

Am Sonntag, den 10.02.2013, 10:54 +0100 schrieb Gerhard Brauer:

> Gibt es Eurerseits Erfahrungen um eine bestimmte Reihenfolge bei den
> Portupgrades einzuhalten?

Wenn Du wirklich portmaster -a ausführen möchtest, gebe ich die manpage
zu bedenken:

<snip>
PORTMASTER(8) FreeBSD System Manager's Manual PORTMASTER(8)
...
EXAMPLES
...
     Using portmaster to do a complete reinstallation of all your ports:
           1. portmaster --list-origins > ~/installed-port-list
           2. Update your ports tree
           3. portmaster -ty --clean-distfiles
           4. portmaster --check-port-dbdir
           5. portmaster -Faf
           6. pkg_delete -a
           7. rm -rf /usr/local/lib/compat/pkg
           8. Back up any files in /usr/local you wish to save,
              such as configuration files in /usr/local/etc
           9. Manually check /usr/local and /var/db/pkg
              to make sure that they are really empty
           10. Re-install portmaster
           11. portmaster `cat ~/installed-port-list`

     You probably want to use the -D option for the installation and then run
     --clean-distfiles [-y] again when you are done. You might also want to
     consider using the --force-config option when installing the new ports.

     Alternatively you could use portmaster -a -f -D to do an ``in place''
     update of your ports. If that process is interrupted for any reason you
     can use portmaster -a -f -D -R to avoid rebuilding ports already rebuilt
     on previous runs. However the first method (delete everything and rein-
     stall) is preferred.
</snip>

Ich vermute, einige wenn nicht alle doppelten "builds" werden so
vermieden. Es muß nicht rückwärts jede Abhängigkeit aufgelöst werden
sondern kann einfach auf mit Sicherheit aktuellem Installiertem
aufgebaut werden. Ich vermute weiter, daß es insgesamt schneller geht.

Probiert habe ich es noch nicht, ist aber dran, sobald ich genug Zeit
finde. Daher würde mich ein Bericht nach dem Update schon
interessieren ...

Gutes Gelingen!

-- 
Marc Santhoff <M.Santhoff(at)web.de>
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sun 10 Feb 2013 - 15:55:14 CET

search this site