Page MenuHomeFreeBSD

D1288.id2697.diff
No OneTemporary

D1288.id2697.diff

Index: en_US.ISO8859-1/books/handbook/cutting-edge/chapter.xml
===================================================================
--- en_US.ISO8859-1/books/handbook/cutting-edge/chapter.xml
+++ en_US.ISO8859-1/books/handbook/cutting-edge/chapter.xml
@@ -590,17 +590,31 @@
</sect3>
<sect3 xml:id="freebsdupdate-portsrebuild">
- <title>Rebuilding Ports After a Major Version Upgrade</title>
+ <title>Upgrading Packages After a Major Version
+ Upgrade</title>
<para>Generally, installed applications will continue to work
without problems after minor version upgrades. Major
versions use different Application Binary Interfaces
(<acronym>ABI</acronym>s), which will break most
third-party applications. After a major version upgrade,
- all installed packages and ports need to be upgraded using a
- utility such as <package>ports-mgmt/portmaster</package>. A
- rebuild of all installed applications can be accomplished
- with this command:</para>
+ all installed packages and ports need to be upgraded.
+ Packages can be upgraded using <command>pkg
+ upgrade</command>. To upgrade installed ports, use a
+ utility such as
+ <package>ports-mgmt/portmaster</package>.</para>
+
+ <para>A forced upgrade of all installed packages with replace
+ the packages with fresh versions from the repository even if
+ the version number has not increased. This is required
+ because of the ABI version change when upgrading between
+ major versions of &os;. The forced upgrade can be
+ accomplished by performing:</para>
+
+ <screen>&prompt.root; <userinput>pkg-static upgrade -f</userinput></screen>
+
+ <para>A rebuild of all installed applications can be
+ accomplished with this command:</para>
<screen>&prompt.root; <userinput>portmaster -af</userinput></screen>

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 1, 4:52 AM (19 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39956224
Default Alt Text
D1288.id2697.diff (1 KB)

Event Timeline