第3章 aptitude frequently asked questions

 

「What ... is your name?」

「I am Arthur, King of the Britons.」

「What ... is your quest?」

「I seek the Holy Grail!」

「What ... is the airspeed velocity of an unladen swallow?」

「What do you mean? An African or a European swallow?」

「Huh? I ... I don't kn---AAAAAUUUGGGHH!」

 
 -- Monty Python and the Holy Grail
3.1. どうしたら、名前を用いてパッケージをちょうど 1 つだけ見つけられますか?
3.2. どうしたら壊れたパッケージを見つけられますか?
3.3. I want to select text, why doesn't aptitude let me disable the mouse?

3.1.

どうしたら、名前を用いてパッケージをちょうど 1 つだけ見つけられますか?

「Search patterns」で述べたように、パッケージを名前で検索する際に、入力したテキストは実際には正規表現となります。したがって、検索パターン「^名前$」を用いれば、名前という名前のパッケージだけがマッチします。

例えば、^apt$ と入力すると、(aptitude や synaptic ではなく) apt を見つけることが可能です。また、^g\+\+$ と入力すると、(g++-2.95 や g++-3.0 ではなく) g++ を見つけることが可能です。

3.2.

どうしたら壊れたパッケージを見つけられますか?

コマンド 検索 → 壊れた依存関係を検索 (b) を使用してください。

3.3.

I want to select text, why doesn't aptitude let me disable the mouse?

Normally, you cannot select text in an xterm while a program running in that terminal (such as aptitude) is using the mouse. However, you can override this behavior and perform a selection by holding the Shift key down while you click on the terminal.