Manpages

名 前

aptitude − パ ッ ケ ー ジ マ ネ ー ジ ャ の 高 レ ベ ル イ ン タ フ ェ ー ス

書 式

aptitude [<options>...] {autoclean | clean | forget−new | keep−all | update}

aptitude [<options>...] {full−upgrade | safe−upgrade} [<packages>...]

aptitude [<options>...] {build−dep | build−depends | changelog | download | forbid−version | hold | install | markauto | purge | reinstall | remove | show | unhold | unmarkauto | versions} <packages>...

aptitude extract−cache−subset <output−directory> <packages>...

aptitude [<オ プ シ ョ ン >...] search <パ タ ー ン >...

aptitude [<options>...] {add−user−tag | remove−user−tag} <tag> <packages>...

aptitude [<options>...] {why | why−not} [<patterns>...] <package>

aptitude [−S <fname>] [−−autoclean−on−startup | −−clean−on−startup | −i | −u]

aptitude help

説 明

aptitude は Debian GNU/Linux の パ ッ ケ ー ジ シ ス テ ム に 対 す る テ キ ス ト ベ ー ス の イ ン タ フ ェ ー ス で す 。 ユ ー ザ は パ ッ ケ ー ジ の 一 覧 を 表 示 し た り 、 パ ッ ケ ー ジ の イ ン ス ト ー ル ・ 更 新 ・ 削 除 な ど と い っ た パ ッ ケ ー ジ 管 理 作 業 を 行 っ た り で き ま す 。 ア ク シ ョ ン は ビ ジ ュ ア ル イ ン タ フ ェ ー ス と コ マ ン ド ラ イ ン か ら 行 え ま す 。

COMMAND-LINE ACTIONS

ハ イ フ ン (「 」 ) か ら 始 ま ら な い 最 初 の 引 数 は 、 プ ロ グ ラ ム が 行 う ア ク シ ョ ン だ と 見 な さ れ ま す 。 ア ク シ ョ ン が コ マ ン ド ラ イ ン で 与 え ら れ な い 場 合 、 aptitude は ビ ジ ュ ア ル モ ー ド で 起 動 し ま す 。 以 下 の ア ク シ ョ ン が 利 用 可 能 で す 。

install

Install one or more packages. The packages should be listed after the 「 install」 command; if a package name contains a tilde character (「 ~」 ) or a question mark (「 ?」 ), it will be treated as a search pattern and every package matching the pattern will be installed (see the section 「 Search Patterns」 in the aptitude reference manual). パ ッ ケ ー ジ の 特 定 バ ー ジ ョ ン を 選 択 す る に は 、 「 aptitude install apt=0.3.1」 と い う よ う に 、 パ ッ ケ ー ジ 名 に 「 =<バ ー ジ ョ ン >」 を 付 記 し て く だ さ い 。 同 様 に 、 特 定 の ア ー カ イ ブ か ら パ ッ ケ ー ジ を 選 択 す る に は 、 「 aptitude install apt/experimental」 と い う よ う に 、 パ ッ ケ ー ジ 名 に 「 /<ア ー カ イ ブ >」 を 付 記 し て く だ さ い 。 必 ず し も 、 コ マ ン ド ラ イ ン に 連 ね ら れ た パ ッ ケ ー ジ す べ て が イ ン ス ト ー ル 対 象 で な け れ ば い け な い わ け で は あ り ま せ ん 。 パ ッ ケ ー ジ 名 に 「 上 書 き 指 定 子 」 を 付 記 す る と 、 そ の パ ッ ケ ー ジ に 対 し て aptitude に 別 の こ と を さ せ る こ と が 可 能 で す 。 例 え ば 、 aptitude remove wesnoth+ と す る と 、 wesnoth を 削 除 で は な く イ ン ス ト ー ル で き ま す 。 以 下 の 上 書 き 指 定 子 が 利 用 可 能 で す 。

<パ ッ ケ ー ジ >+

<パ ッ ケ ー ジ > を イ ン ス ト ー ル し ま す 。

<パ ッ ケ ー ジ >+M

<パ ッ ケ ー ジ > を イ ン ス ト ー ル し 、 そ の 後 す ぐ に 、 自 動 的 に イ ン ス ト ー ル さ れ た と い う 印 を そ れ に 添 付 し ま す (<パ ッ ケ ー ジ > に 依 存 す る も の が な く な っ た 場 合 、 そ の パ ッ ケ ー ジ は す ぐ に 削 除 さ れ て し ま う こ と に 注 意 し て く だ さ い )。

<パ ッ ケ ー ジ >

<パ ッ ケ ー ジ > を 削 除 し ま す 。

<パ ッ ケ ー ジ >_

<パ ッ ケ ー ジ > を 完 全 削 除 し ま す 。 す な わ ち 、 パ ッ ケ ー ジ 自 体 と そ れ に 関 連 す る 設 定 フ ァ イ ル や デ ー タ フ ァ イ ル を 削 除 し ま す 。

<パ ッ ケ ー ジ >=

<パ ッ ケ ー ジ > を 固 定 し ま す 。 す な わ ち 、 今 後 ど の よ う な イ ン ス ト ー ル ・ 更 新 ・ 削 除 を 行 っ て も 、 こ の パ ッ ケ ー ジ は 自 動 的 に は 更 新 さ れ ま せ ん 。

<パ ッ ケ ー ジ >:

<パ ッ ケ ー ジ > を 現 在 の バ ー ジ ョ ン に 一 時 的 に 固 定 し ま す 。 つ ま り 、 イ ン ス ト ー ル ・ 削 除 ・ 更 新 を す べ て 取 り 消 し ま す 。 「 hold」 (前 述 ) と は 異 な り 、 こ の コ マ ン ド を 用 い て も 将 来 パ ッ ケ ー ジ が 自 動 的 に 更 新 さ れ な く な る こ と は あ り ま せ ん 。

<パ ッ ケ ー ジ >&M 自 動 的 に イ ン ス ト ー ル さ れ た と い う 印 を <パ ッ ケ ー ジ > に 添 付 し ま す 。

<パ ッ ケ ー ジ >&m 手 動 で イ ン ス ト ー ル さ れ た と い う 印 を <パ ッ ケ ー ジ > に 添 付 し ま す 。 特 別 な 場 合 と し て 、 引 数 を 与 え ず に 「 install」 を 実 行 す る と 、 保 存 さ れ て い る ア ク シ ョ ン や 実 行 さ れ て い な い ア ク シ ョ ン が 実 行 さ れ ま す 。 最 終 確 認 用 の プ ロ ン プ ト で 一 度 Y を 入 力 す る と 、 「 install」 コ マ ン ド は 、 実 行 す る ア ク シ ョ ン に 関 す る aptitude の 保 存 情 報 を 変 更 し ま す 。 し た が っ て 、 例 え ば コ マ ン ド 「 aptitude install foo bar」 を 発 行 し 、 aptitude が ダ ウ ン ロ ー ド や イ ン ス ト ー ル を 開 始 し た 時 点 で イ ン ス ト ー ル を 破 棄 す る 場 合 、 そ の 命 令 を 取 り 消 す た め に 「 aptitude remove foo bar」 を 実 行 す る 必 要 が あ り ま す 。

