mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
add a paragraph for "downgrading issue" in package management page
This commit is contained in:
parent
24c34df04f
commit
9a178619b9
@ -71,7 +71,27 @@
|
|||||||
against <filename class='libraryfile'>libfoo.so.2</filename> in order to
|
against <filename class='libraryfile'>libfoo.so.2</filename> in order to
|
||||||
use the new library version. You should not remove the previous
|
use the new library version. You should not remove the previous
|
||||||
libraries unless all the dependent packages are recompiled.</para>
|
libraries unless all the dependent packages are recompiled.</para>
|
||||||
</listitem> </itemizedlist>
|
</listitem>
|
||||||
|
|
||||||
|
<listitem> <para>If a package containing a shared library is updated,
|
||||||
|
and the name of library doesn't change, but the version number of the
|
||||||
|
library <emphasis role="bold">file</emphasis> decreases (for example,
|
||||||
|
the name of the library is kept named
|
||||||
|
<filename class='libraryfile'>libfoo.so.1</filename>,
|
||||||
|
but the name of library file is changed from
|
||||||
|
<filename class='libraryfile'>libfoo.so.1.25</filename> to
|
||||||
|
<filename class='libraryfile'>libfoo.so.1.24</filename>),
|
||||||
|
you should remove the library file from the previously installed version
|
||||||
|
(<filename class='libraryfile'>libfoo.so.1.25</filename> in the case).
|
||||||
|
Or, a <command>ldconfig</command> run (by yourself using a command
|
||||||
|
line, or by the installation of some package) will reset the symlink
|
||||||
|
<filename class='libraryfile'>libfoo.so.1</filename> to point to
|
||||||
|
the old library file because it seems having a <quote>newer</quote>
|
||||||
|
version, as its version number is larger. This situation may happen if
|
||||||
|
you have to downgrade a package, or the package changes the versioning
|
||||||
|
scheme of library files suddenly.</para> </listitem>
|
||||||
|
|
||||||
|
</itemizedlist>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user