[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Package Pool FAQ Japanese translated version
ä½é‡Žã§ã™ã€‚
鵜飼ã•ã‚“㌠debian-devel@jp ã«æµã•ã‚ŒãŸãƒ‘ッケージプール FAQ 日本語訳を
ã¨ã‚Šã‚ãˆãš HTML 化ã—ã¾ã—ãŸã€‚作æ¥ã¨ã—ã¦ã¯å˜ã«è‹±èªžã®åŽŸæ–‡ã‚’コメントアウト
ã—㦠DL, DT, DD ã§å›²ã‚“ã ã ã‘ã§ã™ã€‚
ã“ã‚Œã‹ã‚‰ JP ã® doc cvs ã« misc/poolfaq.html ã¨ã—㦠commit ã™ã‚‹ã¤ã‚‚ã‚Šã§ã™ã€‚
=== poolfaq.html ===
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Debian Package Pools FAQ (Japanese Translated version)</title>
</head>
<body>
<h2>Debian パッケージプール FAQ 日本語訳</h2>
<dl>
<dt><!-- Q: Now that Debian uses package pools, do I need to upgrade apt
or modify sources.list before I can use package pools? -->
Q: Debian 㯠package pool を使ã†ã‚ˆã†ã«ãªã‚Šã¾ã—ãŸãŒã€package pool ã‚’
使ã†ãŸã‚ã« apt をアップグレードã—ãŸã‚Š sources.list ã‚’ä¿®æ£ã—ãŸã‚Š
ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã‹?</dt>
<dd><!-- A: No, package pools are transparent to apt. You do not need to modify
anything on your system, apt will begin pulling packages out of the pool
directory automatically. -->
A: ã„ã„ãˆã€package pool㯠aptã‹ã‚‰ã¿ã¦å¤‰åŒ–ãŒã‚るよã†ã«è¦‹ãˆã¾ã›ã‚“。
systemを何も変更ã™ã‚‹å¿…è¦ã¯ã‚ã‚Šã¾ã›ã‚“。apt 㯠poolディレクトリã‹ã‚‰
自動的ã«ãƒ‘ッケージをã¨ã£ã¦ãるよã†ã«ãªã‚‹ã§ã—ょã†ã€‚</dd>
<dt><!-- Q: What is a package pool? -->
Q: package pool ã£ã¦ä½•?</dt>
<dd><!-- A: Package pools are a large change to the organization and management
of the Debian archive. It involves a "pool" of packages, which can
include many different versions of the a given package. These are kept
track of and managed using a database and a new set of archive
management tools. To create a version of Debian such as stable
or unstable, packages are selected from the pool and a Packages file is
created referencing those packages. This solves a number of nasty
problems we have historically had with archive maintanence, and it makes
it significantly easier to create special-purpose verisons of Debian
such as "testing". -->
A: package pool㯠Debianアーカイブã®æ§‹æˆãŠã‚ˆã³ç®¡ç†æ‰‹æ³•ã‚’ãŠãŠãªå¤‰æ›´ã§ã™ã€‚
パッケージã®"pool"ã¨ã„ã†ã®ã¯ã€ã‚るパッケージã®ã„ãã¤ã‚‚ã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’å«ã‚€
ã“ã¨ãŒã§ãã‚‹ã‹ã‚‰ã§ã™ã€‚ãれらã¯ãƒ‡ãƒ¼ã‚¿ãƒ™ãƒ¼ã‚¹ãŠã‚ˆã³æ–°ã—ã„アーカイブ管ç†
ツール一å¼ã‚’使ã£ã¦è¿½è·¡ç®¡ç†ã•ã‚Œã¾ã™ã€‚例ãˆã°stableã‚„unstableã¨ã„ã£ãŸ
ã‚ã‚‹ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã®Debianを生æˆã™ã‚‹æ™‚ã«ã¯poolã‹ã‚‰ãƒ‘ッケージãŒé¸æŠžã•ã‚Œã€
ãれらã®ãƒ‘ッケージをå‚ç…§ã™ã‚‹ã‚ˆã†ãªPackagesファイルãŒç”Ÿæˆã•ã‚Œã¾ã™ã€‚
ã“ã‚Œã«ã‚ˆã‚Šã€æˆ‘々ãŒã‚¢ãƒ¼ã‚«ã‚¤ãƒ–ã®ç¶æŒã«é–¢ã—ã¦æ˜”ã‹ã‚‰ã‚‚ã£ã¦ã„ãŸã„ãã¤ã‚‚ã®
å•é¡Œã‚’解決ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ã¾ãŸã€"testing"ã¨ã„ã£ãŸç‰¹åˆ¥ãªç›®çš„ã®ãŸã‚ã®
Debianã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’作るã®ã‚’ã‹ãªã‚Šç°¡å˜ã«ã™ã‚‹ã“ã¨ãŒã§ãるよã†ã«ãªã‚Šã¾ã™ã€‚</dd>
<dt><!-- Q: How will pools change the layout of the Debian archive? -->
Q: poolã«ã‚ˆã‚ŠDebianアーカイブã®é…ç½®ã¯ã©ã†ã‹ã‚ã‚‹ã‚“ã§ã™ã‹?</dt>
<dd><!-- A: Pools move packages out of the dists/unstable/main/binary-arch/section/
tree and into a single pool/ directory that contains all the packages, no
matter what version of debian or what architecture they are for (the
packages are actually in subdirectories using a two-level hash because
of limitations of the ext2 partition format, and to make it all a little
more maneagable -- so apache*.deb will be in pool/a/apache/). -->
A: Poolã¯ãƒ‘ッケージを dists/unstable/main/binary-arch/section/ ã‹ã‚‰
Debianã®ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚„アーã‚テクãƒãƒ£ã§åˆ†å‰²ã™ã‚‹ã“ã¨ãªãパッケージã®å…¨ã¦ã‚’
å«ã‚€ pool/ディレクトリã«ç§»å‹•ã—ã¾ã™ã€‚(パッケージã¯å®Ÿéš›ã«ã¯ã€2段階ã®
ãƒãƒƒã‚·ãƒ¥ã‚’使ã£ã¦ã‚µãƒ–ディレクトリã«åˆ†å‰²ã•ã‚Œã¦ã„ã¾ã™ã€‚ã“ã‚Œã¯
ext2パーティションフォーマットã®é™ç•Œã®ãŸã‚ã¨ç®¡ç†ã—ã‚„ã™ãã™ã‚‹ãŸã‚ã§ã™ã€‚
apache*.deb 㯠pool/a/apache/ 以下ã«ãŠã‹ã‚Œã‚‹ã“ã¨ã«ãªã‚Šã¾ã™ã€‚)</dd>
<dt><!-- Q: You said apt will cope with this change. Will anything else break
though? -->
Q: aptã¯ã“ã®å¤‰æ›´ã«ã‚‚対応ã™ã‚‹ã¨ã„ã†è©±ã§ã—ãŸãŒã€ãれ以外ã®ã‚‚ã®ã‚‚
å•é¡Œãªã使ã„続ã‘ã‚‹ã“ã¨ãŒã§ãã¾ã™ã‹?</dt>
<dd><!-- A: It is expected that some things will probably break. Some mirroring
scripts will surely not cope properly with the pool and will have to be
fixed (some pool-aware partial mirroring scripts have already been
written). debian-cd will likewise probably need to be taught about pools
before it can be used to create CD's of woody. Finally, if you're used
to navigating the debian archive by hand, you will need to learn to look
for packages in the new location. -->
A: ã„ãã¤ã‹ã®å•é¡ŒãŒãŠã“ã‚‹ã¨æ€ã‚ã‚Œã¾ã™ã€‚ミラースクリプトã«ã‚ˆã£ã¦ã¯pool
ã«å¯¾æŠ—ã™ã‚‹ã“ã¨ãŒã§ãã¦ãªã„ã¯ãšã§ã™ã€‚ãれらã¯ç›´ã•ãªã„ã¨ã„ã‘ã¾ã›ã‚“。
(poolã«å¯¾å¿œã—ãŸä¸€éƒ¨ã‚’ミラーã™ã‚‹ã‚¹ã‚¯ãƒªãƒ—トã¯æ—¢ã«æ›¸ã‹ã‚Œã¦ã„ã¾ã™)
woodyã®CDを生æˆã™ã‚‹ã®ã«ä½¿ã‚れるå‰ã«debian-cdã‚‚ãŠãらãpoolã«å¯¾å¿œã™ã‚‹
å¿…è¦ãŒã‚ã‚‹ã§ã—ょã†ã€‚最後ã«ã€ã‚‚ã—Debianアーカイブを自分ã§è¦‹ã¦ã„ã‚‹ã®ãªã‚‰
æ–°ã—ã„å ´æ‰€ã«ã‚るパッケージを見るã“ã¨ã‚’覚ãˆã‚‹å¿…è¦ãŒã‚ã‚‹ã§ã—ょã†ã€‚</dd>
<dt><!-- Q: Where can I get a working partial mirror script? -->
Q: ãã®ä¸€éƒ¨ã‚’ミラーã™ã‚‹ã‚¹ã‚¯ãƒªãƒ—トã¯ã©ã“ã‹ã‚‰å…¥æ‰‹ã§ãã‚‹ã‚“ã§ã™ã‹?</dt>
<dd><!-- A: http://lists.debian.org/debian-devel-0011/msg01827.html contains one
such script to mirror using rsync. -->
A: http://lists.debian.org/debian-devel-0011/msg01827.html ã«
rsyncã‚’ã¤ã‹ã£ãŸãã®ã‚ˆã†ãªãƒŸãƒ©ãƒ¼ã‚’ã™ã‚‹ã‚¹ã‚¯ãƒªãƒ—トã®ä¸€ä¾‹ãŒã‚ã‚Šã¾ã™ã€‚</dd>
<dt><!-- Q: What about dpkg -BORGiE? -->
Q: dpkg -BORGiE ã¯ã©ã†ãªã‚Šã¾ã™?<br>
<!-- Q: I use <ancient pre-apt dselect access method> ... -->
Q: apt以å‰ã®dselectメソッドアクセスを使ã£ã¦ã„ãŸã‚“ã ã‘ã©â€¦</dt>
<dd><!-- A: dpkg -BORGiE will continue to work for stable only (because there will be
links from the old stable tree into the pool as necessary). Other ancient
pre-apt dselect access methods may break on poolized unstable as well. If
you're still using this stuff, it's past time to take a look at apt.
The dpkg-ftp access method should continue to work, and none of this stuff
has had much testing -- you may luck out and find some of it continues to
work. -->
A: dpkg -BORGiE 㯠stable ã ã‘ã§ä½¿ã†ã“ã¨ãŒã§ãã‚‹ã§ã—ょã†ã€‚
(å¤ã„stableツリーã‹ã‚‰poolã¸å¿…è¦ã«å¿œã˜ã¦ãƒªãƒ³ã‚¯ã•ã‚Œã‚‹ã‹ã‚‰ã§ã™)
ä»–ã® apt以å‰ã®dselectアクセスメソッド㯠pool化ã•ã‚ŒãŸunstableã§ä½¿ã†ã“ã¨ãŒ
ã§ããªã„ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。もã—ã¾ã ãã‚“ãªã‚‚ã®ã‚’使ã£ã¦ã‚‹ã®ãªã‚‰ã€aptã«æ³¨ç›®ã™ã‚‹
ã®ã¯éŽåŽ»ã®ã“ã¨ã ã¨ã„ã£ã¦ãŠãã¾ã—ょã†ã€‚dpkg-ftpアクセスメソッドã¯ã¾ã
使ãˆã‚‹ã¯ãšã§ã™ãŒã€ã»ã¨ã‚“ã©ãƒ†ã‚¹ãƒˆã•ã‚Œã¦ã¾ã›ã‚“。ã†ã¾ãã„ãã‹ã‚‚ã—ã‚Œã¾ã›ã‚“ãŒ
ãれらãŒå‹•ã続ã方法をã¿ã¤ã‘ãªã„ã¨ã„ã‘ãªã„ã§ã—ょã†ã€‚</dd>
<dt><!-- Q: I don't see <package> in the pool directory yet. -->
Q: poolディレクトリ㫠<package> ãŒã¾ã ãªã„よã†ã§ã™ãŒã€‚</dt>
<dd><!-- A: To prevent a massive hit on the Debian mirror network, we are not moving
packages over to the pool all in one go. Instead, as each new or updated
package is installed from Incoming, it will be placed in the pool.
Eventually we will begin moving other packages over to the pool in small
groups each day, until eventually everything will be in the pool. -->
A: Debianミラーãƒãƒƒãƒˆãƒ¯ãƒ¼ã‚¯ã®å½±éŸ¿ã‚’ãŠã•ãˆã‚‹ãŸã‚ã«ã€ãƒ‘ッケージã®poolã¸ã®ç§»å‹•ã‚’
一気ã«ã¯ã—ã¾ã›ã‚“ã§ã—ãŸã€‚ãã®ã‹ã‚ã‚Šã«æ–°è¦ãŠã‚ˆã³æ›´æ–°ã•ã‚ŒãŸãƒ‘ッケージãŒ
Incomingã‹ã‚‰ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã‚‹æ™‚ã« pool ディレクトリã«ãŠã‹ã‚Œã‚‹ã“ã¨ã«
ãªã‚Šã¾ã™ã€‚ãã®ã†ã¡ã« å…¨ã¦ã®ãƒ‘ッケージãŒpoolã«ç§»å‹•ã™ã‚‹ã¾ã§ã€æ¯Žæ—¥
å°ã•ãªã‚°ãƒ«ãƒ¼ãƒ—ã«ã‚ã‘ã¦ãƒ‘ッケージをpoolã«ç§»å‹•ã—ã¦ã„ãã¨æ€ã„ã¾ã™ã€‚</dd>
<dt><!-- Q: How does apt cope with pools automatically, anyhow? -->
Q: aptã¯ã©ã†ã‚„ã£ã¦poolã«è‡ªå‹•çš„ã«å¯¾å¿œã—ã¦ã‚‹ã®?</dt>
<dd><!-- A: Apt uses the Filename: field of a Packages file to tell it what .deb to
download. Before pools, this field contained something like
"dists/unstable/main/binary-i386/web/apache.deb". Once the package moves
into the pool, the value is changed to "pool/main/a/apache/apache.deb",
and apt happily downloads the deb from the new location. Similar changes
in the Sources file keep apt-get source working too. The Packages files
remain in the same directory they have always been in, so apt continues
to find them. -->
A: apt㯠ã©ã®.debをダウンãƒãƒ¼ãƒ‰ã™ã¹ãã‹ã¨ã„ã†æƒ…å ±ã‚’ Packagesファイルã®
Filename: フィールドを使ã£ã¦ã„ã¾ã™ã€‚pool以å‰ã¯ã€ã“ã®ãƒ•ã‚£ãƒ¼ãƒ«ãƒ‰ã¯
"dists/unstable/main/binary-i386/web/apache.deb" ã¨ã„ã£ãŸã‹ã‚“ã˜ã§ã—ãŸã€‚
パッケージãŒpoolã«ç§»å‹•ã™ã‚‹ã¨ã€ãã®å€¤ã¯ "pool/main/a/apache/apache.deb"
ã«ãªã‚Šã¾ã™ã€‚ã§ã€apt ã¯æ–°ã—ã„å ´æ‰€ã‹ã‚‰debをダウンãƒãƒ¼ãƒ‰ã§ãã‚‹ã‚ã‘ã§ã™ã€‚
Sourcesファイルã®åŒã˜ã‚ˆã†ãªå¤‰æ›´ã‚‚ apt-get source ã§å•é¡Œãªã使ã„ã¤ã¥ã‘ã‚‹
ã“ã¨ãŒã§ãã¾ã™ã€‚Packagesファイルã¯ä»Šã¾ã§ã‚ã£ãŸå ´æ‰€ã«ã‚り続ã‘ã‚‹ã®ã§
apt ã¯ãれらを見ã¤ã‘ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚</dd>
<dt><!-- Q: I uploaded a package and it was rejected because of a file overwrite
problem. -->
Q: パッケージをアップãƒãƒ¼ãƒ‰ã—ãŸã‚‰ file overwriteã®å•é¡Œã§ãƒªã‚¸ã‚§ã‚¯ãƒˆã•ã‚Œã¾ã—ãŸã€‚</dt>
<dd><!-- A: You probably built your package with dpkg-buildpackage -sa, asking for
a new copy of the source tarball to be installed. The design and
implementation of pools does not allow a file to be replaced with
another file of the same name. This has its advantages -- it prevents
Debian from inaverdently violating the GPL, and it makes implementation
easier and more robust. But it breaks -sa. The only fix currently is
to increase the upstream version number of your package. -->
A: ãŸã¶ã‚“パッケージを新ã—ã„ source tarball をインストールã•ã‚Œã‚‹ã‚ˆã†ã«
ã™ã‚‹ãŸã‚ã« dpkg-buildpackage -sa ã¨ã‹ã§ãƒ‘ッケージをビルドã—ãŸã®ã§ã—ょã†ã€‚
poolã®è¨è¨ˆã¨å®Ÿè£…ã¯åŒã˜åå‰ã§åˆ¥ã®å†…容ã«ãŠãã‹ãˆã‚‹ã“ã¨ã‚’許ã—ã¦ã„ã¾ã›ã‚“。
ã“ã‚Œã¯æ¬¡ã®ã‚ˆã†ãªåˆ©ç‚¹ãŒã‚ã‚Šã¾ã™ã€‚DebianãŒã¾ã¡ãŒã£ã¦GPLé•åã—ãŸã‚Šã—ãªã„よã†ã«
ã§ãã¾ã™ã€‚ãã®å®Ÿè£…をより簡å˜ã§ã—ã£ã‹ã‚Šã—ãŸã‚‚ã®ã«ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚
ã—ã‹ã— -sa ãŒã†ã¾ãã„ã‹ãªããªã‚Šã¾ã™ã€‚ç¾åœ¨ã®å¯¾å‡¦æ–¹æ³•ã¨ã—ã¦ã¯
パッケージã®upstreamãƒãƒ¼ã‚¸ãƒ§ãƒ³ã‚’上ã’ã‚‹ã“ã¨ã§ã™ã€‚</dd>
</dl>
<PRE>
-- Joey Hess <joeyh@debian.org>
-- Fumitoshi UKAI <ukai@debian.or.jp> 日本語訳
</PRE>
</body>
</html>
--
# (ã‚ãŸã—ã®ãŠã†ã¡ã¯æµœæ¾å¸‚ã€ã€Œå¤œã®ãŠè“åã€ã§æœ‰åã•ã€‚)
<kgh12351@xxxxxxxxxxx> : Taketoshi Sano (ä½é‡Žã€€æ¦ä¿Š)