remove, purge, hold, unhold, keep, reinstall

These commands are the same as 「 install」 , but apply the named action to all packages given on the command line for which it is not overridden. The difference between hold and keep is that hold will cause a package to be ignored by future safe−upgrade or full−upgrade commands, while keep merely cancels any scheduled actions on the package. unhold will allow a package to be upgraded by future safe−upgrade or full−upgrade commands, without otherwise altering its state. 例 え ば 、 「 aptitude remove '~ndeity'」 と す る と 、 「 deity」 を 名 前 に 含 む パ ッ ケ ー ジ が す べ て 削 除 さ れ ま す 。

markauto, unmarkauto そ れ ぞ れ 、 自 動 的 に イ ン ス ト ー ル さ れ た 、 お よ び 手 動 で イ ン ス ト ー ル さ れ た と い う 印 を パ ッ ケ ー ジ に 添 付 し ま す 。 パ ッ ケ ー ジ の 指 定 は 「 install」 コ マ ン ド と ま っ た く 同 じ 方 法 で 行 い ま す 。 例 え ば 「 aptitude markauto '~slibs'」 を 実 行 す る と 、 「 libs」 セ ク シ ョ ン の パ ッ ケ ー ジ す べ て に 、 自 動 的 に イ ン ス ト ー ル さ れ た と い う 印 が 添 付 さ れ ま す 。 自 動 的 に イ ン ス ト ー ル し た パ ッ ケ ー ジ に つ い て の さ ら に 詳 し い 情 報 は 、 aptitude リ フ ァ レ ン ス マ ニ ュ ア ル の 「 自 動 的 に イ ン ス ト ー ル し た パ ッ ケ ー ジ の 管 理 」 セ ク シ ョ ン を 参 照 し て く だ さ い 。

build−depends, build−dep

Satisfy the build−dependencies of a package. Each package name may be a source package, in which case the build dependencies of that source package are installed; otherwise, binary packages are found in the same way as for the 「 install」 command, and the build−dependencies of the source packages that build those binary packages are satisfied.

If the command−line parameter −−arch−only is present, only architecture−dependent build dependencies (i.e., not Build−Depends−Indep or Build−Conflicts−Indep) will be obeyed.

forbid−version あ る パ ッ ケ ー ジ を 特 定 の バ ー ジ ョ ン に 更 新 す る の を 禁 止 し ま す 。 こ れ を 用 い る と 、 aptitude を 、 そ の バ ー ジ ョ ン へ の 更 新 は 自 動 的 に 行 わ ず 、 そ れ 以 降 の バ ー ジ ョ ン へ の 更 新 は 自 動 的 に 行 う よ う 、 aptitude に 指 示 で き ま す 。 デ フ ォ ル ト で は aptitude は 、 パ ッ ケ ー ジ が 通 常 更 新 さ れ る バ ー ジ ョ ン を 選 択 し ま す 。 「 aptitude forbid−version vim=1.2.3.broken−4」 と い う よ う に 、 パ ッ ケ ー ジ 名 に =<バ ー ジ ョ ン > を 付 記 す る と 、 こ の 選 択 を 上 書 き で き ま す 。 こ の コ マ ン ド は 、 手 動 で バ ー ジ ョ ン の 固 定 を 設 定 し た り 解 除 し た り せ ず に 、 破 損 し た パ ッ ケ ー ジ バ ー ジ ョ ン を 避 け る の に 便 利 で す 。 禁 止 し た も の の 、 そ の バ ー ジ ョ ン を 本 当 に 入 れ た く な っ た 場 合 は 、 「 install」 コ マ ン ド で そ の 禁 止 を 解 除 で き ま す 。

update

apt 入 手 先 か ら 入 手 可 能 な パ ッ ケ ー ジ の 一 覧 を 更 新 し ま す (こ れ は 、 「 apt−get update」 と 等 価 で す )。

safe−upgrade

Upgrades installed packages to their most recent version. Installed packages will not be removed unless they are unused (see the section 「 Managing Automatically Installed Packages」 in the aptitude reference manual). Packages which are not currently installed may be installed to resolve dependencies unless the −−no−new−installs command−line option is supplied.

If no <package>s are listed on the command line, aptitude will attempt to upgrade every package that can be upgraded. Otherwise, aptitude will attempt to upgrade only the packages which it is instructed to upgrade. The <package>s can be extended with suffixes in the same manner as arguments to aptitude install, so you can also give additional instructions to aptitude here; for instance, aptitude safe−upgrade bash dash− will attempt to upgrade the bash package and remove the dash package.

It is sometimes necessary to remove one package in order to upgrade another; this command is not able to upgrade packages in such situations. Use the full−upgrade command to upgrade as many packages as possible.

full−upgrade

Upgrades installed packages to their most recent version, removing or installing packages as necessary. This command is less conservative than safe−upgrade and thus more likely to perform unwanted actions. However, it is capable of upgrading packages that safe−upgrade cannot upgrade.

If no <package>s are listed on the command line, aptitude will attempt to upgrade every package that can be upgraded. Otherwise, aptitude will attempt to upgrade only the packages which it is instructed to upgrade. The <package>s can be extended with suffixes in the same manner as arguments to aptitude install, so you can also give additional instructions to aptitude here; for instance, aptitude full−upgrade bash dash− will attempt to upgrade the bash package and remove the dash package.

This command was originally named dist−upgrade for historical reasons, and aptitude still recognizes dist−upgrade as a synonym for full−upgrade.

keep−all 設 定 さ れ て い た ア ク シ ョ ン を す べ て の パ ッ ケ ー ジ に つ い て 取 り 消 し ま す 。 つ ま り 、 イ ン ス ト ー ル ・ 削 除 ・ 更 新 と い っ た 面 倒 な 状 態 を も っ た あ ら ゆ る パ ッ ケ ー ジ か ら 、 そ う い っ た 状 態 を 取 り 除 き ま す 。

forget−new ど の パ ッ ケ ー ジ が 「 新 規 」 か に つ い て の 内 部 情 報 を 消 去 し ま す (ビ ジ ュ ア ル モ ー ド で 「 f」 を 押 す の と 等 価 で す )。

search

Searches for packages matching one of the patterns supplied on the command line. All packages which match any of the given patterns will be displayed; for instance, 「 aptitude search '~N' edit」 will list all 「 new」 packages and all packages whose name contains 「 edit」 . For more information on search patterns, see the section 「 Search Patterns」 in the aptitude reference manual.

