freebsd_updaten
Dies ist eine alte Version des Dokuments!
Inhaltsverzeichnis
FreeBSD updaten
Systemupgrade
freebsd-update fetch freebsd-update install
Portsupgrade
Ports updaten:
portsnap fetch update
/usr/ports/UPDATING prüfen:
for i in `portmaster -L --index-only 2>/dev/null| egrep '(ew|ort) version|total install' | grep "New version" | awk -- '{print $5}' | sed 's/-[0-9][0-9.,-_].*$//'` do grep -B1 $i /usr/ports/UPDATING | grep -B1 "AFFECTS:"| sed 'N;s/\n/ /' done | grep -v "\-\-" | sort
Ergibt eine Liste wie:
20081211: AFFECTS: users of lang/php5 20100727: AFFECTS: users of security/libgcrypt 20100912: AFFECTS: ftp/curl 20110319: AFFECTS: users of databases/mysql55-client 20110928: AFFECTS: users of www/nginx-devel 20120104: AFFECTS: users of devel/thrift, py-thrift, php5-thrift, p5-thrift 20120726: AFFECTS: users of devel/pkg-config 20121211: AFFECTS: users of devel/pcre 20130503: AFFECTS: users of security/libgcrypt and any port that depends on it 20140327: AFFECTS: users of lang/php5 and lang/php55 with Apache module 20140413: AFFECTS: Users of Python and pkg >= 1.2.7_1
Wenn das Datum einer Zeile vor:
date -r `pkg query %t | sort | tail -n1` "+%Y%m%d"
liegt, den entsprechenden Teil in /usr/ports/UPDATING lesen. Dann:
portmaster -a
Jails
Um den Portstree der Jails upzudaten:
ezjail-admin install -P
freebsd_updaten.1489750673.txt.gz · Zuletzt geändert: 2017/03/17 11:37 von 127.0.0.1