Vitruvian Penguin
knoppix

[knoppix:0996] Re: パッケージ削除

Date: Fri, 14 Feb 2003 12:21:21 +0900
X-mailer: QUALCOMM Windows Eudora Version 5.0.2-Jr2
こんにちは、

久々の投稿です。その後未だにKnoppix構築作業に戻って来れず3週間にも及ぶ
Debian環境の明け暮れが続いて居りましたが今朝方遅くになって(徹夜 :)やっと
満足な結果が出せるまでになりました。
woody (stable) のままで良いのなら何も言うことはありませんが所詮趣味だし
生来の新しい物好きな正確がどうしてもwoody -> sid (unstable)へのエラーのない
アップグレードをしたいと毎日・毎日apt-getの日々でした。
もう殆どギブアップ状態のところ、aptitudeを使うことにより抱えていた難問は
嘘のように一挙に解決しました。

これからのDebian/Knoppix環境では可能な限りapt-getの使用は止め、安全な
aptitudeを使って行くことに決定・決断しました。
woody->sidが目的でapt-get dist-upgradeをやろうものなら一気に破綻でした。
かと言ってdselectの深い泥沼にはもう二度と入りたくないです。
aptitudeは高機能taskselだけでなくapt-getの殆どをカバーしています。
勿論 'aptitude update ; aptitude upgrade' は同じです。
こんな感じです:

kohjin@cosmos:~$ aptitude --help
aptitude 0.2.11.1
Usage: aptitude [-S fname] [-u|-i]       aptitude [options] <action> ...
  Actions (if none is specified, aptitude will enter interactive mode):

 install      - Install/upgrade packages
 remove       - Remove packages
 purge        - Remove packages and their configuration files
 hold         - Place packages on hold
 unhold       - Cancel a hold command for a package
 markauto     - Mark packages as having been automatically installed
 unmarkauto   - Mark packages as having been manually installed
 update       - Download lists of new/upgradable packages
 upgrade      - Perform a safe upgrade
 dist-upgrade - Perform an upgrade, possibly installing and removing packages
 forget-new   - Forget what packages are "new"
 search       - Search for a package by name and/or expression
 clean        - Erase downloaded package files
 autoclean    - Erase old downloaded package files
 download     - Download the .deb file for a package

  Options:
 -h             This help text
 -s             Simulate actions, but do not actually perform them.
 -d             Only download packages, do not install or remove anything.
 -P             Always prompt for confirmation or actions
 -y             Assume that the answer to simple yes/no questions is 'yes'
 -F format      Specify a format for displaying search results; see the manual
 -w width       Specify the display width for formatting search results
 -f             Aggressively try to fix broken packages.
 -V             Show which versions of packages are to be installed.
 -D             Show the dependencies of automatically changed packages.
 -v             Display extra information. (may be supplied multiple times)
 --with(out)-recommends, --with(out)-suggests
                Specify whether or not to treat recommends (suggests) as
                strong dependencies
 -S fname: read the aptitude extended status info from fname.
 -u      : Download new package lists on startup.
 -i      : Perform an install run on startup.

Googleで検索してもあまり良いのには引っかかって来ませんが
http://pandora.softwind.ne.jp/linux/l2001_06.html#13_510_999853105
http://aptitude.sourceforge.net/screenshots.html
ぐらいでしょうか?

偶然先ほどTsuge Akihide 柘植さんがAPTに関して[knoppix:0993]に投稿されています。

山田

At 11:33 03/02/14 +0900, you wrote:
>Maxです
>
>2003年 2月 14日 金曜日 10:48、naoko.akahori@xxxxxxxxx さんは書きました:
>
>> 文字化けしているので何が悪いのか分かりません。
>
>文字化けはどういう状態でやっているのかよくわかってないのですが、
>
>export LANG=us
>
>としたあとにお望みのコマンドを実行すれば英語で、少なくとも文字化けはせず
>表示されます。あるいは、コンソール画面だったら
>
>kon
>
>として日本語コンソールを起動するという手もありますが、お使いのモニタや
>グラフィクスチップによってはうまく表示されないでしょう。
>
>> apt-get remove **** (****にファイル名入力)
>> を行うとエラーが表示されます。
>
>****にはファイル名ではなく登録されたパッケージの名前を入れます。
>
>> 初心者に分かりやすいサイトなどありましたら教えてください。
>
>検索エンジンの使い方なら多少はお教えできます:-P
>
>http://www.google.co.jp/ あたりでキーワードに"apt-get remove つかいかた"
>とか与えて検索すればいくつか出てきますがあたって見られましたか?
>
>http://www.a-yu.com/debian/apt.html
>http://www.tamaru.kuee.kyoto-u.ac.jp/~ryuta/misclab/debian/package_admin.html
>http://debian.fam.cx/index.php?AptGet
>
>などなど。どれがそちらにぴったりくるものかは解りませんが。。。
>
>akahoriさんの投稿時間帯を見ているとお仕事でこれをされているようにも
>思いますが、ネット上の情報は結構ふんだんにあるものなので、こういう基本的な
>事項はMLより先にWebページなどを利用するなどの方法をとられた方が効率が良さ
>そうに思います。
>
>-- 
>Masaharu "Max" Goto
>GnuPG Key fingerprint = 4D69 6B1D 484D 999C EDA7  2853 32AF 0C86 9323 3DDB
>
>
>--[PR]------------------------------------------------------------------
>┏━┳━┳━┳━┳━┳━┳━┳━┳━┳━┓ ≪Stage≫スタート
>┃派┃遣┃で┃働┃く┃方┃へ┃の┃提┃案┃あなただけのページができる!
>┗━┻━┻━┻━┻━┻━┻━┻━┻━┻━┛ 仲間とのBBSも
>  ↓↓↓   by アデコキャリアスタッフ
> http://ad.freeml.com/cgi-bin/ad.cgi?id=bCgkz
>------------------------------------------------------------------[PR]--
><GMO GROUP> Global Media Online  www.gmo.jp
<Prev in Thread] Current Thread [Next in Thread>