In the example above, 「 aptitude search '~N' edit」 has two arguments after search and thus is searching for two patterns: 「 ~N」 and 「 edit」 . As described in the search pattern reference, a single pattern composed of two sub−patterns separated by a space (such as 「 ~N edit」 ) matches only if both patterns match. Thus, the command 「 aptitude search '~N edit'」 will only show 「 new」 packages whose name contains 「 edit」 .

−F オ プ シ ョ ン を 与 え な い 場 合 、 aptitude search の 出 力 は こ の よ う に な り ま す 。

i apt − Advanced front−end for dpkg
pi apt−build − frontend to apt to build, optimize and in
cp apt−file − APT package searching utility −− command−
ihA raptor−utils − Raptor RDF Parser utilities 検 索 結 果 は そ れ ぞ れ 異 な る 行 に 一 覧 表 示 さ れ ま す 。 各 行 の 第 1 文 字 は パ ッ ケ ー ジ の 現 在 の 状 態 を 示 し ま す 。 最 も あ り ふ れ た 状 態 は 、 シ ス テ ム に パ ッ ケ ー ジ が 存 在 し た 形 跡 が な い と い う 意 味 の p、 パ ッ ケ ー ジ が 削 除 さ れ た が シ ス テ ム に 設 定 フ ァ イ ル が 残 っ て い る と い う 意 味 の c、 パ ッ ケ ー ジ が イ ン ス ト ー ル さ れ て い る と い う 意 味 の i、 パ ッ ケ ー ジ が 仮 想 パ ッ ケ ー ジ で あ る と い う 意 味 の v で す 。 第 2 文 字 は 、 パ ッ ケ ー ジ に 対 し て 行 う よ う 保 存 さ れ た ア ク シ ョ ン を 示 し ま す (ア ク シ ョ ン が 存 在 す る 場 合 で 、 な け れ ば 空 欄 が 表 示 さ れ ま す )。 最 も あ り ふ れ た 状 態 は 、 パ ッ ケ ー ジ が イ ン ス ト ー ル 予 定 で あ る と い う 意 味 の i、 パ ッ ケ ー ジ が 削 除 予 定 で あ る と い う 意 味 の d、 パ ッ ケ ー ジ お よ び そ の 設 定 フ ァ イ ル が 削 除 予 定 で あ る と い う 意 味 の p で す 。 第 3 文 字 が A で あ る 場 合 、 そ の パ ッ ケ ー ジ は 自 動 的 に イ ン ス ト ー ル さ れ た も の で す 。

For a complete list of the possible state and action flags, see the section 「 Accessing Package Information」 in the aptitude reference guide. To customize the output of search, see the command−line options −F and −−sort.

show

Displays detailed information about one or more packages, listed following the search command. If a package name contains a tilde character (「 ~」 ) or a question mark (「 ?」 ), it will be treated as a search pattern and all matching packages will be displayed (see the section 「 Search Patterns」 in the aptitude reference manual). 饒 舌 レ ベ ル が 1 以 上 の 場 合 (つ ま り 、 コ マ ン ド ラ イ ン に −v が 1 つ 以 上 与 え ら れ て い る 場 合 )、 そ の パ ッ ケ ー ジ の す べ て の バ ー ジ ョ ン に つ い て 情 報 が 表 示 さ れ ま す 。 そ れ 以 外 の 場 合 は 「 バ ー ジ ョ ン 候 補 」 (「 aptitude install」 が ダ ウ ン ロ ー ド す る バ ー ジ ョ ン ) に 関 す る 情 報 が 表 示 さ れ ま す 。

You can display information about a different version of the package by appending =<version> to the package name; you can display the version from a particular archive or release by appending /<archive> or /<release> to the package name: for instance, /unstable or /sid. If either of these is present, then only the version you request will be displayed, regardless of the verbosity level. 饒 舌 レ ベ ル が 1 以 上 の 場 合 、 パ ッ ケ ー ジ の ア ー キ テ ク チ ャ ・ 圧 縮 サ イ ズ ・ フ ァ イ ル 名 ・ md5sum の 各 フ ィ ー ル ド が 表 示 さ れ ま す 。 饒 舌 レ ベ ル が 2 以 上 の 場 合 、 各 ア ー カ イ ブ に つ い て 、 そ の ア ー カ イ ブ が も つ 1 つ 以 上 の 選 択 バ ー ジ ョ ン が 一 度 ず つ 表 示 さ れ ま す 。

versions

Displays the versions of the packages listed on the command−line.

$ aptitude versions wesnoth
p 1:1.4.5−1 100
p 1:1.6.5−1 unstable 500
p 1:1.7.14−1 experimental 1

Each version is listed on a separate line. The leftmost three characters indicate the current state, planned state (if any), and whether the package was automatically installed; for more information on their meanings, see the documentation of aptitude search. To the right of the version number you can find the releases from which the version is available, and the pin priority of the version.

If a package name contains a tilde character (「 ~」 ) or a question mark (「 ?」 ), it will be treated as a search pattern and all matching versions will be displayed (see the section 「 Search Patterns」 in the aptitude reference manual). This means that, for instance, aptitude versions '~i' will display all the versions that are currently installed on the system and nothing else, not even other versions of the same packages.

$ aptitude versions '~nexim4−daemon−light'
Package exim4−daemon−light:
i 4.71−3 100
p 4.71−4 unstable 500

Package exim4−daemon−light−dbg:
p 4.71−4 unstable 500

If the input is a search pattern, or if more than one package's versions are to be displayed, aptitude will automatically group the output by package, as shown above. You can disable this via −−group−by=none, in which case aptitude will display a single list of all the versions that were found and automatically include the package name in each output line:

$ aptitude versions −−group−by=none '~nexim4−daemon−light'
i exim4−daemon−light 4.71−3 100
p exim4−daemon−light 4.71−4 unstable 500
p exim4−daemon−light−dbg 4.71−4 unstable 500

To disable the package name, pass −−show−package−names=never:

$ aptitude versions −−show−package−names=never −−group−by=none '~nexim4−daemon−light'
i 4.71−3 100
p 4.71−4 unstable 500
p 4.71−4 unstable 500

In addition to the above options, the information printed for each version can be controlled by the command−line option −F. The order in which versions are displayed can be controlled by the command−line option −−sort. To prevent aptitude from formatting the output into columns, use −−disable−columns.

add−user−tag, remove−user−tag

Adds a user tag to or removes a user tag from the selected group of packages. If a package name contains a tilde (「 ~」 ) or question mark (「 ?」 ), it is treated as a search pattern and the tag is added to or removed from all the packages that match the pattern (see the section 「 Search Patterns」 in the aptitude reference manual).

User tags are arbitrary strings associated with a package. They can be used with the ?user−tag(<tag>) search term, which will select all the packages that have a user tag matching <tag>.

why, why−not

