Ignore:
Timestamp:
11/19/2022 08:27:13 AM (18 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
2ef64c4
Parents:
4d3f41c (diff), 651f491 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/pkgmgt.xml

    r4d3f41c rb59b371  
    1313  <para>Package Management is an often requested addition to the LFS Book. A
    1414  Package Manager tracks the installation of files, making it easier to
    15   remove and upgrade packages. As well as the binary and library files, a
    16   package manager will handle the installation of configuration files.  Before
     15  remove and upgrade packages. A good package manager will also handle the
     16  configuration files specially to keep the user configuration when the
     17  package is reinstalled or upgraded.  Before
    1718  you begin to wonder, NO&mdash;this section will not talk about nor recommend
    18   any particular package manager. What it provides is a roundup of the more
     19  any particular package manager. What it does provide is a roundup of the more
    1920  popular techniques and how they work. The perfect package manager for you may
    2021  be among these techniques, or it may be a combination of two or more of these
     
    6263
    6364      <listitem>
    64         <para>If Linux API headers or glibc need to be upgraded to a newer
    65         version, (e.g.,  from glibc-2.31 to glibc-2.32), it is safer to
     65        <para>If the Linux API headers or Glibc need to be upgraded to a newer
     66        version, (e.g.,  from Glibc-2.31 to Glibc-2.32), it is safer to
    6667        rebuild LFS.  Though you <emphasis>may</emphasis> be able to rebuild
    6768        all the packages in their dependency order, we do not recommend
     
    203204      reality it is installed in the
    204205      <filename class="directory">/usr/pkg</filename> hierarchy. Installing in
    205       this manner is not usually a trivial task. For example, consider that you
     206      this manner is not usually a trivial task. For example, suppose you
    206207      are installing a package libfoo-1.1. The following instructions may
    207208      not install the package properly:</para>
     
    322323    another computer with the same architecture as the base system is as
    323324    simple as using <command>tar</command> on the LFS partition that contains
    324     the root directory (about 250MB uncompressed for a base LFS build), copying
     325    the root directory (about 900MB uncompressed for a basic LFS build), copying
     326    <!-- D. Bryant created LFS 11.2 in October 2022; 900MB is (roughly) the size of his rsync archive. -->
    325327    that file via network transfer or CD-ROM / USB stick to the new system, and expanding
    326328    it.  After that, a few configuration files will have to be changed.
Note: See TracChangeset for help on using the changeset viewer.