# SOME DESCRIPTIVE TITLE. # Copyright (C) 1996, 1997, 1998 Ian Jackson, Christian Schwarz, 1998-2017, # The Debian Policy Mailing List # This file is distributed under the same license as the Debian Policy # Manual package. # FIRST AUTHOR , 2018. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Debian Policy Manual 4.1.6.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-04-07 13:08+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.10.3\n" #: ../../ap-pkg-alternatives.rst:2 msgid "" "Alternative versions of an interface - ``update-alternatives`` (from old " "Packaging Manual)" msgstr "" #: ../../ap-pkg-alternatives.rst:4 msgid "" "When several packages all provide different versions of the same program " "or file it is useful to have the system select a default, but to allow " "the system administrator to change it and have their decisions respected." msgstr "" #: ../../ap-pkg-alternatives.rst:9 msgid "" "For example, there are several versions of the ``vi`` editor, and there " "is no reason to prevent all of them from being installed at once, each " "under their own name (``nvi``, ``vim`` or whatever). Nevertheless it is " "desirable to have the name ``vi`` refer to something, at least by " "default." msgstr "" #: ../../ap-pkg-alternatives.rst:15 msgid "" "If all the packages involved cooperate, this can be done with ``update-" "alternatives``." msgstr "" #: ../../ap-pkg-alternatives.rst:18 msgid "" "Each package provides its own version under its own name, and calls " "``update-alternatives`` in its postinst to register its version (and " "again in its prerm to deregister it)." msgstr "" #: ../../ap-pkg-alternatives.rst:22 msgid "See the :manpage:`update-alternatives(8)` man page for details." msgstr "" #: ../../ap-pkg-alternatives.rst:24 msgid "" "If ``update-alternatives`` does not seem appropriate you may wish to " "consider using diversions instead." msgstr "" #: ../../ap-pkg-alternatives.rst:27 msgid "" "Do not use alternatives for ``systemd`` configuration files. See :doc" ":`ch-binary` for more information." msgstr "" #~ msgid "See the update-alternatives(8) man page for details." #~ msgstr ""