Explains the reason that a particular package should or cannot be installed on the system.

This command searches for packages that require or conflict with the given package. It displays a sequence of dependencies leading to the target package, along with a note indicating the installed state of each package in the dependency chain:

$ aptitude why kdepim
i nautilus−data Recommends nautilus
i A nautilus Recommends desktop−base (>= 0.2)
i A desktop−base Suggests gnome | kde | xfce4 | wmaker
p kde Depends kdepim (>= 4:3.4.3)

The command why finds a dependency chain that installs the package named on the command line, as above. Note that the dependency that aptitude produced in this case is only a suggestion. This is because no package currently installed on this computer depends on or recommends the kdepim package; if a stronger dependency were available, aptitude would have displayed it.

In contrast, why−not finds a dependency chain leading to a conflict with the target package:

$ aptitude why−not textopo
i ocaml−core Depends ocamlweb
i A ocamlweb Depends tetex−extra | texlive−latex−extra
i A texlive−latex−extra Conflicts textopo

If one or more <pattern>s are present, then aptitude will begin its search at these patterns; that is, the first package in the chain it prints will be a package matching the pattern in question. The patterns are considered to be package names unless they contain a tilde character (「 ~」 ) or a question mark (「 ?」 ), in which case they are treated as search patterns (see the section 「 Search Patterns」 in the aptitude reference manual).

If no patterns are present, then aptitude will search for dependency chains beginning at manually installed packages. This effectively shows the packages that have caused or would cause a given package to be installed.

aptitude why does not perform full dependency resolution; it only displays direct relationships between packages. For instance, if A requires B, C requires D, and B and C conflict, 「 aptitude why−not D」 will not produce the answer 「 A depends on B, B conflicts with C, and D depends on C」 .

By default aptitude outputs only the 「 most installed, strongest, tightest, shortest」 dependency chain. That is, it looks for a chain that only contains packages which are installed or will be installed; it looks for the strongest possible dependencies under that restriction; it looks for chains that avoid ORed dependencies and Provides; and it looks for the shortest dependency chain meeting those criteria. These rules are progressively weakened until a match is found.

If the verbosity level is 1 or more, then all the explanations aptitude can find will be displayed, in inverse order of relevance. If the verbosity level is 2 or more, a truly excessive amount of debugging information will be printed to standard output.

This command returns 0 if successful, 1 if no explanation could be constructed, and −1 if an error occured.

clean 以 前 ダ ウ ン ロ ー ド し た .deb フ ァ イ ル を パ ッ ケ ー ジ キ ャ ッ シ ュ デ ィ レ ク ト リ (通 常 /var/cache/apt/archives) か ら 削 除 し ま す 。

autoclean も う ダ ウ ン ロ ー ド で き な い 、 キ ャ ッ シ ュ さ れ た パ ッ ケ ー ジ を 削 除 し ま す 。 こ れ に よ っ て 、 完 全 に 削 除 し な い か ぎ り キ ャ ッ シ ュ が 時 間 と と も に 肥 大 化 し て し ま い 制 御 で き な く な る 、 と い う 事 態 を 防 げ ま す 。

changelog 指 定 さ れ た ソ ー ス パ ッ ケ ー ジ ま た は バ イ ナ リ パ ッ ケ ー ジ の 各 々 に つ い て 、 Debian パ ッ ケ ー ジ 更 新 履 歴 を ダ ウ ン ロ ー ド し て 表 示 し ま す 。

By default, the changelog for the version which would be installed with 「 aptitude install」 is downloaded. You can select a particular version of a package by appending =<version> to the package name; you can select the version from a particular archive or release by appending /<archive> or /<release> to the package name (for instance, /unstable or /sid).

download

Downloads the .deb file for the given package to the current directory. If a package name contains a tilde character (「 ~」 ) or a question mark (「 ?」 ), it will be treated as a search pattern and all the matching packages will be downloaded (see the section 「 Search Patterns」 in the aptitude reference manual).

By default, the version which would be installed with 「 aptitude install」 is downloaded. You can select a particular version of a package by appending =<version> to the package name; you can select the version from a particular archive or release by appending /<archive> or /<release> to the package name (for instance: /unstable or /sid).

extract−cache−subset

Copy the apt configuration directory (/etc/apt) and a subset of the package database to the specified directory. If no packages are listed, the entire package database is copied; otherwise only the entries corresponding to the named packages are copied. Each package name may be a search pattern, and all the packages matching that pattern will be selected (see the section 「 Search Patterns」 in the aptitude reference manual). Any existing package database files in the output directory will be overwritten.

Dependencies in binary package stanzas will be rewritten to remove references to packages not in the selected set.

help 利 用 可 能 な コ マ ン ド と オ プ シ ョ ン を 簡 潔 に ま と め て 表 示 し ま す 。

オ プ シ ョ ン

以 上 の ア ク シ ョ ン の 振 る 舞 い を 変 更 す る の に 、 以 下 の オ プ シ ョ ン が 利 用 可 能 で す 。 ど の オ プ シ ョ ン も 全 て の コ マ ン ド に 使 え ま す が 、 オ プ シ ョ ン に よ っ て は 特 定 の コ マ ン ド に 適 用 で き ず 無 視 さ れ ま す 。

−−add−user−tag <tag>

For full−upgrade, safe−upgrade, forbid−version, hold, install, keep−all, markauto, unmarkauto, purge, reinstall, remove, unhold, and unmarkauto: add the user tag <tag> to all packages that are installed, removed, or upgraded by this command as if with the add−user−tag command.

−−add−user−tag−to <tag>,<pattern>

For full−upgrade, safe−upgrade forbid−version, hold, install, keep−all, markauto, unmarkauto, purge, reinstall, remove, unhold, and unmarkauto: add the user tag <tag> to all packages that match <pattern> as if with the add−user−tag command. The pattern is a search pattern as described in the section 「 Search Patterns」 in the aptitude reference manual.

For instance, aptitude safe−upgrade −−add−user−tag−to "new−installs,?action(install)" will add the tag new−installs to all the packages installed by the safe−upgrade command.

−−allow−new−upgrades

When the safe resolver is being used (i.e., −−safe−resolver was passed or Aptitude::Always−Use−Safe−Resolver is set to true), allow the dependency resolver to install upgrades for packages regardless of the value of Aptitude::Safe−Resolver::No−New−Upgrades.

−−allow−new−installs

Allow the safe−upgrade command to install new packages; when the safe resolver is being used (i.e., −−safe−resolver was passed or Aptitude::Always−Use−Safe−Resolver is set to true), allow the dependency resolver to install new packages. This option takes effect regardless of the value of Aptitude::Safe−Resolver::No−New−Installs.

−−allow−untrusted

Install packages from untrusted sources without prompting. You should only use this if you know what you are doing, as it could easily compromise your system's security.

−−disable−columns

