Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F174045975
D1288.id2697.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D1288.id2697.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D1288: Update freebsd-update major upgrade instructions to offer 'pkg upgrade' in addition to the ports way
Attached
Detach File
Event Timeline
Log In to Comment