[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-devel:14766] Re: build non-US package



ã‚€ã¤ã¿ã§ã™ã€‚

>>>>> In [debian-devel : No.14762] 
>>>>>	Matanuki@xxxxxxxxxx wrote:
>> non-US packageを作æˆã™ã‚‹éš›ã®è©³ç´°ã«ã¤ã„ã¦æ•™ãˆã¦ä¸‹ã•ã„。
>>
>> ipv6calc-0.30㌠libsslã«dependã™ã‚‹ã‚ˆã†ã«ãªã‚Šã€
>> debian/controlã®Section:行を main/netã‹ã‚‰ non-US/mainã«å¤‰æ›´ã—ã¦
>> dpkg-buildpackage -uc -usã—ã¾ã—ãŸã€‚

 処置ã¨ã—ã¦ã¯æ­£ã—ã„ã¨æ€ã„ã¾ã™ã€‚

  ã‚‚ã¨ã‚‚㨠main/net ã¨æ›¸ã„ã¦ã„ãŸã®ã ã¨ã™ã‚‹ã¨ã€ãã‚Œã¯é–“é•ã£ã¦ã„ãŸ
ã¨ã„ã†æ°—ã‚‚ã—ã¾ã™ãŒã€‚

---- Debian Policy Manual より

2.1.7. Subsections
------------------

     The packages in the sections _main_, _contrib_ and _non-free_ are
     grouped further into _subsections_ to simplify handling.

     The section and subsection for each package should be specified in the
     package's `Section' control record.  However, the maintainer of the
     Debian archive may override this selection to ensure the consistency
     of the Debian distribution.  The `Section' field should be of the
     form:
        * _subsection_ if the package is in the _main_ section,
        * _section/subsection_ if the package is in the _contrib_ or
          _non-free_ section, and
        * `non-US', `non-US/contrib' or `non-US/non-free' if the package is
          in _non-US/main_, _non-US/contrib_ or _non-US/non-free_
          respectively.
(以下çœç•¥)

>> 㨠Section: 㯠non-US/mainã«ãªã£ã¦ã„ã‚‹ã®ã§ã™ãŒã€
>> ã“ã®ãƒ‘ッケージを dpkg -i ipv6calc_0.30-1_i386.debã—ãŸå¾Œã«
>> dpkg -s ipv6calcã™ã‚‹ã¨
>> [mguuji@chiaki:~/lab]$ dpkg -s ipv6calc
>> Package: ipv6calc
>> Status: install ok installed
>> Priority: optional
>> Section: unknown
>> Installed-Size: 180
>> (以下略)
>> 㨠Section㌠unknownã«ãªã£ã¦ã—ã¾ã„ã¾ã™ã€‚
>> ãªãœã§ã—ょã†?

 ä»¥å‰ Section: ㌠unknown ã«ãªã£ãŸã¾ã¾ã® åŒåã®ãƒ‘ッケージを
手元ã§ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã—ãŸã“ã¨ãŒã‚ã‚‹å¯èƒ½æ€§ã¯ãªã„ã§ã™ã‹?

 dpkg ã®ãƒã‚°(仕様ã§ã¯ãªã„ã¨æ€ã†ã‚“ã ã‘ã©..)ã®ã‚ˆã†ãªæ°—ã‚‚ã™ã‚‹ã‚“ã§ã™ãŒã€
dpkg ãŒä½¿ã£ã¦ã„ã‚‹ db ã® Section フィールドã®å€¤ã€ãƒ‘ッケージを purge
ã—よã†ãŒ upgrade ã—よã†ãŒ 最åˆã«ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚ŒãŸæ™‚ã®çŠ¶æ…‹ã‚’ä¿æŒ
ã—ã¦ã—ã¾ã†ã‚ˆã†ã§ã™ã€‚

 手元ã§ãƒ†ã‚¹ãƒˆã—ãŸæ‰‹é †ã¯ä»¥ä¸‹ã§ã™ã€‚

 1) Section: non-US/main ã¨ã—ãŸã¦ãã¨ãƒ¼ãªãƒ‘ッケージをã¤ãã£ãŸ
    mope_1-1.deb ã¨ã—ã¾ã—ょã†ã€‚
 3) dpkg -s mope 㧠db ã«ãªã„ã®ã‚’確èª
 4) dpkg -i mope_1.1.deb
 5) dpkg -s mope

iceman:~/tmp$dpkg -s mope
Package: mope
Status: install ok installed
Priority: optional
Section: non-US/main
Installed-Size: 52
Maintainer: ISHIKAWA Mutsumi <ishikawa@xxxxxxxxxxx>
Version: 1-1
(以下çœç•¥)

 6) Section: non-US/non-free ã«å¤‰æ›´ã—ã¦(ãƒãƒ¼ã‚¸ãƒ§ãƒ³å¤‰æ›´ã›ãšã«)
   åŒä¸€ã®ãƒ‘ッケージ(mope_1-1.deb)を作æˆ
 7) dpkg -i mope_1-1.deb
 8) dpkg -s mope

iceman:~/tmp$dpkg -s mope
Package: mope
Status: install ok installed
Priority: optional
Section: non-US/main
Installed-Size: 52
Maintainer: ISHIKAWA Mutsumi <ishikawa@xxxxxxxxxxx>
Version: 1-1
(以下çœç•¥)

  ※ dpkg -s ã®çµæžœ Section: ã‹ã‚ã£ã¦ã„ãªã„...

 9) dpkg --purge mope
10) dpkg -s mope

iceman:~/tmp$dpkg -s mope
Package: mope
Status: purge ok not-installed
Priority: optional
Section: non-US/main

  ※ purge ã•ã‚ŒãŸãŒ Section: å¤ã„ã¾ã¾

 11) Section: non-US/non-free 㧠mope_1-2.deb を作æˆ
 12) dpkg -i mope_1-2.deb
 13) dpkg -s mope

iceman:~/tmp$dpkg -s mope
Package: mope
Status: install ok installed
Priority: optional
Section: non-US/main
Installed-Size: 52
Maintainer: ISHIKAWA Mutsumi <ishikawa@xxxxxxxxxxx>
Version: 1-2
(以下略)

  ※ Section: æ›´æ–°ã•ã‚Œãš


ã¨ã„ã†ã“ã¨ãªã‚“ã§ã€ã“ã® ML ã ã¨æ˜Žç¢ºãªå›žç­”ã§ããªã„ã¨æ€ã‚れるã®ã§
debian-dpkg@lists.debian.org or debian-devel@lists.debian.org
ã®æ–¹ã§ã€è³ªå•ã—ã¦ã¿ã¦ãã ã•ã„(or ã„ããªã‚Š BTS ã«ã¤ã£ã“ã‚“ã§ã—ã¾ã£ã¦ã‚‚ã„
ã„æ°—ã‚‚ã—ã¾ã™ãŒ ^^;;)

-- 
ã„ã—ã‹ã‚ ã‚€ã¤ã¿
 <ishikawa@xxxxxxxxxxx>, <ishikawa@debian.org>, <ishikawa@xxxxxxxxxx>