This option causes aptitude search and aptitude version to output their results without any special formatting. In particular: normally aptitude will add whitespace or truncate search results in an attempt to fit its results into vertical 「 columns」 . With this flag, each line will be formed by replacing any format escapes in the format string with the correponding text; column widths will be ignored.

For instance, the first few lines of output from 「 aptitude search −F '%p %V' −−disable−columns libedataserver」 might be:

disksearch 1.2.1−3
hp−search−mac 0.1.3
libbsearch−ruby 1.5−5
libbsearch−ruby1.8 1.5−5
libclass−dbi−abstractsearch−perl 0.07−2
libdbix−fulltextsearch−perl 0.73−10

As in the above example, −−disable−columns is often useful in combination with a custom display format set using the command−line option −F.

This corresponds to the configuration option Aptitude::CmdLine::Disable−Columns.

−D, −−show−deps

For commands that will install or remove packages (install, full−upgrade, etc), show brief explanations of automatic installations and removals. こ れ は 設 定 オ プ シ ョ ン Aptitude::CmdLine::Show−Deps に 相 当 し ま す 。

−d, −−download−only 必 要 に 応 じ て パ ッ ケ ー ジ を パ ッ ケ ー ジ キ ャ ッ シ ュ に ダ ウ ン ロ ー ド し ま す が 、 イ ン ス ト ー ル や 削 除 は し ま せ ん 。 デ フ ォ ル ト で は 、 パ ッ ケ ー ジ キ ャ ッ シ ュ は /var/cache/apt/archives に 保 存 さ れ ま す 。 こ れ は 設 定 オ プ シ ョ ン Aptitude::CmdLine::Download−Only に 相 当 し ま す 。

−F <フ ォ ー マ ッ ト >, −−display−format <フ ォ ー マ ッ ト >

Specify the format which should be used to display output from the search and version commands. For instance, passing 「 %p %V %v」 for <format> will display a package's name, followed by its currently installed version and its available version (see the section 「 Customizing how packages are displayed」 in the aptitude reference manual for more information).

The command−line option −−disable−columns is often useful in combination with −F.

For search, this corresponds to the configuration option Aptitude::CmdLine::Package−Display−Format; for versions, this corresponds to the configuration option Aptitude::CmdLine::Version−Display−Format.

−f コ マ ン ド ラ イ ン で 要 求 さ れ た ア ク シ ョ ン を 無 視 す る こ と に な っ て も な お 、 破 損 パ ッ ケ ー ジ の 依 存 関 係 を 修 正 し よ う と し ま す 。 こ れ は 設 定 項 目 Aptitude::CmdLine::Fix−Broken に 相 当 し ま す 。

−−full−resolver

When package dependency problems are encountered, use the default 「 full」 resolver to solve them. Unlike the 「 safe」 resolver activated by −−safe−resolver, the full resolver will happily remove packages to fulfill dependencies. It can resolve more situations than the safe algorithm, but its solutions are more likely to be undesirable.

This option can be used to force the use of the full resolver even when Aptitude::Always−Use−Safe−Resolver is true. The safe−upgrade command never uses the full resolver and does not accept the −−full−resolver option.

−−group−by <grouping−mode>

Control how the versions command groups its output. The following values are recognized:

archive to group packages by the archive they occur in (「 stable」 , 「 unstable」 , etc). If a package occurs in several archives, it will be displayed in each of them.

auto to group versions by their package unless there is exactly one argument and it is not a search pattern.

none to display all the versions in a single list without any grouping.

package to group versions by their package.

source−package to group versions by their source package.

source−version to group versions by their source package and source version.

This corresponds to the configuration option Aptitude::CmdLine::Versions−Group−By.

−h, −−help 簡 潔 な ヘ ル プ メ ッ セ ー ジ を 表 示 し ま す 。 help ア ク シ ョ ン と 同 一 で す 。

−−log−file=<file>

If <file> is a nonempty string, log messages will be written to it, except that if <file> is 「 」 , the messages will be written to standard output instead. If this option appears multiple times, the last occurrence is the one that will take effect.

This does not affect the log of installations that aptitude has performed (/var/log/aptitude); the log messages written using this configuration include internal program events, errors, and debugging messages. See the command−line option −−log−level to get more control over what gets logged.

This corresponds to the configuration option Aptitude::Logging::File.

−−log−level=<level>, −−log−level=<category>:<level>

−−log−level=<level> causes aptitude to only log messages whose level is <level> or higher. For instance, setting the log level to error will cause only messages at the log levels error and fatal to be displayed; all others will be hidden. Valid log levels (in descending order) are off, fatal, error, warn, info, debug, and trace. The default log level is warn.

−−log−level=<category>:<level> causes messages in <category> to only be logged if their level is <level> or higher.

−−log−level may appear multiple times on the command line; the most specific setting is the one that takes effect, so if you pass −−log−level=aptitude.resolver:fatal and −−log−level=aptitude.resolver.hints.match:trace, then messages in aptitude.resolver.hints.parse will only be printed if their level is fatal, but all messages in aptitude.resolver.hints.match will be printed. If you set the level of the same category two or more times, the last setting is the one that will take effect.

This does not affect the log of installations that aptitude has performed (/var/log/aptitude); the log messages written using this configuration include internal program events, errors, and debugging messages. See the command−line option −−log−file to change where log messages go.

This corresponds to the configuration group Aptitude::Logging::Levels.

−−log−resolver

Set some standard log levels related to the resolver, to produce logging output suitable for processing with automated tools. This is equivalent to the command−line options −−log−level=aptitude.resolver.search:trace −−log−level=aptitude.resolver.search.tiers:info.

−−no−new−installs

Prevent safe−upgrade from installing any new packages; when the safe resolver is being used (i.e., −−safe−resolver was passed or Aptitude::Always−Use−Safe−Resolver is set to true), forbid the dependency resolver from installing new packages. This option takes effect regardless of the value of Aptitude::Safe−Resolver::No−New−Installs.

This mimics the historical behavior of apt−get upgrade.

This corresponds to the configuration option Aptitude::CmdLine::Safe−Upgrade::No−New−Installs.

−−no−new−upgrades

When the safe resolver is being used (i.e., −−safe−resolver was passed or Aptitude::Always−Use−Safe−Resolver is set to true), allow the dependency resolver to install new packages regardless of the value of Aptitude::Safe−Resolver::No−New−Installs.

−−no−show−resolver−actions

Do not display the actions performed by the 「 safe」 resolver, overriding any configuration option or earlier −−show−resolver−actions.

−O <順 序 >, −−sort <順 序 >

Specify the order in which output from the search and versions commands should be displayed. For instance, passing 「 installsize」 for <order> will list packages in order according to their size when installed (see the section 「 Customizing how packages are sorted」 in the aptitude reference manual for more information).

The default sort order is name,version.

