FreeBSD Bugzilla – Attachment 13372 Details for
Bug 25497
[PATCH} There is no answer to the FAQ about updating ports in the FAQ.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.66 KB, created by
mwm
on 2001-03-02 21:20:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
mwm
Created:
2001-03-02 21:20:03 UTC
Size:
1.66 KB
patch
obsolete
>--- /tmp/book.sgml Fri Mar 2 14:36:07 2001 >+++ book.sgml Fri Mar 2 15:01:50 2001 >@@ -4887,6 +4887,43 @@ > > </answer> > </qandaentry> >+ >+ <qandaentry> >+ <question id="ports-update"> >+ <para>I updated the sources, now how do I update my installed ports?</para> >+ </question> >+ >+ <answer> >+ <para>Unfortunately, there is no easy way to udpate >+ installed ports. The <command>pkg_version(1)</command> >+ command can be used to generate a script that will update >+ the installed ports with a newer version in the ports >+ tree:</para> >+ >+ <screen>&prompt.root; <userinput>pkg_version <option>-c</option> > <replaceable>/tmp/myscript</replaceable></userinput></screen> >+ >+ <para>The output script <emphasis>must</emphasis> be edited >+ by hand before you use it. Current versions of >+ <command>pkg_version</command> force this by inserting an >+ <command>exit</command> at the beginning of the script.</para> >+ >+ <para>You should save the output of the script, as it will >+ note packages that depend on the one that has been >+ udpated. These may or may not need to be updated as >+ well. The usual case where they need to be updated is >+ that a shared library has changed version numbers, so the >+ ports that used that library need to be rebuilt to use >+ the new version.</para> >+ >+ <para>If your system is up full time, the &man.periodic.8 >+ system can be used to generate a weekly list of ports that >+ might need updating by setting >+ <literal>weekly_status_pkg_enable="YES"</literal> in >+ <filename>/etc/periodic.conf</filename>.</para> >+ >+ </answer> >+ </qandaentry> >+ > </qandaset> > </chapter>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 25497
: 13372