Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/pkgmgt.xml

    r5e7593e r7ae2811  
    8585      libraries until all the dependent packages have been recompiled.</para>
    8686      </listitem>
    87 
    88       <listitem><para>If a package is (directly or indirectly) linked to both
    89       the old and new names of a shared library (for example, the package
    90       links to both <filename class='libraryfile'>libfoo.so.2</filename> and
    91       <filename class='libraryfile'>libbar.so.1</filename>, while the latter
    92       links to <filename class='libraryfile'>libfoo.so.3</filename>), the
    93       package may malfunction because the different revisions of the shared
    94       library present incompatible definitions for some symbol names. This can be
    95       caused by recompiling some, but not all, of the packages linked to the
    96       old shared library after the package providing the shared library is
    97       upgraded.  To avoid the issue, users will need to rebuild every package
    98       linked to a shared library with an updated revision (e.g. libfoo.so.2 to
    99       libfoo.so.3) as soon as possible.
    100       </para></listitem>
    10187
    10288      <listitem> <para>If a package containing a shared library is updated,
     
    127113      library):</para>
    128114
    129 <screen role="nodump"><userinput>grep -l '<replaceable>libfoo</replaceable>.*deleted' /proc/*/maps | tr -cd 0-9\\n | xargs -r ps u</userinput></screen>
     115<screen role="nodump"><userinput>grep -l  -e '<replaceable>libfoo</replaceable>.*deleted' /proc/*/maps |
     116   tr -cd 0-9\\n | xargs -r ps u</userinput></screen>
    130117
    131118      <para>
     
    133120        the system and it is linked to the updated library, you must
    134121        restart the <command>sshd</command> service, then logout, login again,
    135         and run the preceding command again to confirm that nothing is still using the
     122        and rerun the preceding ps command to confirm that nothing is still using the
    136123        deleted libraries.
    137124      </para>
Note: See TracChangeset for help on using the changeset viewer.