−o <キ ー >=< > 設 定 フ ァ イ ル オ プ シ ョ ン を 直 接 設 定 し ま す 。 例 え ば −o Aptitude::Log=/tmp/my−log を 用 い る と 、 aptitude の ア ク シ ョ ン を /tmp/my−log に 記 録 で き ま す 。 設 定 フ ァ イ ル オ プ シ ョ ン に つ い て の さ ら に 詳 し い 情 報 は 、 aptitude リ フ ァ レ ン ス マ ニ ュ ア ル の 「 設 定 フ ァ イ ル リ フ ァ レ ン ス 」 セ ク シ ョ ン を 参 照 し て く だ さ い 。

−P, −−prompt

Always display a prompt before downloading, installing or removing packages, even when no actions other than those explicitly requested will be performed. こ れ は 設 定 オ プ シ ョ ン Aptitude::CmdLine::Always−Prompt に 相 当 し ま す 。

−−purge−unused

If Aptitude::Delete−Unused is set to 「 true」 (its default), then in addition to removing each package that is no longer required by any installed package, aptitude will also purge them, removing their configuration files and perhaps other important data. For more information about which packages are considered to be 「 unused」 , see the section 「 Managing Automatically Installed Packages」 in the aptitude reference manual. THIS OPTION CAN CAUSE DATA LOSS! DO NOT USE IT UNLESS YOU KNOW WHAT YOU ARE DOING!

This corresponds to the configuration option Aptitude::Purge−Unused.

−q[=<n>], −−quiet[=<n>] す べ て の 進 行 状 況 を 逐 一 表 示 さ せ ず 、 し た が っ て 出 力 を 記 録 可 能 に し ま す 。 プ ロ グ ラ ム の 出 力 を よ り 少 な く す る た め に 、 こ の オ プ シ ョ ン を 何 回 も 繰 り 返 し 与 え て も か ま い ま せ ん 。 し か し apt−get と は 異 な り 、 aptitude で は 、 −q を 複 数 回 与 え た 場 合 は −y を 与 え る こ と は で き ま せ ん 。 任 意 で =<n> を つ け る と 、 出 力 の 少 な さ を 直 接 設 定 で き ま す (例 え ば 、 /etc/apt/apt.conf の 設 定 を 上 書 き す る の に 利 用 で き ま す )。 こ の と き プ ロ グ ラ ム は 、 −q を ち ょ う ど <n> 回 与 え た と き の よ う に 振 る 舞 い ま す 。

−R, −−without−recommends

Do not treat recommendations as dependencies when installing new packages (this overrides settings in /etc/apt/apt.conf and ~/.aptitude/config). Packages previously installed due to recommendations will not be removed.

This corresponds to the pair of configuration options Apt::Install−Recommends and Apt::AutoRemove::InstallRecommends.

−r, −−with−recommends 新 し い パ ッ ケ ー ジ を イ ン ス ト ー ル す る 際 に 、 推 奨 を 依 存 関 係 と し て 扱 い ま す (こ れ は 、 /etc/apt/apt.conf お よ び ~/.aptitude/config の 設 定 を 上 書 き し ま す )。

This corresponds to the configuration option Apt::Install−Recommends

−−remove−user−tag <tag>

For full−upgrade, safe−upgrade forbid−version, hold, install, keep−all, markauto, unmarkauto, purge, reinstall, remove, unhold, and unmarkauto: remove the user tag <tag> from all packages that are installed, removed, or upgraded by this command as if with the add−user−tag command.

−−remove−user−tag−from <tag>,<pattern>

For full−upgrade, safe−upgrade forbid−version, hold, install, keep−all, markauto, unmarkauto, purge, reinstall, remove, unhold, and unmarkauto: remove the user tag <tag> from all packages that match <pattern> as if with the remove−user−tag command. The pattern is a search pattern as described in the section 「 Search Patterns」 in the aptitude reference manual.

For instance, aptitude safe−upgrade −−remove−user−tag−from "not−upgraded,?action(upgrade)" will remove the not−upgraded tag from all packages that the safe−upgrade command is able to upgrade.

−s, −−simulate コ マ ン ド ラ イ ン モ ー ド で 、 通 常 な ら 実 行 さ れ る ア ク シ ョ ン を 、 実 際 に は 実 行 せ ず に 表 示 し ま す 。 こ れ に は root 権 限 は 要 り ま せ ん 。 ビ ジ ュ ア ル イ ン タ フ ェ ー ス で は 、 使 用 者 が root で あ る か な い か に 関 わ ら ず 、 常 に 読 み 取 り 専 用 モ ー ド で キ ャ ッ シ ュ を 開 き ま す 。 こ れ は 設 定 オ プ シ ョ ン Aptitude::Simulate に 相 当 し ま す 。

−−safe−resolver

When package dependency problems are encountered, use a 「 safe」 algorithm to solve them. This resolver attempts to preserve as many of your choices as possible; it will never remove a package or install a version of a package other than the package's default candidate version. It is the same algorithm used in safe−upgrade; indeed, aptitude −−safe−resolver full−upgrade is equivalent to aptitude safe−upgrade. Because safe−upgrade always uses the safe resolver, it does not accept the −−safe−resolver flag.

This option is equivalent to setting the configuration variable Aptitude::Always−Use−Safe−Resolver to true.

−−schedule−only パ ッ ケ ー ジ の 状 態 を 変 化 さ せ る コ マ ン ド に 対 し て 、 操 作 を そ の 場 で は 実 行 せ ず に 、 将 来 実 行 す る よ う 設 定 し ま す 。 引 数 を 与 え ず に aptitude install を 実 行 す る と 、 設 定 さ れ た ア ク シ ョ ン を 実 際 に 行 う こ と が で き ま す 。 こ れ は 、 ビ ジ ュ ア ル モ ー ド で 相 当 す る 選 択 を 行 っ て か ら プ ロ グ ラ ム を 正 常 に 終 了 さ せ る の と 等 価 で す 。 例 え ば 、 aptitude −−schedule−only install evolution を 実 行 す る と 、 evolution パ ッ ケ ー ジ を 後 で イ ン ス ト ー ル す る よ う 設 定 で き ま す 。

−−show−package−names <when>

Controls when the versions command shows package names. The following settings are allowed:

always: display package names every time that aptitude versions runs.

auto: display package names when aptitude versions runs if the output is not grouped by package, and either there is a pattern−matching argument or there is more than one argument.

never: never display package names in the output of aptitude versions.

This option corresponds to the configuration item Aptitude::CmdLine::Versions−Show−Package−Names.

−−show−resolver−actions

Display the actions performed by the 「 safe」 resolver.

−−show−summary[=<MODE>]

Changes the behavior of 「 aptitude why」 to summarize each dependency chain that it outputs, rather than displaying it in long form. If this option is present and <MODE> is not 「 no−summary」 , chains that contain Suggests dependencies will not be displayed: combine −−show−summary with −v to see a summary of all the reasons for the target package to be installed.

