[Tokyodebian-2007] Debian勉強会31事前課題

Jun Araki junaraki at gmail.com
Thu Aug 16 00:13:37 UTC 2007


Debian勉強会 担当者様

荒木と申します。
事前課題を送付させていただきます。
よろしくお願いいたします。

----

*apt の sources.list はこう書く
*date: 2007/8/16
*author: J.Araki

使用 OS は、Debian etch stable です。
最初に参考文献の紹介です。以下のページを参考にしました。

 http://www.debian.org/doc/manuals/apt-howto/ch-basico.ja.html
 http://debian.fam.cx/index.php?install#content_1_37

最適なミラーを探し出すのに、apt-spy と netselect-apt を使用しました。最初に、apt-spy です。

 $ sudo apt-spy update
 $ sudo apt-spy -d etch -s JP

これにより、以下の行が自動的に sources.list に書き込まれていました。既存の sources.list は
sources.list.bakに退避されました。

 # sources.list generated by apt-spy v3.1
 deb http://ftp.jp.debian.org/debian/ etch main
 deb-src http://ftp.jp.debian.org/debian/ etch main
 #deb http://security.debian.org/ stable/updates main

 次に netselect-apt です。

 $ sudo netselect-apt

これにより、以下の行が自動的に sources.list に書き込まれていました。既存の sources.list は
sources.list.orig に退避されました。

 # the main Debian packages.
 deb http://ftp.dti.ad.jp/pub/Linux/debian/ stable main contrib
 # Uncomment the deb-src line if you want 'apt-get source'
 # to work with most packages.
 # deb-src http://ftp.dti.ad.jp/pub/Linux/debian/ stable main contrib
 # uncommenting the following line will enable security updates
 #deb http://security.debian.org/ stable/updates main contrib

上記に加えて、以下の行も推奨ということで追加しておきました。

 deb http://cdn.debian.or.jp/debian etch main contrib non-free
 deb http://ftp.debian.or.jp/debian-security etch/updates main contrib
non-free
 deb http://security.debian.org/ etch/updates main contrib non-free

以上です。
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/tokyodebian-2007/attachments/20070816/a2e7842d/attachment.htm 


More information about the Tokyodebian-2007 mailing list