Um einen FreeBSD 7 Server upzudaten, bei dem sinnvollerweise alle Ports compiliert installiert worden sind (um alle Special-Features jeder Anwendung voll einsetzen  zu können) kann man folgendes machen. Vorher ist ein Backup aller Datenbanken und sonstiger Daten auf einen anderen Server zwingend notwendig.

Es kann bei Updates auch zu Problemen kommen. Unsere Technik von X-ITEC (www.x-itec.net) hilft Ihnen hier gerne zur Not kostengünstig weiter.

Ports updaten

portsnap fetch update

ich schaue was neu ist

pkg_version -v|grep needs

apache-2.2.13                       <   needs updating (port has 2.2.14_5)
apr-ipv6-gdbm-db42-1.3.8.1.3.9      <   needs updating (port has 1.3.8.1.3.9_1)
bash-4.0.33_2                       <   needs updating (port has 4.0.35)
ca_root_nss-3.11.9_2                <   needs updating (port has 3.12.4)
cups-client-1.3.10_4                <   needs updating (port has 1.4.2_1)
cups-image-1.3.10_4                 <   needs updating (port has 1.4.2_1)
curl-7.19.6_1                       <   needs updating (port has 7.19.7)

Ich lese zwingend /usr/ports/UPDATING um festzustellen, ob ich nach oder vor den Updates etwas tun muss

Update durchühren

portupgrade -a

Das sieht dann so aus

—>  Session started at: Sat, 12 Dec 2009 18:21:49 +0100
[Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ...
- 218 packages found (-0 +218)
...
...200.................. done]

[Updating the portsdb <format:bdb_btree> i
n /usr/ports ... - 20936 port entries found .........1000.........2000..
.......3000.........4000
.........5000.........6000.........7000.........8000.........9000......
...10000.........11000.........12000.........13000.........14000....
.....15000.........16000.........17000.........18000.........19000...
......20000......... .....  done]
—>  Upgrade of emulators/linux_base-fc4 started at: Sat, 12 Dec 2009 18:23:44 +0100

===>   Compressing manual pages for rpm-3.0.6_14
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for rpm-3.0.6_14
===>   Returning to build of linux_base-fc-4_15
===>  Patching for linux_base-fc-4_15
===>  Configuring for linux_base-fc-4_15
===>  Building for linux_base-fc-4_15
—>  Backing up the old version
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 220 packages found (-0 +2) .. done]
—>  Uninstalling the old version

Alles wird aktualisiert.

Boris Köster

VN:F [1.7.5_995]
Rating: 0.0/10 (0 votes cast)
VN:F [1.7.5_995]
Rating: 0 (from 0 votes)