<MODE> can be any one of the following:

1. no−summary: don't show a summary (the default behavior if −−show−summary is not present).

2. first−package: display the first package in each chain. This is the default value of <MODE> if it is not present.

3. first−package−and−type: display the first package in each chain, along with the strength of the weakest dependency in the chain.

4. all−packages: briefly display each chain of dependencies leading to the target package.

5. all−packages−with−dep−versions: briefly display each chain of dependencies leading to the target package, including the target version of each dependency.

This option corresponds to the configuration item Aptitude::CmdLine::Show−Summary; if −−show−summary is present on the command−line, it will override Aptitude::CmdLine::Show−Summary. 例 10 Usage of −−show−summary

−−show−summary used with −v to display all the reasons a package is installed:

$ aptitude −v −−show−summary why foomatic−db
Packages requiring foomatic−db:
cupsys−driver−gutenprint
foomatic−db−engine
foomatic−db−gutenprint
foomatic−db−hpijs
foomatic−filters−ppds
foomatic−gui
kde
printconf
wine

$ aptitude −v −−show−summary=first−package−and−type why foomatic−db
Packages requiring foomatic−db:
[Depends] cupsys−driver−gutenprint
[Depends] foomatic−db−engine
[Depends] foomatic−db−gutenprint
[Depends] foomatic−db−hpijs
[Depends] foomatic−filters−ppds
[Depends] foomatic−gui
[Depends] kde
[Depends] printconf
[Depends] wine

$ aptitude −v −−show−summary=all−packages why foomatic−db
Packages requiring foomatic−db:
cupsys−driver−gutenprint D: cups−driver−gutenprint D: cups R: foomatic−filters R: foomatic−db−engine D: foomatic−db
foomatic−filters−ppds D: foomatic−filters R: foomatic−db−engine D: foomatic−db
kde D: kdeadmin R: system−config−printer−kde D: system−config−printer R: hal−cups−utils D: cups R: foomatic−filters R: foomatic−db−engine D: foomatic−db
wine D: libwine−print D: cups−bsd R: cups R: foomatic−filters R: foomatic−db−engine D: foomatic−db
foomatic−db−engine D: foomatic−db
foomatic−db−gutenprint D: foomatic−db
foomatic−db−hpijs D: foomatic−db
foomatic−gui D: python−foomatic D: foomatic−db−engine D: foomatic−db
printconf D: foomatic−db

$ aptitude −v −−show−summary=all−packages−with−dep−versions why foomatic−db
Packages requiring foomatic−db:
cupsys−driver−gutenprint D: cups−driver−gutenprint (>= 5.0.2−4) D: cups (>= 1.3.0) R: foomatic−filters (>= 4.0) R: foomatic−db−engine (>= 4.0) D: foomatic−db (>= 20090301)
foomatic−filters−ppds D: foomatic−filters R: foomatic−db−engine (>= 4.0) D: foomatic−db (>= 20090301)
kde D: kdeadmin (>= 4:3.5.5) R: system−config−printer−kde (>= 4:4.2.2−1) D: system−config−printer (>= 1.0.0) R: hal−cups−utils D: cups R: foomatic−filters (>= 4.0) R: foomatic−db−engine (>= 4.0) D: foomatic−db (>= 20090301)
wine D: libwine−print (= 1.1.15−1) D: cups−bsd R: cups R: foomatic−filters (>= 4.0) R: foomatic−db−engine (>= 4.0) D: foomatic−db (>= 20090301)
foomatic−db−engine D: foomatic−db
foomatic−db−gutenprint D: foomatic−db
foomatic−db−hpijs D: foomatic−db
foomatic−gui D: python−foomatic (>= 0.7.9.2) D: foomatic−db−engine D: foomatic−db (>= 20090301)
printconf D: foomatic−db

−−show−summary used to list a chain on one line:

$ aptitude −−show−summary=all−packages why aptitude−gtk libglib2.0−data
Packages requiring libglib2.0−data:
aptitude−gtk D: libglib2.0−0 R: libglib2.0−data

−t <リ リ ー ス >, −−target−release <リ リ ー ス > イ ン ス ト ー ル す る パ ッ ケ ー ジ が 基 づ く リ リ ー ス を 設 定 し ま す 。 例 え ば 、 「 aptitude −t experimental ...」 と す る と 、 他 の リ リ ー ス を 明 示 的 に 指 定 し な い か ぎ り experimental デ ィ ス ト リ ビ ュ ー シ ョ ン か ら パ ッ ケ ー ジ を イ ン ス ト ー ル し ま す 。 コ マ ン ド ラ イ ン ア ク シ ョ ン 「 changelog」 お よ び 「 download」 、 「 show」 に 対 し て は 、 こ れ は 、 コ マ ン ド ラ イ ン に 名 前 を 連 ね ら れ た 各 パ ッ ケ ー ジ に /<リ リ ー ス > を 付 記 す る の と 等 価 で す 。 そ れ 以 外 の コ マ ン ド に 対 し て は 、 こ れ は 、 apt_preferences(5) で 説 明 さ れ て い る 規 則 に 従 っ て 、 パ ッ ケ ー ジ の デ フ ォ ル ト の バ ー ジ ョ ン 候 補 に 影 響 し ま す 。 こ れ は 設 定 項 目 APT::Default−Release に 相 当 し ま す 。

−V, −−show−versions パ ッ ケ ー ジ の ど の バ ー ジ ョ ン が イ ン ス ト ー ル さ れ る か 表 示 し ま す 。 こ れ は 設 定 オ プ シ ョ ン Aptitude::CmdLine::Show−Versions に 相 当 し ま す 。

−v, −−verbose い く つ か の コ マ ン ド (例 え ば show) が 付 加 的 な 情 報 を 表 示 す る よ う に し ま す 。 さ ら に 詳 し い 情 報 を 得 る た め に 、 こ の オ プ シ ョ ン を 何 回 も 繰 り 返 し 与 え て も か ま い ま せ ん 。 こ れ は 設 定 オ プ シ ョ ン Aptitude::CmdLine::Verbose に 相 当 し ま す 。

−−version

aptitude の バ ー ジ ョ ン や 、 そ の コ ン パ イ ル 方 法 に 関 す る 情 報 を 表 示 し ま す 。

When executing the command safe−upgrade or when the option −−safe−resolver is present, aptitude will display a summary of the actions performed by the resolver before printing the installation preview. This is equivalent to the configuration options Aptitude::CmdLine::Safe−Upgrade::Show−Resolver−Actions and Aptitude::Safe−Resolver::Show−Resolver−Actions.

