summaryrefslogtreecommitdiff
path: root/locales/ja/LC_MESSAGES/ap-pkg-diversions.po
blob: e85d6e0bad62a1c277c3e36281fea22fa2d03a81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# 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 <EMAIL@ADDRESS>, 2018.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Debian Policy Manual 4.1.6.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-11-29 18:08-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.6.0\n"

#: ../../ap-pkg-diversions.rst:2
msgid ""
"Diversions - overriding a package's version of a file (from old Packaging"
" Manual)"
msgstr ""

#: ../../ap-pkg-diversions.rst:4
msgid ""
"It is possible to have ``dpkg`` not overwrite a file when it reinstalls "
"the package it belongs to, and to have it put the file from the package "
"somewhere else instead."
msgstr ""

#: ../../ap-pkg-diversions.rst:8
msgid ""
"This can be used locally to override a package's version of a file, or by"
" one package to override another's version (or provide a wrapper for it)."
msgstr ""

#: ../../ap-pkg-diversions.rst:12
msgid ""
"Before deciding to use a diversion, read :doc:`ap-pkg-alternatives` to "
"see if you really want a diversion rather than several alternative "
"versions of a program."
msgstr ""

#: ../../ap-pkg-diversions.rst:16
msgid ""
"There is a diversion list, which is read by ``dpkg``, and updated by a "
"special program ``dpkg-divert``. Please see :manpage:`dpkg-divert(8)` for"
" full details of its operation."
msgstr ""

#: ../../ap-pkg-diversions.rst:20
msgid ""
"When a package wishes to divert a file from another, it should call "
"``dpkg-divert`` in its preinst to add the diversion and rename the "
"existing file. For example, supposing that a ``smailwrapper`` package "
"wishes to install a wrapper around ``/usr/sbin/smail``:"
msgstr ""

#: ../../ap-pkg-diversions.rst:30
msgid ""
"The ``--package smailwrapper`` ensures that ``smailwrapper``'s copy of "
"``/usr/sbin/smail`` can bypass the diversion and get installed as the "
"true version. It's safe to add the diversion unconditionally on upgrades "
"since it will be left unchanged if it already exists, but ``dpkg-divert``"
" will display a message. To suppress that message, make the command "
"conditional on the version from which the package is being upgraded:"
msgstr ""

#: ../../ap-pkg-diversions.rst:45
msgid ""
"where ``1.0-2`` is the version at which the diversion was first added to "
"the package. Running the command during abort-upgrade is pointless but "
"harmless."
msgstr ""

#: ../../ap-pkg-diversions.rst:49
msgid "The postrm has to do the reverse:"
msgstr ""

#: ../../ap-pkg-diversions.rst:58
msgid ""
"If the diversion was added at a particular version, the postrm should "
"also handle the failure case of upgrading from an older version (unless "
"the older version is so old that direct upgrades are no longer "
"supported):"
msgstr ""

#: ../../ap-pkg-diversions.rst:70
msgid ""
"where ``1.0-2`` is the version at which the diversion was first added to "
"the package. The postrm should not remove the diversion on upgrades both "
"because there's no reason to remove the diversion only to immediately re-"
"add it and since the postrm of the old package is run after unpacking so "
"the removal of the diversion will fail."
msgstr ""

#: ../../ap-pkg-diversions.rst:76
msgid ""
"Do not attempt to divert a file which is vitally important for the "
"system's operation - when using ``dpkg-divert`` there is a time, after it"
" has been diverted but before ``dpkg`` has installed the new version, "
"when the file does not exist."
msgstr ""

#: ../../ap-pkg-diversions.rst:81
msgid "Do not attempt to divert a conffile, as ``dpkg`` does not handle it well."
msgstr ""

#~ msgid ""
#~ "There is a diversion list, which "
#~ "is read by ``dpkg``, and updated "
#~ "by a special program ``dpkg-divert``."
#~ " Please see dpkg-divert(8) for full"
#~ " details of its operation."
#~ msgstr ""