Changeset 9a17861


Ignore:
Timestamp:
04/22/2021 05:38:47 PM (3 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
4612211, 61707b1
Parents:
24c34df
Message:

add a paragraph for "downgrading issue" in package management page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/pkgmgt.xml

    r24c34df r9a17861  
    7272      use the new library version. You should not remove the previous
    7373      libraries unless all the dependent packages are recompiled.</para>
    74       </listitem> </itemizedlist>
     74      </listitem>
     75
     76      <listitem> <para>If a package containing a shared library is updated,
     77      and the name of library doesn't change, but the version number of the
     78      library <emphasis role="bold">file</emphasis> decreases (for example,
     79      the name of the library is kept named
     80      <filename class='libraryfile'>libfoo.so.1</filename>,
     81      but the name of library file is changed from
     82      <filename class='libraryfile'>libfoo.so.1.25</filename> to
     83      <filename class='libraryfile'>libfoo.so.1.24</filename>),
     84      you should remove the library file from the previously installed version
     85      (<filename class='libraryfile'>libfoo.so.1.25</filename> in the case).
     86      Or, a <command>ldconfig</command> run (by yourself using a command
     87      line, or by the installation of some package) will reset the symlink
     88      <filename class='libraryfile'>libfoo.so.1</filename> to point to
     89      the old library file because it seems having a <quote>newer</quote>
     90      version, as its version number is larger.  This situation may happen if
     91      you have to downgrade a package, or the package changes the versioning
     92      scheme of library files suddenly.</para> </listitem>
     93
     94    </itemizedlist>
    7595
    7696  </sect2>
Note: See TracChangeset for help on using the changeset viewer.