−−visual−preview コ マ ン ド ラ イ ン か ら パ ッ ケ ー ジ の イ ン ス ト ー ル や 削 除 を 行 う と き に 、 通 常 の プ ロ ン プ ト を 表 示 す る 代 わ り に 、 ビ ジ ュ ア ル イ ン タ フ ェ ー ス を 立 ち 上 げ て そ の プ レ ビ ュ ー 画 面 を 表 示 し ま す 。

−W, −−show−why

In the preview displayed before packages are installed or removed, show which manually installed package requires each automatically installed package. For instance:

$ aptitude −−show−why install mediawiki
...
The following NEW packages will be installed:
libapache2−mod−php5{a} (for mediawiki) mediawiki php5{a} (for mediawiki)
php5−cli{a} (for mediawiki) php5−common{a} (for mediawiki)
php5−mysql{a} (for mediawiki)

When combined with −v or a non−zero value for Aptitude::CmdLine::Verbose, this displays the entire chain of dependencies that lead each package to be installed. For instance:

$ aptitude −v −−show−why install libdb4.2−dev
The following NEW packages will be installed:
libdb4.2{a} (libdb4.2−dev D: libdb4.2) libdb4.2−dev
The following packages will be REMOVED:
libdb4.4−dev{a} (libdb4.2−dev C: libdb−dev P<− libdb−dev)

This option will also describe why packages are being removed, as shown above. In this example, libdb4.2−dev conflicts with libdb−dev, which is provided by libdb−dev.

This argument corresponds to the configuration option Aptitude::CmdLine::Show−Why and displays the same information that is computed by aptitude why and aptitude why−not.

−w < >, −−width < >

search コ マ ン ド か ら の 出 力 に 用 い ら れ る 画 面 の 幅 を 指 定 し ま す (デ フ ォ ル ト で は タ ー ミ ナ ル の 幅 が 用 い ら れ ま す )。 こ れ は 設 定 オ プ シ ョ ン Aptitude::CmdLine::Package−Display−Width に 相 当 し ま す 。

−y, −−assume−yes

yes/no プ ロ ン プ ト が 表 示 さ れ た と き に ユ ー ザ が 「 yes」 と 入 力 し た と 仮 定 し ま す 。 特 に 、 パ ッ ケ ー ジ を イ ン ス ト ー ル ・ 更 新 ・ 削 除 す る と き に 現 れ る プ ロ ン プ ト を 隠 し ま す 。 必 須 パ ッ ケ ー ジ の 削 除 な ど と い っ た 「 危 険 な 」 ア ク シ ョ ン に 対 す る プ ロ ン プ ト は そ の ま ま 表 示 さ れ 続 け ま す 。 こ の オ プ シ ョ ン は −P を 上 書 き し ま す 。 こ れ は 設 定 オ プ シ ョ ン Aptitude::CmdLine::Assume−Yes に 相 当 し ま す 。

−Z イ ン ス ト ー ル ・ 更 新 ・ 削 除 さ れ る 各 パ ッ ケ ー ジ が ど の 程 度 の デ ィ ス ク 領 域 を 使 用 ま た は 解 放 す る か を 表 示 し ま す 。 こ れ は 設 定 オ プ シ ョ ン Aptitude::CmdLine::Show−Size−Changes に 相 当 し ま す 。 以 下 の オ プ シ ョ ン が プ ロ グ ラ ム の ビ ジ ュ ア ル モ ー ド に 適 用 で き ま す が 、 こ れ ら は 主 に 内 部 で 使 用 す る た め の も の で す 。 あ な た が こ れ ら を 自 分 で 使 う 必 要 は 、 通 常 は あ り ま せ ん 。

−−autoclean−on−startup

Deletes old downloaded files when the program starts (equivalent to starting the program and immediately selecting Actions → Clean obsolete files). You cannot use this option and 「 −−autoclean−on−startup」 , 「 −i」 , or 「 −u」 at the same time.

−−clean−on−startup

Cleans the package cache when the program starts (equivalent to starting the program and immediately selecting Actions → Clean package cache). You cannot use this option and 「 −−autoclean−on−startup」 , 「 −i」 , or 「 −u」 at the same time.

−i

Displays a download preview when the program starts (equivalent to starting the program and immediately pressing 「 g」 ). You cannot use this option and 「 −−autoclean−on−startup」 , 「 −−clean−on−startup」 , or 「 −u」 at the same time.

−S <フ ァ イ ル 名 > 標 準 の 状 態 フ ァ イ ル で は な く <フ ァ イ ル 名 > か ら 拡 張 状 態 情 報 を ロ ー ド し ま す 。

−u

Begins updating the package lists as soon as the program starts. You cannot use this option and 「 −−autoclean−on−startup」 , 「 −−clean−on−startup」 , or 「 −i」 at the same time.

環 境 変 数

HOME

$HOME/.aptitude が 存 在 す る 場 合 、 aptitude は 設 定 フ ァ イ ル を $HOME/.aptitude/config に 保 存 し ま す 。 そ う で な い 場 合 は getpwuid(2) を 用 い て 現 在 の ユ ー ザ の ホ ー ム デ ィ レ ク ト リ を 探 し 、 設 定 フ ァ イ ル を そ こ に 設 置 し ま す 。

PAGERaptitude changelog」 が 呼 び 出 さ れ た と き に 、 こ の 環 境 変 数 が 設 定 さ れ て い る と 、 aptitude は 更 新 履 歴 を 表 示 す る の に そ れ を 用 い ま す 。 設 定 さ れ て い な い 場 合 の デ フ ォ ル ト は more で す 。

TMP

TMPDIR が 設 定 さ れ て い な く TMP が 設 定 さ れ て い る 場 合 、 aptitudeTMP に 一 時 フ ァ イ ル を 保 存 し ま す 。 そ う で な い 場 合 は /tmp に 保 存 し ま す 。

TMPDIR こ の 環 境 変 数 で 示 さ れ る 一 時 デ ィ レ ク ト リ に aptitude は 一 時 フ ァ イ ル を 保 存 し ま す 。 TMPDIR が 設 定 さ れ て い な い 場 合 、 TMP が 使 用 さ れ ま す 。 TMP も 設 定 さ れ て い な い 場 合 、 aptitude は /tmp を 使 用 し ま す 。

FILES

/var/lib/aptitude/pkgstates

The file in which stored package states and some package flags are stored.

/etc/apt/apt.conf, /etc/apt/apt.conf.d/*, ~/.aptitude/config

The configuration files for aptitude. ~/.aptitude/config overrides /etc/apt/apt.conf. See apt.conf(5) for documentation of the format and contents of these files.

SEE ALSO

apt-get(8), apt(8), aptitude−doc−<言 語 > パ ッ ケ ー ジ の /usr/share/doc/aptitude/html/<言 語 >/index.html

著 者

Burrows Daniel[FAMILY Given] <dburrows [AT] debian.org> 著 者 .

製 作 著 作

Copyright 2004−2010 Daniel Burrows.

This manual page is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This manual page is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110−1301 USA.