From 3f4c4595650417d6a80c6c08c036032df149dd13 Mon Sep 17 00:00:00 2001 From: Christian Perrier Date: Mon, 13 Feb 2006 18:46:22 +0000 Subject: Brazilian Portuguese translation update * po/ca.po: Completed to 512t. Closes: #352419 --- po/ChangeLog | 4 ++ po/pt_BR.po | 132 +++++++++++++++++++++++++++++------------------------------ 2 files changed, 69 insertions(+), 67 deletions(-) diff --git a/po/ChangeLog b/po/ChangeLog index 1f8a64952..bbd8f3426 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -1,3 +1,7 @@ +2006-02-13 Andre Luis Lopes + + * ca.po: Completed to 512t. Closes: #352419 + 2006-02-06 Jordi Mallach * ca.po: Completed to 512t. Closes: #351592 diff --git a/po/pt_BR.po b/po/pt_BR.po index fe31365e0..3f7df25d0 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: apt\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-01-20 14:01+0100\n" -"PO-Revision-Date: 2005-06-16 10:24-0300\n" +"PO-Revision-Date: 2006-02-11 17:57-0200\n" "Last-Translator: André Luís Lopes \n" "Language-Team: Debian-BR Project \n" "MIME-Version: 1.0\n" @@ -232,17 +232,15 @@ msgstr "" #: cmdline/apt-cdrom.cc:78 msgid "Please provide a name for this Disc, such as 'Debian 2.1r1 Disk 1'" msgstr "" +"Por favor, forneça um nome para este Disco, como 'Debian 2.1r1 Disco 1'" #: cmdline/apt-cdrom.cc:93 -#, fuzzy msgid "Please insert a Disc in the drive and press enter" -msgstr "" -"Troca de mídia: Por favor insira o disco nomeado '%s' no drive '%s' e " -"pressione enter\n" +msgstr "Por favor, insira um Disco no leitor e pressione enter" #: cmdline/apt-cdrom.cc:117 msgid "Repeat this process for the rest of the CDs in your set." -msgstr "" +msgstr "Pepita este processo para o restante dos CDs em seu conjunto." #: cmdline/apt-config.cc:41 msgid "Arguments not in pairs" @@ -706,13 +704,13 @@ msgid "%s (due to %s) " msgstr "%s (por causa de %s) " #: cmdline/apt-get.cc:546 -#, fuzzy msgid "" "WARNING: The following essential packages will be removed.\n" "This should NOT be done unless you know exactly what you are doing!" msgstr "" -"AVISO: Os pacotes essenciais a seguir serão removidos\n" -"Isso NÃO deve ser feito a menos que você saiba exatamente o que está fazendo!" +"AVISO: Os pacotes essenciais a seguir serão removidos.\n" +"Isso NÃO deveria ser feito a menos que você saiba exatamente o que " +"você está fazendo !" #: cmdline/apt-get.cc:577 #, c-format @@ -773,7 +771,7 @@ msgstr "AVISO : Os pacotes a seguir n #: cmdline/apt-get.cc:693 msgid "Authentication warning overridden.\n" -msgstr "" +msgstr "Aviso de autenticação sobrescrito.\n" #: cmdline/apt-get.cc:700 msgid "Install these packages without verification [y/N]? " @@ -790,15 +788,15 @@ msgstr "H #: cmdline/apt-get.cc:755 msgid "Internal error, InstallPackages was called with broken packages!" msgstr "" +"Erro Interno, Install Packages foi chamado com pacotes quebrados !" #: cmdline/apt-get.cc:764 msgid "Packages need to be removed but remove is disabled." msgstr "Pacotes precisam ser removidos mas a remoção está desabilitada." #: cmdline/apt-get.cc:775 -#, fuzzy msgid "Internal error, Ordering didn't finish" -msgstr "Erro Interno ao adicionar um desvio" +msgstr "Erro Interno, Ordenação não finalizou" #: cmdline/apt-get.cc:791 cmdline/apt-get.cc:1809 cmdline/apt-get.cc:1842 msgid "Unable to lock the download directory" @@ -812,6 +810,7 @@ msgstr "A lista de fontes n #: cmdline/apt-get.cc:816 msgid "How odd.. The sizes didn't match, email apt@packages.debian.org" msgstr "" +"Que estranho .. Os tamanhos não batem, informe apt@packages.debian.org" #: cmdline/apt-get.cc:821 #, c-format @@ -835,9 +834,9 @@ msgid "After unpacking %sB disk space will be freed.\n" msgstr "Depois de desempacotar, %sB de espaço em disco serão liberados.\n" #: cmdline/apt-get.cc:846 cmdline/apt-get.cc:1980 -#, fuzzy, c-format +#, c-format msgid "Couldn't determine free space in %s" -msgstr "Desculpe, você não tem espaço suficiente em %s" +msgstr "Não foi possível determinar o espaço livre em %s" #: cmdline/apt-get.cc:849 #, c-format @@ -853,13 +852,13 @@ msgid "Yes, do as I say!" msgstr "Sim, faça o que eu digo!" #: cmdline/apt-get.cc:868 -#, fuzzy, c-format +#, c-format msgid "" "You are about to do something potentially harmful.\n" "To continue type in the phrase '%s'\n" " ?] " msgstr "" -"Você está prestes a fazer algo potencialmente destruidor\n" +"Você está prestes a fazer algo potencialmente destruidor.\n" "Para continuar digite a frase '%s'\n" " ?] " @@ -1076,9 +1075,8 @@ msgid "Done" msgstr "Pronto" #: cmdline/apt-get.cc:1777 cmdline/apt-get.cc:1785 -#, fuzzy msgid "Internal error, problem resolver broke stuff" -msgstr "Erro Interno, AllUpgrade quebrou as coisas" +msgstr "Erro Interno, o solucionador de problemas quebrou coisas" #: cmdline/apt-get.cc:1885 msgid "Must specify at least one package to fetch source for" @@ -1090,9 +1088,9 @@ msgid "Unable to find a source package for %s" msgstr "Impossível encontrar um pacote fonte para %s" #: cmdline/apt-get.cc:1959 -#, fuzzy, c-format +#, c-format msgid "Skipping already downloaded file '%s'\n" -msgstr "Pulando desempacotamento de pacote fonte já desempacotado em %s\n" +msgstr "Omitindo arquivo já obtido '%s'\n" #: cmdline/apt-get.cc:1983 #, c-format @@ -1131,7 +1129,7 @@ msgstr "Comando de desempacotamento '%s' falhou.\n" #: cmdline/apt-get.cc:2069 #, c-format msgid "Check if the 'dpkg-dev' package is installed.\n" -msgstr "" +msgstr "Confira se o pacote dpkg-dev está instalado.\n" #: cmdline/apt-get.cc:2086 #, c-format @@ -1454,7 +1452,7 @@ msgid "Duplicate conf file %s/%s" msgstr "Arquivo de confgiuração duplicado %s/%s" #: apt-inst/dirstream.cc:45 apt-inst/dirstream.cc:50 apt-inst/dirstream.cc:53 -#, fuzzy, c-format +#, c-format msgid "Failed to write file %s" msgstr "Falha ao gravar arquivo %s" @@ -1602,7 +1600,6 @@ msgid "Internal error adding a diversion" msgstr "Erro Interno ao adicionar um desvio" #: apt-inst/deb/dpkgdb.cc:383 -#, fuzzy msgid "The pkg cache must be initialized first" msgstr "O cache de pacotes deve ser inicializado primeiro" @@ -1677,9 +1674,8 @@ msgid "Unable to unmount the CD-ROM in %s, it may still be in use." msgstr "Impossível desmontar o CD-ROM em %s, o mesmo ainda pode estar em uso." #: methods/cdrom.cc:169 -#, fuzzy msgid "Disk not found." -msgstr "Arquivo não encontrado" +msgstr "Disco não encontrado." #: methods/cdrom.cc:177 methods/file.cc:79 methods/rsh.cc:264 msgid "File not found" @@ -1905,40 +1901,43 @@ msgstr "Imposs #: methods/gpgv.cc:92 msgid "E: Argument list from Acquire::gpgv::Options too long. Exiting." msgstr "" +"E: Lista de argumentos de Acquire::gpgv::Options muito extensa. Saíndo." #: methods/gpgv.cc:191 msgid "" "Internal error: Good signature, but could not determine key fingerprint?!" msgstr "" +"Erro interno : Assintura boa, mas não foi possível determinar a " +"impressão digital da chave ?!" #: methods/gpgv.cc:196 msgid "At least one invalid signature was encountered." -msgstr "" +msgstr "Ao menos uma assinatura inválida foi encontrada." #. FIXME String concatenation considered harmful. #: methods/gpgv.cc:201 -#, fuzzy msgid "Could not execute " -msgstr "Não foi possível obter trava %s" +msgstr "Não foi possível executar " #: methods/gpgv.cc:202 msgid " to verify signature (is gnupg installed?)" -msgstr "" +msgstr " ao verificar assinatura (o gnupg está instalado ?)" #: methods/gpgv.cc:206 msgid "Unknown error executing gpgv" -msgstr "" +msgstr "Erro desconhecido executando gpgv" #: methods/gpgv.cc:237 -#, fuzzy msgid "The following signatures were invalid:\n" -msgstr "Os pacotes extra a seguir serão instalados:" +msgstr "As seguintes assinaturas foram inválidas :\n" #: methods/gpgv.cc:244 msgid "" "The following signatures couldn't be verified because the public key is not " "available:\n" msgstr "" +"As assinaturas a seguir não puderam ser verificadas devido a chave " +"pública não estar disponível :\n" #: methods/gzip.cc:57 #, c-format @@ -2363,7 +2362,7 @@ msgid "Malformed line %u in source list %s (type)" msgstr "Linha malformada %u no arquivo de fontes %s (tipo)" #: apt-pkg/sourcelist.cc:244 -#, fuzzy, c-format +#, c-format msgid "Type '%s' is not known on line %u in source list %s" msgstr "Tipo '%s' não é conhecido na linha %u na lista de fontes %s" @@ -2422,7 +2421,7 @@ msgstr "Diret #: apt-pkg/acquire.cc:821 #, c-format msgid "Downloading file %li of %li (%s remaining)" -msgstr "" +msgstr "Fazendo o download do arquivo %li de %li (%s restantes)" #: apt-pkg/acquire-worker.cc:113 #, c-format @@ -2435,12 +2434,11 @@ msgid "Method %s did not start correctly" msgstr "Método %s não iniciou corretamente" #: apt-pkg/acquire-worker.cc:377 -#, fuzzy, c-format +#, c-format msgid "Please insert the disc labeled: '%s' in the drive '%s' and press enter." msgstr "" -"Troca de mídia: Por favor insira o disco nomeado\n" -" '%s'\n" -"no drive '%s' e pressione enter\n" +"Por favor, insira o disco nomeado : '%s' no leitor '%s' e pressione " +"enter." #: apt-pkg/init.cc:120 #, c-format @@ -2490,37 +2488,37 @@ msgid "Cache has an incompatible versioning system" msgstr "O Cache possui um sistema de versões incompatível" #: apt-pkg/pkgcachegen.cc:117 -#, fuzzy, c-format +#, c-format msgid "Error occurred while processing %s (NewPackage)" msgstr "Um erro ocorreu processando %s (NovoPacote)" #: apt-pkg/pkgcachegen.cc:129 -#, fuzzy, c-format +#, c-format msgid "Error occurred while processing %s (UsePackage1)" msgstr "Um erro ocorreu processando %s (UsePacote1)" #: apt-pkg/pkgcachegen.cc:150 -#, fuzzy, c-format +#, c-format msgid "Error occurred while processing %s (UsePackage2)" msgstr "Um erro ocorreu processando %s (UsePacote2)" #: apt-pkg/pkgcachegen.cc:154 -#, fuzzy, c-format +#, c-format msgid "Error occurred while processing %s (NewFileVer1)" msgstr "Um erro ocorreu processando %s (NovoArquivoVer1)" #: apt-pkg/pkgcachegen.cc:184 -#, fuzzy, c-format +#, c-format msgid "Error occurred while processing %s (NewVersion1)" msgstr "Um erro ocorreu processando %s (NovaVersão1)" #: apt-pkg/pkgcachegen.cc:188 -#, fuzzy, c-format +#, c-format msgid "Error occurred while processing %s (UsePackage3)" msgstr "Um erro ocorreu processando %s (UsePacote3)" #: apt-pkg/pkgcachegen.cc:192 -#, fuzzy, c-format +#, c-format msgid "Error occurred while processing %s (NewVersion2)" msgstr "Um erro ocorreu processando %s (NovaVersão2)" @@ -2541,14 +2539,14 @@ msgstr "" "Ops, você excedeu o número de dependências que este APT é capaz de suportar." #: apt-pkg/pkgcachegen.cc:241 -#, fuzzy, c-format +#, c-format msgid "Error occurred while processing %s (FindPkg)" -msgstr "Um erro ocorreu processando %s (FindPkg)" +msgstr "Um erro ocorreu processando %s (EncontrarPacote)" #: apt-pkg/pkgcachegen.cc:254 -#, fuzzy, c-format +#, c-format msgid "Error occurred while processing %s (CollectFileProvides)" -msgstr "Um erro ocorreu processando %s (CollectFileProvides)" +msgstr "Um erro ocorreu processando %s (ColetarArquivoFornece)" #: apt-pkg/pkgcachegen.cc:260 #, c-format @@ -2579,7 +2577,7 @@ msgstr "MD5Sum incorreto" #: apt-pkg/acquire-item.cc:645 msgid "There are no public key available for the following key IDs:\n" -msgstr "" +msgstr "Não existem chaves públicas para os seguintes IDs de chaves :\n" #: apt-pkg/acquire-item.cc:758 #, c-format @@ -2716,54 +2714,54 @@ msgstr "" "combinam\n" #: apt-pkg/deb/dpkgpm.cc:358 -#, fuzzy, c-format +#, c-format msgid "Preparing %s" -msgstr "Abrindo %s" +msgstr "Preparando %s" #: apt-pkg/deb/dpkgpm.cc:359 -#, fuzzy, c-format +#, c-format msgid "Unpacking %s" -msgstr "Abrindo %s" +msgstr "Desempacotando %s" #: apt-pkg/deb/dpkgpm.cc:364 -#, fuzzy, c-format +#, c-format msgid "Preparing to configure %s" -msgstr "Abrindo arquivo de configuração %s" +msgstr "Preparando para configurar %s" #: apt-pkg/deb/dpkgpm.cc:365 -#, fuzzy, c-format +#, c-format msgid "Configuring %s" -msgstr "Conectando a %s" +msgstr "Configurando %s" #: apt-pkg/deb/dpkgpm.cc:366 -#, fuzzy, c-format +#, c-format msgid "Installed %s" -msgstr " Instalado: " +msgstr "%s instalado" #: apt-pkg/deb/dpkgpm.cc:371 #, c-format msgid "Preparing for removal of %s" -msgstr "" +msgstr "Preparando para a remoção de %s" #: apt-pkg/deb/dpkgpm.cc:372 -#, fuzzy, c-format +#, c-format msgid "Removing %s" -msgstr "Abrindo %s" +msgstr "Removendo %s" #: apt-pkg/deb/dpkgpm.cc:373 -#, fuzzy, c-format +#, c-format msgid "Removed %s" -msgstr "Recomenda" +msgstr "%s removido" #: apt-pkg/deb/dpkgpm.cc:378 #, c-format msgid "Preparing for remove with config %s" -msgstr "" +msgstr "Preparando para remoção de %s e sua configuração" #: apt-pkg/deb/dpkgpm.cc:379 #, c-format msgid "Removed with config %s" -msgstr "" +msgstr "%s e sua configuração removidos" #: methods/rsh.cc:330 msgid "Connection closed prematurely" -- cgit v1.2.3-70-g09d2 From 03c5fc0c2df1e67a4dedd4ef6a778a9ea6b46629 Mon Sep 17 00:00:00 2001 From: Christian Perrier Date: Tue, 14 Feb 2006 13:19:51 +0000 Subject: Italian translation update * po/it.po: Completed to 512t. Closes: #352803 --- po/ChangeLog | 4 ++++ po/it.po | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/po/ChangeLog b/po/ChangeLog index bbd8f3426..36b900706 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -1,3 +1,7 @@ +2006-02-14 Samuele Giovanni Tonon + + * it.po: Completed to 512t. Closes: #352803 + 2006-02-13 Andre Luis Lopes * ca.po: Completed to 512t. Closes: #352419 diff --git a/po/it.po b/po/it.po index cf8541d13..086e2ab53 100644 --- a/po/it.po +++ b/po/it.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: apt 0.5.5\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-01-20 14:01+0100\n" -"PO-Revision-Date: 2006-01-10 18:21+0100\n" +"POT-Creation-Date: 2006-01-20 14:06+0100\n" +"PO-Revision-Date: 2006-02-14 11:41+0100\n" "Last-Translator: Samuele Giovanni Tonon \n" "Language-Team: Italian \n" "MIME-Version: 1.0\n" @@ -1091,7 +1091,7 @@ msgid "Unable to find a source package for %s" msgstr "Impossibile trovare un pacchetto sorgente per %s" #: cmdline/apt-get.cc:1959 -#, fuzzy, c-format +#, c-format msgid "Skipping already downloaded file '%s'\n" msgstr "Si è saltato il file già scaricato '%s'\n" @@ -2590,6 +2590,7 @@ msgstr "Somma MD5 non corrispondente" #: apt-pkg/acquire-item.cc:645 msgid "There are no public key available for the following key IDs:\n" msgstr "" +"Non esiste una chiave pubblica disponibile per i seguenti ID di chiave:\n" #: apt-pkg/acquire-item.cc:758 #, c-format -- cgit v1.2.3-70-g09d2 From 5d909e1fc20773b48f04a3f20510f0206be0981f Mon Sep 17 00:00:00 2001 From: Christian Perrier Date: Sun, 19 Feb 2006 17:42:12 +0000 Subject: Japanese manpages translation update --- doc/ja/apt-cache.ja.8.sgml | 638 --------------------- doc/ja/apt-cache.ja.8.xml | 701 +++++++++++++++++++++++ doc/ja/apt-cdrom.ja.8.sgml | 230 -------- doc/ja/apt-cdrom.ja.8.xml | 255 +++++++++ doc/ja/apt-config.ja.8.xml | 165 ++++++ doc/ja/apt-extracttemplates.ja.1.xml | 121 ++++ doc/ja/apt-ftparchive.ja.1.xml | 1019 ++++++++++++++++++++++++++++++++++ doc/ja/apt-get.ja.8.sgml | 857 ---------------------------- doc/ja/apt-get.ja.8.xml | 900 ++++++++++++++++++++++++++++++ doc/ja/apt-key.ja.8.xml | 176 ++++++ doc/ja/apt-secure.ja.8.xml | 374 +++++++++++++ doc/ja/apt-sortpkgs.ja.1.xml | 110 ++++ doc/ja/apt.conf.ja.5.sgml | 785 -------------------------- doc/ja/apt.conf.ja.5.xml | 809 +++++++++++++++++++++++++++ doc/ja/apt.ent.ja | 411 +++++++++----- doc/ja/apt_preferences.ja.5.xml | 940 +++++++++++++++++++++++++++++++ doc/ja/makefile | 56 +- doc/ja/manpage.links | 0 doc/ja/manpage.refs | 4 + doc/ja/sources.list.ja.5.xml | 427 ++++++++++++++ doc/ja/style.ja.xsl | 9 + 21 files changed, 6344 insertions(+), 2643 deletions(-) delete mode 100644 doc/ja/apt-cache.ja.8.sgml create mode 100644 doc/ja/apt-cache.ja.8.xml delete mode 100644 doc/ja/apt-cdrom.ja.8.sgml create mode 100644 doc/ja/apt-cdrom.ja.8.xml create mode 100644 doc/ja/apt-config.ja.8.xml create mode 100644 doc/ja/apt-extracttemplates.ja.1.xml create mode 100644 doc/ja/apt-ftparchive.ja.1.xml delete mode 100644 doc/ja/apt-get.ja.8.sgml create mode 100644 doc/ja/apt-get.ja.8.xml create mode 100644 doc/ja/apt-key.ja.8.xml create mode 100644 doc/ja/apt-secure.ja.8.xml create mode 100644 doc/ja/apt-sortpkgs.ja.1.xml delete mode 100644 doc/ja/apt.conf.ja.5.sgml create mode 100644 doc/ja/apt.conf.ja.5.xml create mode 100644 doc/ja/apt_preferences.ja.5.xml create mode 100644 doc/ja/manpage.links create mode 100644 doc/ja/manpage.refs create mode 100644 doc/ja/sources.list.ja.5.xml create mode 100644 doc/ja/style.ja.xsl diff --git a/doc/ja/apt-cache.ja.8.sgml b/doc/ja/apt-cache.ja.8.sgml deleted file mode 100644 index 020137021..000000000 --- a/doc/ja/apt-cache.ja.8.sgml +++ /dev/null @@ -1,638 +0,0 @@ - - - - -%aptent; - -]> - - - &apt-docinfo; - - - apt-cache - 8 - - - - - apt-cache - - APT ¥ѥ屡¼¥¸Áàºî¥桼¥ƥ£¥ê¥ƥ£ -- ¥­¥ã¥å·¥åÁàºî - - - - - - apt-cache - - - - - add file - gencaches - showpkg pkg - showsrc pkg - stats - dump - dumpavail - unmet - search regex - show pkg - - depends pkg - pkgnames prefix - dotty pkg - policy pkgs - - - - - - ÀâÌÀ</> - <para> -<!-- - <command/apt-cache/ performs a variety of operations on APT's package - cache. <command/apt-cache/ does not manipulate the state of the system - but does provide operations to search and generate interesting output - from the package metadata. ---> - <command/apt-cache/ ¤Ï APT ¤Υѥ屡¼¥¸¥­¥ã¥å·¥å¤ËÂФ·¤Ƥ¤¤í¤¤¤í¤ÊÁàºî¤ò¹Ԥ¤¤ޤ¹¡£ - <command/apt-cache/ ¤ϡ¢¥·¥¹¥ƥà¾õÂ֤ÎÁàºî¤ϹԤ¤¤ޤ»¤󤬡¢ - ¥ѥ屡¼¥¸¤Υ᥿¥ǡ¼¥¿¤è¤긡º÷¤·¤¿¤ꡢ¶½̣¿¼¤¤½ÐÎϤòÀ¸À®¤¹¤ë¤Ȥ¤¤ä¿Áàºî¤ò - Ä󶡤·¤ޤ¹¡£ - <para> -<!-- - Unless the <option/-h/, or <option/-/-help/ option is given one of the - commands below must be present. ---> - <option/-h/ ¤ä <option/--help/ ¤ò½ü¤­¡¢°ʲ¼¤˵󤲤륳¥ޥó¥ɤ¬ɬÍפǤ¹¡£ - <VariableList> - <VarListEntry><Term>add</Term> - <ListItem><Para> -<!-- - <literal/add/ adds the named package index files to the package cache. - This is for debugging only. ---> - <literal/add/ ¤ϥѥ屡¼¥¸¥­¥ã¥å·¥å¤ˡ¢»ØÄꤷ¤¿¥ѥ屡¼¥¸¥¤¥ó¥ǥ寥¹ - ¥ե¡¥¤¥ë¤òÄɲä·¤ޤ¹¡£¥ǥХå°ÀìÍѤǤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>gencaches</Term> - <ListItem><Para> -<!-- - <literal/gencaches/ performs the same opration as - <command/apt-get check/. It builds the source and package caches from - the sources in &sources-list; and from <filename>/var/lib/dpkg/status</>. ---> - <literal/gencaches/ ¤Ï <command/apt-get check/ ¤ÈƱ¤¸ưºî¤òÄ󶡤·¤ޤ¹¡£ - ¤³¤ì¤Ï &sources-list; Æâ¤μèÆÀ¸µ¤È <filename>/var/lib/dpkg/status</> - ¤«¤顢¥½¡¼¥¹¤ȥѥ屡¼¥¸¤Υ­¥ã¥å·¥å¤ò¹½Ãۤ·¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>showpkg</Term> - <ListItem><Para> -<!-- - <literal/showpkg/ displays information about the packages listed on the - command line. Remaining arguments are package names. The available - versions and reverse dependencies of each package listed are listed, as - well as forward dependencies for each version. Forward (normal) - dependencies are those packages upon which the package in question - depends; reverse dependencies are those packages that depend upon the - package in question. Thus, forward dependencies must be satisfied for a - package, but reverse dependencies need not be. - For instance, <command>apt-cache showpkg libreadline2</> would produce - output similar to the following: ---> - <literal/showpkg/ ¤ϡ¢¥³¥ޥó¥ɥ饤¥ó¾å¤ËÎóµ󤷤¿¥ѥ屡¼¥¸¤ξðÊó¤ò - ɽ¼¨¤·¤ޤ¹¡£»Ĥê¤ΰú¿ô¤ϥѥ屡¼¥¸̾¤Ǥ¹¡£ - Îóµ󤷤¿¥ѥ屡¼¥¸¤ˤĤ¤¤ơ¢³ƥС¼¥¸¥ç¥ó¤ΰ͸´ط¸¤òɽ¼¨¤¹¤ë¤褦¤Ë ¡¢ - ͭ¸ú¤ʥС¼¥¸¥ç¥ó¤ÈÈï°Í¸´ط¸¤òÎóµ󤷤ޤ¹¡£ - (Àµ)°Í¸´ط¸¤Ȥϡ¢ÂоݤΥѥ屡¼¥¸¤¬°Í¸¤·¤Ƥ¤¤ë¥ѥ屡¼¥¸¤򤵤·¤ޤ¹¡£ - ¤ޤ¿¡¢Èï°Í¸´ط¸¤Ȥϡ¢ÂоݤΥѥ屡¼¥¸¤˰͸¤·¤Ƥ¤¤ë¥ѥ屡¼¥¸¤򤵤·¤ޤ¹¡£ - ½¾¤äơ¢¥ѥ屡¼¥¸¤ΰ͸´ط¸¤ÏËþ¤¿¤µ¤ʤ±¤ì¤Фʤê¤ޤ»¤󤬡¢ - Èï°Í¸´ط¸¤Ϥ½¤ÎɬÍפϤ¢¤ê¤ޤ»¤ó¡£ - ¼ÂÎã¤Ȥ·¤ơ¢°ʲ¼¤Ë <command>apt-cache showpkg libreadline2</> ¤Î - ½ÐÎϤò·Ǥ²¤ޤ¹¡£ - -<informalexample><programlisting> -Package: libreadline2 -Versions: 2.1-12(/var/state/apt/lists/foo_Packages), -Reverse Depends: - libreadlineg2,libreadline2 - libreadline2-altdev,libreadline2 -Dependencies: -2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null)) -Provides: -2.1-12 - -Reverse Provides: -</programlisting></informalexample> - - <para> -<!-- Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and - ncurses3.0 which must be installed for libreadline2 to work. - In turn, libreadlineg2 and libreadline2-altdev depend on libreadline2. If - libreadline2 is installed, libc5, ncurses3.0, and ldso must also be - installed; libreadlineg2 and libreadline2-altdev do not have to be - installed. For the specific meaning of the remainder of the output it - is best to consult the apt source code. ---> - ¤Ĥޤꡢlibreadline2 ¤Î version 2.1-12 ¤Ï libc5 ¤È ncurses3.0 ¤˰͸¤·¤Æ - ¤¤¤ơ¢libreadline2 ¤¬ưº¤ë¤ˤϤ³¤ì¤é¤򥤥󥹥ȡ¼¥뤹¤ëɬÍפ¬¤¢¤ë¤È - ¤¤¤¦¤³¤Ȥ¬Ƚ¤ê¤ޤ¹¡£ - °ìÊý¡¢libreadlineg2 ¤È libreadline2-altdev ¤Ï libreadline2 ¤˰͸¤·¤Ƥ¤¤ޤ¹¡£ - libreadline2 ¤򥤥󥹥ȡ¼¥뤹¤뤿¤á¤ˤϡ¢libc5, ncurses3.0, ldso ¤ò - ¤¹¤٤ƥ¤¥󥹥ȡ¼¥뤷¤ʤ±¤ì¤Фʤê¤ޤ»¤󤬡¢libreadlineg2 ¤È - libreadline2-altdev ¤ϥ¤¥󥹥ȡ¼¥뤹¤ëɬÍפϤ¢¤ê¤ޤ»¤ó¡£ - ½ÐÎϤλĤê¤ÎÉôʬ¤ΰỌ̃¤ˤĤ¤¤Ƥϡ¢apt ¤Υ½¡¼¥¹¥³¡¼¥ɤòĴ¤٤ë¤Τ¬ºÇÎɤǤ·¤礦¡£ - </VarListEntry> - - <VarListEntry><Term>stats</Term> - <ListItem><Para> -<!-- - <literal/stats/ displays some statistics about the cache. - No further arguments are expected. Statistics reported are: ---> - <literal/stats/ ¤ϥ­¥ã¥å·¥å¤ˤĤ¤¤ƤÎÅý·׾ðÊó¤òɽ¼¨¤·¤ޤ¹¡£ - ¤½¤ì°ʾ塢°ú¿ô¤ÏɬÍפ¢¤ê¤ޤ»¤󡣰ʲ¼¤ÎÅý·׾ðÊó¤òɽ¼¨¤·¤ޤ¹¡£ - <itemizedlist> -<!-- -°ʲ¼ stats ¤Υê¥ƥé¥ë¤ˤĤ¤¤Ƥϡ¢ɽ¼¨¤µ¤ì¤ë¹àÌÜ̾ (¤½¤ÎÌõʸ) ¤Ȥ¤¤¦·Á¼°¤Ç -µ­½Ҥ·¤ޤ¹¡£(ɽ¼¨¤µ¤ì¤ë¹àÌܤÈÌõ¤¬¤«¤±Υ¤ì¤ʤ¤¤褦¤Ë) -ºǽªŪ¤˥á¥å»¡¼¥¸¥«¥¿¥í¥°ËÝÌõ¸å¤˽¤Àµ¤µ¤ì¤ëɬÍפ¬¤¢¤ê¤ޤ¹¡£(ÁÒ߷) ---> - <listitem><para> -<!-- - <literal/Total package names/ is the number of package names found - in the cache. ---> - <literal/Total package names (Áí¥ѥ屡¼¥¸·×)/ ¤ϡ¢ - ¥­¥ã¥å·¥å¤Ë¸ºߤ¹¤ë¥ѥ屡¼¥¸¿ô¤òɽ¤·¤ޤ¹¡£ - </listitem> - - <listitem><para> -<!-- - <literal/Normal packages/ is the number of regular, ordinary package - names; these are packages that bear a one-to-one correspondence between - their names and the names used by other packages for them in - dependencies. The majority of packages fall into this category. ---> - <literal/Normal packages (Ä̾ï¥ѥ屡¼¥¸)/ ¤ϡ¢ - ¸ø¼°¤ÎÉáÄ̤Υѥ屡¼¥¸¿ô¤òɽ¤·¤ޤ¹¡£ - ¤³¤ì¤ϡ¢¾¤Υѥ屡¼¥¸¤ΰ͸´ط¸¤ǻÈÍѤµ¤줿̾¾Τǡ¢¤½¤줬°ìÂаì¤ËÂбþ - ¤¹¤ë¥ѥ屡¼¥¸¤Ǥ¹¡£ - Âç¿¿ô¤Υѥ屡¼¥¸¤Ϥ³¤Υ«¥ƥ´¥ê¤ËÆþ¤ê¤ޤ¹¡£ - </listitem> - - <listitem><para> -<!-- - <literal/Pure virtual packages/ is the number of packages that exist - only as a virtual package name; that is, packages only "provide" the - virtual package name, and no package actually uses the name. For - instance, "mail-transport-agent" in the Debian GNU/Linux system is a - pure virtual package; several packages provide "mail-transport-agent", - but there is no package named "mail-transport-agent". ---> - <literal/Pure virtual packages (½㲾Áۥѥ屡¼¥¸)/ ¤ϡ¢ - ²¾Áۥѥ屡¼¥¸̾¤Ȥ·¤ƤΤ߸ºߤ¹¤ë - ¥ѥ屡¼¥¸ (²¾Áۥѥ屡¼¥¸̾¤Τߤò¡ÖÄ󶡡פ·¡¢¼ºݤˤϤ¤¤«¤ʤë - ¥ѥ屡¼¥¸¤⤽¤Î̾¾Τò»ý¤¿¤ʤ¤) ¤οô¤òɽ¤·¤ޤ¹¡£ - Î㤨¤С¢Debian GNU/Linux ¥·¥¹¥ƥà¤ǤÏ "mail-transport-agent" ¤Ï - ½㲾Áۥѥ屡¼¥¸¤Ǥ¹¡£"mail-transport-agent" ¤òÄ󶡤¹¤ë¥ѥ屡¼¥¸¤Ï - ¤¤¤¯¤Ĥ⤢¤ê¤ޤ¹¤¬¡¢"mail-transport-agent" ¤Ȥ¤¤¦̾¾ΤΥѥ屡¼¥¸¤Ï - ¤¢¤ê¤ޤ»¤ó¡£ - </listitem> - - <listitem><para> -<!-- - <literal/Single virtual packages/ is the number of packages with only - one package providing a particular virtual package. For example, in the - Debian GNU/Linux system, "X11-text-viewer" is a virtual package, but - only one package, xless, provides "X11-text-viewer". ---> - <literal/Single virtual packages (ñ²¾Áۥѥ屡¼¥¸)/ ¤ϡ¢ - ÆÃÄê¤β¾Áۥѥ屡¼¥¸̾¤òÄ󶡤¹¤ë¥ѥ屡¼¥¸¤¬¡¢ - ¤¿¤À°ì¤Ĥξì¹ç¤οô¤òɽ¤·¤ޤ¹¡£ - Î㤨¤С¢Debian GNU/Linux ¥·¥¹¥ƥà¤Ǥϡ¢"X11-text-viewer" ¤Ï - ²¾Áۥѥ屡¼¥¸¤Ǥ¹¤¬¡¢"X11-text-viewer" ¤òÄ󶡤¹¤ë¥ѥ屡¼¥¸¤ϡ¢ - xless ¥ѥ屡¼¥¸¤ΤߤȤ¤¤¦¤³¤ȤǤ¹¡£ - </listitem> - - <listitem><para> -<!-- - <literal/Mixed virtual packages/ is the number of packages that either - provide a particular virtual package or have the virtual package name - as the package name. For instance, in the Debian GNU/Linux system, - debconf is both an actual package, and provided by the debconf-tiny - package. ---> - <literal/Mixed virtual packages (ʣ²¾Áۥѥ屡¼¥¸)/ ¤ϡ¢ - ¤½¤β¾Áۥѥ屡¼¥¸̾¤òÄ󶡤¹¤ë¥ѥ屡¼¥¸¤¬ʣ¿ô¤¢¤뤫¡¢ - ¤ޤ¿¥ѥ屡¼¥¸̾¤ÈƱ¤¸²¾Áۥѥ屡¼¥¸̾¤ò»ý¤ĥѥ屡¼¥¸¿ô¤òɽ¤·¤ޤ¹¡£ - Î㤨¤С¢Debian GNU/Linux ¥·¥¹¥ƥà¤Ǥϡ¢debconf ¤ϼºݤΥѥ屡¼¥¸̾¤Ǥâ - ¤¢¤ê¤ޤ¹¤¬¡¢debconf-tiny ¤ˤè¤äÆÄ󶡤⤵¤ì¤Ƥ¤¤ޤ¹¡£ - </listitem> - - <listitem><para> -<!-- - <literal/Missing/ is the number of package names that were referenced in - a dependency but were not provided by any package. Missing packages may - be in evidence if a full distribution is not accesssed, or if a package - (real or virtual) has been dropped from the distribution. Usually they - are referenced from Conflicts statements. ---> - <literal/Missing (·çÍî)/ ¤ϡ¢°Í¸´ط¸Ãæ¤ˤϸºߤ¹¤ë¤Τˡ¢¤ɤΥѥ屡¼¥¸ - ¤ˤâÄ󶡤µ¤ì¤Ƥ¤¤ʤ¤¥ѥ屡¼¥¸̾¤οô¤òɽ¤·¤ޤ¹¡£ - ¥ѥ屡¼¥¸¤¬¤¢¤ë¤Ȥ¤¤¦¤³¤Ȥϡ¢Á´¥ǥ£¥¹¥ȥê¥ӥ塼¥·¥ç¥ó¤˥¢¥¯¥»¥¹¤Ç - ¤­¤Ƥ¤¤ʤ¤¤«¡¢(¼¤ʤ¤¤·²¾ÁÛ) ¥ѥ屡¼¥¸¤¬¥ǥ£¥¹¥ȥê¥ӥ塼¥·¥ç¥󤫤é - ¤Ϥº¤µ¤ì¤Ƥ·¤ޤ俤«¤⤷¤ì¤ʤ¤¤³¤Ȥòɽ¤·¤ޤ¹¡£ - Ä̾¤³¤ì¤Ϲ½ʸ¤¬̷½⤹¤뤳¤Ȥǻ²¾Ȥµ¤ì¤ޤ¹¡£ - </listitem> - - <listitem><para> -<!-- - <literal/Total distinct/ versions is the number of package versions - found in the cache; this value is therefore at least equal to the - number of total package names. If more than one distribution (both - "stable" and "unstable", for instance), is being accessed, this value - can be considerably larger than the number of total package names. ---> - <literal/Total distinct versions (¸ÄÊ̥С¼¥¸¥ç¥ó·×)/ ¤ϥ­¥ã¥å·¥å¤Ë - ¸ºߤ¹¤ë¥ѥ屡¼¥¸¤ΥС¼¥¸¥ç¥ó¤οô¤òɽ¤·¤ޤ¹¡£¤½¤Τ¿¤ᡢ¤³¤ÎÃͤÏ - ºǾ®¤ǤâÁí¥ѥ屡¼¥¸·פȰìÃפ·¤ޤ¹¡£ - ¤¿¤Ȥ¨¤Ð 2 ¼ïÎà°ʾå¤Υǥ£¥¹¥ȥê¥ӥ塼¥·¥ç¥ó - ("stable" ¤È "unstable"¤ÎξÊý¤ʤÉ) ¤òÍøÍѤ·¤¿¾ì¹硢 - ¤³¤ÎÃͤϥѥ屡¼¥¸·פè¤ê¤⤫¤ʤêÂ礭¤¤¿ô¤ˤʤê¤ޤ¹¡£ - </listitem> - - <listitem><para> -<!-- - <literal/Total dependencies/ is the number of dependency relationships - claimed by all of the packages in the cache. ---> - <literal/Total dependencies (Áí°Í¸´ط¸)/ ¤ϥ­¥ã¥å·¥åÆâ¤Τ¹¤٤ƤÎ - ¥ѥ屡¼¥¸¤ÇÍ׵ᤵ¤줿°Í¸´ط¸¤οô¤Ǥ¹¡£ - </listitem> - </itemizedlist> - </VarListEntry> - - <VarListEntry><Term>showsrc</Term> - <ListItem><Para> -<!-- - <literal/showsrc/ displays all the source package records that match - the given package names. All versions are shown, as well as all - records that declare the name to be a Binary. - named packages. ---> - <literal/showsrc/ ¤ϻØÄꤷ¤¿¥ѥ屡¼¥¸̾¤ȰìÃפ¹¤륽¡¼¥¹¥ѥ屡¼¥¸¤ò¡¢ - ¤¹¤٤Æɽ¼¨¤·¤ޤ¹¡£»ØÄꤷ¤¿¥ѥ屡¼¥¸¤ˤĤ¤¤ơ¢¥Х¤¥ʥê¤ˤʤë¤Ȥ­¤Î̾¾Τò - Àë¸À¤·¤¿¥쥳¡¼¥ÉƱÍͤˡ¢¤¹¤٤ƤΥС¼¥¸¥ç¥ó¤ˤĤ¤¤Æɽ¼¨¤·¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>dump</Term> - <ListItem><Para> -<!-- - <literal/dump/ shows a short listing of every package in the cache. It is - primarily for debugging. ---> - <literal/dump/ ¤ϥ­¥ã¥å·¥å¤ˤ¢¤ë¥ѥ屡¼¥¸Ëè¤Ρ¢û¤¤°ìÍ÷¤òɽ¼¨¤·¤ޤ¹¡£ - ¼ç¤˥ǥХå°ÍѤǤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>dumpavail</Term> - <ListItem><Para> -<!-- - <literal/dumpavail/ prints out an available list to stdout. This is - suitable for use with &dpkg; and is used by the &dselect; method. ---> - <literal/dumpavail/ ¤Ïɸ½à½ÐÎϤˡ¢ÍøÍѲÄǽ¤ʤâ¤ΤΰìÍ÷¤ò½ÐÎϤ·¤ޤ¹¡£ - &dpkg; ¤ȶ¦¤˻ÈÍѤ¹¤ë¤ÈÊØÍø¤Ǥ¹¡£¤ޤ¿ &dselect; ¤Ǥâ»ÈÍѤµ¤ì¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>unmet</Term> - <ListItem><Para> -<!-- - <literal/unmet/ displays a summary of all unmet dependencies in the - package cache. ---> - <literal/unmet/ ¤ϥѥ屡¼¥¸¥­¥ã¥å·¥åÆâ¤Ρ¢ÉÔŬÅö¤ʰ͸´ط¸¤γµÍפò - ɽ¼¨¤·¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>show</Term> - <ListItem><Para> -<!-- - <literal/show/ performs a function similar to - <command>dpkg - -print-avail</>, it displays the package records for the - named packages. ---> - <literal/show/ ¤Ï <command>dpkg --print-avail</> ¤˻÷¤¿µ¡ǽ¤ò¼¹Ԥ·¤ޤ¹¡£ - »ØÄꤷ¤¿¥ѥ屡¼¥¸¤Υѥ屡¼¥¸¥쥳¡¼¥ɤòɽ¼¨¤·¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>search</Term> - <ListItem><Para> -<!-- - <literal/search/ performs a full text search on all available package - files for the regex pattern given. It searchs the package names and the - descriptions for an occurance of the string and prints out the package - name and the short description. If <option/- -full/ is given then output - identical to <literal/show/ is produced for each matched package and - if <option/- -names-only/ is given then the long description is not - searched, only the package name is. ---> - <literal/search/ ¤ÏͿ¤¨¤é¤줿Àµµ¬ɽ¸½¤ˤè¤äơ¢¤¹¤٤ƤÎÍøÍѲÄǽ¤Ê - ¥ѥ屡¼¥¸¤ËÂФ·¤ÆÁ´ʸ¸¡º÷¤ò¹Ԥ¤¤ޤ¹¡£¥ѥ屡¼¥¸̾¤ÈÀâÌÀ¤ËÂФ·¤Ƹ¡º÷¤ò - ¹Ԥ¤¡¢¥ѥ屡¼¥¸̾¤Èû¤¤ÀâÌÀʸ¤òɽ¼¨¤·¤ޤ¹¡£ - <option/--full/ ¤¬Ϳ¤¨¤é¤줿¾ì¹硢¥ޥåÁ¤·¤¿¥ѥ屡¼¥¸¤ËÂФ· - <literal/show/ ¤ÈƱ¤¸¾ðÊó¤ò½ÐÎϤ·¤ޤ¹¡£ - <option/--names-only/ ¤¬Ϳ¤¨¤é¤줿¾ì¹ç¤ϡ¢ÀâÌÀʸ¤ËÂФ·¤Ƹ¡º÷¤ò¹Ԥ鷺¡¢ - ¥ѥ屡¼¥¸̾¤ËÂФ·¤ƤΤßÂоݤȤ·¤ޤ¹¡£ - <para> -<!-- - Seperate arguments can be used to specified multiple search patterns that - are and'd together. ---> - ¶õÇò¤ǶèÀڤä¿°ú¿ô¤Çʣ¿ô¤θ¡º÷¥ѥ¿¡¼¥ó¤Î and ¤ò¤Ȥ뤳¤Ȥ¬¤Ǥ­¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>depends</Term> - <ListItem><Para> -<!-- - <literal/depends/ shows a listing of each dependency a package has - and all the possible other packages that can fullfill that dependency. ---> - <literal/depends/ ¤ϡ¢¥ѥ屡¼¥¸¤¬»ý¤äƤ¤¤ë°Í¸´ط¸¤ȡ¢¤½¤ΰ͸´ط¸¤ò - Ëþ¤¿¤¹¾¤Υѥ屡¼¥¸¤ΰìÍ÷¤òɽ¼¨¤·¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>pkgnames</Term> - <ListItem><Para> -<!-- - This command prints the name of each package in the system. The optional - argument is a prefix match to filter the name list. The output is suitable - for use in a shell tab complete function and the output is generated - extremly quickly. This command is best used with the - <option/- -generate/ option. ---> - ¤³¤Υ³¥ޥó¥ɤϡ¢¥·¥¹¥ƥà¤Ǥγƥѥ屡¼¥¸¤Î̾¾Τòɽ¼¨¤·¤ޤ¹¡£ - ¥ª¥ץ·¥ç¥ó¤ΰú¿ô¤ˤè¤ꡢ¼èÆÀ¤¹¤ë°ìÍ÷¤è¤êÀèƬ°ìÃפÇÃê½Ф¹¤뤳¤Ȥ¬¤Ǥ­¤ޤ¹¡£ - ¤³¤νÐÎϤϥ·¥§¥ë¤Υ¿¥֤ˤè¤ëÊ䴰µ¡ǽ¤ǻȤ¤¤䤹¤¯¡¢¤ޤ¿Èó¾ï¤Ë®¤¯À¸À®¤µ¤ì¤ޤ¹¡£ - ¤³¤Υ³¥ޥó¥ɤÏ <option/--generate/ ¥ª¥ץ·¥ç¥ó¤ȶ¦¤˻ÈÍѤ¹¤ë¤ÈÈó¾ï¤Ë - ÊØÍø¤Ǥ¹¡£ - </VarListEntry> - <VarListEntry><Term>dotty</Term> - <ListItem><Para> -<!-- - <literal/dotty/ takes a list of packages on the command line and - gernerates output suitable for use by dotty from the - <ulink url="http://www.research.att.com/sw/tools/graphviz/">GraphViz</> - package. The result will be a set of nodes and edges representing the - relationships between the packages. By default the given packages will - trace out all dependent packages which can produce a very large graph. - This can be turned off by setting the - <literal>APT::Cache::GivenOnly</> option. ---> - <literal/dotty/ ¤ϡ¢¥³¥ޥó¥ɥ饤¥ó¾å¤Υѥ屡¼¥¸̾¤«¤顢 - <ulink url="http://www.research.att.com/sw/tools/graphviz/">GraphViz</> - ¥ѥ屡¼¥¸¤Î dotty ¥³¥ޥó¥ɤÇÍøÍѤ¹¤ë¤ΤËÊØÍø¤ʽÐÎϤòÀ¸À®¤·¤ޤ¹¡£ - ·ë²̤ϥѥ屡¼¥¸¤δط¸¤òɽ¤魯¡¢¥Ρ¼¥ɡ¦¥¨¥å¸¤Υ»¥åȤÇɽ¸½¤µ¤ì¤ޤ¹¡£ - ¥ǥե©¥ë¥ȤǤϡ¢¤¹¤٤Ƥΰ͸¥ѥ屡¼¥¸¤ò¥ȥ졼¥¹¤¹¤ë¤Τǡ¢Èó¾ï¤ËÂ礭¤¤ - ¿ޤ¬ÆÀ¤é¤ì¤ޤ¹¡£ - ¤³¤ì¤ϡ¢<literal>APT::Cache::GivenOnly</> ¥ª¥ץ·¥ç¥ó¤ÎÀßÄê¤Dzò½ü¤¹¤ë - ¤³¤Ȥ¬¤Ǥ­¤ޤ¹¡£ - <para> -<!-- - The resulting nodes will have several shapse, normal packages are boxes, - pure provides are triangles, mixed provides are diamonds, - hexagons are missing packages. Orange boxes mean recursion was stopped - [leaf packages], blue lines are prre-depends, green lines are conflicts. ---> - ·ë²̤ΥΡ¼¥ɤϿô¼ïÎà¤ηÁ¾õ¤Ȥʤê¤ޤ¹¡£ - Ä̾ï¥ѥ屡¼¥¸¤ϻͳѡ¢½㲾Áۥѥ屡¼¥¸¤ϻ°³ѡ¢ʣ²¾Áۥѥ屡¼¥¸¤Ïɩ·Á¡¢ - ϻ³ѷÁ¤ϷçÍî¥ѥ屡¼¥¸¤򤽤줾¤ìɽ¤·¤ޤ¹¡£ - ¥ª¥ì¥󥸤λͳѤϺƵ¯¤¬½ªλ¤·¤¿¡֥꡼¥եѥ屡¼¥¸¡ס¢ÀĤ¤Àþ¤Ï pre-depends¡¢ - ÎФÎÀþ¤϶¥¹ç¤òɽ¤·¤ޤ¹¡£ - <para> -<!-- - Caution, dotty cannot graph larger sets of packages. ---> - Ãí°Õ) dotty ¤ϥѥ屡¼¥¸¤Τè¤êÂ礭¤ʥ»¥åȤΥ°¥é¥դÏÉÁ¤±¤ޤ»¤ó¡£ - <VarListEntry><Term>policy</Term> - <ListItem><Para> -<!-- - <literal/policy/ is ment to help debug issues relating to the - preferences file. With no arguments it will print out the - priorities of each source. Otherwise it prints out detailed information - about the priority selection of the named package. ---> - <literal/policy/ ¤ÏÀßÄê¥ե¡¥¤¥ë´ط¸¤ÎÌäÂê¤ˤĤ¤¤ơ¢¥ǥХå°¤ò»ٱ礷¤ޤ¹¡£ - °ú¿ô¤ò»ØÄꤷ¤ʤ«¤ä¿¾ì¹硢¼èÆÀ¸µ¤´¤ȤÎͥÀè½ç°̤òɽ¼¨¤·¤ޤ¹¡£ - °ìÊý¡¢¥ѥ屡¼¥¸̾¤ò»ØÄꤷ¤¿¾ì¹硢ͥÀè½ç¤ξܺپðÊó¤òɽ¼¨¤·¤ޤ¹¡£ - </VarListEntry> - </VariableList> - </RefSect1> - -<!-- - <RefSect1><Title>Options</> ---> - <RefSect1><Title>¥ª¥ץ·¥ç¥ó</> - &apt-cmdblurb; - - <VariableList> - <VarListEntry><term><option/-p/</><term><option/--pkg-cache/</> - <ListItem><Para> -<!-- - Select the file to store the package cache. The package cache is the - primary cache used by all operations. - Configuration Item: <literal/Dir::Cache::pkgcache/. ---> - ¥ѥ屡¼¥¸¥­¥ã¥å·¥å¤ò³ÊǼ¤¹¤ë¥ե¡¥¤¥ë¤òÁªÂ򤷤ޤ¹¡£ - ¥ѥ屡¼¥¸¥­¥ã¥å·¥å¤ϡ¢¤¹¤٤ƤÎÁàºî¤ǻÈÍѤµ¤ì¤ë°켡¥­¥ã¥å·¥å¤Ǥ¹¡£ - ÀßÄê¹àÌÜ - <literal/Dir::Cache::pkgcache/ - </VarListEntry> - - <VarListEntry><term><option/-s/</><term><option/--src-cache/</> - <ListItem><Para> -<!-- - Select the file to store the source cache. The source is used only by - <literal/gencaches/ and it stores a parsed version of the package - information from remote sources. When building the package cache the - source cache is used to advoid reparsing all of the package files. - Configuration Item: <literal/Dir::Cache::srcpkgcache/. ---> - ¥½¡¼¥¹¥­¥ã¥å·¥å¤ò³ÊǼ¤¹¤ë¥ե¡¥¤¥ë¤òÁªÂ򤷤ޤ¹¡£ - ¤³¤Υ½¡¼¥¹¥­¥ã¥å·¥å¤Ï <literal/gencaches/ ¤ǤΤ߻ÈÍѤµ¤졢 - ¤³¤³¤˲òÀϤµ¤줿¼èÆÀ¸µ¤Υѥ屡¼¥¸¾ðÊ󤬳ÊǼ¤µ¤ì¤Ƥ¤¤ޤ¹¡£ - ¥ѥ屡¼¥¸¥­¥ã¥å·¥å¤ò¹½Ãۤ¹¤ëºݤˡ¢¥½¡¼¥¹¥­¥ã¥å·¥å¤ϡ¢ - Á´¥ѥ屡¼¥¸¥ե¡¥¤¥ë¤òºƲòÀϤòÈ򤱤ë¾å¤ÇÊØÍø¤Ǥ¹¡£ - <!--advoid ¤Ï avoid ¤Υߥ¹¥¹¥ڥ롩 --> - ÀßÄê¹àÌÜ - <literal/Dir::Cache::srcpkgcache/ - </VarListEntry> - - <VarListEntry><term><option/-q/</><term><option/--quiet/</> - <ListItem><Para> -<!-- - Quiet; produces output suitable for logging, omitting progress indicators. - More qs will produce more quite up to a maximum of 2. You can also use - <option/-q=#/ to set the quiet level, overriding the configuration file. - Configuration Item: <literal/quiet/. ---> - ÀŲº - ¿ÊĽɽ¼¨¤ò¾Êά¤·¤ƥí¥°¤ò¤Ȥë¤ΤËÊØÍø¤ʽÐÎϤò¹Ԥ¤¤ޤ¹¡£ - ºÇÂç 2 ¤ĤޤÇ q ¤ò½Ťͤ뤳¤ȤǤè¤êÀŤ«¤ˤǤ­¤ޤ¹¡£ - ¤ޤ¿¡¢<option/-q=#/ ¤Τ褦¤ËÀŲº¥ì¥٥ë¤ò»ØÄꤷ¤ơ¢ÀßÄê¥ե¡¥¤¥ë¤ò - ¾å½񤭤¹¤뤳¤Ȥâ¤Ǥ­¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/quiet/ - </VarListEntry> - - <VarListEntry><term><option/-i/</><term><option/--important/</> - <ListItem><Para> -<!-- - Print only important deps; for use with unmet causes only Depends and - Pre-Depends relations to be printed. - Configuration Item: <literal/APT::Cache::Important/. ---> - ¡ֽÅÍספΤßɽ¼¨ - Dipends ¤È Pre-Depends ¤Τßɽ¼¨¤¹¤뤿¤ᡢ - unmet ¤ȶ¦¤˻ÈÍѤ·¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Cache::Important/ - </VarListEntry> - - <VarListEntry><term><option/-f/</><term><option/--full/</> - <ListItem><Para> -<!-- - Print full package records when searching. - Configuration Item: <literal/APT::Cache::ShowFull/. ---> - search »þ¤ËÁ´¥ѥ屡¼¥¸¥쥳¡¼¥ɤòɽ¼¨¤·¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Cache::ShowFull/ - </VarListEntry> - - <VarListEntry><term><option/-a/</><term><option/--all-versions/</> - <ListItem><Para> -<!-- - Print full records for all available versions, this is only applicable to - the show command. - Configuration Item: <literal/APT::Cache::AllVersions/. ---> - Á´ÍøÍѲÄǽ¥С¼¥¸¥ç¥ó¤ÎÁ´¥쥳¡¼¥ɤòɽ¼¨¤·¤ޤ¹¡£ - show ¥³¥ޥó¥ɤǤΤßŬÍѤǤ­¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Cache::AllVersions/ - </VarListEntry> - - <VarListEntry><term><option/-g/</><term><option/--generate/</> - <ListItem><Para> -<!-- - Perform automatic package cache regeneration, rather than use the cache - as it is. This is the default, to turn it off use <option/- -no-generate/. - Configuration Item: <literal/APT::Cache::Generate/. ---> - ¤½¤Τޤޥ­¥ã¥å·¥å¤ò»ÈÍѤ¹¤ë¤ΤǤϤʤ¯¡¢¼«ưŪ¤˥ѥ屡¼¥¸¥­¥ã¥å·¥å¤ò - ºÆÀ¸À®¤·¤ޤ¹¡£¤³¤ì¤ϥǥե©¥ë¥ȤÎưºî¤Ǥ¹¤¬¡¢<option/--no-generate/ ¤ò - »ÈÍѤ¹¤ë¤È̵¸ú¤ˤǤ­¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Cache::Generate/ - </VarListEntry> - - <VarListEntry><term><option/--names-only/</><term><option/-n/</> - <ListItem><Para> -<!-- - Only search on the package names, not the long description. - Configuration Item: <literal/APT::Cache::NamesOnly/. ---> - ÀâÌÀʸ¤ǤϤʤ¯¡¢¥ѥ屡¼¥¸̾¤«¤é¤Τ߸¡º÷¤·¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Cache::NamesOnly/ - </VarListEntry> - - <VarListEntry><term><option/--all-names/</> - <ListItem><Para> -<!-- - Make <literal/pkgnames/ print all names, including virtual packages - and missing dependencies. - Configuration Item: <literal/APT::Cache::AllNames/. ---> - <literal/pkgnames/ ¤ǡ¢²¾Áۥѥ屡¼¥¸¤äÉÔÌÀ¤ʰ͸´ط¸¤ò´ޤ᤿Á´̾¾Τò - ɽ¼¨¤µ¤»¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Cache::AllNames/ - </VarListEntry> - - <VarListEntry><term><option/--recurse/</> - <ListItem><Para> -<!-- - Make <literal/depends/ recursive so that all packages mentioned are - printed once. - Configuration Item: <literal/APT::Cache::RecurseDepends/. ---> - <literal/depends/ ¤ǡ¢»ØÄꤷ¤¿Á´¥ѥ屡¼¥¸¤òºƵ¢Ū¤˰ìÅ٤Ëɽ¼¨¤·¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Cache::RecurseDepends/ - </VarListEntry> - - &apt-commonoptions; - - </VariableList> - </RefSect1> - -<!-- - <RefSect1><Title>Files</> ---> - <RefSect1><Title>¥ե¡¥¤¥ë</> - <variablelist> - <VarListEntry><term><filename>/etc/apt/sources.list</></term> - <ListItem><Para> -<!-- - locations to fetch packages from. - Configuration Item: <literal/Dir::Etc::SourceList/. ---> - ¥ѥ屡¼¥¸¤μèÆÀ¸µ¡£ - ÀßÄê¹àÌÜ - <literal/Dir::Etc::SourceList/ - </VarListEntry> - - <VarListEntry><term><filename>&statedir;/lists/</></term> - <ListItem><Para> -<!-- - storage area for state information for each package resource specified in - &sources-list; - Configuration Item: <literal/Dir::State::Lists/. ---> - &sources-list; ¤˻ØÄꤷ¤¿¥ѥ屡¼¥¸¥꥽¡¼¥¹¤´¤ȤξõÂ־ðÊó³ÊǼ¥¨¥ꥢ¡£ - ÀßÄê¹àÌÜ - <literal/Dir::State::Lists/ - </VarListEntry> - - <VarListEntry><term><filename>&statedir;/lists/partial/</></term> - <ListItem><Para> -<!-- - storage area for state information in transit. - Configuration Item: <literal/Dir::State::Lists/ (implicit partial). ---> - ¼èÆÀÃæ¾õÂ־ðÊó³ÊǼ¥¨¥ꥢ¡£ - ÀßÄê¹àÌÜ - <literal/Dir::State::Lists/ (ɬÁ³Ū¤ËÉԴ°Á´¤Ǥ¹) - </VarListEntry> - </variablelist> - </RefSect1> - -<!-- - <RefSect1><Title>See Also</> ---> - <RefSect1><Title>´ØϢ¹àÌÜ</> - <para> - &apt-conf;, &sources-list;, &apt-get; - </RefSect1> - -<!-- - <RefSect1><Title>Diagnostics</> ---> - <RefSect1><Title>¿ÇÃǥá¥å»¡¼¥¸</> - <para> -<!-- - <command/apt-cache/ returns zero on normal operation, decimal 100 on error. ---> - <command/apt-cache/ ¤ÏÀµ¾ェλ»þ¤Ë 0 ¤òÊ֤·¤ޤ¹¡£ - ¥¨¥顼»þ¤ˤϽ½¿ʤÎ 100 ¤òÊ֤·¤ޤ¹¡£ - </RefSect1> - - &manbugs; - &manauthor; - &translator; -</refentry> diff --git a/doc/ja/apt-cache.ja.8.xml b/doc/ja/apt-cache.ja.8.xml new file mode 100644 index 000000000..1d30e224d --- /dev/null +++ b/doc/ja/apt-cache.ja.8.xml @@ -0,0 +1,701 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + +<!ENTITY % aptent SYSTEM "apt.ent.ja"> +%aptent; + +]> + +<refentry> + + <refentryinfo> + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + <!-- The last update date --> + <date>29 February 2004</date> + </refentryinfo> + + <refmeta> + <refentrytitle>apt-cache</refentrytitle> + <manvolnum>8</manvolnum> + </refmeta> + + <!-- Man page title --> + <refnamediv> + <refname>apt-cache</refname> +<!-- + <refpurpose>APT package handling utility -\- cache manipulator</refpurpose> +--> + <refpurpose>APT パッケージ操作ユーティリティ -- キャッシュ操作</refpurpose> + </refnamediv> + + <!-- Arguments --> + <refsynopsisdiv> + <cmdsynopsis> + <command>apt-cache</command> + <arg><option>-hvsn</option></arg> + <arg><option>-o=<replaceable>config string</replaceable></option></arg> + <arg><option>-c=<replaceable>file</replaceable></option></arg> + <group choice="req"> + <arg>add <arg choice="plain" rep="repeat"><replaceable>file</replaceable></arg></arg> + <arg>gencaches</arg> + <arg>showpkg <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>showsrc <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>stats</arg> + <arg>dump</arg> + <arg>dumpavail</arg> + <arg>unmet</arg> + <arg>search <arg choice="plain"><replaceable>regex</replaceable></arg></arg> + <arg>show <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>depends <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>rdepends <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>pkgnames <arg choice="plain"><replaceable>prefix</replaceable></arg></arg> + <arg>dotty <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>policy <arg choice="plain" rep="repeat"><replaceable>pkgs</replaceable></arg></arg> + <arg>madison <arg choice="plain" rep="repeat"><replaceable>pkgs</replaceable></arg></arg> + </group> + </cmdsynopsis> + </refsynopsisdiv> + +<!-- + <refsect1><title>Description +--> + 説明 + + apt-cache は APT のパッケージキャッシュに対して、 + さまざまな操作を行います。 + apt-cache は、システム状態の操作は行いませんが、 + パッケージのメタデータより検索したり、 + 興味深い出力を生成するといった操作を提供します。 + + + オプションや オプションを除き、 + 以下に挙げるコマンドが必要です。 + + + + add file(s) + add は、 + パッケージキャッシュに指定したパッケージインデックスファイルを追加します。 + デバッグ専用です。 + + + gencaches + + gencaches は、 + apt-get check と同じ動作を提供します。 + これは &sources-list; 内の取得元と + /var/lib/dpkg/statusから、 + ソースとパッケージのキャッシュを構築します。 + + + showpkg pkg(s) + + showpkg は、 + コマンドライン上に列挙したパッケージの情報を表示します。 + 後に続く引数はパッケージ名となります。 + 各パッケージについて、有効なバージョンと被依存関係を列挙し、 + さらにその各バージョンについて依存関係を表示します。 + (通常の) 依存関係とは、対象のパッケージが依存しているパッケージを指します。 + また、被依存関係とは、対象のパッケージに依存しているパッケージを指します。 + 従って、パッケージの依存関係は満たさなければなりませんが、 + 被依存関係は満たす必要はありません。 + 実例として、以下に apt-cache showpkg libreadline2 の + 出力を掲げます。 + + +Package: libreadline2 +Versions: 2.1-12(/var/state/apt/lists/foo_Packages), +Reverse Depends: + libreadlineg2,libreadline2 + libreadline2-altdev,libreadline2 +Dependencies: +2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null)) +Provides: +2.1-12 - +Reverse Provides: + + + + つまり、libreadline2 の version 2.1-12 は、 + libc5 と ncurses3.0 に依存していて、libreadline2 が動作するには、 + これらをインストールする必要があるということが判ります。 + 一方、libreadlineg2 と libreadline2-altdev は libreadline2 に依存しています。 + libreadline2 をインストールするためには、libc5, ncurses3.0, ldso を + すべてインストールしなければなりませんが、libreadlineg2 と + libreadline2-altdev はインストールする必要はありません。 + 出力の残りの部分の意味については、 + apt のソースコードを調べるのが最良でしょう。 + + + + statsstats + はキャッシュについての統計情報を表示します。 + それ以上、引数は必要ありません。以下の統計情報を表示します。 + + + パッケージ名総数は、 + キャッシュに存在するパッケージ数を表します。 + + + + 通常パッケージは、 + 公式の普通のパッケージ数を表します。 + これは、他のパッケージの依存関係で使用された名称で、それが一対一に対応 + するパッケージです。 + 大多数のパッケージはこのカテゴリに入ります。 + + + + 純粋仮想パッケージは、 + 仮想パッケージ名としてのみ存在するパッケージ + (仮想パッケージ名のみを「提供」し、 + 実際にはいかなるパッケージもその名称を持たない) の数を表します。 + 例えば、Debian GNU/Linux システムでは "mail-transport-agent" + は純粋仮想パッケージです。 + "mail-transport-agent" を提供するパッケージはいくつもありますが、 + "mail-transport-agent" という名称のパッケージはありません。 + + + + 単一仮想パッケージは、 + 特定の仮想パッケージ名を提供するパッケージが、 + ただ一つの場合の数を表します。 + 例えば、Debian GNU/Linux システムでは、"X11-text-viewer" + は仮想パッケージですが、"X11-text-viewer" を提供するパッケージは、 + xless パッケージのみということです。 + + + + 複合仮想パッケージは、 + その仮想パッケージ名を提供するパッケージが複数あるか、 + またパッケージ名と同じ仮想パッケージ名を持つパッケージ数を表します。 + 例えば、Debian GNU/Linux システムでは、 + debconf は実際のパッケージ名でもありますが、 + debconf-tiny によって提供もされています。 + + + + 欠落は、依存関係中には存在するのに、 + どのパッケージにも提供されていないパッケージ名の数を表します。 + このパッケージがあるということは、 + 全ディストリビューションにアクセスできていないか、 + (実ないし仮想) パッケージがディストリビューションからはずされてしまった可能性もあります。 + 通常では、構文が矛盾するとこのようになります。 + + + + 個別バージョン総数は、 + キャッシュに存在するパッケージのバージョンの数を表します。 + そのため、この値は最小でもパッケージ名総数と一致します。 + もし複数のディストリビューション (例 "stable" と "unstable" の両方) + を利用した場合、 + この値はパッケージ名総数よりもかなり大きい数になります。 + + + + 依存関係総数は、 + キャッシュにあるすべてのパッケージで要求された依存関係の数です。 + + + + + + showsrc pkg(s) + + showsrc は、 + 指定したパッケージ名に一致するソースパッケージを、すべて表示します。 + バイナリになるときの名称を宣言したレコードと同様に、 + すべてのバージョンについて表示します。 + + + dump + + dump は、 + キャッシュ内のパッケージそれぞれについて、短い一覧を表示します。 + 主にデバッグ用です。 + + + dumpavail + + dumpavail は、 + 標準出力に利用可能なものの一覧を出力します。 + &dpkg; と共に使用すると便利ですし、 + &dselect; でも使用されます。 + + + unmet + + unmet は、 + パッケージキャッシュ内にある、 + 不適当な依存関係の概要を表示します。 + + + show pkg(s) + + show は、 + dpkg --print-avail と同様の機能を実行します。 + これは、指定したパッケージのパッケージレコードの表示です。 + + + + search regex [ regex ... ] + + search は、与えられた正規表現によって、 + すべての利用可能なパッケージに対して全文検索を行います。 + パッケージ名と説明に対して検索を行い、 + パッケージ名と短い説明文を表示します。 + が与えられた場合、マッチしたパッケージに対し + show と同じ情報を出力します。 + が与えられた場合は、 + 説明文に対して検索を行わず、パッケージ名に対してのみ対象とします。 + + + 空白で区切った引数で、 + 複数の検索パターンの and をとることができます。 + + + depends pkg(s) + + depends は、 + パッケージが持っている依存関係と、 + その依存関係を満たす他のパッケージの一覧を表示します。 + + + rdepends pkg(s) + + rdepends は、 + パッケージが持つ被依存関係を一覧表示します。 + + + pkgnames [ prefix ] + + このコマンドは、 + システムでの各パッケージの名称を表示します。 + オプションの引数により、取得する一覧より先頭一致で抽出することができます。 + この出力はシェルのタブによる補完機能に使いやすく、 + また非常に速く生成されます。 + このコマンドは オプションと共に使用すると、 + 非常に便利です。 + + + dotty pkg(s) + + dotty は、 + コマンドライン上のパッケージ名から、 + GraphViz + パッケージの dotty コマンドで利用するのに便利な出力を生成します。 + 結果はパッケージの関係を表わす、ノード・エッジのセットで表現されます。 + デフォルトでは、すべての依存パッケージをトレースするので、 + 非常に大きい図が得られます。 + これは、APT::Cache::GivenOnly + オプションを設定して解除できます。 + + + 結果のノードは数種の形状をとります。 + 通常パッケージは四角、純粋仮想パッケージは三角、複合仮想パッケージは菱形、 + 六角形は欠落パッケージをそれぞれ表します。 + オレンジの四角は再帰が終了した「リーフパッケージ」、青い線は先行依存、 + 緑の線は競合を表します。 + + + 注意) dotty は、 + パッケージのより大きなセットのグラフは描けません。 + + + policy [ pkg(s) ] + + policy は、 + 設定ファイル関係の問題について、デバッグを支援します。 + 引数を指定しなかった場合、取得元ごとの優先順位を表示します。 + 一方、パッケージ名を指定した場合、 + 優先順の詳細情報を表示します。 + + + madison /[ pkg(s) ] + + apt-cache の madison + コマンドは、Debian アーカイブ管理ツール madison + の機能のサブセットで、出力フォーマットを真似ようとします。 + パッケージの利用可能バージョンを表形式で表示します。 + オリジナルの madison と違い、 + APT がパッケージ一覧を検索したアーキテクチャ + (APT::Architecture) + の情報を表示するだけです。 + + + + + + オプション + &apt-cmdblurb; + + + + + パッケージキャッシュを格納するファイルを選択します。 + パッケージキャッシュは、すべての操作で使用される一次キャッシュです。 + 設定項目 - Dir::Cache::pkgcache + + + + + ソースキャッシュを格納するファイルを選択します。 + このソースキャッシュは gencaches でのみ使用され、 + ここに解析された取得元のパッケージ情報が格納されています。 + パッケージキャッシュを構築する際に、ソースキャッシュは、 + 全パッケージファイルを再解析を避ける上で便利です。 + + 設定項目 - Dir::Cache::srcpkgcache + + + + + 静粛 - 進捗表示を省略し、 + ログをとるのに便利な出力を行います。 + 最大 2 つまで q を重ねることでさらに静粛にできます。 + また、 のように静粛レベルを指定して、 + 設定ファイルを上書きすることもできます。 + 設定項目 - quiet + + + + + 「重要」依存関係のみ表示 - unmet と共に使用します。 + これは「依存」関係と「先行依存」関係のみを表示するためです。 + 設定項目 - APT::Cache::Important + + + + + search 時に全パッケージレコードを表示します。 + 設定項目 - APT::Cache::ShowFull + + + + + 全利用可能バージョンのレコード全体を表示します。 + これはデフォルトの動作で、 + 無効にするには を使用してください。 + を指定すると、 + 候補バージョン (インストールの際に選択されるもの) だけ表示します。 + このオプションは、show コマンドでのみ適用できます。 + 設定項目 - APT::Cache::AllVersions + + + + + そのままキャッシュを使用するのではなく、 + 自動的にパッケージキャッシュを再生成します。これはデフォルトの動作で、 + 無効にするには を使用してください。 + 設定項目 - APT::Cache::Generate + + + + + 説明文ではなく、パッケージ名からのみ検索します。 + 設定項目 - APT::Cache::NamesOnly + + + + + pkgnames で、 + 仮想パッケージや欠落依存関係を含めた全名称を表示します。 + 設定項目 - APT::Cache::AllNames + + + + + depends や rdepends + で、指定した全パッケージを再帰的に一度に表示します。 + 設定項目 - APT::Cache::RecurseDepends + + + + + + depends や rdepends の出力を、 + 現在インストールされているパッケージに限定します。 + 設定項目 - APT::Cache::Installed + + + &apt-commonoptions; + + + + + + ファイル + + /etc/apt/sources.list + + パッケージの取得元。 + 設定項目 - Dir::Etc::SourceList + + + &statedir;/lists/ + + &sources-list; に指定した、 + パッケージリソースごとの状態情報格納エリア。 + 設定項目 - Dir::State::Lists + + + &statedir;/lists/partial/ + + 取得中状態情報格納エリア。 + 設定項目 - Dir::State::Lists (必然的に不完全) + + + + + + 関連項目 + &apt-conf;, &sources-list;, &apt-get; + + + + + 診断メッセージ + + apt-cache は正常終了時に 0 を返します。 + エラー時には十進の 100 を返します。 + + + + &manbugs; + &translator; + diff --git a/doc/ja/apt-cdrom.ja.8.sgml b/doc/ja/apt-cdrom.ja.8.sgml deleted file mode 100644 index 4328ef8c2..000000000 --- a/doc/ja/apt-cdrom.ja.8.sgml +++ /dev/null @@ -1,230 +0,0 @@ - - - -%aptent; - -]> - - - &apt-docinfo; - - - apt-cdrom - 8 - - - - - apt-cdrom - - APT CDROM ´ÉÍý¥桼¥ƥ£¥ê¥ƥ£ - - - - - - apt-cdrom - - - - - - add - ident - - - - - - ÀâÌÀ</> - <para> -<!-- - <command/apt-cdrom/ is used to add a new CDROM to APTs list of available - sources. <command/apt-cdrom/ takes care of determining the structure of - the disc as well as correcting for several possible mis-burns and - verifying the index files. ---> - <command/apt-cdrom/ ¤ÏÍøÍѲÄǽ¤ʼèÆÀ¸µ¤Ȥ·¤ơ¢APT ¤Υꥹ¥Ȥ˿·¤·¤¤ CDROM ¤ò - Äɲ乤ë¤ΤËÊØÍø¤Ǥ¹¡£<command/apt-cdrom/ ¤ϾƤ­»¤¸¤ò²Äǽ¤ʸ¤êÊäÀµ¤·¡¢ - ¥ǥ£¥¹¥¯¹½¤¤γÎǧ¤ò½õ¤±¤ޤ¹¡£¤ޤ¿¡¢¥¤¥ó¥ǥ寥¹¥ե¡¥¤¥ë¤γÎǧ¤ò¹Ԥ¤¤ޤ¹¡£ - <para> -<!-- - It is necessary to use <command/apt-cdrom/ to add CDs to the APT system, - it cannot be done by hand. Furthermore each disk in a multi-cd set must be - inserted and scanned separately to account for possible mis-burns. ---> - APT ¥·¥¹¥ƥà¤Ç CD ¤òÄɲ乤ë¤Τϼêºî¶ȤǤÏÆ񤷤¤¤¿¤ᡢ<command/apt-cdrom/ - ¤¬ɬÍפǤ¹¡£¤½¤ξ塢CD ¥»¥åȤΥǥ£¥¹¥¯¤ò 1 Ë礍ġ¢¾Ƥ­»¤¸¤òÊäÀµ¤Ǥ­¤뤫 - ɾ²Á¤·¤ʤ±¤ì¤Фʤê¤ޤ»¤ó¡£ - <para> -<!-- - Unless the <option/-h/, or <option/- -help/ option is given one of the - commands below must be present. ---> - <option/-h/ ¤ä <option/--help/ ¤ò½ü¤­¡¢°ʲ¼¤˵󤲤륳¥ޥó¥ɤ¬ɬÍפǤ¹¡£ - <VariableList> - <VarListEntry><Term>add</Term> - <ListItem><Para> -<!-- - <literal/add/ is used to add a new disc to the source list. It will unmount the - CDROM device, prompt for a disk to be inserted and then procceed to - scan it and copy the index files. If the disc does not have a proper - <filename>.disk/</> directory you will be prompted for a descriptive - title. ---> - <literal/add/ ¤ϡ¢¿·¤·¤¤¥ǥ£¥¹¥¯¤ò¼èÆÀ¸µ¥ꥹ¥ȤËÄɲä·¤ޤ¹¡£ - CDROM ¥ǥХ¤¥¹¤Υ¢¥ó¥ޥ¦¥ó¥ȡ¢¥ǥ£¥¹¥¯ÁÞÆþ¤Υץí¥ó¥ץȤÎɽ¼¨¤θå¤ˡ¢ - ¥ǥ£¥¹¥¯¤Υ¹¥­¥ã¥ó¤ȥ¤¥ó¥ǥ寥¹¥ե¡¥¤¥ë¤Υ³¥ԡ¼¤ò¹Ԥ¤¤ޤ¹¡£ - ¥ǥ£¥¹¥¯¤ËÀµ¤·¤¤ <filename>.disk/</> ¥ǥ£¥쥯¥ȥ꤬¸ºߤ·¤ʤ¤¾ì¹硢 - ¥¿¥¤¥ȥë¤òÆþÎϤ¹¤ë¤褦¥¤·¤ޤ¹¡£ - <para> -<!-- - APT uses a CDROM ID to track which disc is currently in the drive and - maintains a database of these IDs in - <filename>&statedir;/cdroms.list</> ---> - APT ¤ϡ¢¸½ºߥɥ饤¥֤ˤ¢¤ë¥ǥ£¥¹¥¯¤Υȥé¥å¯¤«¤é¼èÆÀ¤·¤¿¡¢CDROM ID ¤ò - »ÈÍѤ·¤ޤ¹¡£¤ޤ¿¤½¤Î ID ¤ò¡¢<filename>&statedir;/cdroms.list</> Æâ¤Î - ¥ǡ¼¥¿¥١¼¥¹¤ǴÉÍý¤·¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>ident</Term> - <ListItem><Para> -<!-- - A debugging tool to report the identity of the current disc as well - as the stored file name ---> - ³ÊǼ¤µ¤ì¤Ƥ¤¤ë¥ե¡¥¤¥ë̾¤ȡ¢¸½ºߤΥǥ£¥¹¥¯¤¬Ʊ°줫¤ɤ¦¤«¤ò¥ì¥ݡ¼¥Ȥ¹¤롢 - ¥ǥХå°¥ġ¼¥ë¤Ǥ¹¡£ - </VarListEntry> - </VariableList> - </RefSect1> - -<!-- - <RefSect1><Title>Options</> ---> - <RefSect1><Title>¥ª¥ץ·¥ç¥ó</> - - &apt-cmdblurb; - - <VariableList> - <VarListEntry><term><option/-d/</><term><option/--cdrom/</> - <ListItem><Para> -<!-- - Mount point; specify the location to mount the cdrom. This mount - point must be listed in <filename>/etc/fstab</> and propely configured. - Configuration Item: <literal/Acquire::cdrom::mount/. ---> - ¥ޥ¦¥ó¥ȥݥ¤¥ó¥È - cdrom ¤ò¥ޥ¦¥ó¥Ȥ¹¤ë¾ì½ê¤ò»ØÄꤷ¤ޤ¹¡£ - ¤³¤Υޥ¦¥ó¥ȥݥ¤¥ó¥Ȥϡ¢<filename>/etc/fstab</> ¤ËÀµ¤·¤¯ÀßÄꤵ¤ì¤Ƥ¤¤ë - ɬÍפ¬¤¢¤ê¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/Acquire::cdrom::mount/ - </VarListEntry> - - <VarListEntry><term><option/-r/</><term><option/--rename/</> - <ListItem><Para> -<!-- - Rename a disc; change the label of a disk or override the disks - given label. This option will cause <command/apt-cdrom/ to prompt for - a new label. - Configuration Item: <literal/APT::CDROM::Rename/. ---> - ¥ǥ£¥¹¥¯¤Î̾Á°Êѹ¹ - »ØÄꤷ¤¿̾Á°¤ǥǥ£¥¹¥¯¤Υé¥٥ë¤òÊѹ¹¡¦¹¹¿·¤·¤ޤ¹¡£ - ¤³¤Υª¥ץ·¥ç¥ó¤ˤè¤ꡢ<command/apt-cdrom/ ¤¬¿·¤·¤¤¥é¥٥ë¤òÆþÎϤ¹¤ë¤褦 - ¥¤·¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::CDROM::Rename/ - </VarListEntry> - - <VarListEntry><term><option/-m/</><term><option/--no-mount/</> - <ListItem><Para> -<!-- - No mounting; prevent <command/apt-cdrom/ from mounting and unmounting - the mount point. - Configuration Item: <literal/APT::CDROM::NoMount/. ---> - ¥ޥ¦¥ó¥Ȥʤ· - <command/apt-cdrom/ ¤¬¡¢¥ޥ¦¥ó¥ȥݥ¤¥ó¥ȤË - ¥ޥ¦¥ó¥ȡ¦¥¢¥ó¥ޥ¦¥ó¥Ȥ¹¤ë¤ΤòËɤ®¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::CDROM::NoMount/ - </VarListEntry> - - <VarListEntry><term><option/-f/</><term><option/--fast/</> - <ListItem><Para> -<!-- - Fast Copy; Assume the package files are valid and do not check - every package. This option should be used only if - <command/apt-cdrom/ has been run on this disc before and did not detect - any errors. - Configuration Item: <literal/APT::CDROM::Fast/. ---> - ¹â®¥³¥ԡ¼ - ¥ѥ屡¼¥¸¥ե¡¥¤¥뤬ÂÅÅö¤Ǥ¢¤ë¤Ȳ¾Äꤷ¡¢ - ¥Á¥§¥å¯¤òÁ´¤¯¹Ԥ¤¤ޤ»¤󡣡£ - ¤³¤Υª¥ץ·¥ç¥ó¤ϡ¢¤³¤Υǥ£¥¹¥¯¤ǰÊÁ° <command/apt-cdrom/ ¤ò¹ԤäƤª¤ꡢ - ¥¨¥顼¤򸡽Ф·¤ʤ«¤ä¿¾ì¹ç¤Τ߻ÈÍѤ¹¤٤­¤Ǥ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::CDROM::Fast/ - </VarListEntry> - - <VarListEntry><term><option/-a/</><term><option/--thorough/</> - <ListItem><Para> -<!-- - Thorough Package Scan; This option may be needed with some old - Debian 1.1/1.2 discs that have Package files in strange places. It - takes much longer to scan the CD but will pick them all up. ---> - ´°Á´¥ѥ屡¼¥¸¥¹¥­¥ã¥ó - ¸Ť¤ Debian 1.1/1.2 ¤Υǥ£¥¹¥¯¤ϡ¢ - ¥ѥ屡¼¥¸¥ե¡¥¤¥뤬°㤦¾ì½ê¤ˤ¢¤뤿¤ᡢ¤³¤Υª¥ץ·¥ç¥ó¤ò»Ȥ¦ɬÍפ¬ - ¤¢¤뤫¤⤷¤ì¤ޤ»¤ó¡£ - CD ¤򥹥­¥ã¥󤹤ë¤ΤËÈó¾ï¤˻þ´֤¬¤«¤«¤ê¤ޤ¹¤¬¡¢Á´¥ѥ屡¼¥¸¥ե¡¥¤¥ë¤ò - Ãê½Ф¹¤뤳¤Ȥ¬¤Ǥ­¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><term><option/-n/</> - <term><option/--just-print/</> - <term><option/--recon/</> - <term><option/--no-act/</> - <ListItem><Para> -<!-- - No Changes; Do not change the &sources-list; file and do not - write index files. Everything is still checked however. - Configuration Item: <literal/APT::CDROM::NoAct/. ---> - Êѹ¹¤ʤ· - &sources-list; ¥ե¡¥¤¥ë¤ÎÊѹ¹¤䡢¥¤¥ó¥ǥ寥¹¥ե¡¥¤¥ë¤Î - ½񤭹þ¤ߤò¹Ԥ¤¤ޤ»¤󡣤ȤϤ¤¤¨¡¢¤¹¤٤ƤΥÁ¥§¥å¯¤ϹԤï¤ì¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::CDROM::NoAct/ - </VarListEntry> - - &apt-commonoptions; - - </VariableList> - </RefSect1> - -<!-- - <RefSect1><Title>See Also</> ---> - <RefSect1><Title>´ØϢ¹àÌÜ</> - <para> - &apt-conf;, &apt-get;, &sources-list; - </RefSect1> - -<!-- - <RefSect1><Title>Diagnostics</> ---> - <RefSect1><Title>¿ÇÃǥá¥å»¡¼¥¸</> - <para> -<!-- - <command/apt-cdrom/ returns zero on normal operation, decimal 100 on error. ---> - <command/apt-get/ ¤ÏÀµ¾ェλ»þ¤Ë 0 ¤òÊ֤·¤ޤ¹¡£ - ¥¨¥顼»þ¤ˤϽ½¿ʤÎ 100 ¤òÊ֤·¤ޤ¹¡£ - </RefSect1> - - &manbugs; - &manauthor; - &translator; -</refentry> - diff --git a/doc/ja/apt-cdrom.ja.8.xml b/doc/ja/apt-cdrom.ja.8.xml new file mode 100644 index 000000000..bf84b4749 --- /dev/null +++ b/doc/ja/apt-cdrom.ja.8.xml @@ -0,0 +1,255 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + +<!ENTITY % aptent SYSTEM "apt.ent.ja"> +%aptent; + +]> + +<refentry> + + <refentryinfo> + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + <date>14 February 2004</date> + </refentryinfo> + + <refmeta> + <refentrytitle>apt-cdrom</refentrytitle> + <manvolnum>8</manvolnum> + </refmeta> + + <!-- Man page title --> + <refnamediv> + <refname>apt-cdrom</refname> +<!-- + <refpurpose>APT CDROM management utility</refpurpose> +--> + <refpurpose>APT CDROM 管理ユーティリティ</refpurpose> + </refnamediv> + + <!-- Arguments --> + <refsynopsisdiv> + <cmdsynopsis> + <command>apt-cdrom</command> + <arg><option>-hvrmfan</option></arg> + <arg><option>-d=<replaceable>cdrom mount point</replaceable></option></arg> + <arg><option>-o=<replaceable>config string</replaceable></option></arg> + <arg><option>-c=<replaceable>file</replaceable></option></arg> + <group> + <arg>add</arg> + <arg>ident</arg> + </group> + </cmdsynopsis> + </refsynopsisdiv> + +<!-- + <refsect1><title>Description +--> + 説明 + + apt-cdrom は利用可能な取得元として、 + APT のリストに新しい CDROM を追加するのに便利です。 + apt-cdrom は焼き損じを可能な限り補正し、 + ディスク構造の確認を助けます。また、インデックスファイルの確認を行います。 + + + + APT システムに手作業で CD を追加するのは難しいため、 + apt-cdrom が必要になります。 + その上、CD セットのディスクを 1 枚づつ、 + 焼き損じを補正できるか評価しなければなりません。 + + + + オプションや オプションを除き、 + 以下に挙げるコマンドが必要です。 + + + add + + add は、 + 新しいディスクを取得元リストに追加します。 + CDROM デバイスのアンマウント、ディスク挿入のプロンプトの表示の後に、 + ディスクのスキャンとインデックスファイルのコピーを行います。 + ディスクに正しい disk ディレクトリが存在しない場合、 + タイトルを入力するよう促します。 + + + + APT は、現在ドライブにあるディスクのトラックから取得した、 + CDROM ID を使用します。またその ID を、 + &statedir;/cdroms.list 内のデータベースで管理します。 + + + + + ident + + 格納されているファイル名と、 + 現在のディスクが同一かどうかをレポートする、デバッグツールです。 + + + + + + + + Options + &apt-cmdblurb; + + + + + マウントポイント - cdrom をマウントする場所を指定します。 + このマウントポイントは、 + /etc/fstab に正しく設定されている必要があります。 + 設定項目 - Acquire::cdrom::mount + + + + + + + ディスクの名前変更 - + 指定した名前でディスクのラベルを変更・更新します。このオプションにより、 + apt-cdrom が新しいラベルを入力するよう促します。 + 設定項目 - APT::CDROM::Rename + + + + + + + マウントなし - apt-cdrom が、 + マウントポイントにマウント・アンマウントしないようにします。 + 設定項目 - APT::CDROM::NoMount + + + + + + + 高速コピー - パッケージファイルが妥当であると仮定し、 + チェックを全く行いません。このオプションは、 + このディスクで以前 apt-cdrom を行っており、 + エラーを検出しなかった場合のみ使用すべきです。 + 設定項目 - APT::CDROM::Fast + + + + + + + 完全パッケージスキャン - + 古い Debian 1.1/1.2 のディスクは、パッケージファイルが違う場所にあるため、 + このオプションを使う必要があるかもしれません。 + CD をスキャンするのに非常に時間がかかりますが、 + 全パッケージファイルを抽出することができます。 + + + + + + + + + + 変更なし - &sources-list; ファイルの変更や、 + インデックスファイルの書き込みを行いません。 + とはいえ、すべてのチェックは行います。 + 設定項目 - APT::CDROM::NoAct + + + + + &apt-commonoptions; + + + + + + 関連項目 + &apt-conf;, &apt-get;, &sources-list; + + + + + 診断メッセージ + + apt-cdrom は正常終了時に 0 を返します。 + エラー時には十進の 100 を返します。 + + + + &manbugs; + &translator; + + diff --git a/doc/ja/apt-config.ja.8.xml b/doc/ja/apt-config.ja.8.xml new file mode 100644 index 000000000..b1d90f5b5 --- /dev/null +++ b/doc/ja/apt-config.ja.8.xml @@ -0,0 +1,165 @@ + + +%aptent; + +]> + + + + + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + + 29 February 2004 + + + + apt-config + 8 + + + + + apt-config + + APT 設定取得プログラム + + + + + + apt-config + + + + + shell + dump + + + + + + 説明 + + apt-config は、 + APT スイートの様々な所で一貫した設定を行うために使用する、内部ツールです。 + スクリプトアプリケーションで使いやすい方法で、 + メイン設定ファイル /etc/apt/apt.conf + にアクセスします。 + + + や オプションを除き、 + 以下に挙げるコマンドが必要です。 + + + shell + + + shell は、シェルスクリプトから設定情報にアクセスするのに使用します。 + 引数として、まずシェル変数、次に取得したい設定値をペアで与えます。 + 出力として、現在の値ごとにシェル代入コマンドの一覧を表示します。 + シェルスクリプト内では、以下のようにしてください。 + + + +OPTS="-f" +RES=`apt-config shell OPTS MyApp::options` +eval $RES + + + + これは、MyApp::options の値をシェル環境変数 $OPTS にセットします。 + デフォルト値は となります。 + + + 設定項目は /[fdbi] を後ろに付けられます。 + f はファイル名を、d はディレクトリを、b は true か false を、 + i は整数を返します。 + 返り値ごとに内部で正規化と検証を行います。 + + + + + dump + + + 設定箇所の内容を表示するだけです。 + + + + + + + + オプション + &apt-cmdblurb; + + + + &apt-commonoptions; + + + + + + 関連項目 + &apt-conf; + + + + + 診断メッセージ + + apt-config は正常終了時に 0 を返します。 + エラー時には十進の 100 を返します。 + + + + &manbugs; + &translator; + + + diff --git a/doc/ja/apt-extracttemplates.ja.1.xml b/doc/ja/apt-extracttemplates.ja.1.xml new file mode 100644 index 000000000..079c89402 --- /dev/null +++ b/doc/ja/apt-extracttemplates.ja.1.xml @@ -0,0 +1,121 @@ + + +%aptent; + +]> + + + + + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + + 29 February 2004 + + + + apt-extracttemplates + 1 + + + + + apt-extracttemplates + + Debian パッケージから DebConf 設定とテンプレートを抽出するユーティリティ + + + + + + apt-extracttemplates + + + file + + + + + 説明 + + apt-extracttemplates は、 + 入力に複数の Debian パッケージをとり、 + 関連する設定スクリプトとテンプレートファイルを + (一時ディレクトリに) 出力します。 + 設定スクリプト・テンプレートファイルを持つ、 + 渡されたパッケージそれぞれに対し、以下の形式で 1 行ずつ出力します。 + package version template-file config-script + + テンプレートファイルや、設定スクリプトは、 + -t や --tempdir で指定した一時ディレクトリ + (APT::ExtractTemplates::TempDir) に書き出され、 + ファイル名は、package.template.XXXX や + package.config.XXXX と言った形になります。 + + + + オプション + &apt-cmdblurb; + + + + + + 抽出した debconf テンプレートファイルや設定スクリプトを書き出す、 + 一時ディレクトリ。 + 設定項目 - APT::ExtractTemplates::TempDir + + + &apt-commonoptions; + + + + + + + + 関連項目 + &apt-conf; + + + + 診断メッセージ + apt-extracttemplates は正常終了時に 0 を返します。 + エラー時には十進の 100 を返します。 + + + &manbugs; + &translator; + + diff --git a/doc/ja/apt-ftparchive.ja.1.xml b/doc/ja/apt-ftparchive.ja.1.xml new file mode 100644 index 000000000..82bd9c023 --- /dev/null +++ b/doc/ja/apt-ftparchive.ja.1.xml @@ -0,0 +1,1019 @@ + + +%aptent; + +]> + + + + + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + + 29 February 2004 + + + + apt-ftparchive + 1 + + + + + apt-ftparchive + + インデックスファイル生成ユーティリティ + + + + + + apt-ftparchive + + + + + + + + + packagespathoverridepathprefix + sourcespathoverridepathprefix + contents path + release path + generate config-file section + clean config-file + + + + + + 説明 + + apt-ftparchive は、 + APT が取得元にアクセスするのに必要な、 + インデックスファイルを生成するコマンドラインツールです。 + インデックスファイルは、元のサイトの内容に基づき生成されるべきです。 + + + apt-ftparchive は、 + &dpkg-scanpackages; プログラムのスーパーセットで、 + packages コマンド経由で機能全体を取り込んでいます。 + また、contents ファイルジェネレータ contents と + 完全なアーカイブの生成プロセス「スクリプト」である綿密な手段を含んでいます。 + + + 本質的に apt-ftparchive は、 + .deb ファイルの内容をキャッシュするのにバイナリデータベースを使用できます。 + また、&gzip; 以外のいかなる外部プログラムにも依存しません。 + すべて生成する際、 + + + オプションや オプションを除き、 + 以下に挙げるコマンドが必要です。 + + + packages + + + packages コマンドは、 + ディレクトリツリーからパッケージファイルを生成します。 + 与えられたディレクトリから再帰検索し、.deb ファイルを取得します。 + またパッケージレコードを標準出力にそれぞれ出力します。 + このコマンドは、&dpkg-scanpackages; とほぼ同じです。 + + + オプションで、 + キャッシュ DB を指定できます。 + + + sources + + + sources コマンドは、 + ディレクトリツリーからソースインデックスファイルを生成します。 + 与えられたディレクトリから再帰検索し、.dsc ファイルを取得します。 + またソースレコードを標準出力にそれぞれ出力します。 + このコマンドは、&dpkg-scansources; とほぼ同じです。 + + + override ファイルを指定した場合、. + src 拡張子がついたソースオーバーライドファイルを探します。 + 使用するソースオーバーライドファイルを変更するのには、 + --source-override オプションを使用します。 + + + contents + + + contents コマンドは、 + ディレクトリツリーからコンテンツファイルを生成します。 + 与えられたディレクトリから再帰検索し、.deb ファイルを取得します。 + またファイルごとにファイル一覧を読み取ります。 + その後、パッケージに対応するファイル一覧を標準出力にソートして出力します。 + ディレクトリは出力に含まれません。 + 複数のパッケージが同じファイルを持つ場合、 + パッケージ名をカンマ区切りで出力します。 + + + オプションで、 + キャッシュ DB を指定できます。 + + + release + + + release コマンドは、 + ディレクトリツリーから Release ファイルを生成します。 + 与えられたディレクトリから、Packages, Packages.gz, Packages.bz2, Sources, + Sources.gz, Sources.bz2, Release, md5sum.txt + といったファイルを再帰検索します。 + その後、ファイルごとの MD5 ダイジェストと SHA1 ダイジェストを含んだ + Release ファイルを、標準出力に書き出します。 + + + Release ファイルの追加メタデータフィールドの値は、 + APT::FTPArchive::Release 以下の相当する値 + (例: APT::FTPArchive::Release::Origin) をとります。 + サポートするフィールドは、 + Origin, Label, Suite, + Version, Codename, Date, + Architectures, Components, Description です。 + + + + generate + + + generate コマンドは、 + cron スクリプトから実行できるよう設計されており、 + 与えられた設定ファイルに従ってインデックスを生成します。 + 設定言語は、必要な設定を維持する簡単な方法を提供すると共に、 + インデックスファイルをどのディレクトリから作成するかを指定する、 + 柔軟な方法を提供します。 + + + clean + + + clean コマンドは、 + 設定ファイルで与えられたデータベースを、 + もう必要ないレコードを削除して整理します。 + + + + + + generate 設定 + + + generate コマンドは、 + 生成するアーカイブに関する記述をした設定ファイルを使用します。 + 設定ファイルは、bind 8 や dhcpd といった ISC ツールに見られるような、 + ISC 設定フォーマットに従います。 + &apt-conf; に、文法の説明があります。 + generate 設定はセクション法で解析しますが、 + &apt-conf; はツリー法で解析するのに注意してください。 + これはスコープタグの扱い方に違いがあるだけです。 + + + + generate 設定には 4 個の独立したセクションがあります。 + 以下それぞれ説明します。 + + + Dir セクション + + + Dir セクションは、 + 生成プロセスで必要なファイルを配置するための、 + 標準ディレクトリを定義します。 + このディレクトリは、完全な絶対パスを生成するため、 + 後のセクションで定義される相対パスの前に結合します。 + + ArchiveDir + + + FTP アーカイブのルートを指定します。 + 標準的な Debian 設定では、このディレクトリには + ls-LR と dist ノードがあります。 + + + OverrideDir + + + オーバーライドファイルの場所を指定します。 + + + CacheDir + + + キャッシュファイルの場所を指定します。 + + + FileListDir + + + FileList 設定が以下で使用されている場合、 + ファイルリストファイルの場所を指定します。 + + + + + + Default セクション + + + Default セクションではデフォルト値を指定します。 + また、生成器の動作を制御する設定も行います。 + 他のセクションでは、ここにあるデフォルト値を、 + セクションごとの設定で上書きします。 + + Packages::Compress + + + Package インデックスファイルのデフォルトの圧縮方法を設定します。 + 少なくともひとつは '.' (圧縮なし), 'gzip', 'bzip2' が入る、 + 空白区切りの文字列です。 + 圧縮方法のデフォルトはすべて '. gzip' です。 + + + Packages::Extensions + + + パッケージファイル拡張子のデフォルト値を列挙します。 + このデフォルト値は '.deb' です。 + + + Sources::Compress + + + Packages::Compress と同様に、 + Sources ファイルの圧縮方法を指定します。 + + + Sources::Extensions + + + ソースファイル拡張子のデフォルト値を列挙します。 + このデフォルト値は '.dsc' です。 + + + Contents::Compress + + + Packages::Compress と同様に、 + Contents ファイルの圧縮方法を指定します。 + + + DeLinkLimit + + + 実行するごとに delink (及びハードリンクの置き換え) する量を、 + キロバイト単位で指定します。セクションごとの + External-Links 設定と合わせて使います。 + + + FileMode + + + 作成したインデックスファイルのモードを指定します。 + デフォルトは 0644 です。全インデックスファイルは、 + umask を無視してこのモードを使用します。 + + + + + + TreeDefault セクション + + + 特定の Tree セクションのデフォルトを設定します。 + これらの変数はすべて置換変数であり、 + 文字列 $(DIST), $(SECTION), $(ARCH) をそれぞれの値に展開します。 + + + MaxContentsChange + + + 日毎に生成する contents ファイルをキロバイト単位で設定します。 + contents ファイルをラウンドロビンし、数日経つとすべて再生成します。 + + + ContentsAge + + + 変更がない contents ファイルをチェックする日数を指定します。 + この制限を越えた contents ファイルの mtime を、更新します。 + パッケージファイルが変更されても、 + [例えば上書き編集で] contents ファイルが更新されないような場合、 + こういったことが発生します。 + 新しい .deb ファイルをインストールしたい場合、保留を解除でき、 + 少なくとも新しいファイルが必要です。 + デフォルトは 10 で、単位は日です。 + + + Directory + + + .deb ディレクトリツリーの先頭を設定します。デフォルトは + $(DIST)/$(SECTION)/binary-$(ARCH)/ です。 + + + SrcDirectory + + + ソースパッケージディレクトリツリーの先頭を設定します。デフォルトは + $(DIST)/$(SECTION)/source/ です。 + + + Packages + + + Packages ファイルの出力先を設定します。デフォルトは + $(DIST)/$(SECTION)/binary-$(ARCH)/Packages です。 + + + Sources + + + Packages ファイルの出力先を設定します。デフォルトは + $(DIST)/$(SECTION)/source/Sources です。 + + + InternalPrefix + + + 外部リンクではなく、内部リンクと見なす判断材料となる、 + パスのプレフィックスを設定します。デフォルトは、 + $(DIST)/$(SECTION)/ です。 + + + Contents + + + Contents ファイルの出力先を設定します。デフォルトは、 + $(DIST)/Contents-$(ARCH) です。 + 複数の Packages ファイルを ひとつの Contents ファイルにまとめられる設定 + (デフォルト) の場合、apt-ftparchive + は自動でパッケージファイルをまとめます。 + + + Contents::Header + + + contents の出力に付けるヘッダファイルを設定します。 + + + BinCacheDB + + + このセクションで使用するバイナリキャッシュデータベースを設定します。 + 複数のセクションで同じデータベースを共有できます。 + + + FileList + + + ディレクトリツリーを走査する代わりに、apt-ftparchive + が読み込むファイル一覧ファイルを指定します。 + 相対ファイル名は、アーカイブディレクトリが先頭につきます。 + + + SourceFileList + + + ディレクトリツリーを走査する代わりに、apt-ftparchive + が読み込むファイル一覧ファイルを指定します。 + 相対ファイル名は、アーカイブディレクトリが先頭につきます。 + ソースインデックスを処理する際に使用します。 + + + + + + Tree セクション + + + Tree セクションでは、 + ベースディレクトリからの標準 Debian ファイルツリー、 + ベースディレクトリの複数のセクション、 + 最終的にはセクションごとの複数のアーキテクチャを定義します。 + 使用する正確なパスは、Directory 変数で定義されます。 + + + Tree セクションは、 + $(DIST) 変数で設定されているスコープタグをとり、 + ツリーのルート (ArchiveDirが先頭につくパス) + を定義します。 + 通常、この設定は dists/woody のようになります。 + + + TreeDefault セクションで定義される設定はすべて、 + 3 個の新しい変数と同様に、 + Tree セクションで使用できます。 + + + Tree セクションを処理する際、 + apt-ftparchive は以下のような操作を行います。 + +for i in Sections do + for j in Architectures do + Generate for DIST=scope SECTION=i ARCH=j + + + + Sections + + + distribution 以下に現れるセクションを、空白区切りで指定したリストです。 + 通常、main contrib non-freeのようになります。 + + + Architectures + + + search セクション以下に現れるアーキテクチャを、 + 空白区切りで指定したリストです。 + 特殊アーキテクチャ 'source' は、 + ソースアーカイブのツリーであることを示します。 + + + BinOverride + + + バイナリオーバーライドファイルを設定します。 + このオーバーライドファイルには、セクション、優先度、 + メンテナのアドレスといった情報が含まれています。 + + + SrcOverride + + + ソースオーバーライドファイルを設定します。 + このオーバーライドファイルには、 + セクションの情報が含まれています。 + + + ExtraOverride + + + バイナリ特別オーバーライドファイルを設定します。 + + + SrcExtraOverride + + + ソース特別オーバーライドファイルを設定します。 + + + + + + BinDirectory セクション + + + bindirectory セクションでは、 + 特殊な構造を持たないバイナリディレクトリツリーを定義します。 + スコープタグはバイナリディレクトリの場所を指定し、 + 設定は、変数展開のない Tree セクションや + SectionArchitecture 設定に似ています。 + + Packages + + + Packages ファイルの出力先を設定します。 + + + SrcPackages + + + Sources ファイルの出力先を設定します。 + 少なくとも Packages や SrcPackages + は設定されていなければなりません。 + + + Contents + + + Contents ファイルの出力先を設定します。(オプション) + + + BinOverride + + + バイナリオーバーライドファイルを設定します。 + + + SrcOverride + + + ソースオーバーライドファイルを設定します。 + + + ExtraOverride + + + バイナリ特別オーバーライドファイルを設定します。 + + + SrcExtraOverride + + + ソース特別オーバーライドファイルを設定します。 + + + BinCacheDB + + + キャッシュ DB を設定します。 + + + PathPrefix + + + 全出力パスに付加するパス。 + + + FileList, SourceFileList + + + ファイル一覧ファイルを指定します。 + + + + + + + + バイナリオーバーライドファイル + + バイナリオーバーライドファイルは、 + &dpkg-scanpackages; と完全に互換性があります。 + ここには、空白区切りでフィールドが 4 個あります。 + 先頭のフィールドはパッケージ名、 + 2 番目のフィールドはパッケージに強制する優先度、 + 3 番目のフィールドはパッケージに強制するセクション、 + 最後のフィールドはメンテナ順列フィールドです。 + + メンテナフィールドは一般的には、 + old [// oldn]* => new + という形式か、単純に + new + となります。 + 最初の形式は、// で区切られた古いemail アドレスのリストを許可します。 + この形式がある場合は、メンテナフィールドになるよう new に置換してください。 + 2 番目の形式は無条件にメンテナフィールドに置換します。 + + + + + ソースオーバーライドファイル + + + ソースオーバーライドファイルは、 + &dpkg-scansources; と完全に互換性があります。 + ここには、空白区切りでフィールドが 2 個あります。 + 先頭のフィールドはソースパッケージ名、 + 2 番目のフィールドは割り当てるセクションです。 + + + + 特別オーバーライドファイル + + + 特別オーバーライドファイルは、 + 出力中に任意のタグを追加・置換できるようにします。 + 3 列からなり、先頭はパッケージ、2番目はタグ、残りは新しい値です。 + + + + オプション + &apt-cmdblurb; + + + + + + MD5 sum を生成します。デフォルトで on になっており、 + off にすると生成したインデックスファイルに MD5Sum フィールドがありません。 + 設定項目 - APT::FTPArchive::MD5 + + + + + + バイナリキャッシュ DB を使用します。 + generate コマンドには影響しません。 + 設定項目 - APT::FTPArchive::DB + + + + + + 静粛 - 進捗表示を省略し、ログをとるのに便利な出力を行います。 + 最大 2 つまで q を重ねることでより静粛にできます。 + また、 のように静粛レベルを指定して、 + 設定ファイルを上書きすることもできます。 + 設定項目 - quiet + + + + + + Delink を実行します。 + External-Links 設定を使用している場合、 + このオプションはファイルの delink を有効にします。 + デフォルトは on で、 + off にするには としてください。 + 設定項目 - APT::FTPArchive::DeLinkAct + + + + + + contents の生成を行います。このオプションを指定し、 + パッケージインデックスをキャッシュ DB と共に生成する際、 + ファイルリストを後で使用するように、抽出し DB に格納します。 + generate コマンドを使用する際、 + このオプションでいずれの Contents ファイルも作成できます。 + デフォルトは on です。 + 設定項目 - APT::FTPArchive::Contents + + + + + + sources コマンドで使用する、 + ソースオーバーライドファイルを選択します。 + 設定項目 - APT::FTPArchive::SourceOverride + + + + + + キャッシュデータベースを読み取り専用にします。 + 設定項目 - APT::FTPArchive::ReadOnlyDB + + + &apt-commonoptions; + + + + + +サンプル + + +バイナリパッケージ (.deb) があるディレクトリの +Packages ファイルを生成するには、以下のようにします。 + + +apt-ftparchive packages directory | gzip > Packages.gz + + + + + + 関連項目 + &apt-conf; + + + + 診断メッセージ + + apt-ftparchive は正常終了時に 0 を返します。 + エラー時には十進の 100 を返します。 + + + &manbugs; + &translator; + + diff --git a/doc/ja/apt-get.ja.8.sgml b/doc/ja/apt-get.ja.8.sgml deleted file mode 100644 index 156f83699..000000000 --- a/doc/ja/apt-get.ja.8.sgml +++ /dev/null @@ -1,857 +0,0 @@ - - - -%aptent; - -]> - - - &apt-docinfo; - - - apt-get - 8 - - - - - apt-get - - APT ¥ѥ屡¼¥¸Áàºî¥桼¥ƥ£¥ê¥ƥ£ -- ¥³¥ޥó¥ɥ饤¥󥤥󥿡¼¥ե§¡¼¥¹ - - - - - - apt-get - - - - - update - upgrade - dselect-upgrade - install pkg - remove pkg - source pkg - build-dep pkg - check - clean - autoclean - - - - - - ÀâÌÀ</> - <para> -<!-- - <command/apt-get/ is the command-line tool for handling packages, and may be - considered the user's "back-end" to other tools using the APT library. ---> - <command/apt-get/ ¤ϥѥ屡¼¥¸¤òÁàº¤륳¥ޥó¥ɥ饤¥ó¥ġ¼¥ë¤ǡ¢ - APT ¥饤¥֥é¥ê¤òÍѤ¤¤ë¾¤Υġ¼¥ë¤Υ桼¥¶¦¥Х寥¨¥ó¥ɤȤ⤤¤¨¤ë¤â¤ΤǤ¹¡£ - </para> - <para> -<!-- - Unless the <option/-h/, or <option/- -help/ option is given one of the - commands below must be present. ---> - <option/-h/ ¤ä <option/--help/ ¤ò½ü¤­¡¢°ʲ¼¤˵󤲤륳¥ޥó¥ɤ¬ɬÍפǤ¹¡£ - </para> - <VariableList> - <VarListEntry><Term>update</Term> - <ListItem><Para> -<!-- - <literal/update/ is used to resynchronize the package index files from - their sources. The indexes of available packages are fetched from the - location(s) specified in <filename>/etc/apt/sources.list</>. - For example, when using a Debian archive, this command retrieves and - scans the <filename>Packages.gz</> files, so that information about new - and updated packages is available. An <literal/update/ should always be - performed before an <literal/upgrade/ or <literal/dist-upgrade/. Please - be aware that the overall progress meter will be incorrect as the size - of the package files cannot be known in advance. ---> - <literal/update/ ¤Ϥ½¤줾¤ì¼èÆÀ¸µ¤«¤é¥ѥ屡¼¥¸¥¤¥ó¥ǥ寥¹¥ե¡¥¤¥ë¤Î - ºÆƱ´ü¤ò¹Ԥ¦¤Τ˻ÈÍѤ·¤ޤ¹¡£ÍøÍѲÄǽ¤ʥѥ屡¼¥¸¤Υ¤¥ó¥ǥ寥¹¤Ï - <filename>/etc/apt/sources.list</> ¤˵­½Ҥ·¤¿¾ì½꤫¤é¼èÆÀ¤·¤ޤ¹¡£ - Î㤨¤Ð Debian archive ¤òÍøÍѤ¹¤ëºݡ¢¤³¤Υ³¥ޥó¥ɤ¬ <filename>Packages.gz</> - ¥ե¡¥¤¥ë¤򸡺÷¤¹¤뤳¤Ȥǡ¢¿·µ¬¤ޤ¿¤Ϲ¹¿·¤µ¤줿¥ѥ屡¼¥¸¤ξðÊó¤¬ÍøÍѲÄǽ - ¤Ȥʤê¤ޤ¹¡£<literal/update/ ¤Ï <literal/upgrade/ ¤ä - <literal/dist-upgrade/ ¤ò¹Ԥ¦Á°¤˾ï¤˼¹Ԥ¹¤ë¤٤­¤Ǥ¹¡£ - Á°¤â¤äƥѥ屡¼¥¸¥ե¡¥¤¥ë¤Υµ¥¤¥º¤òÃΤ뤳¤Ȥ¬¤Ǥ­¤ʤ¤¤¿¤ᡢ - Á´ÂΤΥץí¥°¥쥹¥᡼¥¿¤ÏÀµ¤·¤¯ɽ¼¨¤µ¤ì¤ޤ»¤ó¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>upgrade</Term> - <ListItem><Para> -<!-- - <literal/upgrade/ is used to install the newest versions of all packages - currently installed on the system from the sources enumerated in - <filename>/etc/apt/sources.list</>. Packages currently installed with - new versions available are retrieved and upgraded; under no circumstances - are currently installed packages removed, or packages not already installed - retrieved and installed. New versions of currently installed packages that - cannot be upgraded without changing the install status of another package - will be left at their current version. An <literal/update/ must be - performed first so that <command/apt-get/ knows that new versions of packages are - available. ---> - <literal/upgrade/ ¤ϡ¢¸½ºߥ·¥¹¥ƥà¤˥¤¥󥹥ȡ¼¥뤵¤ì¤Ƥ¤¤ëÁ´¥ѥ屡¼¥¸¤Î - ºǿ·¥С¼¥¸¥ç¥ó¤ò¡¢<filename>/etc/apt/sources.list</> ¤ËÎóµ󤷤¿¼èÆÀ¸µ¤«¤é - ¥¤¥󥹥ȡ¼¥뤹¤ë¤Τ˻ÈÍѤ·¤ޤ¹¡£¸½ºߥ¤¥󥹥ȡ¼¥ëÃæ¤Υѥ屡¼¥¸¤˿·¤·¤¤ - ¥С¼¥¸¥ç¥󤬤¢¤ì¤й¹¿·¤·¤ޤ¹¤¬¡¢¤¤¤«¤ʤë»þ¤⸽ºߥ¤¥󥹥ȡ¼¥ëÃæ¤Î - ¥ѥ屡¼¥¸¤κï½ü¤ϹԤ¤¤ޤ»¤ó¡£ÂоݤΥѥ屡¼¥¸¤¬ - ¾¤Υѥ屡¼¥¸¤Υ¤¥󥹥ȡ¼¥ë¾õÂ֤òÊѹ¹¤»¤º¤˹¹¿·¤Ǥ­¤ʤ¤¾ì¹ç¤ϡ¢ - ¸½ºߤΥС¼¥¸¥ç¥ó¤ΤޤޤȤʤê¤ޤ¹¡£ - <literal/update/ ¤ò¤Ϥ¸¤á¤˼¹Ԥ·¤Ƥª¤¤¤ơ¢<command/apt-get/ ¤Ë - ¥ѥ屡¼¥¸¤ο·¤·¤¤¥С¼¥¸¥ç¥ó¤¬ÍøÍѤǤ­¤뤳¤ȤòÃΤ餻¤ëɬÍפ¬¤¢¤ê¤ޤ¹¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>dselect-upgrade</Term> - <ListItem><Para> -<!-- - is used in conjunction with the traditional Debian GNU/Linux packaging - front-end, &dselect;. <literal/dselect-upgrade/ - follows the changes made by &dselect; to the <literal/Status/ - field of available packages, and performs the actions necessary to realize - that state (for instance, the removal of old and the installation of new - packages). ---> - ÅÁÅýŪ¤Ê Debian GNU/Linux ¥ѥ屡¼¥¸´ÉÍý¥եí¥ó¥ȥ¨¥ó¥ɤÎ &dselect; - ¤ȶ¦¤˻ÈÍѤµ¤ì¤ޤ¹¡£<literal/dselect-upgrade/ ¤Ï &dselect; ¤Ǻî¤é¤줿 - ÍøÍѲÄǽ¥ѥ屡¼¥¸¤Î <literal/Status/ ¥ե£¡¼¥ë¥ɤÎÊѹ¹¤òÄÉÀפ·¡¢ - ¤½¤ξõÂ֤òȿ±Ǥµ¤»¤ë¤ΤËɬÍפʥ¢¥¯¥·¥ç¥ó¤ò¼¹Ԥ·¤ޤ¹¡£ - (Î㤨¤С¢¸Ť¤¥ѥ屡¼¥¸¤κï½ü¤俷¤·¤¤¥ѥ屡¼¥¸¤Υ¤¥󥹥ȡ¼¥ë¤ʤÉ) - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>dist-upgrade</Term> - <ListItem><Para> -<!-- - <literal/dist-upgrade/, in addition to performing the function of - <literal/upgrade/, also intelligently handles changing dependencies - with new versions of packages; <command/apt-get/ has a "smart" conflict - resolution system, and it will attempt to upgrade the most important - packages at the expense of less important ones if necessary. - The <filename>/etc/apt/sources.list</> file contains a list of locations - from which to retrieve desired package files. ---> - <literal/dist-upgrade/ ¤Ï <literal/upgrade/ ¤ε¡ǽ¤˲䨡¢¿·¥С¼¥¸¥ç¥ó¤Î - ¥ѥ屡¼¥¸¤ËÂФ¹¤ë°Í¸´ط¸¤ÎÊѹ¹¤òÃÎŪ¤ËÁàº¤ޤ¹¡£ - <command/apt-get/ ¤ϡÖÀöÎý¤µ¤줿¡׶¥¹ç²ò·襷¥¹¥ƥà¤ò»ý¤Á¡¢ɬÍפʤé - Èæ³ÓŪ½ÅÍפǤʤ¤¥ѥ屡¼¥¸¤òµ¾À·¤ˤ·¤ơ¢ºǽÅÍץѥ屡¼¥¸¤ι¹¿·¤ò - »î¤ߤޤ¹¡£ - <filename>/etc/apt/sources.list</> ¥ե¡¥¤¥ë¤ËɬÍפʥѥ屡¼¥¸¥ե¡¥¤¥ë¤ò - ¸¡º÷¤¹¤ë¾ì½ê¤Υꥹ¥Ȥ¬´ޤޤì¤Ƥ¤¤ޤ¹¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>install</Term> - <ListItem><Para> -<!-- - <literal/install/ is followed by one or more packages desired for - installation. Each package is a package name, not a fully qualified - filename (for instance, in a Debian GNU/Linux system, libc6 would be the - argument provided, not em(libc6_1.9.6-2.deb)). All packages required - by the package(s) specified for installation will also be retrieved and - installed. The <filename>/etc/apt/sources.list</> file is used to locate - the desired packages. If a hyphen is appended to the package name (with - no intervening space), the identified package will be removed if it is - installed. Similarly a plus sign can be used to designate a package to - install. These latter features may be used to override decisions made by - apt-get's conflict resolution system. ---> - <literal/install/ ¤θå¤ˤϥ¤¥󥹥ȡ¼¥뤹¤ë¥ѥ屡¼¥¸¤ò1¤İʾ廨Äꤷ¤ޤ¹¡£ - »ØÄꤹ¤ë¥ѥ屡¼¥¸¤ϡ¢´°Á´¤ʥե¡¥¤¥ë̾¤ǤϤʤ¯¥ѥ屡¼¥¸̾¤Ǥ¹¡£ - (Î㤨¤Ð Debian GNU/Linux ¥·¥¹¥ƥà¤ǤÏ libc6_1.9.6-2.deb ¤ǤϤʤ¯ libc6 ¤ò - °ú¿ô¤Ȥ·¤ÆͿ¤¨¤ޤ¹) ¥¤¥󥹥ȡ¼¥뤹¤ë¤褦»ØÄꤷ¤¿¤¹¤٤ƤΥѥ屡¼¥¸¤ËÂФ· - ¸¡º÷¡¦¥¤¥󥹥ȡ¼¥ë¤ò¹Ԥ¤¤ޤ¹¡£<filename>/etc/apt/sources.list</> ¥ե¡¥¤¥ë - ¤ò¡¢Í׵᤹¤ë¥ѥ屡¼¥¸¤ξì½ê¤òÆÃÄꤹ¤ë¤Τ˻ÈÍѤ·¤ޤ¹¡£ - ¥ѥ屡¼¥¸̾¤θå¤í¤Ë (¶õÇò¤ò´ޤޤº) ¥ϥ¤¥եó¤¬Äɲ䵤ì¤Ƥ¤¤ë¾ì¹硢 - ¤½¤Υѥ屡¼¥¸¤¬¥¤¥󥹥ȡ¼¥뤵¤ì¤Ƥ¤¤ì¤кï½ü¤·¤ޤ¹¡£ - ƱÍͤˡ¢¥¤¥󥹥ȡ¼¥뤹¤ë¥ѥ屡¼¥¸¤òÌÀ¼¨¤¹¤ë¤Τ˥ץ饹µ­¹æ¤â»ÈÍѤǤ­¤ޤ¹¡£ - ¤³¤Îʸ»ú¤Ï apt-get ¤ζ¥¹ç²ò·襷¥¹¥ƥà¤ÎȽÃǤËÍøÍѤµ¤ì¤뤫¤⤷¤ì¤ޤ»¤ó¡£ - </para> - <para> -<!-- - A specific version of a package can be selected for installation by - following the package name with an equals and the version of the package - to select. This will cause that version to be located and selected for - install. Alternatively a specific distribution can be selected by - following the package name with a slash and the version of the - distribution or the Archive name (stable, frozen, unstable). ---> - ¥ѥ屡¼¥¸¤˥¤¥³¡¼¥뵭¹æ¤ȥС¼¥¸¥ç¥ó¤ò³¤±¤뤳¤Ȥǡ¢ - ÁªÂ򤷤¿¥С¼¥¸¥ç¥ó¤Υѥ屡¼¥¸¤򥤥󥹥ȡ¼¥뤹¤뤳¤Ȥ¬¤Ǥ­¤ޤ¹¡£ - ¤Ĥޤê»ØÄê¤ΥС¼¥¸¥ç¥ó¤Υѥ屡¼¥¸¤򥤥󥹥ȡ¼¥뤹¤ë¤褦¤ËÁªÂò - ¤¹¤ë¤Ȥ¤¤¤¤¦¤³¤ȤǤ¹¡£ - Ê̤ÎÊýˡ¤Ȥ·¤Ƥϡ¢¥ǥ£¥¹¥ȥê¥ӥ塼¥·¥ç¥ó¤òÆÃÄꤹ¤ë¤Τˡ¢ - ¥ѥ屡¼¥¸̾¤θå¤Ë³¤¤¤ƥ¹¥é¥å·¥å¤ȥǥ£¥¹¥ȥê¥ӥ塼¥·¥ç¥ó¤ΥС¼¥¸¥ç¥ó¤ä - ¥¢¡¼¥«¥¤¥Ö̾ (stable, frozen, unstable) ¤򵭽ҤǤ­¤ޤ¹¡£ - </para> - <para> - ¥С¼¥¸¥ç¥óÁªÂ򵡹½¤ϥÀ¥¦¥󥰥졼¥ɻþ¤ˤâ»ÈÍѤǤ­¤뤿¤ᡢÃí°դòʧ¤äÆ - »ÈÍѤ·¤ʤ±¤ì¤Фʤê¤ޤ»¤ó¡£ - </para> - <para> -<!-- - If no package matches the given expression and the expression contains one - of '.', '?' or '*' then it is assumed to be a POSIX regex and it is applied - to all package names in the database. Any matches are then installed (or - removed). Note that matching is done by substring so 'lo.*' matches 'how-lo' - and 'lowest'. If this is undesired prefix with a '^' character. ---> - ¤⤷'.'¡¢'?'¡¢'*'¤ò´ޤ๽ʸ¤˰ì¤Ĥâ¥ѥ屡¼¥¸̾¤¬¥ޥåÁ¤·¤ʤ«¤ä¿¾ì¹硢 - POSIX Àµµ¬ɽ¸½¤Ǥ¢¤ë¤ȸ«¤ʤ·¡¢¥ǡ¼¥¿¥١¼¥¹Æâ¤ÎÁ´¥ѥ屡¼¥¸̾¤ËÂФ·¤Æ - ŬÍѤ·¤ޤ¹¡£ - ¥ޥåÁ¤·¤¿¥ѥ屡¼¥¸¤¹¤٤Ƥ¬¥¤¥󥹥ȡ¼¥ë(¤⤷¤¯¤Ϻï½ü)¤µ¤ì¤ޤ¹¡£ - Ãí) 'lo.*' ¤Τ褦¤Êʸ»úÎó¤Ï 'how-lo' ¤ä 'lowest' ¤˥ޥåÁ¤·¤ޤ¹¡£ - ¤³¤ì¤ò˾¤ޤʤ±¤ì¤С¢ÀèƬ¤Ë '^' ¤ò¤Ĥ±¤Ƥ¯¤À¤µ¤¤¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>remove</Term> - <ListItem><Para> -<!-- - <literal/remove/ is identical to <literal/install/ except that packages are - removed instead of installed. If a plus sign is appended to the package - name (with no intervening space), the identified package will be - installed. ---> - <literal/remove/ ¤Ï ¥ѥ屡¼¥¸¤¬ºï½ü¤µ¤ì¤뤳¤Ȥò½ü¤­¡¢<literal/install/ - ¤ÈƱÍͤǤ¹¡£ - ¥ץ饹µ­¹椬¥ѥ屡¼¥¸̾¤Ë (´֤˶õÇò¤ò´ޤޤº¤Ë) Éղ䵤줿¾ì¹硢 - ¼±Ê̤µ¤줿¥ѥ屡¼¥¸¤򥤥󥹥ȡ¼¥뤷¤ޤ¹¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>source</Term> - <ListItem><Para> -<!-- - <literal/source/ causes <command/apt-get/ to fetch source packages. APT - will examine the available packages to decide which source package to - fetch. It will then find and download into the current directory the - newest available version of that source package. Source packages are - tracked separately from binary packages via <literal/deb-src/ type lines - in the &sources-list; file. This probably will mean that you will not - get the same source as the package you have installed or as you could - install. If the - -compile options is specified then the package will be - compiled to a binary .deb using dpkg-buildpackage, if - -download-only is - specified then the source package will not be unpacked. ---> - <literal/source/ ¤ϥ½¡¼¥¹¥ѥ屡¼¥¸¤ò¼èÆÀ¤¹¤ë¤褦 <command/apt-get/ - ¤¹¤뤳¤Ȥò°Ọ̃¤·¤ޤ¹¡£ - APT ¤ϤɤΥ½¡¼¥¹¥ѥ屡¼¥¸¤ò¼èÆÀ¤¹¤뤫·èÄꤹ¤ë¤褦¡¢ÍøÍѲÄǽ¤ʥѥ屡¼¥¸¤ò - ¸¡Ƥ¤·¤ޤ¹¡£ - ¤½¤θ塢ºǿ·¤ÎÍøÍѲÄǽ¤ʥ½¡¼¥¹¥ѥ屡¼¥¸¤򸫤Ĥ±¡¢¥«¥ì¥ó¥ȥǥ£¥쥯¥ȥê¤Ø - ¥À¥¦¥ó¥í¡¼¥ɤ·¤ޤ¹¡£ - ¥½¡¼¥¹¥ѥ屡¼¥¸¤ϡ¢¥Х¤¥ʥê¥ѥ屡¼¥¸¤ȤÏÊ̤Ë &sources-list; ¥ե¡¥¤¥ë¤Î - <literal/deb-src/ ¹Ԥè¤êÄÉÀפµ¤ì¤ޤ¹¡£ - ¤³¤ì¤ϡ¢¥¤¥󥹥ȡ¼¥뤷¤¿ (¤ޤ¿¤ϥ¤¥󥹥ȡ¼¥ë¤Ǥ­¤ë) ¥ѥ屡¼¥¸¤ȡ¢ - ¼èÆÀ¸µ¤òÊѤ¨¤뤳¤Ȥ¬¤Ǥ­¤뤳¤Ȥ򼨤·¤Ƥ¤¤ޤ¹¡£ - --compile ¥ª¥ץ·¥ç¥󤬻ØÄꤵ¤줿¾ì¹硢dpkg-buildpackage ¤òÍѤ¤¤Æ - ¥Х¤¥ʥê .deb ¥ե¡¥¤¥ë¤إ³¥ó¥ѥ¤¥ë¤ò¹Ԥ¤¤ޤ¹¡£ - --download-only ¤ξì¹ç¤ϥ½¡¼¥¹¥ѥ屡¼¥¸¤òŸ³«¤·¤ޤ»¤ó¡£ - </para> - <para> -<!-- - A specific source version can be retrieved by postfixing the source name - with an equals and then the version to fetch, similar to the mechanism - used for the package files. This enables exact matching of the source - package name and version, implicitly enabling the - <literal/APT::Get::Only-Source/ option. ---> - ¥ѥ屡¼¥¸¤ÈƱÍͤˡ¢¥½¡¼¥¹̾¤θå¤í¤˥¤¥³¡¼¥ë¤ȼèÆÀ¤·¤¿¤¤¥С¼¥¸¥ç¥ó¤ò - Ã֤¯¤³¤Ȥǡ¢»ØÄꤷ¤¿¥С¼¥¸¥ç¥ó¤Υ½¡¼¥¹¤òÆÀ¤뤳¤Ȥ¬¤Ǥ­¤ޤ¹¡£ - <literal/APT::Get::Only-Source/ ¥ª¥ץ·¥ç¥ó¤ǰÅÌۤΤ¦¤Á¤Ëͭ¸ú¤ˤʤäÆ - ¤¤¤뤿¤ᡢ¥½¡¼¥¹¥ѥ屡¼¥¸̾¤ȥС¼¥¸¥ç¥ó¤˸·̩¤˥ޥåÁ¥󥰤¹¤ë¤褦¤Ë - ¤ʤäƤ¤¤ޤ¹¡£ - </para> - - <para> -<!-- - Note that source packages are not tracked like binary packages, they - exist only in the current directory and are similar to downloading source - tar balls. ---> - Ãí) tar ball ¤ϥ«¥ì¥ó¥ȥǥ£¥쥯¥ȥê¤ˤΤߥÀ¥¦¥ó¥í¡¼¥ɤµ¤졢 - ¥«¥ì¥ó¥ȥǥ£¥쥯¥ȥê¤ËŸ³«¤µ¤ì¤ޤ¹¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>build-dep</Term> - <ListItem><Para> -<!-- - <literal/build-dep/ causes apt-get to install/remove packages in an - attempt to satisfy the build dependencies for a source packages. ---> - <literal/build-dep/ ¤ϥ½¡¼¥¹¥ѥ屡¼¥¸¤ι½Ã۰͸´ط¸¤òËþ¤¿¤¹¤褦¤ˡ¢ - ¥ѥ屡¼¥¸¤Υ¤¥󥹥ȡ¼¥롦ºï½ü¤ò¹Ԥ¤¤ޤ¹¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>check</Term> - <ListItem><Para> -<!-- - <literal/check/ is a diagnostic tool; it updates the package cache and checks - for broken dependencies. ---> - <literal/check/ ¤ϡ¢¥ѥ屡¼¥¸¥­¥ã¥å·¥å¤ι¹¿·¤ä²õ¤줿°Í¸´ط¸¤ò¥Á¥§¥å¯¤¹¤ë - ¿ÇÃǥġ¼¥ë¤Ǥ¹¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>clean</Term> - <ListItem><Para> -<!-- - <literal/clean/ clears out the local repository of retrieved package - files. It removes everything but the lock file from - <filename>&cachedir;/archives/</> and - <filename>&cachedir;/archive/partial/</>. When APT is used as a - &dselect; method, <literal/clean/ is run automatically. - Those who do not use dselect will likely want to run <literal/apt-get clean/ - from time to time to free up disk space. - --> - <literal/clean/ ¤ϼèÆÀ¤·¤¿¥ѥ屡¼¥¸¤Υí¡¼¥«¥ë¥ê¥ݥ¸¥ȥê¤òÁݽü¤·¤ޤ¹¡£ - <filename>&cachedir;/archives/</> ¤È - <filename>&cachedir;/archive/partial/</> ¤«¤é - ¥í¥å¯¥ե¡¥¤¥ë°ʳ°¤¹¤٤ƺï½ü¤·¤ޤ¹¡£ - APT ¤¬ &dselect; ¤«¤é¸ƤФì¤ë¤Ȥ­¤ˤϡ¢¼«ưŪ¤Ë <literal/clean/ ¤¬ - ¼¹Ԥµ¤ì¤ޤ¹¡£ - dselect¤ò»ÈÍѤ·¤ʤ¤¾ì¹ç¤ϡ¢¥ǥ£¥¹¥¯¥¹¥ڡ¼¥¹¤ò²òÊü¤¹¤뤿¤ᡢ»þ¡¹ - <literal/apt-get clean/ ¤ò¼¹Ԥ·¤¿¤¯¤ʤë¤Ǥ·¤礦¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><Term>autoclean</Term> - <ListItem><Para> -<!-- - Like <literal/clean/, <literal/autoclean/ clears out the local - repository of retrieved package files. The difference is that it only - removes package files that can no longer be downloaded, and are largely - useless. This allows a cache to be maintained over a long period without - it growing out of control. The configuration option - <literal/APT::Clean-Installed/ will prevent installed packages from being - erased if it is set off. ---> - <literal/clean/ ƱÍ͡¢<literal/autoclean/ ¤ϼèÆÀ¤·¤¿¥ѥ屡¼¥¸¤Υí¡¼¥«¥ë - ¥ê¥ݥ¸¥ȥê¤òÁݽü¤·¤ޤ¹¡£°㤤¤ϡ¢¤⤦¥À¥¦¥ó¥í¡¼¥ɤµ¤ì¤뤳¤Ȥ¬¤ʤ¤ - ¥ѥ屡¼¥¸¥ե¡¥¤¥ë¤䡢¤ۤȤó¤ÉÉÔÍפʥѥ屡¼¥¸¥ե¡¥¤¥ë¤Τߤòºï½ü¤¹¤뤳¤ȤǤ¹¡£ - ¤³¤Τ¿¤ᡢŤ¤´ü´֡¢¥­¥ã¥å·¥夬´ÉÍý¤Ǥ­¤º¤ËÈîÂ粽¤¹¤뤳¤Ȥʤ¯¡¢ - °ݻý¤¹¤뤳¤Ȥ¬¤Ǥ­¤ޤ¹¡£ - ÀßÄꥪ¥ץ·¥ç¥ó <literal/APT::Clean-Installed/ ¤Ë off ¤¬¥»¥åȤ·¤Ƥ¤¤ì¤С¢ - ¥¤¥󥹥ȡ¼¥ëºѤΥѥ屡¼¥¸¥ե¡¥¤¥뤬ºï½ü¤µ¤ì¤ë¤ΤòËɤ°¤³¤Ȥ¬¤Ǥ­¤ޤ¹¡£ - </Para></ListItem> - </VarListEntry> - </VariableList> - </RefSect1> - - <RefSect1><Title>¥ª¥ץ·¥ç¥ó</> - &apt-cmdblurb; - - <VariableList> - <VarListEntry><term><option/-d/</><term><option/--download-only/</> - <ListItem><Para> -<!-- - Download only; package files are only retrieved, not unpacked or installed. - Configuration Item: <literal/APT::Get::Download-Only/. ---> - ¥À¥¦¥ó¥í¡¼¥ɤΤß - ¥ѥ屡¼¥¸¥ե¡¥¤¥ë¤μèÆÀ¤Τߤò¹Ԥ¤¡¢ - Ÿ³«¡¦¥¤¥󥹥ȡ¼¥ë¤ò¹Ԥ¤¤ޤ»¤ó¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Download-Only/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/-f/</><term><option/--fix-broken/</> - <ListItem><Para> -<!-- - Fix; attempt to correct a system with broken dependencies in - place. This option, when used with install/remove, can omit any packages - to permit APT to deduce a likely soltion. Any Package that are specified - must completly correct the problem. The option is sometimes necessary when - running APT for the first time; APT itself does not allow broken package - dependencies to exist on a system. It is possible that a system's - dependency structure can be so corrupt as to require manual intervention - (which usually means using &dselect; or <command/dpkg - -remove/ to eliminate some of - the offending packages). Use of this option together with <option/-m/ may produce an - error in some situations. - Configuration Item: <literal/APT::Get::Fix-Broken/. ---> - ½¤Éü - °Í¸´ط¸¤¬²õ¤줿¥·¥¹¥ƥà¤ν¤Àµ¤ò»î¤ߤޤ¹¡£ - ¤³¤Υª¥ץ·¥ç¥ó¤ò install ¤ä remove ¤Ȱì½ï¤˻Ȥ¦¤Ȥ­¤ϡ¢¥ѥ屡¼¥¸¤ò - »ØÄꤷ¤ʤ¯¤Ƥ⤫¤ޤ¤¤ޤ»¤󡣤ɤΥѥ屡¼¥¸¤ò»ØÄꤷ¤Ƥ⡢´°Á´¤ËÌäÂê¤ò - ²ò·褷¤ޤ¹ - APT ¼«ÂΤϥ·¥¹¥ƥà¤Ë¸ºߤ¹¤ë²õ¤줿¥ѥ屡¼¥¸°Í¸´ط¸¤òµö¤¹¤³¤Ȥ¬¤Ǥ­¤ʤ¤ - ¤Τǡ¢½é¤á¤Æ APT ¤ò¼¹Ԥ¹¤ë¾ì¹硢¤³¤Υª¥ץ·¥ç¥ó¤¬ɬÍפˤʤ뤳¤Ȥ¬¤¢¤ê¤ޤ¹¡£ - ¥·¥¹¥ƥà¤ΰ͸´ط¸¹½¤¤ˤ«¤ʤêÌäÂ꤬¤¢¤ë¾ì¹ç¤ϡ¢¼êư¤ǽ¤Àµ¤¹¤ë¤褦 - Í׵᤹¤뤳¤Ȥ¬¤¢¤êÆÀ¤ޤ¹¡£ - (Ä̾ï¤ϡ¢ÌäÂê¤Τ¢¤ë¥ѥ屡¼¥¸¤ò¼è¤ê½ü¤¯¤ΤË&dselect; ¤ä - <command/dpkg --remove/ ¤ò»ÈÍѤ·¤ޤ¹) - ¤³¤Υª¥ץ·¥ç¥ó¤ò <option/-m/ ¥ª¥ץ·¥ç¥ó¤ÈƱ»þ¤˻ÈÍѤ¹¤ë¤ȡ¢ - ¤¢¤ë¾õ¶·¤Ǥϥ¨¥顼¤ˤʤ뤫¤⤷¤ì¤ޤ»¤ó¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Fix-Broken/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/-m/</><term><option/--ignore-missing/</> - <term><option/--fix-missing/</> - <ListItem><Para> -<!-- - Ignore missing packages; If packages cannot be retrieved or fail the - integrity check after retrieval (corrupted package files), hold back - those packages and handle the result. Use of this option together with - <option/-f/ may produce an error in some situations. If a package is - selected for installation (particularly if it is mentioned on the - command line) and it could not be downloaded then it will be silently - held back. - Configuration Item: <literal/APT::Get::Fix-Missing/. ---> - ·çÍî¥ѥ屡¼¥¸¤Î̵»ë - ¥ѥ屡¼¥¸¤¬¼èÆÀ¤Ǥ­¤ʤ«¤ä¿¤ꡢ - (¥ѥ屡¼¥¸¤ÎÇË»¤Ç) ¼èÆÀ¤·¤¿¸å¤ÎÀ°¹çÀ­¥Á¥§¥å¯¤òÄ̤é¤ʤ«¤ä¿¾ì¹硢 - ¤½¤Υѥ屡¼¥¸¤νèÍý¤òÊÝα¤·ºǸå¤ޤǽèÍý¤ò³¤±¤ޤ¹¡£ - ¤³¤Υª¥ץ·¥ç¥ó¤ò <option/-f/ ¥ª¥ץ·¥ç¥ó¤ÈƱ»þ¤˻ÈÍѤ¹¤ë¤ȡ¢ - ¤¢¤ë¾õ¶·¤Ǥϥ¨¥顼¤ˤʤ뤫¤⤷¤ì¤ޤ»¤ó¡£ - ¥ѥ屡¼¥¸¤򥤥󥹥ȡ¼¥뤹¤ë¤褦ÁªÂ򤷤Ƥ¤¤ë¾ì¹ç - (Æä˥³¥ޥó¥ɥ饤¥ó¤ǤÎÁàºî»þ) ¤䡢¥À¥¦¥ó¥í¡¼¥ɤǤ­¤ʤ«¤ä¿¾ì¹ç¤Ë - ¤ʤˤâɽ¼¨¤»¤ºÊÝα¤¹¤뤳¤Ȥˤʤê¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Fix-Missing/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--no-download/</> - <ListItem><Para> -<!-- - Disables downloading of packages. This is best used with - <option/- -ignore-missing/ to force APT to use only the .debs it has - already downloaded. - Configuration Item: <literal/APT::Get::Download/. ---> - ¥ѥ屡¼¥¸¤ΥÀ¥¦¥ó¥í¡¼¥ɤ򤵤»¤ޤ»¤󡣤³¤ì¤Ϥ¹¤Ǥ˥À¥¦¥ó¥í¡¼¥ɤ·¤¿ .deb - ¤ËÂФ·¤ƤΤßAPT¤ò¹Ԥ¦ºݤˡ¢<option/--ignore-missing/ ¤Èʻ¤»¤Æ - »Ȥ¦¤Τ¬¤褤¤Ǥ·¤礦¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Download/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/-q/</><term><option/--quiet/</> - <ListItem><Para> -<!-- - Quiet; produces output suitable for logging, omitting progress indicators. - More q's will produce more quiet up to a maximum of 2. You can also use - <option/-q=#/ to set the quiet level, overriding the configuration file. - Note that quiet level 2 implies <option/-y/, you should never use -qq - without a no-action modifier such as -d, - -print-uris or -s as APT may - decided to do something you did not expect. - Configuration Item: <literal/quiet/. ---> - ÀŲº - ¿ÊĽɽ¼¨¤ò¾Êά¤·¤ƥí¥°¤ò¤Ȥë¤ΤËÊØÍø¤ʽÐÎϤò¹Ԥ¤¤ޤ¹¡£ - ºÇÂç 2 ¤ĤޤÇ q ¤ò½Ťͤ뤳¤ȤǤè¤êÀŤ«¤ˤǤ­¤ޤ¹¡£ - ¤ޤ¿¡¢<option/-q=#/ ¤Τ褦¤ËÀŲº¥ì¥٥ë¤ò»ØÄꤷ¤ơ¢ÀßÄê¥ե¡¥¤¥ë¤ò - ¾å½񤭤¹¤뤳¤Ȥâ¤Ǥ­¤ޤ¹¡£ - Ãí) ÀŲº¥ì¥٥ë 2 ¤Ï <option/-y/ ¤ΰỌ̃¤ò´ޤó¤Ǥ¤¤ޤ¹¡£ - APT ¤¬°տޤ·¤ʤ¤·èÄê¤ò¹Ԥ¦¤«¤⤷¤ì¤ʤ¤¤ΤÇ -d, --print-uris, -s ¤Τ褦¤Ê - Áàºî¤ò¹Ԥï¤ʤ¤¥ª¥ץ·¥ç¥ó¤ò¤Ĥ±¤º¤Ë -qq ¤ò»ÈÍѤ¹¤ë¤٤­¤ǤϤ¢¤ê¤ޤ»¤ó¡£ - ÀßÄê¹àÌÜ - <literal/quiet/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/-s/</> - <term><option/--simulate/</> - <term><option/--just-print/</> - <term><option/--dry-run/</> - <term><option/--recon/</> - <term><option/--no-act/</> - <ListItem><Para> -<!-- - No action; perform a simulation of events that would occur but do not - actually change the system. - Configuration Item: <literal/APT::Get::Simulate/. ---> - ưºî¤ʤ· - ¤ʤˤ¬µ¯¤³¤ë¤Τ«¤Υ·¥ߥå¥졼¥·¥ç¥ó¤ò¹Ԥ¤¡¢ - ¼ºݤΥ·¥¹¥ƥàÊѹ¹¤Ϥ·¤ޤ»¤ó¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Simulate/ - </para> - <para> -<!-- - Simulate prints out - a series of lines each one representing a dpkg operation, Configure (Conf), - Remove (Remv), Unpack (Inst). Square brackets indicate broken packages with - and empty set of square brackets meaning breaks that are of no consequence - (rare). ---> - ¥·¥ߥå¥졼¥Ȥηë²̡¢dpkg ¤Îưºî¤òɽ¤¹°ìϢ¤ιԤΤ½¤줾¤ì¤ˡ¢ÀßÄê (Conf)¡¢ - ºï½ü (Remv)¡¢ Ÿ³« (Inst) ¤òɽ¼¨¤·¤ޤ¹¡£ - ³ѥ«¥å³¤ϲõ¤줿¥ѥ屡¼¥¸¤òɽ¤·¡¢¶õ¤γѥ«¥å³¤ÏÂ礷¤¿ÌäÂê¤ǤϤʤ¤¤³¤Ȥò - ɽ¤·¤ޤ¹(¤ޤì¤Ǥ¹)¡£ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/-y/</><term><option/--yes/</> - <term><option/--assume-yes/</> - <ListItem><Para> -<!-- - Automatic yes to prompts; assume "yes" as answer to all prompts and run - non-interactively. If an undesirable situation, such as changing a held - package or removing an essential package occurs then <literal/apt-get/ - will abort. - Configuration Item: <literal/APT::Get::Assume-Yes/. ---> - ¥ץí¥ó¥ץȤؤμ«ư¾µÂú - ¤¹¤٤ƤΥץí¥ó¥ץȤ˼«ưŪ¤Ë "yes" ¤ÈÅú¤¨¡¢ - ÈóÂÐÏÃŪ¤˼¹Ԥ·¤ޤ¹¡£ - ÊÝα¤·¤¿¥ѥ屡¼¥¸¤ξõÂ֤òÊѹ¹¤·¤¿¤ꡢɬ¿ܥѥ屡¼¥¸¤òºï½ü¤¹¤ë¤褦¤ÊÉÔŬÀڤʾõ¶·¤ξì¹硢 - <literal/apt-get/ ¤ÏÃæÃǤ¹¤ë¤Ǥ·¤礦¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Assume-Yes/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/-u/</><term><option/--show-upgraded/</> - <ListItem><Para> -<!-- - Show upgraded packages; Print out a list of all packages that are to be - upgraded. - Configuration Item: <literal/APT::Get::Show-Upgraded/. ---> - ¹¹¿·¥ѥ屡¼¥¸ɽ¼¨ - ¹¹¿·¤µ¤ì¤ëÁ´¥ѥ屡¼¥¸¤ΰìÍ÷¤òɽ¼¨¤·¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Show-Upgraded/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/-b/</><term><option/--compile/</> - <term><option/--build/</> - <ListItem><Para> -<!-- - Compile source packages after downloading them. - Configuration Item: <literal/APT::Get::Compile/. ---> - ¥½¡¼¥¹¥ѥ屡¼¥¸¤ò¥À¥¦¥ó¥í¡¼¥ɸ塢¥³¥ó¥ѥ¤¥뤷¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Compile/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--ignore-hold/</> - <ListItem><Para> -<!-- - Ignore package Holds; This causes <command/apt-get/ to ignore a hold - placed on a package. This may be useful in conjunction with - <literal/dist-upgrade/ to override a large number of undesired holds. - Configuration Item: <literal/APT::Ignore-Hold/. ---> - ÊÝα¥ѥ屡¼¥¸̵»ë - ¥ѥ屡¼¥¸¤ÎÊÝα»ؼ¨¤ò̵»뤷¤Æ <command/apt-get/ - ¤ò¹Ԥ¤¤ޤ¹¡£ - ÂçÎ̤Υѥ屡¼¥¸¤òÊÝα¤βò½ü¤򤹤ë¤ΤË <literal/dist-upgrade/ ¤ȶ¦¤Ë - »ÈÍѤ¹¤ë¤ÈÊØÍø¤Ǥ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Ignore-Hold/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--no-upgrade/</> - <ListItem><Para> -<!-- - Do not upgrade packages; When used in conjunction with <literal/install/ - <literal/no-upgrade/ will prevent packages listed from being upgraded - if they are already installed. - Configuration Item: <literal/APT::Get::Upgrade/. ---> - ¥ѥ屡¼¥¸¹¹¿·¤ʤ· - <literal/install/ ¤ÈƱ»þ¤˻ÈÍѤ¹¤ë¤ȡ¢ - <literal/no-upgrade/ ¤ϻØÄꤷ¤¿¥ѥ屡¼¥¸¤¬¤¹¤Ǥ˥¤¥󥹥ȡ¼¥뤷¤Ƥ¢¤ë¾ì¹ç - ¹¹¿·¤ò¹Ԥ¤¤ޤ»¤ó¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Upgrade/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--force-yes/</> - <ListItem><Para> -<!-- - Force yes; This is a dangerous option that will cause apt to continue - without prompting if it is doing something potentially harmful. It - should not be used except in very special situations. Using - <literal/force-yes/ can potentially destroy your system! - Configuration Item: <literal/APT::Get::force-yes/. ---> - ¶¯À©¾µÂú - APT ¤¬²¿¤«»½ý¤òͿ¤¨¤«¤ͤʤ¤ưºî¤򤷤褦¤Ȥ·¤¿¾ì¹ç¤Ǥ⡢ - ³Îǧ¤ÎÆþÎϤʤ·¤Ǽ¹Ԥ·¤Ƥ·¤ޤ¦¡¢´í¸±¤ʥª¥ץ·¥ç¥ó¤Ǥ¹¡£ - ¤è¤ۤɤξõ¶·¤Ǥʤ±¤ì¤С¢»ÈÍѤ·¤ʤ¤Êý¤¬¤¤¤¤¤Ǥ·¤礦¡£ - <literal/force-yes/ ¤Ϥ¢¤ʤ¿¤Υ·¥¹¥ƥà¤òÇ˲õ¤·¤«¤ͤޤ»¤ó! - ÀßÄê¹àÌÜ - <literal/APT::Get::force-yes/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--print-uris/</> - <ListItem><Para> -<!-- - Instead of fetching the files to install their URIs are printed. Each - URI will have the path, the destination file name, the size and the expected - md5 hash. Note that the file name to write to will not always match - the file name on the remote site! This also works with the - <literal/source/ and <literal/update/ commands. When used with the - <literal/update/ command the MD5 and size are not included, and it is - up to the user to decompress any compressed files. - Configuration Item: <literal/APT::Get::Print-URIs/. ---> - ¥¤¥󥹥ȡ¼¥뤹¤ë¥ե¡¥¤¥ë¤ò¼èÆÀ¤¹¤ëÂå¤ï¤ê¤ˡ¢¤½¤ÎURI¤òɽ¼¨¤·¤ޤ¹¡£ - URI¤ˤϡ¢¥ѥ¹¡¢Âоݥե¡¥¤¥ë̾¡¢¥ե¡¥¤¥륵¥¤¥º¡¢ͽ¬¤µ¤ì¤ë md5 ¥ϥå·¥å - ¤¬´ޤޤì¤Ƥ¤¤ޤ¹¡£ - Ãí) ½ÐÎϤ·¤¿¥ե¡¥¤¥ë̾¤¬¡¢¾ï¤˥ê¥⡼¥ȥµ¥¤¥ȤΥե¡¥¤¥ë̾¤ȰìÃפ¹¤ë¤櫓 - ¤ǤϤ¢¤ê¤ޤ»¤ó! ¤³¤ì¤Ï <literal/source/ ¥³¥ޥó¥ɡ¢ <literal/update/ - ¥³¥ޥó¥ɤǤâưº¤ޤ¹¡£ - MD5 ¤ä¥ե¡¥¤¥륵¥¤¥º¤ò´ޤޤº <literal/update/ ¤ǻÈÍѤ·¤¿¤Ȥ­¤ˡ¢ - °µ½̥ե¡¥¤¥ë¤òŸ³«¤¹¤뤳¤Ȥϥ桼¥¶¤ÎÀÕǤ¤ˤª¤¤¤ƹԤäƤ¯¤À¤µ¤¤¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Print-URIs/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--purge/</> - <ListItem><Para> -<!-- - Use purge instead of remove for anything that would be removed. - Configuration Item: <literal/APT::Get::Purge/. ---> - ºï½ü¤¹¤ë¾ì¹硢ºï½ü¤ǤϤʤ¯´°Á´ºï½ü¤ò»ÈÍѤ·¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Purge/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--reinstall/</> - <ListItem><Para> -<!-- - Re-Install packages that are already installed and at the newest version. - Configuration Item: <literal/APT::Get::ReInstall/. ---> - ¤¹¤Ǥ˺ǿ·ÈǤ¬¥¤¥󥹥ȡ¼¥뤵¤ì¤Ƥ¤¤Ƥ⡢¥ѥ屡¼¥¸¤òºƥ¤¥󥹥ȡ¼¥뤷¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::ReInstall/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--list-cleanup/</> - <ListItem><Para> -<!-- - This option defaults to on, use <literal/- -no-list-cleanup/ to turn it - off. When on <command/apt-get/ will automatically manage the contents of - <filename>&statedir;/lists</> to ensure that obsolete files are erased. - The only reason to turn it off is if you frequently change your source - list. - Configuration Item: <literal/APT::Get::List-Cleanup/. ---> - ¤³¤ε¡ǽ¤ϥǥե©¥ë¥ȤÇ ON ¤ˤʤäƤ¤¤ޤ¹¡£ - OFF ¤ˤ¹¤ë¤ˤÏ <literal/--no-list-cleanup/ ¤Ȥ·¤Ƥ¯¤À¤µ¤¤¡£ - ON ¤ξì¹硢<command/apt-get/ ¤ϸŤ¯¤ʤä¿¥ե¡¥¤¥ë¤ò³μ¤˾õ¤뤿¤ᡢ - ¼«ưŪ¤Ë <filename>&statedir;/lists</> ¤ÎÃæ¿Ȥò´ÉÍý¤¹¤ë¤Ǥ·¤礦¡£ - ¤³¤ì¤ò OFF ¤ˤ¹¤ë¤Τϡ¢¤¢¤ʤ¿¤¬¼èÆÀ¸µ¥ꥹ¥ȤòÉÑÈˤËÊѹ¹¤¹¤ë»þ¤°¤餤¤Ǥ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::List-Cleanup/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/-t/</> - <term><option/--target-release/</> - <term><option/--default-release/</> - <ListItem><Para> -<!-- - This option controls the default input to the policy engine, it creates - a default pin at priority 990 using the specified release string. The - preferences file may further override this setting. In short, this option - lets you have simple control over which distribution packages will be - retrieved from. Some common examples might be - <option>-t '2.1*'</> or <option>-t unstable</>. - Configuration Item: <literal/APT::Default-Release/ ---> - ¤³¤Υª¥ץ·¥ç¥ó¤ϥݥꥷ¡¼¥¨¥󥸥ó¤ؤΥǥե©¥ë¥ÈÆþÎϤòÀ©¸椷¤ޤ¹¡£ - ¤³¤ì¤ϡ¢»ØÄꤵ¤줿¥ê¥꡼¥¹ʸ»úÎó¤ò»ÈÍѤ·¡¢¥ǥե©¥ë¥È pin ¤òͥÀèÅÙ 990 - ¤ǺîÀ®¤¹¤뤳¤ȤǤ¹¡£ - ͥÀè¥ե¡¥¤¥ë¤Ϥ³¤ÎÀßÄê¤ò¾å½񤭤·¤ޤ¹¡£ - Íפ¹¤ë¤ˤ³¤Υª¥ץ·¥ç¥ó¤ϡ¢¤ɤÎÇÛÉۥѥ屡¼¥¸¤ò¼èÆÀ¤¹¤뤫¤ò´Êñ¤Ë - ´ÉÍý¤·¤Ƥ¤¤ޤ¹¡£ - ¤¤¤¯¤Ĥ«°ìÈÌŪ¤ÊÎã¤ϡ¢<option>-t '2.1*'</> ¤ä <option>-t unstable</> - ¤Ǥ·¤礦¡£ - ÀßÄê¹àÌÜ - <literal/APT::Default-Release/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--trivial-only/</> - <ListItem><Para> -<!-- - Only perform operations that are 'trivial'. Logically this can be considered - related to <option/- -assume-yes/, where <option/- -assume-yes/ will answer - yes to any prompt, <option/- -trivial-only/ will answer no. - Configuration Item: <literal/APT::Get::Trivial-Only/. ---> - ¡ֽÅÍפǤʤ¤¡×Áàºî¤Τߤò¹Ԥ¤¤ޤ¹¡£¤³¤ì¤ÏÏÀÍýŪ¤Ë <option/--assume-yes/ ¤Î - Ãç´֤ȸ«¤ʤ¹¤³¤Ȥ¬¤Ǥ­¤ޤ¹¡£<option/--assume-yes/ ¤ϼÁÌä¤ˤ¹¤٤Æ yes ¤È - Åú¤¨¤ޤ¹¤¬¡¢<option/--trivial-only/ ¤Ϥ¹¤٤Æ no ¤ÈÅú¤¨¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Trivial-Only/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--no-remove/</> - <ListItem><Para> -<!-- - If any packages are to be removed apt-get immediately aborts without - prompting. - Configuration Item: <literal/APT::Get::Remove/ ---> - ¥ѥ屡¼¥¸¤¬ºï½ü¤µ¤ì¤ë¾õ¶·¤ˤʤ俤Ȥ­¡¢¥ץí¥ó¥ץȤòɽ¼¨¤»¤ºÃæÃǤ·¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Remove/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--only-source/</> - <ListItem><Para> -<!-- - Only has meaning for the <literal/source/ command. indicates that the - given source names are not to be mapped through the binary table. - Configuration Item: <literal/APT::Get::Only-Source/ ---> - <literal/source/ ¥³¥ޥó¥ɤǤΤ߰Ọ̃¤¬¤¢¤ê¤ޤ¹¡£ - »ØÄꤵ¤줿¥½¡¼¥¹̾¤¬¥Х¤¥ʥê¥ơ¼¥֥ë¤˥ޥåפµ¤ì¤ʤ¤¤³¤Ȥ򼨤·¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Only-Source/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--diff-only/</><term><option/--tar-only/</> - <ListItem><Para> -<!-- - Download only the diff or tar file of a source archive. - Configuration Item: <literal/APT::Get::Diff-Only/ and - <literal/APT::Get::Tar-Only/ ---> - ¥½¡¼¥¹¥¢¡¼¥«¥¤¥֤Î diff ¥ե¡¥¤¥ë¤ä tar ¥ե¡¥¤¥ë¤ΥÀ¥¦¥ó¥í¡¼¥ɤΤߤò¹Ԥ¤¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Diff-Only/ ¤È <literal/APT::Get::Tar-Only/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><option/--arch-only/</> - <ListItem><Para> -<!-- - Only process architecture-dependent build-dependencies. - Configuration Item: <literal/APT::Get::Arch-Only/ ---> - ¹½Ã۰͸´ط¸¤βò·è¤򥢡¼¥­¥ƥ¯¥Á¥ã¤˰͸¤·¤¿¤â¤ΤΤ߹Ԥ¤¤ޤ¹¡£ - ÀßÄê¹àÌÜ - <literal/APT::Get::Arch-Only/ - </Para></ListItem> - </VarListEntry> - - &apt-commonoptions; - - </VariableList> - </RefSect1> - - <RefSect1><Title>¥ե¡¥¤¥ë</> - <variablelist> - <VarListEntry><term><filename>/etc/apt/sources.list</></term> - <ListItem><Para> -<!-- - locations to fetch packages from. - Configuration Item: <literal/Dir::Etc::SourceList/. ---> - ¥ѥ屡¼¥¸¤μèÆÀ¸µ¡£ - ÀßÄê¹àÌÜ - <literal/Dir::Etc::SourceList/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><filename>/etc/apt/apt.conf</></term> - <ListItem><Para> -<!-- - APT configuration file. - Configuration Item: <literal/Dir::Etc::Main/. ---> - APT ÀßÄê¥ե¡¥¤¥롣 - ÀßÄê¹àÌÜ - <literal/Dir::Etc::Main/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><filename>/etc/apt/apt.conf.d/</></term> - <ListItem><Para> -<!-- - APT configuration file fragments - Configuration Item: <literal/Dir::Etc::Parts/. ---> - APT ÀßÄê¥ե¡¥¤¥ë¤ÎÃÇÊҡ£ - ÀßÄê¹àÌÜ - <literal/Dir::Etc::Parts/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><filename>/etc/apt/preferences</></term> - <ListItem><Para> -<!-- - version preferences file - Configuration Item: <literal/Dir::Etc::Preferences/. ---> - ¥С¼¥¸¥ç¥óͥÀè¥ե¡¥¤¥롣 - ÀßÄê¹àÌÜ - <literal/Dir::Etc::Preferences/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><filename>&cachedir;/archives/</></term> - <ListItem><Para> -<!-- - storage area for retrieved package files. - Configuration Item: <literal/Dir::Cache::Archives/. ---> - ¼èÆÀºѤߥѥ屡¼¥¸¥ե¡¥¤¥ë³ÊǼ¥¨¥ꥢ¡£ - ÀßÄê¹àÌÜ - <literal/Dir::Cache::Archives/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><filename>&cachedir;/archives/partial/</></term> - <ListItem><Para> -<!-- - storage area for package files in transit. - Configuration Item: <literal/Dir::Cache::Archives/ (implicit partial). ---> - ¼èÆÀÃæ¥ѥ屡¼¥¸¥ե¡¥¤¥ë³ÊǼ¥¨¥ꥢ¡£ - ÀßÄê¹àÌÜ - <literal/Dir::Cache::Archives/ (ɬÁ³Ū¤ËÉԴ°Á´¤Ǥ¹) - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><filename>&statedir;/lists/</></term> - <ListItem><Para> -<!-- - storage area for state information for each package resource specified in - &sources-list; - Configuration Item: <literal/Dir::State::Lists/. ---> - &sources-list; ¤Υѥ屡¼¥¸»ñ¸»ÆÃͭ¤ξõÂ־ðÊó³ÊǼ¥¨¥ꥢ¡£ - ÀßÄê¹àÌÜ - <literal/Dir::State::Lists/ - </Para></ListItem> - </VarListEntry> - - <VarListEntry><term><filename>&statedir;/lists/partial/</></term> - <ListItem><Para> -<!-- - storage area for state information in transit. - Configuration Item: <literal/Dir::State::Lists/ (implicit partial). ---> - ¼èÆÀÃæ¤ξõÂ־ðÊó³ÊǼ¥¨¥ꥢ¡£ - ÀßÄê¹àÌÜ - <literal/Dir::State::Lists/ (ɬÁ³Ū¤ËÉԴ°Á´¤Ǥ¹) - </Para></ListItem> - </VarListEntry> - </variablelist> - </RefSect1> - - <RefSect1><Title>´ØϢ¹àÌÜ</> - <para> - &apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, &apt-conf;, - &docdir;¤Î APT ¥桼¥¶¡¼¥º¥¬¥¤¥É, &apt-preferences; - </para> - </RefSect1> - - <RefSect1><Title>¿ÇÃǥá¥å»¡¼¥¸</> - <para> - <command/apt-get/ ¤ÏÀµ¾ェλ»þ¤Ë 0 ¤òÊ֤·¤ޤ¹¡£ - ¥¨¥顼»þ¤ˤϽ½¿ʤÎ 100 ¤òÊ֤·¤ޤ¹¡£ - </para> - </RefSect1> - - &manbugs; - &manauthor; - &translator; -</refentry> diff --git a/doc/ja/apt-get.ja.8.xml b/doc/ja/apt-get.ja.8.xml new file mode 100644 index 000000000..f503b89ef --- /dev/null +++ b/doc/ja/apt-get.ja.8.xml @@ -0,0 +1,900 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + +<!ENTITY % aptent SYSTEM "apt.ent.ja"> +%aptent; + +]> + +<refentry> + + <refentryinfo> + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + <!-- The last update date --> + <date>29 February 2004</date> + </refentryinfo> + + <refmeta> + <refentrytitle>apt-get</refentrytitle> + <manvolnum>8</manvolnum> + </refmeta> + + <!-- Man page title --> + <refnamediv> + <refname>apt-get</refname> +<!-- + <refpurpose>APT package handling utility -\- command-line interface</refpurpose> +--> + <refpurpose>APT package handling utility -- コマンドラインインターフェース</refpurpose> + </refnamediv> + + <!-- Arguments --> + <refsynopsisdiv> + <cmdsynopsis> + <command>apt-get</command> + <arg><option>-hvs</option></arg> + <arg><option>-o=<replaceable>config string</replaceable></option></arg> + <arg><option>-c=<replaceable>file</replaceable></option></arg> + <group choice="req"> + <arg>update</arg> + <arg>upgrade</arg> + <arg>dselect-upgrade</arg> + <arg>install <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>remove <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>source <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>build-dep <arg choice="plain" rep="repeat"><replaceable>pkg</replaceable></arg></arg> + <arg>check</arg> + <arg>clean</arg> + <arg>autoclean</arg> + </group> + </cmdsynopsis> + </refsynopsisdiv> + +<!-- + <refsect1><title>Description +--> + 説明 + + apt-get は、 + パッケージを操作するコマンドラインツールで、 + APT ライブラリを用いる他のツールのユーザ側「バックエンド」といえるものです。 + 「フロントエンド」インターフェースには、dselect(8), + aptitude, synaptic, gnome-apt, wajig などがあります。 + + + オプションや オプションを除き、 + 以下に挙げるコマンドが必要です。 + + + update + + updateは、 + 取得元からパッケージインデックスファイルの再同期を行うのに使用します。 + 利用可能なパッケージのインデックスは、 + /etc/apt/sources.list に記述した場所から取得します。 + 例えば Debian アーカイブを利用する際、 + このコマンドが Packages.gz ファイルを検索することで、 + 新規または更新されたパッケージの情報が利用可能となります。 + update は、upgrade や + dist-upgrade を行う前に常に実行してください。 + 前もってパッケージファイルのサイズを知ることができないため、 + 全体の進捗メータは正しく表示されません。 + + + upgrade + + upgrade は、 + 現在システムにインストールされている全パッケージの最新バージョンを、 + /etc/apt/sources.list + に列挙した取得元からインストールするのに使用します。 + 現在インストール中のパッケージに新しいバージョンがあれば更新しますが、 + いかなる時も現在インストール中のパッケージの削除は行いません。 + 対象のパッケージが、 + 他のパッケージのインストール状態を変更せずに更新できない場合は、 + 現在のバージョンのままとなります。 + 最初に update を実行しておき、 + apt-get にパッケージの新しいバージョンがあることを + 知らせる必要があります。 + + + dselect-upgrade + + dselect-upgrade は、 + 伝統的な Debian GNU/Linux パッケージ管理フロントエンドの &dselect; + と共に使用されます。 + dselect-upgrade は、 + &dselect; で作られた利用可能パッケージの + Status フィールドの変更を追跡し、 + その状態を反映させるのに必要なアクションを実行します。 + (例えば、古いパッケージの削除や新しいパッケージのインストールなど) + + + + dist-upgrade + + dist-upgrade は、 + upgrade の機能に加え、 + 新バージョンのパッケージに対する依存関係の変更を知的に操作します。 + apt-get は「洗練された」競合解決システムを持ち、 + 必要とあらば比較的重要でないパッケージを犠牲にして、 + 最重要パッケージの更新を試みます。 + /etc/apt/sources.list ファイルには、 + 必要なパッケージファイルを検索する場所のリストが含まれています。 + 特定のパッケージ向けに、一般的な設定を上書きする機構については、 + &apt-preferences; をご覧ください。 + + + install + + install の後には、 + インストールするパッケージを 1 つ以上指定します。 + 指定するパッケージは、完全なファイル名ではなくパッケージ名です。 + (例えば Debian GNU/Linux システムでは、 + libc6_1.9.6-2.deb ではなく libc6 を引数として与えます) + インストールするよう指定したすべてのパッケージに対し、 + 検索・インストールを行います。 + /etc/apt/sources.list ファイルを、 + 要求するパッケージの場所を特定するのに使用します。 + パッケージ名の後ろに (空白を含まず) ハイフンが追加されている場合、 + そのパッケージがインストールされていれば削除します。 + 同様に、インストールするパッケージを明示するのにプラス記号も使用できます。 + この記号は apt-get の競合解決システムの判断に利用されるかもしれません。 + + + パッケージにイコール記号とバージョンを続けることで、 + 選択したバージョンのパッケージをインストールすることができます。 + つまり、指定のバージョンのパッケージをインストールするように選択する、 + ということです。 + 別の方法としては、ディストリビューションを特定するのに、 + パッケージ名に続けて、 + スラッシュとディストリビューションのバージョンやアーカイブ名 + (stable, testing, unstable) を記述できます。 + + + バージョン選択機構はダウングレード時にも使用できるため、 + 注意して使用しなければなりません。 + + + 最後に、&apt-preferences; 機構により、 + 特定のパッケージに対するインストールポリシーを作成できます。 + + + 構文に '.', '?', '*' を含み、パッケージ名がマッチしなかった場合、 + POSIX 正規表現であると見なし、 + データベース内の全パッケージ名に対して適用します。 + マッチしたパッケージすべてがインストール(もしくは削除)されます。 + 'lo.*' のような文字列は、 + 'how-lo' や 'lowest' にマッチすることに注意してください。 + そうしたくなければ、'^' や '$' を付けるか、 + もっと詳しい正規表現を指定してください。 + + + remove + + remove は、 + パッケージが削除されることを除き、install と同様です。 + プラス記号がパッケージ名に (間に空白を含まずに) 付加されると、 + 識別されたパッケージを、削除ではなくインストールします。 + + + source + + source は、 + ソースパッケージを取得するのに apt-get します。 + APT はどのソースパッケージを取得するか決定するよう、 + 利用可能なパッケージを検討します。 + その後、最新の利用可能なソースパッケージを見つけ、 + カレントディレクトリへダウンロードします。 + バイナリパッケージとは別に &sources-list; ファイルの + deb-src 行から、ソースパッケージを追跡します。 + これは、インストールした (またはインストールできる) パッケージと、 + 取得元を変えることができることを示しています。 + --compile オプションが指定された場合、dpkg-buildpackage を用いて + バイナリ .deb ファイルへコンパイルを行います。 + --download-only の場合はソースパッケージを展開しません。 + + + パッケージと同様に、 + ソース名の後ろにイコールと取得したいバージョンを置くと、 + 指定したバージョンのソースを取得できます。 + APT::Get::Only-Source + オプションが暗黙のうちに有効になっているため、 + ソースパッケージ名とバージョンに厳密に一致させています。 + + + tar ball はカレントディレクトリにのみダウンロードされ、 + カレントディレクトリに展開されることに注意してください。 + + + build-dep + + build-dep は、 + ソースパッケージの構築依存関係を満たすように、 + パッケージのインストール・削除を行います。 + + + check + + check は、 + パッケージキャッシュの更新や壊れた依存関係をチェックする診断ツールです。 + + + clean + + clean は、 + 取得したパッケージのローカルリポジトリを掃除します。 + &cachedir;/archives/ と + &cachedir;/archives/partial/ + からロックファイル以外すべて削除します。 + APT が &dselect; から呼ばれるときには、 + 自動的に clean が実行されます。 + dselectを使用しない場合は、ディスクスペースを解放するため、時々 + apt-get clean を実行したくなるでしょう。 + + + autoclean + + clean と同様に、 + autoclean は取得したパッケージのローカルリポジトリを掃除します。 + 違いは、もうダウンロードされることがないパッケージファイルや、 + ほとんど不要なパッケージファイルのみを削除することです。 + このため、長い期間、キャッシュが管理できずに肥大化することなく、 + 維持することができます。 + 設定オプション APT::Clean-Installed に + off をセットしていれば、 + インストール済のパッケージファイルが削除されるのを防げます。 + + + + + + オプション + &apt-cmdblurb; + + + + + ダウンロードのみ - パッケージファイルの取得のみを行い、 + 展開・インストールを行いません。 + 設定項目 - APT::Get::Download-Only + + + + + 修復 - 依存関係が壊れたシステムの修正を試みます。 + このオプションを install や remove と一緒に使うときは、 + パッケージを指定しなくてもかまいません。 + どのパッケージを指定しても、完全に問題を解決します。APT 自体は、 + システムに存在する壊れたパッケージ依存関係を許すことができないので、 + 初めて APT を実行する場合、このオプションが必要になることがあります。 + システムの依存関係構造にかなり問題がある場合は、 + 手動で修正するよう要求することもあります。 + (通常は、問題のあるパッケージを取り除くのに &dselect; や + dpkg --remove を使用します) + このオプションを オプションと同時に使用すると、 + エラーになる状況があるかもしれません。 + 設定項目 - APT::Get::Fix-Broken + + + + + + 欠落パッケージの無視 - パッケージが取得できなかったり、 + (パッケージの破損で) 取得した後の整合性チェックを通らなかった場合、 + そのパッケージの処理を保留し最後まで処理を続けます。 + このオプションを オプションと同時に使用すると、 + エラーになる状況があるかもしれません。 + パッケージをインストールするよう選択している場合 + (特にコマンドラインでの操作時) や、 + ダウンロードできなかった場合に、なにも表示せず保留することになります。 + 設定項目 - APT::Get::Fix-Missing + + + + + パッケージのダウンロードを無効にします。 + これはすでにダウンロードした .deb に対してのみ APT を行う場合に、 + と併せて使うのがよいでしょう。 + 設定項目 - APT::Get::Download + + + + + 静粛 - 進捗表示を省略し、 + ログをとるのに便利な出力を行います。 + 最大 2 つまで q を重ねることでより静粛にできます。 + また、 のように静粛レベルを指定して、 + 設定ファイルを上書きすることもできます。 + 静粛レベル 2 は を含んでいることに注意してください。 + APT が意図しない決定を行うかもしれないので -d, --print-uris, -s のような + 操作を行わないオプションをつけずに -qq を使用するべきではありません。 + 設定項目 - quiet + + + + + + + + + + 動作なし - なにが起こるのかのシミュレーションを行い、 + 実際にはシステムの変更を行いません。 + 設定項目 - APT::Get::Simulate + + + シミュレートの結果、dpkg の動作を表す一連の行のそれぞれに、 + 設定 (Conf)、削除 (Remv)、展開 (Inst) を表示します。 + 角カッコは壊れたパッケージを表し、(まれに) + 空の角カッコは大した問題ではないことを表します。 + + + + + + プロンプトへの自動承諾 - すべてのプロンプトに自動的に + "yes" と答え、非対話的に実行します。 + 保留したパッケージの状態を変更したり、 + 必須パッケージを削除するような不適切な状況の場合、 + apt-get は処理を中断します。 + 設定項目 - APT::Get::Assume-Yes + + + + + 更新パッケージ表示 - + 更新される全パッケージを一覧表示します。 + 設定項目 - APT::Get::Show-Upgraded + + + + + 更新・インストールするパッケージのヴァージョンを、 + すべて表示します。 + 設定項目 - APT::Get::Show-Versions + + + + + + ソースパッケージをダウンロード後、コンパイルします。 + 設定項目 - APT::Get::Compile + + + + + 保留パッケージの無視 - パッケージの保留指示を無視して + apt-get を行います。 + dist-upgrade と共に、 + 大量のパッケージを保留の解除をするのに使用すると便利です。 + 設定項目 - APT::Ignore-Hold + + + + + パッケージ更新なし - install + と同時に使用すると、no-upgrade は、 + 指定したパッケージがすでにインストールしてある場合に更新を行いません。 + 設定項目 - APT::Get::Upgrade + + + + + 強制承諾 - + APT が何か損傷を与えかねない動作をしようとした場合でも、 + 確認の入力なしで実行してしまう危険なオプションです。 + よほどの状況でなければ、使用しない方がいいでしょう。 + force-yes は、あなたのシステムを破壊しかねません! + 設定項目 - APT::Get::force-yes + + + + + インストールするファイルを取得する代わりに、 + その URI を表示します。 + URI には、パス、対象ファイル名、ファイルサイズ、 + 予測される md5 ハッシュが含まれています。 + 出力したファイル名が、 + 常にリモートサイトのファイル名と一致するわけではない、 + ということに注意してください! + これは source コマンド、 + update コマンドでも動作します。 + update で使用したときには、 + MD5 やファイルサイズを含みません。 + このとき、圧縮ファイルの展開はユーザの責任において行ってください。 + 設定項目 - APT::Get::Print-URIs + + + + + 削除する際、「削除」ではなく「完全削除」を行います。 + 「完全削除」を行うと指示したパッケージ名の後には、 + アスタリスク ("*") が付きます。 + 設定項目 - APT::Get::Purge + + + + + すでに最新版がインストールされていても、 + パッケージを再インストールします。 + 設定項目 - APT::Get::ReInstall. + + + + + この機能はデフォルトで ON になっています。 + OFF にするには --no-list-cleanup としてください。 + ON の場合、 + apt-get は古くなったファイルを確実に消去するため、 + 自動的に &statedir;/lists の中身を管理します。 + これを OFF にするのは、取得元リストを頻繁に変更する時ぐらいでしょう。 + 設定項目 - APT::Get::List-Cleanup. + + + + + + + このオプションは、 + ポリシーエンジンへのデフォルト入力を制御します。 + これは、指定されたリリース文字列を使用し、 + デフォルト pin を優先度 990 で作成することです。 + 優先ファイルはこの設定を上書きします。 + 要するにこのオプションで、 + どの配布パッケージを取得するかを簡単に管理します。 + 一般的な例としては、 + や でしょう。 + 設定項目 - APT::Default-Release + &apt-preferences; のマニュアルページもご覧ください。 + + + + + + 「重要でない」操作のみを行います。 + これは論理的に の仲間と見なせます。 + は質問にすべて yes と答えますが、 + はすべて no と答えます。 + 設定項目 - APT::Get::Trivial-Only + + + + + パッケージが削除される状況になったとき、 + プロンプトを表示せず中断します。 + 設定項目 - APT::Get::Remove + + + + + source コマンドと + build-dep コマンドでのみ意味があります。 + 指定されたソース名がバイナリテーブルにマップされないようにします。 + これは、このオプションを指定すると、 + バイナリパッケージ名を受け付けて対応するソースパッケージを探すのではなく、 + 引数にソースパッケージ名しか受け付けなくなる、ということです。 + 設定項目 - APT::Get::Only-Source + + + + + ソースアーカイブの diff ファイルや + tar ファイルのダウンロードのみを行います。 + 設定項目 - APT::Get::Diff-Only, + APT::Get::Tar-Only + + + + + 構築依存関係の解決を、 + アーキテクチャに依存したもののみ行います。 + 設定項目 - APT::Get::Arch-Only + + + + + パッケージを確認できない場合に無視し、 + それについて質問しません。 + pbuilder のようなツールで便利です。 + 設定項目 - APT::Get::AllowUnauthenticated + + + + &apt-commonoptions; + + + + + + ファイル + + /etc/apt/sources.list + + パッケージの取得元。 + 設定項目 - Dir::Etc::SourceList + + + /etc/apt/apt.conf + + APT 設定ファイル。 + 設定項目 - Dir::Etc::Main + + + /etc/apt/apt.conf.d/ + + APT 設定ファイルの断片。 + 設定項目 - Dir::Etc::Parts + + + /etc/apt/preferences + + バージョン優先ファイル。 + ここに "pin" の設定を行います。 + つまり、別々の取得元や異なるディストリビューションのバージョンの、 + どこからパッケージを取得するかを設定します。 + 設定項目 - Dir::Etc::Preferences + + + &cachedir;/archives/ + + 取得済みパッケージファイル格納エリア。 + 設定項目 - Dir::Cache::Archives + + + &cachedir;/archives/partial/ + + 取得中パッケージファイル格納エリア。 + 設定項目 - Dir::Cache::Archives (必然的に不完全) + + + &statedir;/lists/ + + &sources-list; のパッケージリソース特有の状態情報格納エリア。 + 設定項目 - Dir::State::Lists + + + &statedir;/lists/partial/ + + 取得中の状態情報格納エリア。 + 設定項目 - Dir::State::Lists (必然的に不完全) + + + + + + 関連項目 + + &apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, + &apt-conf;, &apt-config;, + &docdir; の APT ユーザーズガイド, &apt-preferences;, APT Howto + + + + 診断メッセージ + + apt-get は正常終了時に 0 を返します。 + エラー時には十進の 100 を返します。 + + + &manbugs; + &translator; + + diff --git a/doc/ja/apt-key.ja.8.xml b/doc/ja/apt-key.ja.8.xml new file mode 100644 index 000000000..732ca9b1c --- /dev/null +++ b/doc/ja/apt-key.ja.8.xml @@ -0,0 +1,176 @@ + + +%aptent; + +]> + + + &apt-docinfo; + + + apt-key + 8 + + + + + apt-key + + APT キー管理ユーティリティ + + + + + + apt-key + command/ + + + + + + 説明 + + + apt-key は、 + apt が パッケージを認証するのに使用するキーの一覧を管理するのに使用します。 + このキーで認証されたパッケージは、信頼するに足ると見なせるでしょう。 + + + + +コマンド + + add filename + + + + + 信頼キー一覧に新しいキーを追加します。 + このキーは filename から読み込みますが、 + filename を - とすると、 + 標準入力から読み込みます。 + + + + + + del keyid + + + + + 信頼キー一覧からキーを削除します。 + + + + + + + list + + + + + 信頼キーを一覧表示します。 + + + + + + + update + + + + + Debian アーカイブキーで、ローカルキーリングを更新し、 + もう有効でないキーをキーリングから削除します。 + + + + + + + + + + ファイル + + /etc/apt/trusted.gpg + + ローカル信頼キーのキーリング。 + 新しいキーはここに追加されます。 + + + /etc/apt/trustdb.gpg + + アーカイブキーのローカル信頼データベース + + + /usr/share/keyrings/debian-archive-keyring.gpg + + Debian アーカイブ信頼キーのキーリング + + + /usr/share/keyrings/debian-archive-removed-keys.gpg + + 削除された Debian アーカイブ信頼キーのキーリング + + + + + + + + + +関連項目 + +&apt-get;, &apt-secure; + + + + &manbugs; + &manauthor; + &translator; + + + diff --git a/doc/ja/apt-secure.ja.8.xml b/doc/ja/apt-secure.ja.8.xml new file mode 100644 index 000000000..33a829076 --- /dev/null +++ b/doc/ja/apt-secure.ja.8.xml @@ -0,0 +1,374 @@ + + +%aptent; + +]> + + + &apt-docinfo; + + + apt-secure + 8 + + + + + + + + + apt-secure + + APT アーカイブ認証サポート + + + + 説明 + + + バージョン 0.6 より、apt 全アーカイブに対する + Release ファイルの署名チェックコードが含まれています。 + Release ファイル署名キーにアクセスできない人が、 + アーカイブのパッケージの変更が確実にできないようにします。 + + + + + パッケージに署名されなかったり、apt が知らないキーで署名されていた場合、 + アーカイブから来たパッケージは、信頼されていないと見なし、 + インストールの際に重要な警告が表示されます。 + apt-get は、 + 現在未署名のパッケージに対して警告するだけですが、 + 将来のリリースでは、全ソースに対し、 + パッケージダウンロード前に強制的に検証される可能性があります。 + + + + + &apt-get;, &aptitude;, &synaptic; といったパッケージフロントエンドは、 + この新認証機能をサポートしています。 + + + + + 信頼済アーカイブ + + + + apt アーカイブからエンドユーザまでの信頼の輪は、 + いくつかのステップでo区政されています。 + apt-secure は、この輪の最後のステップで、 + アーカイブを信頼することは、 + パッケージに悪意のあるコードが含まれていないと信頼するわけではありませんが、 + アーカイブメンテナを信頼すると言うことです。 + これは、アーカイブの完全性を保証するのは、 + アーカイブメンテナの責任だということです。 + + + + apt-secure はパッケージレベルの署名検証は行いません。 + そのようなツールが必要な場合は、 + debsig-verify や debsign + (debsig-verify パッケージと devscripts パッケージでそれぞれ提供されています) + を確認してください。 + + + + Debian における信頼の輪は、 + 新しいパッケージやパッケージの新しいバージョンを、 + メンテナが Debian アーカイブにアップロードすることで始まります。 + これは、Debian メンテナキーリング (debian-keyring パッケージにあります) + にあるメンテナのキーで署名しなければ、アップロードできないということです。 + メンテナのキーは、キーの所有者のアイデンティティを確保するため、 + 以下のような事前に確立した手段で、他のメンテナに署名されています。 + + + + + アップロードされたパッケージごとに、検証してアーカイブに格納します。 + パッケージは、メンテナの署名をはがされ、 MD5 sum を計算されて、 + Packages ファイルに格納されます。 + その後、全パッケージファイルの MD5 sum を計算してから、 + Release ファイルに置きます。 + Release ファイルは、アーカイブキーで署名されます。 + アーカイブキーは年ごとに作成され、FTP サーバで配布されます。 + このキーも Debian キーリングに含まれます。 + + + + + エンドユーザは誰でも、Release ファイルの署名をチェックし、 + パッケージの MD5 sum を抽出して、ダウンロードしたパッケージの MD5 sum + と比較できます。 + バージョン 0.6 以前では、ダウンロードした Debian パッケージの MD5 sum しか、 + チェックしていませんでした。 + 現在では、MD5 sum と Release ファイルの署名の両方でチェックします。 + + + + 以上は、パッケージごとの署名チェックとは違うことに注意してください。 + 以下の用に考えられる 2 種類の攻撃を防ぐよう設計されています。 + + + + + ネットワーク中間者攻撃 + 署名をチェックしないと、 + 悪意あるエージェントがパッケージダウンロードプロセスに割り込んだり、 + ネットワーク構成要素 (ルータ、スイッチなど) の制御や、 + 悪漢サーバへのネットワークトラフィックのリダイレクトなど + (arp 経由や DNS スプーフィング攻撃) で、 + 悪意あるソフトウェアを掴まされたりします。 + + + ミラーネットワーク感染. + 署名をチェックしないと、悪意あるエージェントがミラーホストに感染し、 + このホストからダウンロードしたユーザすべてに、 + 悪意あるソフトウェアが伝播するようにファイルを変更できます。 + + + + しかしこれは、 + (パッケージに署名する) Debian マスターサーバ自体の感染や、 + Release ファイルに署名するのに使用したキーの感染を防げません。 + いずれにせよ、この機構はパッケージごとの署名を補完することができます。 + + + + ユーザの設定 + + + apt-key は、 + apt が使用するキーリストを管理するプログラムです。 + このリリースのインストールでは、Debian パッケージリポジトリで使用する、 + キーで署名する デフォルトの Debian アーカイブを提供しますが、 + apt-key でキーの追加・削除が行えます。 + + + + 新しいキーを追加するためには、まずキーをダウンロードする必要があります。 + (取得する際には、信頼できる通信チャネルを使用するよう、特に留意してください) + 取得したキーを、apt-key で追加し、 + apt-get update を実行してください。 + 以上により、apt は指定したアーカイブから、Release.gpg + ファイルをダウンロード・検証できるようになります。 + + + + +アーカイブの設定 + + + あなたがメンテナンスしているアーカイブで、アーカイブ署名を提供したい場合、 + 以下のようにしてください。 + + + + + 上位 Release ファイルの作成 + 既にこれが存在しているのでなければ、 + apt-ftparchive release (apt-utils で提供) + を実行して作成してください。 + + + 署名 + gpg -abs -o Release.gpg Release を実行して、 + 署名してください。 + + + キーの指紋を配布 + これにより、アーカイブ内のファイル認証に、 + どのキーをインポートする必要があるかを、 + ユーザに知らせることになります。 + + + + + アーカイブの内容に変化がある場合 (新しいパッケージの追加や削除)、 + アーカイブメンテナは前述の最初の 1, 2 ステップに従わなければなりません。 + + + + +関連項目 + +&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-archive;, +&debsign; &debsig-verify;, &gpg; + + + +詳細な背景情報を検証するのなら、 +the Securing Debian Manual (harden-doc パッケージにもあります) の +Debian +Security Infrastructure 章と、 +V. Alex Brennen による +Strong Distribution HOWTO をご覧ください。 + + + + &manbugs; + &manauthor; + + +マニュアルページ筆者 + + +このマニュアルページは Javier Fernández-Sanguino +Peña, Isaac Jones, Colin Walters, Florian Weimer, Michael Vogt +の作業を元にしています。 + + + + + &translator; + + + diff --git a/doc/ja/apt-sortpkgs.ja.1.xml b/doc/ja/apt-sortpkgs.ja.1.xml new file mode 100644 index 000000000..779620f0b --- /dev/null +++ b/doc/ja/apt-sortpkgs.ja.1.xml @@ -0,0 +1,110 @@ + + +%aptent; + +]> + + + + + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + + 29 February 2004 + + + + apt-sortpkgs + 1 + + + + + apt-sortpkgs + + パッケージインデックスファイルのソートユーティリティ + + + + + + + apt-sortpkgs + + + + file + + + + + 説明 + + apt-sortpkgs は、インデックスファイル + (ソースインデックスやパッケージインデックス) からレコードをソートし、 + パッケージ名順に整えます。 + また、内部のソート規則に従って、内部フィールドについてもソートを行います。 + + + + 出力はすべて標準出力に送られ、入力は検索できるファイルでなければなりません。 + + + + オプション + &apt-cmdblurb; + + + + + + ソースインデックスフィールド順に並べ替え + 設定項目 - APT::SortPkgs::Source. + + + &apt-commonoptions; + + + + + + 関連項目 + &apt-conf; + + + + 診断メッセージ + apt-sortpkgs は正常終了時に 0 を返します。 + エラー時には十進の 100 を返します。 + + + &manbugs; + &translator; + + diff --git a/doc/ja/apt.conf.ja.5.sgml b/doc/ja/apt.conf.ja.5.sgml deleted file mode 100644 index 3634096f9..000000000 --- a/doc/ja/apt.conf.ja.5.sgml +++ /dev/null @@ -1,785 +0,0 @@ - - - -%aptent; - -]> - - - &apt-docinfo; - - - apt.conf - 5 - - - - - apt.conf - - APT ÀßÄê¥ե¡¥¤¥ë - - - - ÀâÌÀ</> - <para> -<!-- - <filename/apt.conf/ is the main configuration file for the APT suite of - tools, all tools make use of the configuration file and a common command line - parser to provide a uniform environment. When an APT tool starts up it will - read the configuration specified by the <envar/APT_CONFIG/ environment - variable (if any) and then read the files in <literal/Dir::Etc::Parts/ - then read the main configuration file specified by - <literal/Dir::Etc::main/ then finally apply the - command line options to override the configuration directives, possibly - loading even more config files. ---> - <filename/apt.conf/ ¤ϡ¢APT ¥ġ¼¥뽸¤μçÀßÄê¥ե¡¥¤¥ë¤Ǥ¹¡£ - ¤³¤ÎÀßÄê¥ե¡¥¤¥ë¤ȶ¦Ä̤Υ³¥ޥó¥ɥ饤¥ó¥ѡ¼¥µ¤ò»Ȥäơ¢ - ¤¹¤٤ƤΥġ¼¥ë¤òÅý°ì´Ķ­¤ǻÈÍѤǤ­¤ޤ¹¡£ - APT ¥ġ¼¥ë¤ε¯ư»þ¤ˤϡ¢<envar/APT_CONFIG/ ´Ķ­Êѿô¤˻ØÄꤷ¤¿ÀßÄê¤ò - (¸ºߤ¹¤ì¤Ð) Æɤ߹þ¤ߤޤ¹¡£ - ¼¡¤Ë <literal/Dir::Etc::Parts/ ¤Υե¡¥¤¥ë¤òÆɤ߹þ¤ߤޤ¹¡£ - ¤½¤θå <literal/Dir::Etc::main/ ¤ǻØÄꤷ¤¿¼çÀßÄê¥ե¡¥¤¥ë¤òÆɤ߹þ¤ߡ¢ - ºǸå¤˥³¥ޥó¥ɥ饤¥󥪥ץ·¥ç¥ó¤ǡ¢ÀßÄê¥ե¡¥¤¥ë¤è¤ê¼èÆÀ¤·¤¿Ãͤò¾å½񤭤·¤ޤ¹¡£ - <para> -<!-- - The configuration file is organized in a tree with options organized into - functional groups. Option specification is given with a double colon - notation, for instance <literal/APT::Get::Assume-Yes/ is an option within - the APT tool group, for the Get tool. Options do not inherit from their - parent groups. ---> - ÀßÄê¥ե¡¥¤¥ë¤ϡ¢µ¡ǽ¥°¥롼¥פ´¤Ȥ˷ÏÅýΩ¤Ƥé¤줿¥ª¥ץ·¥ç¥ó¤ò¡¢ - Ìڹ½¤¤Çɽ¤·¤ޤ¹¡£ - ¥ª¥ץ·¥ç¥ó¤ÎÆâÍƤϡ¢2 ¤ĤΥ³¥í¥ó¤ǶèÀڤê¤ޤ¹¡£ - Î㤨¤Ð <literal/APT::Get::Assume-Yes/ ¤ϡ¢APT ¥ġ¼¥륰¥롼¥פΡ¢Get ¥ġ¼¥ëÍÑ - ¥ª¥ץ·¥ç¥ó¤Ǥ¹¡£¥ª¥ץ·¥ç¥ó¤ϡ¢¿ƥ°¥롼¥פ«¤é·Ѿµ¤·¤ޤ»¤ó¡£ - <para> -<!-- - Syntacticly the configuration language is modeled after what the ISC tools - such as bind and dhcp use. Each line is of the form - <literallayout>APT::Get::Assume-Yes "true";</literallayout> The trailing - semicolon is required and the quotes are optional. A new scope can be - opened with curly braces, like: ---> - ÀßÄê¸À¸ì¤Îʸˡ¤ϡ¢bind ¤ä dhcp ¤Τ褦¤Ê ISC ¥ġ¼¥ë¤ò¥â¥ǥë¤ˤ·¤Ƥ¤¤ޤ¹¡£ - ¤¤¤º¤ì¤ιԤ⡢<literallayout>APT::Get::Assume-Yes "true";</literallayout> ¤Î - ¤褦¤ʷÁ¤ǡ¢¥»¥ߥ³¥í¥ó¤ǶèÀڤê¤ޤ¹¡£¤ޤ¿°úÍѤϥª¥ץ·¥ç¥ó¤Ǥ¹¡£ - °ʲ¼¤Τ褦¤ËÃ楫¥å³¤ò»Ȥ¦¤ȡ¢¿·¤·¤¤¥¹¥³¡¼¥פ򳫤¯¤³¤Ȥ¬¤Ǥ­¤ޤ¹¡£ -<informalexample><programlisting> -APT { - Get { - Assume-Yes "true"; - Fix-Broken "true"; - }; -}; -</programlisting></informalexample> -<!-- - with newlines placed to make it more readable. Lists can be created by - opening a scope and including a single word enclosed in quotes followed by a - semicolon. Multiple entries can be included, each seperated by a semicolon. ---> - ¤ޤ¿¡¢Ŭµ¹²þ¹Ԥ¹¤뤳¤Ȥǡ¢¤è¤êÆɤߤ䤹¤¯¤ʤê¤ޤ¹¡£ - ¥ꥹ¥Ȥϡ¢³«¤¤¤¿¥¹¥³¡¼¥ס¢¥¯¥©¡¼¥ȤǰϤޤ줿ñ¸졢 - ¤½¤·¤ƥ»¥ߥ³¥í¥ó¤È³¤±¤뤳¤ȤǺîÀ®¤Ǥ­¤ޤ¹¡£ - ¥»¥ߥ³¥í¥ó¤ǶèÀڤ뤳¤Ȥǡ¢ʣ¿ô¤Υ¨¥ó¥ȥê¤òɽ¤¹¤³¤Ȥ¬¤Ǥ­¤ޤ¹¡£ -<informalexample><programlisting> -DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";}; -</programlisting></informalexample> - <para> -<!-- - In general the sample configuration file in - <filename>&docdir;/examples/apt.conf</> &configureindex; - is a good guide for how it should look. ---> - <filename>&docdir;/examples/apt.conf</> &configureindex; ¤Ï - °ìÈÌŪ¤ÊÀßÄê¥ե¡¥¤¥ë¤Υµ¥ó¥ץë¤Ǥ¹¡£¤ɤΤ褦¤ËÀßÄꤹ¤뤫»²¹ͤˤʤë¤Ǥ·¤礦¡£ - <para> -<!-- - Two specials are allowed, <literal/#include/ and <literal/#clear/. - <literal/#include/ will include the given file, unless the filename - ends in a slash, then the whole directory is included. - <literal/#clear/ is used to erase a list of names. ---> - <literal/#include/ ¤È <literal/#clear/ ¤Î 2 ¤ĤÎÆÃÊ̤ʵ­ˡ¤¬¤¢¤ê¤ޤ¹¡£ - <literal/#include/ ¤ϻØÄꤷ¤¿¥ե¡¥¤¥ë¤ò¼è¤ê¹þ¤ߤޤ¹¡£ - ¥ե¡¥¤¥ë̾¤¬¥¹¥é¥å·¥å¤ǽª¤ï¤ä¿¾ì¹ç¤ˤϡ¢¤½¤Υǥ£¥쥯¥ȥê¤򤹤٤Æ - ¼è¤ê¹þ¤ߤޤ¹¡£ - <literal/#clear/ ¤Ï̾Á°¤Υꥹ¥Ȥòºï½ü¤¹¤ë¤ΤËÊØÍø¤Ǥ¹¡£ - <para> -<!-- - All of the APT tools take a -o option which allows an arbitary configuration - directive to be specified on the command line. The syntax is a full option - name (<literal/APT::Get::Assume-Yes/ for instance) followed by an equals - sign then the new value of the option. Lists can be appended too by adding - a trailing :: to the list name. ---> - ¤¹¤٤ƤÎ APT ¥ġ¼¥ë¤ǡ¢¥³¥ޥó¥ɥ饤¥ó¤ÇǤ°դÎÀßÄê¤ò¹Ԥ¦ - -o ¥ª¥ץ·¥ç¥󤬻ÈÍѤǤ­¤ޤ¹¡£ - ʸˡ¤ϡ¢´°Á´¤ʥª¥ץ·¥ç¥ó̾ (Î㡢<literal/APT::Get::Assume-Yes/)¡¢ - Åù¹桢³¤¤¤ƥª¥ץ·¥ç¥ó¤ο·¤·¤¤ÃͤȤʤê¤ޤ¹¡£ - ¥ꥹ¥È̾¤Ë³¤­::¤ò²ä¨¤뤳¤Ȥǡ¢¥ꥹ¥ȤòÄɲ乤뤳¤Ȥ¬¤Ǥ­¤ޤ¹¡£ - <!-- arbitary = Ǥ°դÎ (ºܤäƤʤ«¤ä¿¡£¤ޤ·¤ʼ­½ñ¤¬Íߤ·¤¤) --> - </RefSect1> - -<!-- - <RefSect1><Title>The APT Group</> ---> - <RefSect1><Title>APT ¥°¥롼¥×</> - <para> -<!-- - This group of options controls general APT behavior as well as holding the - options for all of the tools. ---> - ¤³¤Υª¥ץ·¥ç¥󥰥롼¥פϡ¢¥ġ¼¥ëÁ´ÂΤ˱ƶÁ¤Τ¢¤롢°ìÈÌŪ¤Ê APT ¤ο¶¤ëÉ񤤤ò - À©¸椷¤ޤ¹¡£ - <VariableList> - <VarListEntry><Term>Architecture</Term> - <ListItem><Para> -<!-- - System Architecture; sets the architecture to use when fetching files and - parsing package lists. The internal default is the architecture apt was - compiled for. ---> - ¥·¥¹¥ƥॢ¡¼¥­¥ƥ¯¥Á¥ã - ¥ե¡¥¤¥ë¤ò¼èÆÀ¤·¤¿¤ꡢ¥ѥ屡¼¥¸¥ꥹ¥Ȥò - ²òÀϤ¹¤ë¤Ȥ­¤˻ÈÍѤ¹¤륢¡¼¥­¥ƥ¯¥Á¥ã¤򥻥åȤ·¤ޤ¹¡£ - ÆâÉô¤ǤΥǥե©¥ë¥Ȥϡ¢apt ¤򥳥ó¥ѥ¤¥뤷¤¿¥¢¡¼¥­¥ƥ¯¥Á¥ã¤Ǥ¹¡£ - </VarListEntry> - - <VarListEntry><Term>Ignore-Hold</Term> - <ListItem><Para> -<!-- - Ignore Held packages; This global option causes the problem resolver to - ignore held packages in its decision making. ---> - ÊÝα¥ѥ屡¼¥¸¤Î̵»ë - ¤³¤Υ°¥í¡¼¥Х륪¥ץ·¥ç¥ó¤ϡ¢ÌäÂê²ò·è´ï¤ËÊÝα¤È - »ØÄꤷ¤¿¥ѥ屡¼¥¸¤ò̵»뤷¤ޤ¹¡£ - <!-- problem resolver ¤ÏÌäÂê²ò·è´ï¤Ǥ¤¤¤¤ΤÀ¤í¤¦¤«¡© --> - </VarListEntry> - - <VarListEntry><Term>Clean-Installed</Term> - <ListItem><Para> -<!-- - Defaults to on. When turned on the autoclean feature will remove any pacakges - which can no longer be downloaded from the cache. If turned off then - packages that are locally installed are also excluded from cleaning - but - note that APT provides no direct means to reinstall them. ---> - ¥¤¥󥹥ȡ¼¥ëºѤߥѥ屡¼¥¸¤κï½ü - - ¥ǥե©¥ë¥ȤÇͭ¸ú¤Ǥ¹¡£autoclean µ¡ǽ¤¬ on ¤λþ¡¢¥À¥¦¥ó¥í¡¼¥É - ¤Ǥ­¤ʤ¯¤ʤä¿¥ѥ屡¼¥¸¤򥭥ã¥å·¥夫¤éºï½ü¤·¤ޤ¹¡£ - off ¤ξì¹ç¤ϡ¢¥í¡¼¥«¥ë¤˥¤¥󥹥ȡ¼¥뤵¤ì¤Ƥ¤¤ë¥ѥ屡¼¥¸¤ϡ¢ - ºï½üÂоݤ«¤鳰¤·¤ޤ¹¡£ - Ãí) APT ¤ϡ¢¥­¥ã¥å·¥夫¤éºï½ü¤·¤¿¥ѥ屡¼¥¸¤κƥ¤¥󥹥ȡ¼¥ëÊýˡ¤ò¡¢ - ľÀܤˤÏÄ󶡤·¤ޤ»¤ó¡£ - </VarListEntry> - - <VarListEntry><Term>Immediate-Configure</Term> - <ListItem><Para> -<!-- - Disable Immedate Configuration; This dangerous option disables some - of APT's ordering code to cause it to make fewer dpkg calls. Doing - so may be necessary on some extremely slow single user systems but - is very dangerous and may cause package install scripts to fail or worse. - Use at your own risk. ---> - ¨»þÀßÄê̵¸ú - ¤³¤δí¸±¤ʥª¥ץ·¥ç¥ó¤ϡ¢APT ¤ÎÍ׵ᥳ¡¼¥ɤò̵¸ú¤ˤ·¤ơ¢ - dpkg ¤θƤӽФ·¤ò¤ۤȤó¤ɤ·¤ʤ¤¤褦¤ˤ·¤ޤ¹¡£ - ¤³¤ì¤ϡ¢Èó¾ï¤ËÃ٤¤¥·¥󥰥ë¥桼¥¶¥·¥¹¥ƥà¤ǤÏɬÍפ«¤⤷¤ì¤ޤ»¤󤬡¢ - Èó¾ï¤˴í¸±¤ǡ¢¥ѥ屡¼¥¸¤Υ¤¥󥹥ȡ¼¥륹¥¯¥ê¥ץȤ¬¼ºÇԤ·¤¿¤ꡢ - ¤⤷¤¯¤Ϥâ¤äȰ­¤¤¤³¤Ȥ¬¤ª¤­¤뤫¤⤷¤ì¤ޤ»¤ó¡£ - ¼«¸ÊÀÕǤ¤ǻÈÍѤ·¤Ƥ¯¤À¤µ¤¤¡£ - <!-- Immedate ¤Ï Immediate ¤Î typo? --> - </VarListEntry> - - <VarListEntry><Term>Force-LoopBreak</Term> - <ListItem><Para> -<!-- - Never Enable this option unless you -really- know what you are doing. It - permits APT to temporarily remove an essential package to break a - Conflicts/Conflicts or Conflicts/Pre-Depend loop between two essential - packages. SUCH A LOOP SHOULD NEVER EXIST AND IS A GRAVE BUG. This option - will work if the essential packages are not tar, gzip, libc, dpkg, bash or - anything that those packages depend on. ---> - ²¿¤򤷤褦¤Ȥ·¤Ƥ¤¤ë¤Τ«¡ÖËÜÅö¤ˡ×Ƚ¤äƤ¤¤ë¤ΤǤʤ±¤ì¤С¢ - ÀäÂФˤ³¤Υª¥ץ·¥ç¥ó¤òͭ¸ú¤ˤ·¤ʤ¤¤Ǥ¯¤À¤µ¤¤¡£ - ÉԲķç (essential) ¥ѥ屡¼¥¸¤δ֤ǡ¢¶¥¹ç (Conflicts)/ ¶¥¹ç (Conflicts) ¤ä - ¶¥¹ç (Conflicts)/ »öÁ°ɬ¿Ü (Pre-Depend) ¤Υ롼¥פËÍî¤Á¹þ¤ó¤À¤Ȥ­¤ˡ¢ - ÉԲķç¥ѥ屡¼¥¸¤ò°ì»þŪ¤˺ï½ü¤·¤ơ¢¥롼¥פòȴ¤±¤ë»ö¤ò²Äǽ¤ˤ·¤ޤ¹¡£ - <emphasis>¤½¤ó¤ʥ롼¥פϤ¢¤êÆÀ¤ʤ¤¤Ϥº¤ǡ¢ - ¤¢¤ë¤Ȥ¹¤ì¤нÅÂç¤ʥХ°¤Ǥ¹¡£</emphasis> - ¤³¤Υª¥ץ·¥ç¥ó¤ϡ¢tar, gzip, libc, dpkg, bash ¤Ȥ½¤ì¤餬°Í¸¤·¤Ƥ¤¤ë - ¥ѥ屡¼¥¸°ʳ°¤ÎÉԲķç¥ѥ屡¼¥¸¤Çưº¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>Cache-Limit</Term> - <ListItem><Para> -<!-- - APT uses a fixed size memory mapped cache file to store the 'available' - information. This sets the size of that cache. ---> - APT ¤ϡ¢¡ÖÍøÍѲÄǽ¡׾ðÊó¤ò³ÊǼ¤¹¤뤿¤á¤ˡ¢¸ÇÄꥵ¥¤¥º¤Î - ¥á¥â¥ê¥ޥåץ­¥ã¥å·¥å¥ե¡¥¤¥ë¤ò»ÈÍѤ·¤ޤ¹¡£ - ¤³¤Υª¥ץ·¥ç¥ó¤ϡ¢¤½¤Υ­¥ã¥å·¥奵¥¤¥º¤ò»ØÄꤷ¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>Build-Essential</Term> - <ListItem><Para> -<!-- - Defines which package(s) are considered essential build dependencies. ---> - ¹½Ã۰͸´ط¸¤ÇÉԲķç¤ʥѥ屡¼¥¸¤òÄêµÁ¤·¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>Get</Term> - <ListItem><Para> -<!-- - The Get subsection controls the &apt-get; tool, please see its - documentation for more information about the options here. ---> - ¥µ¥֥»¥¯¥·¥ç¥ó Get ¤Ï &apt-get; ¥ġ¼¥ë¤òÀ©¸椷¤ޤ¹¡£ - ¤³¤Υª¥ץ·¥ç¥ó¤ξܺ٤Ï &apt-get; ¤Îʸ½ñ¤򻲾Ȥ·¤Ƥ¯¤À¤µ¤¤¡£ - </VarListEntry> - - <VarListEntry><Term>Cache</Term> - <ListItem><Para> -<!-- - The Cache subsection controls the &apt-cache; tool, please see its - documentation for more information about the options here. ---> - ¥µ¥֥»¥¯¥·¥ç¥ó Cache ¤Ï &apt-cache; ¥ġ¼¥ë¤òÀ©¸椷¤ޤ¹¡£ - ¤³¤Υª¥ץ·¥ç¥ó¤ξܺ٤Ï &apt-cache; ¤Îʸ½ñ¤򻲾Ȥ·¤Ƥ¯¤À¤µ¤¤¡£ - </VarListEntry> - - <VarListEntry><Term>CDROM</Term> - <ListItem><Para> -<!-- - The CDROM subsection controls the &apt-cdrom; tool, please see its - documentation for more information about the options here. ---> - ¥µ¥֥»¥¯¥·¥ç¥ó CDROM ¤Ï &apt-cdrom; ¥ġ¼¥ë¤òÀ©¸椷¤ޤ¹¡£ - ¤³¤Υª¥ץ·¥ç¥ó¤ξܺ٤Ï &apt-cdrom; ¤Îʸ½ñ¤򻲾Ȥ·¤Ƥ¯¤À¤µ¤¤¡£ - </VarListEntry> - </VariableList> - </RefSect1> - -<!-- - <RefSect1><Title>The Acquire Group</> ---> - <RefSect1><Title>Acquire ¥°¥롼¥×</> - <para> -<!-- - The <literal/Acquire/ group of options controls the download of packages - and the URI handlers. ---> - <literal/Acquire/ ¥ª¥ץ·¥ç¥󥰥롼¥פϡ¢¥ѥ屡¼¥¸¤ΥÀ¥¦¥ó¥í¡¼¥ɤä - URI ¥ϥó¥ɥé¤ÎÀ©¸æ¤ò¹Ԥ¤¤ޤ¹¡£ - <VariableList> - <VarListEntry><Term>Queue-Mode</Term> - <ListItem><Para> -<!-- - Queuing mode; <literal/Queue-Mode/ can be one of <literal/host/ or - <literal/access/ which determines how APT parallelizes outgoing - connections. <literal/host/ means that one connection per target host - will be opened, <literal/access/ means that one connection per URI type - will be opened. ---> - ¥­¥塼¥⡼¥É - <literal/Queue-Mode/ ¤ÏAPT¤¬¤ɤΤ褦¤ËÊÂÎóÀܳ¤ò¹Ԥ¦¤«¡¢ - <literal/host/ ¤« <literal/access/ ¤ǻØÄê¤Ǥ­¤ޤ¹¡£ - <literal/host/ ¤ϡ¢¥¿¡¼¥²¥åȥۥ¹¥Ȥ´¤ȤË 1 Àܳ¤򳫤­¤ޤ¹¡£ - <literal/access/ ¤ϡ¢URI ¥¿¥¤¥פ´¤ȤË 1 Àܳ¤򳫤­¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>Retries</Term> - <ListItem><Para> -<!-- - Number of retries to perform. If this is non-zero APT will retry failed - files the given number of times. ---> - ¥ê¥ȥ饤¤βó¿ô¤òÀßÄꤷ¤ޤ¹¡£0 ¤Ǥʤ¤¾ì¹硢APT ¤ϼºÇԤ·¤¿¥ե¡¥¤¥ë¤ËÂФ·¤ơ¢ - Ϳ¤¨¤é¤줿²ó¿ô¤À¤±¥ê¥ȥ饤¤ò¹Ԥ¤¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>Source-Symlinks</Term> - <ListItem><Para> -<!-- - Use symlinks for source archives. If set to true then source archives will - be symlinked when possible instead of copying. True is the default ---> - ¥½¡¼¥¹¥¢¡¼¥«¥¤¥֤Υ·¥ó¥ܥê¥å¯¥ê¥󥯤ò»ÈÍѤ·¤ޤ¹¡£ - true ¤¬¥»¥åȤµ¤ì¤Ƥ¤¤ë¤Ȥ­¡¢²Äǽ¤ʤ饳¥ԡ¼¤ÎÂå¤ï¤ê¤˥·¥ó¥ܥê¥å¯¥ê¥󥯤¬ - ĥ¤é¤ì¤ޤ¹¡£true ¤¬¥ǥե©¥ë¥ȤǤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>http</Term> - <ListItem><Para> -<!-- - HTTP URIs; http::Proxy is the default http proxy to use. It is in the - standard form of <literal>http://[[user][:pass]@]host[:port]/</>. Per - host proxies can also be specified by using the form - <literal/http::Proxy::<host>/ with the special keyword <literal/DIRECT/ - meaning to use no proxies. The <envar/http_proxy/ environment variable - will override all settings. ---> - HTTP URI - http::Proxy ¤ϡ¢¥ǥե©¥ë¥ȤǻÈÍѤ¹¤ë http ¥ץí¥­¥·¤Ǥ¹¡£ - <literal>http://[[user][:pass]@]host[:port]/</>¤Ȥ¤¤¦ɸ½à·Á¤Çɽ¤·¤ޤ¹¡£ - ¥ۥ¹¥Ȥ´¤ȤΥץí¥­¥·¤ξì¹ç¤ϡ¢<literal/http::Proxy::<host>/ ¤Ȥ¤¤¦ - ·Á¤ȡ¢¥ץí¥­¥·¤ò»ÈÍѤ·¤ʤ¤¤Ȥ¤¤¦°Ọ̃¤ÎÆü쥭¡¼¥¥É <literal/DIRECT/ ¤ò - »ÈÍѤ·¤ƻØÄꤹ¤뤳¤Ȥâ¤Ǥ­¤ޤ¹¡£ - ¤¹¤٤ƤÎÀßÄê¤ϡ¢´Ķ­Êѿô <envar/http_proxy/ ¤Ǿå½񤭤µ¤ì¤ޤ¹¡£ - <para> -<!-- - Three settings are provided for cache control with HTTP/1.1 complient - proxy caches. <literal/No-Cache/ tells the proxy to not use its cached - response under any circumstances, <literal/Max-Age/ is sent only for - index files and tells the cache to refresh its object if it is older than - the given number of seconds. Debian updates its index files daily so the - default is 1 day. <literal/No-Store/ specifies that the cache should never - store this request, it is only set for archive files. This may be useful - to prevent polluting a proxy cache with very large .deb files. Note: - Squid 2.0.2 does not support any of these options. ---> - HTTP/1.1 ½àµò¤Υץí¥­¥·¥­¥ã¥å·¥å¤ÎÀ©¸æ¤ˤĤ¤¤ơ¢3 ¼ïÎà¤ÎÀßÄ꤬¤¢¤ê¤ޤ¹¡£ - <literal/No-Cache/ ¤ϥץí¥­¥·¤ËÂФ·¤ơ¢¤¤¤«¤ʤë»þ¤⥭¥ã¥å·¥å¤ò»ÈÍѤ·¤ʤ¤ - ¤ÈÅÁ¤¨¤ޤ¹¡£ - <literal/Max-Age/ ¤ϡ¢¥¤¥ó¥ǥ寥¹¥ե¡¥¤¥ëÍѤΤȤ­¤À¤±Á÷¿®¤·¡¢ - ÆÀ¤é¤줿»þ´֤è¤ê¤â¸Ť«¤ä¿¾ì¹ç¤ˡ¢¥ª¥֥¸¥§¥¯¥Ȥò¥ê¥եì¥å·¥夹¤ë¤褦 - ¥­¥ã¥å·¥å¤˻ؼ¨¤·¤ޤ¹¡£ - ¥ǥե©¥ë¥ȤǤÏ 1 Æü¤ȤʤäƤ¤¤뤿¤ᡢDebian ¤ÏÆüËè¤ˤ½¤Υ¤¥ó¥ǥ寥¹ - ¥ե¡¥¤¥ë¤򹹿·¤·¤ޤ¹¡£ - <literal/No-Store/ ¤ϡ¢¥­¥ã¥å·¥夬¤³¤Υꥯ¥¨¥¹¥Ȥò³ÊǼ¤»¤º¡¢ - ¥¢¡¼¥«¥¤¥֥ե¡¥¤¥ë¤ΤßÀßÄꤹ¤ë¤褦»ØÄꤷ¤ޤ¹¡£ - ¤³¤ì¤ϡ¢Èó¾ï¤ËÂ礭¤Ê.deb¥ե¡¥¤¥ë¤ǥץí¥­¥·¥­¥ã¥å·¥夬±ø¤ì¤ë¤Τò¡¢ - Ëɤ°¤ΤËÊØÍø¤«¤⤷¤ì¤ޤ»¤ó¡£ - Ãí) Squid 2.0.2 ¤Ǥϡ¢¤³¤ì¤é¤Υª¥ץ·¥ç¥ó¤򥵥ݡ¼¥Ȥ·¤Ƥ¤¤ޤ»¤ó¡£ - <para> -<!-- - The option <literal/timeout/ sets the timeout timer used by the method, - this applies to all things including connection timeout and data timeout. ---> - <literal/timeout/ ¥ª¥ץ·¥ç¥ó¤ϡ¢¤³¤ÎÊýˡ¤ǤΥ¿¥¤¥ॢ¥¦¥ȤޤǤλþ´֤ò - ÀßÄꤷ¤ޤ¹¡£ - ¤³¤ì¤ˤϡ¢Àܳ¤Υ¿¥¤¥ॢ¥¦¥Ȥȥǡ¼¥¿¤Υ¿¥¤¥ॢ¥¦¥Ȥ¬´ޤޤì¤Ƥ¤¤ޤ¹¡£ - <para> -<!-- - One setting is provided to control the pipeline depth in cases where the - remote server is not RFC conforming or buggy (such as Squid 2.0.2) - <literal/Acquire::http::Pipeline-Depth/ can be a value from 0 to 5 - indicating how many outstanding requests APT should send. A value of - zero MUST be specified if the remote host does not properly linger - on TCP connections - otherwise data corruption will occur. Hosts which - require this are in violation of RFC 2068. ---> - ¥ê¥⡼¥ȥµ¡¼¥Ф¬ RFC ½àµò¤Ǥʤ«¤ä¿¤ꡢ(Squid 2.0.2 ¤Τ褦¤Ë) ¥Х°¤¬ - ¤¢¤ä¿¤ꤷ¤¿¤Ȥ­¤Τ¿¤á¤ˡ¢¥ѥ¤¥ץ饤¥ó¤ο¼¤µ¤ÎÀ©¸æ¤òÀßÄꤷ¤ޤ¹¡£ - <literal/Acquire::http::Pipeline-Depth/ ¤ˤè¤ꡢAPT ¤¬Á÷¿®¤Ǥ­¤ë - ¥ꥯ¥¨¥¹¥Ȥβó¿ô¤ò 0 ¤«¤é 5 ¤ÎÃͤÇÀßÄê¤Ǥ­¤ޤ¹¡£ - ¥ê¥⡼¥ȥµ¡¼¥Ф¬ŬÀڤǤʤ¯¡¢TCP Àܳ¤˻þ´֤¬¤«¤«¤ë¤Ȥ­¤ϡ¢ - <emphasis>ɬ¤º</emphasis>0¤ÎÃͤòÀßÄꤷ¤ʤ±¤ì¤Фʤê¤ޤ»¤ó¡£ - ¤½¤¦¤Ǥʤ±¤ì¤С¢¥ǡ¼¥¿¤¬ÇË»¤·¤Ƥ·¤ޤ¤¤ޤ¹¡£ - ¤³¤줬ɬÍפʥۥ¹¥Ȥϡ¢RFC 2068 ¤˰ãȿ¤·¤Ƥ¤¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>ftp</Term> - <ListItem><Para> -<!-- - FTP URIs; ftp::Proxy is the default proxy server to use. It is in the - standard form of <literal>ftp://[[user][:pass]@]host[:port]/</> and is - overriden by the <envar/ftp_proxy/ environment variable. To use a ftp - proxy you will have to set the <literal/ftp::ProxyLogin/ script in the - configuration file. This entry specifies the commands to send to tell - the proxy server what to connect to. Please see - &configureindex; for an example of - how to do this. The subsitution variables available are - <literal/$(PROXY_USER)/, <literal/$(PROXY_PASS)/, <literal/$(SITE_USER)/, - <literal/$(SITE_PASS)/, <literal/$(SITE)/, and <literal/$(SITE_PORT)/. - Each is taken from it's respective URI component. ---> - FTP URI - ftp::Proxy ¤ϡ¢¥ǥե©¥ë¥ȤǻÈÍѤ¹¤ë¥ץí¥­¥·¥µ¡¼¥ФǤ¹¡£ - <literal>ftp://[[user][:pass]@]host[:port]/</> ¤Ȥ¤¤¦ɸ½à·Á¤Çɽ¤·¤ޤ¹¤¬¡¢ - ´Ķ­Êѿô <envar/ftp_proxy/ ¤Ǿå½񤭤µ¤ì¤ޤ¹¡£ - ftp ¥ץí¥­¥·¤ò»ÈÍѤ¹¤ë¤ˤϡ¢ÀßÄê¥ե¡¥¤¥ë¤Ë <literal/ftp::ProxyLogin/ - ¥¹¥¯¥ê¥ץȤòÀßÄꤹ¤ëɬÍפ¬¤¢¤ê¤ޤ¹¡£ - ¥ץí¥­¥·¥µ¡¼¥ФËÁ÷¿®¤¹¤ëÀܳ¥³¥ޥó¥ɤ򡢤³¤Υ¨¥ó¥ȥê¤ËÀßÄꤷ¤ޤ¹¡£ - ¤ɤΤ褦¤ˤ¹¤ë¤Τ«¤Ï &configureindex; ¤ÎÎã¤򻲾Ȥ·¤Ƥ¯¤À¤µ¤¤¡£ - ¤½¤Î¾¤ˤ⡢<literal/$(PROXY_USER)/, <literal/$(PROXY_PASS)/, - <literal/$(SITE_USER)/, <literal/$(SITE_PASS)/, <literal/$(SITE)/, - <literal/$(SITE_PORT)/ ¤¬ÍøÍѲÄǽ¤Ǥ¹¡£ - ¤¤¤º¤ì¤⡢¤½¤줾¤ì URI ¤ò¹½À®¤¹¤ë¥ȡ¼¥¯¥ó¤Ǥ¹¡£ - <para> -<!-- - The option <literal/timeout/ sets the timeout timer used by the method, - this applies to all things including connection timeout and data timeout. ---> - <literal/timeout/ ¥ª¥ץ·¥ç¥ó¤ϡ¢¤³¤ÎÊýˡ¤ǤΥ¿¥¤¥ॢ¥¦¥ȤޤǤλþ´֤ò - ÀßÄꤷ¤ޤ¹¡£ - ¤³¤ì¤ˤϡ¢Àܳ¤Υ¿¥¤¥ॢ¥¦¥Ȥȥǡ¼¥¿¤Υ¿¥¤¥ॢ¥¦¥Ȥ¬´ޤޤì¤Ƥ¤¤ޤ¹¡£ - <para> -<!-- - Several settings are provided to control passive mode. Generally it is - safe to leave passive mode on, it works in nearly every environment. - However some situations require that passive mode be disabled and port - mode ftp used instead. This can be done globally, for connections that - go through a proxy or for a specific host (See the sample config file - for examples) ---> - ÀßÄê¤Τ¤¤¯¤Ĥ«¤ϡ¢¥ѥå·¥֥⡼¥ɤòÀ©¸椹¤ë¤â¤ΤǤ¹¡£ - °ìÈÌŪ¤ˡ¢¥ѥå·¥֥⡼¥ɤΤޤޤˤ·¤Ƥª¤¯Êý¤¬°ÂÁ´¤ǡ¢ - ¤ۤܤɤó¤ʴĶ­¤Ǥâưº¤ޤ¹¡£ - ¤·¤«¤·¤¢¤ë¾õ¶·²¼¤Ǥϡ¢¥ѥå·¥֥⡼¥ɤ¬̵¸ú¤Τ¿¤ᡢ - Âå¤ï¤ê¤˥ݡ¼¥ȥ⡼¥É ftp ¤ò»ÈÍѤ¹¤ëɬÍפ¬¤¢¤ê¤ޤ¹¡£ - ¤³¤ÎÀßÄê¤ϡ¢¥ץí¥­¥·¤òÄ̤ëÀܳ¤äÆÃÄê¤Υۥ¹¥ȤؤÎÀܳÁ´È̤Ëͭ¸ú¤Ǥ¹¡£ - (ÀßÄêÎã¤ϥµ¥ó¥ץëÀßÄê¥ե¡¥¤¥ë¤򻲾Ȥ·¤Ƥ¯¤À¤µ¤¤) - <para> -<!-- - It is possible to proxy FTP over HTTP by setting the <envar/ftp_proxy/ - environment variable to a http url - see the discussion of the http method - above for syntax. You cannot set this in the configuration file and it is - not recommended to use FTP over HTTP due to its low efficiency. ---> - ´Ķ­Êѿô <envar/ftp_proxy/ ¤Î http url ¤ˤè¤ê FTP over HTTP ¤Υץí¥­¥·¤¬ - ÍøÍѲÄǽ¤ˤʤê¤ޤ¹¡£ʸˡ¤Ͼå¤Î http ¤ˤĤ¤¤ƤÎÀâÌÀ¤򻲾Ȥ·¤Ƥ¯¤À¤µ¤¤¡£ - ÀßÄê¥ե¡¥¤¥ë¤ÎÃæ¤Ǥ³¤ì¤򥻥åȤ¹¤뤳¤ȤϤǤ­¤ޤ»¤ó¡£ - ¤ޤ¿¡¢¸úΨ¤¬°­¤¤¤¿¤á FTP over HTTP ¤ò»ÈÍѤ¹¤ë¤ΤϿ侩¤·¤ޤ»¤ó¡£ - <para> -<!-- - The setting <literal/ForceExtended/ controls the use of RFC2428 - <literal/EPSV/ and <literal/EPRT/ commands. The defaut is false, which means - these commands are only used if the control connection is IPv6. Setting this - to true forces their use even on IPv4 connections. Note that most FTP servers - do not support RFC2428. ---> - <literal/ForceExtended/ ¤ÎÀßÄê¤Ï RFC2428 ¤Î <literal/EPSV/ ¤È - <literal/EPRT/ ¥³¥ޥó¥ɤλÈÍѤòÀ©¸椷¤ޤ¹¡£ - ¥ǥե©¥ë¥ȤǤÏ false ¤Ǥ¹¡£¤³¤ì¤ϡ¢¥³¥ó¥ȥí¡¼¥륳¥ͥ¯¥·¥ç¥ó¤¬ IPv6 - ¤λþ¤ˤΤߡ¢¤³¤Υ³¥ޥó¥ɤò»ÈÍѤ¹¤ë¤Ȥ¤¤¦¤³¤ȤǤ¹¡£ - ¤³¤ì¤ò true ¤˥»¥åȤ¹¤ë¤ȡ¢IPv4 ¥³¥ͥ¯¥·¥ç¥ó¤Ǥ⶯À©Ū¤ˡ¢ - ¤³¤Υ³¥ޥó¥ɤò»ÈÍѤ·¤ޤ¹¡£ - Ãí) ¤ۤȤó¤ɤÎ FTP ¥µ¡¼¥ФÏ RFC2428 ¤򥵥ݡ¼¥Ȥ·¤Ƥ¤¤ޤ»¤ó¡£ - </VarListEntry> - - <VarListEntry><Term>cdrom</Term> - <ListItem><Para> -<!-- - CDROM URIs; the only setting for CDROM URIs is the mount point, - <literal/cdrom::Mount/ which must be the mount point for the CDROM drive - as specified in <filename>/etc/fstab</>. It is possible to provide - alternate mount and unmount commands if your mount point cannot be listed - in the fstab (such as an SMB mount and old mount packages). The syntax - is to put <literallayout>"/cdrom/"::Mount "foo";</literallayout> within - the cdrom block. It is important to have the trailing slash. Unmount - commands can be specified using UMount. ---> - CDROM URI - ¥ޥ¦¥ó¥ȥݥ¤¥ó¥ȤÎÀßÄê¤Τߤò¹Ԥ¤¤ޤ¹¡£ - <filename>/etc/fstab</> ¤ÇÀßÄꤵ¤ì¤Ƥ¤¤ë¤褦¤ˡ¢CDROM ¥ɥ饤¥֤Î - ¥ޥ¦¥ó¥ȥݥ¤¥ó¥Ȥò <literal/cdrom::Mount/ ¤ËÀßÄꤷ¤ʤ±¤ì¤Фʤê¤ޤ»¤ó¡£ - (SMB ¥ޥ¦¥ó¥Ȥ不¤ mount ¥ѥ屡¼¥¸¤ʤÉ) ¥ޥ¦¥ó¥ȥݥ¤¥ó¥Ȥ¬ fstab ¤Ë - µ­½ҤǤ­¤ʤ¤¾ì¹硢¤«¤ï¤ê¤˥ޥ¦¥ó¥ȡ¦¥¢¥ó¥ޥ¦¥ó¥ȥ³¥ޥó¥ɤâ»ÈÍѤǤ­¤ޤ¹¡£ - ʸˡ¤ϡ¢cdrom ¥֥í¥å¯¤ò - <literallayout>"/cdrom/"::Mount "foo";</literallayout> ¤ηÁ¤ǵ­½Ҥ·¤ޤ¹¡£ - ¥¹¥é¥å·¥å¤ò¸å¤ˤĤ±¤ë¤ΤϽÅÍפǤ¹¡£ - ¥¢¥ó¥ޥ¦¥ó¥ȥ³¥ޥó¥ɤÏ UMount ¤ǻØÄꤹ¤뤳¤Ȥ¬¤Ǥ­¤ޤ¹¡£ - </VarListEntry> - </VariableList> - </RefSect1> - -<!-- - <RefSect1><Title>Directories</> ---> - <RefSect1><Title>¥ǥ£¥쥯¥ȥê</> - <para> -<!-- - The <literal/Dir::State/ section has directories that pertain to local - state information. <literal/lists/ is the directory to place downloaded - package lists in and <literal/status/ is the name of the dpkg status file. - <literal/preferences/ is the name of the APT preferences file. - <literal/Dir::State/ contains the default directory to prefix on all sub - items if they do not start with <filename>/</> or <filename>./</>. ---> - <literal/Dir::State/ ¥»¥¯¥·¥ç¥ó¤ϡ¢¥í¡¼¥«¥ë¾õÂ־ðÊó¤˴ؤ¹¤ë¥ǥ£¥쥯¥ȥê¤ò - Êݻý¤·¤ޤ¹¡£ - <literal/lists/ ¤ϡ¢¥À¥¦¥ó¥í¡¼¥ɤ·¤¿¥ѥ屡¼¥¸°ìÍ÷¤ò³ÊǼ¤¹¤ë¥ǥ£¥쥯¥ȥê¤ǡ¢ - <literal/status/ ¤Ï dpkg ¤ξõÂ֥ե¡¥¤¥ë¤Î̾Á°¤òɽ¤·¤ޤ¹¡£ - <literal/preferences/ ¤Ï APT ¤Î ÀßÄê¥ե¡¥¤¥ë¤Î̾Á°¤Ǥ¹¡£ - <literal/Dir::State/ ¤ˤϡ¢<filename>/</> ¤ä <filename>./</>¤ǻϤޤé¤ʤ¤ - Á´¥µ¥֥¢¥¤¥ƥà¤ËÉղ乤롢¥ǥե©¥ë¥ȥǥ£¥쥯¥ȥê¤ò´ޤó¤Ǥ¤¤ޤ¹¡£ - <para> -<!-- - <literal/Dir::Cache/ contains locations pertaining to local cache - information, such as the two package caches <literal/srcpkgcache/ and - <literal/pkgcache/ as well as the location to place downloaded archives, - <literal/Dir::Cache::archives/. Generation of caches can be turned off - by setting their names to be blank. This will slow down startup but - save disk space. It is probably prefered to turn off the pkgcache rather - than the srcpkgcache. Like <literal/Dir::State/ the default - directory is contained in <literal/Dir::Cache/ ---> - <literal/Dir::Cache/ ¤ϥí¡¼¥«¥륭¥ã¥å·¥å¾ðÊó¤˴ؤ¹¤ë¾ì½ê¤ò³ÊǼ¤·¤Ƥ¤¤ޤ¹¡£ - ¤³¤ì¤ϡ¢¥À¥¦¥ó¥í¡¼¥ɺѥ¢¡¼¥«¥¤¥֤ξì½ê¤򼨤¹ <literal/Dir::Cache::archives/ - ¤ÈƱÍ͡¢<literal/srcpkgcache/ ¤È <literal/pkgcache/ ¤Υѥ屡¼¥¸¥­¥ã¥å·¥å¤Î - ¾ì½ê¤Ȥʤê¤ޤ¹¡£ - ¤½¤줾¤ì¤ò¶õ¤˥»¥åȤ¹¤뤳¤Ȥǡ¢¥­¥ã¥å·¥å¤ÎÀ¸À®¤ò̵¸ú¤ˤǤ­¤ޤ¹¡£ - ¤³¤ì¤ϵ¯ư¤¬Ã٤¯¤ʤê¤ޤ¹¤¬¡¢¥ǥ£¥¹¥¯¥¹¥ڡ¼¥¹¤ÎÀáÌó¤ˤʤê¤ޤ¹¡£ - ¤ª¤½¤餯¡¢srcpkgcache ¤è¤ê¤â pkgcache ¤ò̵¸ú¤ˤ¹¤뤳¤Ȥ¬¡¢ - ¿¤¤¤Ȼפ¤¤ޤ¹¡£ - <literal/Dir::State/ ¤ÈƱÍ͡¢<literal/Dir::Cache/ ¤Ï - ¥ǥե©¥ë¥ȥǥ£¥쥯¥ȥê¤ò´ޤó¤Ǥ¤¤ޤ¹¡£ - <para> -<!-- - <literal/Dir::Etc/ contains the location of configuration files, - <literal/sourcelist/ gives the location of the sourcelist and - <literal/main/ is the default configuration file (setting has no effect, - unless it is done from the config file specified by - <envar/APT_CONFIG/). ---> - <literal/Dir::Etc/ ¤ÏÀßÄê¥ե¡¥¤¥ë¤ξì½ê¤ò³ÊǼ¤·¤Ƥ¤¤ޤ¹¡£ - <literal/sourcelist/ ¤ϥ½¡¼¥¹¥ꥹ¥Ȥξì½ê¤򼨤·¡¢ - <literal/main/ ¤ϥǥե©¥ë¥ȤÎÀßÄê¥ե¡¥¤¥ë¤Ǥ¹¡£ - (<envar/APT_CONFIG/ ¤ÇÀßÄê¥ե¡¥¤¥ë¤ò»ØÄꤵ¤줿¾ì¹ç¤Τߡ¢ - ¤³¤ÎÀßÄê¤θú²̤¬¤¢¤ê¤ޤ¹) - <para> -<!-- - The <literal/Dir::Parts/ setting reads in all the config fragments in - lexical order from the directory specified. After this is done then the - main config file is loaded. ---> - <literal/Dir::Parts/ ÀßÄê¤ϡ¢»ØÄꤵ¤줿¥ǥ£¥쥯¥ȥ꤫¤顢 - »ú¶çñ°̤ÎÁ´¤ƤÎÀßÄêÃÇÊҤòÆɤߤ³¤ߤޤ¹¡£ - ¤³¤ì¤òÀßÄꤷ¤¿¸å¤ˡ¢¥ᥤ¥óÀßÄê¥ե¡¥¤¥ë¤ò¥í¡¼¥ɤ·¤ޤ¹¡£ - <para> -<!-- - Binary programs are pointed to by <literal/Dir::Bin/. <literal/methods/ - specifies the location of the method handlers and <literal/gzip/, - <literal/dpkg/, <literal/apt-get/, <literal/dpkg-source/, - <literal/dpkg-buildpackage/ and <literal/apt-cache/ specify the location - of the respective programs. ---> - ¥Х¤¥ʥê¥ץí¥°¥é¥à¤Ï <literal/Dir::Bin/ ¤ǻØÄꤷ¤ޤ¹¡£ - <literal/methods/ ¤ϥ᥽¥åɥϥó¥ɥé¤ξì½ê¤ò»ØÄꤷ¡¢ - <literal/gzip/, <literal/dpkg/, <literal/apt-get/, <literal/dpkg-source/, - <literal/dpkg-buildpackage/, <literal/apt-cache/ ¤Ϥ½¤줾¤ì - ¥ץí¥°¥é¥à¤ξì½ê¤ò»ØÄꤷ¤ޤ¹¡£ - </RefSect1> - -<!-- - <RefSect1><Title>APT in DSelect</> ---> - <RefSect1><Title>DSelect ¤ǤÎ APT</> - <para> -<!-- - When APT is used as a &dselect; method several configuration directives - control the default behaviour. These are in the <literal/DSelect/ section. ---> - &dselect; ¾å¤Ç APT ¤ò»ÈÍѤ¹¤ëºݡ¢<literal/DSelect/ ¥»¥¯¥·¥ç¥ó°ʲ¼¤Î - ÀßÄê¹àÌܤǡ¢¥ǥե©¥ë¥ȤÎưºî¤òÀ©¸椷¤ޤ¹¡£ - <VariableList> - <VarListEntry><Term>Clean</Term> - <ListItem><Para> -<!-- - Cache Clean mode; this value may be one of always, prompt, auto, - pre-auto and never. always and prompt will remove all packages from - the cache after upgrading, prompt (the default) does so conditionally. - auto removes only those packages which are no longer downloadable - (replaced with a new version for instance). pre-auto performs this - action before downloading new packages. ---> - ¥­¥ã¥å·¥奯¥꡼¥ó¥⡼¥É - ¤³¤ÎÃͤÏ always, prompt, auto, pre-auto never - ¤Τ¦¤Á¡¢¤ҤȤĤò¼è¤ê¤ޤ¹¡£ - always ¤È prompt ¤Ϲ¹¿·¸塢Á´¥ѥ屡¼¥¸¤򥭥ã¥å·¥夫¤éºï½ü¤·¤ޤ¹¡£ - (¥ǥե©¥ë¥ȤÎ) prompt ¤ǤϾò·ïÉդ­¤Ǻï½ü¤·¤ޤ¹¡£ - auto ¤ϥÀ¥¦¥ó¥í¡¼¥ÉÉÔǽ¥ѥ屡¼¥¸ (Î㤨¤п·¥С¼¥¸¥ç¥ó¤ÇÃ֤­´¹¤¨¤é¤줿¤â¤Î) - ¤òºï½ü¤·¤ޤ¹¡£ - pre-auto ¤Ϥ³¤Îưºî¤򡢿·¥ѥ屡¼¥¸¤ò¥À¥¦¥ó¥í¡¼¥ɤ¹¤ëľÁ°¤˹Ԥ¤¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>Options</Term> - <ListItem><Para> -<!-- - The contents of this variable is passed to &apt-get; as command line - options when it is run for the install phase. ---> - ¤³¤ÎÊѿô¤ÎÆâÍƤϡ¢install »þ¤Υ³¥ޥó¥ɥ饤¥󥪥ץ·¥ç¥ó¤ÈƱÍͤˡ¢ - &apt-get; ¤ËÅϤµ¤ì¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>UpdateOptions</Term> - <ListItem><Para> -<!-- - The contents of this variable is passed to &apt-get; as command line - options when it is run for the update phase. ---> - ¤³¤ÎÊѿô¤ÎÆâÍƤϡ¢update »þ¤Υ³¥ޥó¥ɥ饤¥󥪥ץ·¥ç¥ó¤ÈƱÍͤˡ¢ - &apt-get; ¤ËÅϤµ¤ì¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>PromptAfterUpdate</Term> - <ListItem><Para> -<!-- - If true the [U]pdate operation in &dselect; will always prompt to continue. - The default is to prompt only on error. ---> - True ¤ξì¹硢&dselect; ¤Î [U]pdate ¼¹Իþ¤ˡ¢³¹ԤΤ¿¤á¤Υץí¥ó¥ץȤò - Ëè²óɽ¼¨¤·¤ޤ¹¡£¥ǥե©¥ë¥Ȥϥ¨¥顼¤¬ȯÀ¸¤·¤¿¾ì¹ç¤ΤߤǤ¹¡£ - </VarListEntry> - </VariableList> - </RefSect1> - -<!-- - <RefSect1><Title>How APT calls dpkg</> ---> - <RefSect1><Title>APT ¤¬ dpkg ¤ò¸ƤÖÊýˡ</> - <para> -<!-- - Several configuration directives control how APT invokes &dpkg;. These are - in the <literal/DPkg/ section. ---> - ¿ô¼ï¤ÎÀßÄê¹àÌܤÇ APT ¤¬¤ɤΤ褦¤Ë &dpkg; ¤ò¸ƤӽФ¹¤«¤òÀ©¸æ¤Ǥ­¤ޤ¹¡£ - <literal/DPkg/ ¥»¥¯¥·¥ç¥ó¤ˤ¢¤ê¤ޤ¹¡£ - <VariableList> - <VarListEntry><Term>Options</Term> - <ListItem><Para> -<!-- - This is a list of options to pass to dpkg. The options must be specified - using the list notation and each list item is passed as a single argument - to &dpkg;. ---> - dpkg ¤ËÅϤ¹¥ª¥ץ·¥ç¥ó¤Υꥹ¥ȤǤ¹¡£ - ¥ª¥ץ·¥ç¥ó¤ϡ¢¥ꥹ¥ȵ­ˡ¤ò»ÈÍѤ·¤ƻØÄꤷ¤ʤ±¤ì¤Фʤê¤ޤ»¤ó¡£ - ¤ޤ¿¡¢³ƥꥹ¥ȤÏñ°ì¤ΰú¿ô¤Ȥ·¤Æ &dpkg; ¤ËÅϤµ¤ì¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>Pre-Invoke</Term><Term>Post-Invoke</Term> - <ListItem><Para> -<!-- - This is a list of shell commands to run before/after invoking &dpkg;. - Like <literal/Options/ this must be specified in list notation. The - commands are invoked in order using <filename>/bin/sh</>, should any - fail APT will abort. ---> - &dpkg; ¤ò¸ƤӽФ¹Á°¸å¤Ǽ¹Ԥ¹¤륷¥§¥륳¥ޥó¥ɤΥꥹ¥ȤǤ¹¡£ - <literal/Options/ ¤Τ褦¤ˡ¢¥ꥹ¥ȵ­ˡ¤ǻØÄꤷ¤ʤ±¤ì¤Фʤê¤ޤ»¤ó¡£ - ¥³¥ޥó¥ɤÏ <filename>/bin/sh</> ¤ò»ÈÍѤ·¤ƸƤӽФµ¤졢 - ²¿¤«ÌäÂ꤬¤¢¤ì¤С¢APT ¤ϰ۾ェλ¤·¤ޤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>Pre-Install-Pkgs</Term> - <ListItem><Para> -<!-- - This is a list of shell commands to run before invoking dpkg. Like - <literal/Options/ this must be specified in list notation. The commands - are invoked in order using <filename>/bin/sh</>, should any fail APT - will abort. APT will pass to the commands on standard input the - filenames of all .deb files it is going to install, one per line. ---> - &dpkg; ¤ò¸ƤӽФ¹Á°¤˼¹Ԥ¹¤륷¥§¥륳¥ޥó¥ɤΥꥹ¥ȤǤ¹¡£ - <literal/Options/ ¤Τ褦¤ˡ¢¥ꥹ¥ȵ­ˡ¤ǻØÄꤷ¤ʤ±¤ì¤Фʤê¤ޤ»¤ó¡£ - ¥³¥ޥó¥ɤÏ <filename>/bin/sh</> ¤ò»ÈÍѤ·¤ƸƤӽФµ¤졢 - ²¿¤«ÌäÂ꤬¤¢¤ì¤С¢APT ¤ϰ۾ェλ¤·¤ޤ¹¡£ - APT ¤ϥ¤¥󥹥ȡ¼¥뤷¤褦¤Ȥ¹¤ëÁ´ .deb ¥ե¡¥¤¥ë¤Υե¡¥¤¥ë̾¤ò¡¢ - ¤ҤȤĤº¤ĥ³¥ޥó¥ɤÎɸ½àÆþÎϤËÁ÷¤ê¤ޤ¹¡£ - <para> -<!-- - Version 2 of this protocol dumps more information, including the - protocol version, the APT configuration space and the packages, files - and versions being changed. Version 2 is enabled by setting - <literal/DPkg::Tools::Options::cmd::Version/ to 2. <literal/cmd/ is a - command given to <literal/Pre-Install-Pkgs/. ---> - ¤³¤Υץí¥ȥ³¥ë¤ΥС¼¥¸¥ç¥ó 2 ¤Ǥϡ¢(¥ץí¥ȥ³¥ë¤ΥС¼¥¸¥ç¥ó¤ä - APT ÀßÄꥹ¥ڡ¼¥¹¡¢¥ѥ屡¼¥¸¤ò´ޤà) ¾ܺپðÊó¤ä¥ե¡¥¤¥롢 - Êѹ¹¤µ¤ì¤Ƥ¤¤ë¥С¼¥¸¥ç¥ó¤ò½ÐÎϤ·¤ޤ¹¡£ - <literal/DPkg::Tools::Options::cmd::Version/ ¤Ë 2 ¤򥻥åȤ¹¤ë¤ȡ¢ - ¥С¼¥¸¥ç¥ó 2 ¤òͭ¸ú¤ˤǤ­¤ޤ¹¡£ - <literal/cmd/ ¤Ï <literal/Pre-Install-Pkgs/ ¤ÇͿ¤¨¤é¤ì¤륳¥ޥó¥ɤǤ¹¡£ - </VarListEntry> - - <VarListEntry><Term>Run-Directory</Term> - <ListItem><Para> -<!-- - APT chdirs to this directory before invoking dpkg, the default is - <filename>/</>. ---> - APT ¤Ï dpkg ¤ò¸ƤӽФ¹Á°¤ˤ³¤Υǥ£¥쥯¥ȥê¤˰Üư¤·¤ޤ¹¡£ - ¥ǥե©¥ë¥ȤÏ <filename>/</> ¤Ǥ¹¡£ - </VarListEntry> - - <VarListEntry><Term>Build-Options</Term> - <ListItem><Para> -<!-- - These options are passed to &dpkg-buildpackage; when compiling packages, - the default is to disable signing and produce all binaries. ---> - ¤³¤ì¤é¤Υª¥ץ·¥ç¥ó¤ϡ¢¥ѥ屡¼¥¸¤Υ³¥ó¥ѥ¤¥ë»þ¤Ë &dpkg-buildpackage; ¤Ë - ÅϤµ¤ì¤ޤ¹¡£ - ¥ǥե©¥ë¥ȤǤϡ¢½ð̾¤ò̵¸ú¤ˤ·¡¢Á´¥Х¤¥ʥê¤òÀ¸À®¤·¤ޤ¹¡£ - </VarListEntry> - </VariableList> - </RefSect1> - -<!-- - <RefSect1><Title>Debug Options</> ---> - <RefSect1><Title>¥ǥХå°¥ª¥ץ·¥ç¥ó</> - <para> -<!-- - Most of the options in the <literal/debug/ section are not interesting to - the normal user, however <literal/Debug::pkgProblemResolver/ shows - interesting output about the decisions dist-upgrade makes. - <literal/Debug::NoLocking/ disables file locking so APT can do some - operations as non-root and <literal/Debug::pkgDPkgPM/ will print out the - command line for each dpkg invokation. <literal/Debug::IdentCdrom/ will - disable the inclusion of statfs data in CDROM IDs. ---> - <literal/debug/ ¤Î¿¤¯¤Υª¥ץ·¥ç¥ó¤ϡ¢ÉáÄ̤Υ桼¥¶¤ˤȤäƶ½̣¤ò°ú¤¯¤â¤ΤǤÏ - ¤¢¤ê¤ޤ»¤󡣤·¤«¤·¡¢<literal/Debug::pkgProblemResolver/ ¤ǡ¢ - dist-upgrade ¤ÎȽÃǤˤĤ¤¤Ƥζ½̣¿¼¤¤½ÐÎϤ¬ÆÀ¤é¤ì¤ޤ¹¡£ - <literal/Debug::NoLocking/ ¤ϡ¢APT ¤¬Èó root ¤ÇÁàºî¤Ǥ­¤ë¤褦¤Ë - ¥ե¡¥¤¥ë¤Υí¥å¯¤ò̵¸ú¤ˤ·¤ޤ¹¤·¡¢ <literal/Debug::pkgDPkgPM/ ¤ϡ¢ - dpkg ¤ò¸ƤֺݤΥ³¥ޥó¥ɥ饤¥ó¤ò½ÐÎϤ·¤ޤ¹¡£ - <literal/Debug::IdentCdrom/ ¤ϡ¢CDROM ID ¤ξõÂ֥ǡ¼¥¿¤ÎÊñ´ޤò̵¸ú¤ˤ·¤ޤ¹¡£ - <!-- statfs ¤Ï status ¤Î typo? --> - </RefSect1> - -<!-- - <RefSect1><Title>Examples</> ---> - <RefSect1><Title>Îã</> - <para> -<!-- - &configureindex; contains a - sample configuration file showing the default values for all possible - options. ---> - &configureindex; ¤ˡ¢Á´ÍøÍѲÄǽ¥ª¥ץ·¥ç¥ó¤Υǥե©¥ë¥ÈÃͤ򻲾ȤǤ­¤롢 - ÀßÄê¥ե¡¥¤¥ë¤Υµ¥ó¥ץ뤬¤¢¤ê¤ޤ¹¡£ - </RefSect1> - -<!-- - <RefSect1><Title>Files</> ---> - <RefSect1><Title>¥ե¡¥¤¥ë</> - <para> - <filename>/etc/apt/apt.conf</> - </RefSect1> - -<!-- - <RefSect1><Title>See Also</> ---> - <RefSect1><Title>»²¾È</> - <para> - &apt-cache;, &apt-config;<!-- ? reading apt.conf -->, &apt-preferences;. - </RefSect1> - - &manbugs; - &manauthor; - &translator; - -</refentry> diff --git a/doc/ja/apt.conf.ja.5.xml b/doc/ja/apt.conf.ja.5.xml new file mode 100644 index 000000000..8707c801e --- /dev/null +++ b/doc/ja/apt.conf.ja.5.xml @@ -0,0 +1,809 @@ +<?xml version="1.0" encoding="utf-8" standalone="no"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ + +<!ENTITY % aptent SYSTEM "apt.ent.ja"> +%aptent; + +]> + +<refentry> + + <refentryinfo> + &apt-author.jgunthorpe; + &apt-author.team; + &apt-email; + &apt-product; + <!-- The last update date --> + <date>29 February 2004</date> + </refentryinfo> + + <refmeta> + <refentrytitle>apt.conf</refentrytitle> + <manvolnum>5</manvolnum> + </refmeta> + + <!-- Man page title --> + <refnamediv> + <refname>apt.conf</refname> +<!-- + <refpurpose>Configuration file for APT</refpurpose> +--> + <refpurpose>APT 設定ファイル</refpurpose> + </refnamediv> + +<!-- + <refsect1><title>Description +--> + 説明 + + apt.conf は、 + APT ツール集のメイン設定ファイルです。 + この設定ファイルと共通のコマンドラインパーサを使って、 + すべてのツールを統一環境で使用できます。 + APT ツールの起動時には、APT_CONFIG 環境変数に指定した設定を + (存在すれば) 読み込みます。 + 次に Dir::Etc::Parts のファイルを読み込みます。 + 次に Dir::Etc::main で指定した主設定ファイルを読み込み、 + 最後にコマンドラインオプションで、 + 設定ファイルより取得した値を上書きします。 + + + 設定ファイルは、 + 機能グループごとに系統立てられたオプションを木構造で表します。 + オプションの内容は、2 つのコロンで区切ります。 + 例えば APT::Get::Assume-Yes は、 + APT ツールグループの、Get ツール用オプションです。 + オプションは、親グループから継承しません。 + + + 設定言語の文法は、 + bind や dhcp のような ISC ツールをモデルにしています。 + // で始まる行はコメントとして扱われます (無視)。 + いずれの行も、APT::Get::Assume-Yes "true"; の + ような形式です。 + 行末のセミコロンは必要ですが、ダブルクォートは使わなくてもかまいません。 + 以下のように中カッコを使うと、新しいスコープを開くことができます。 + + +APT { + Get { + Assume-Yes "true"; + Fix-Broken "true"; + }; +}; + + + + また適宜改行することで、より読みやすくなります。 + リストは、開いたスコープ、クォートで囲まれた単語、 + そしてセミコロンと続けることで作成できます。 + セミコロンで区切ることで、複数のエントリを表すことができます。 + + +DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";}; + + + + &docdir;examples/apt.conf &configureindex; + は一般的な設定ファイルのサンプルです。 + どのように設定するか参考になるでしょう。 + + + #include と #clear の + 2 つの特別な記法があります。 + #include は指定したファイルを取り込みます。 + ファイル名がスラッシュで終わった場合には、 + そのディレクトリをすべて取り込みます。 + #clear は名前のリストを削除するのに便利です。 + + + すべての APT ツールで、 + コマンドラインで任意の設定を行う -o オプションが使用できます。 + 文法は、完全なオプション名 (例: APT::Get::Assume-Yes)、 + 等号、続いてオプションの新しい値となります。 + リスト名に続き::を加えることで、リストを追加することができます。 + + + + APT グループ + + このオプショングループは、ツール全体に影響のある、 + 一般的な APT の振る舞いを制御します。 + + + Architecture + + システムアーキテクチャ - ファイルを取得したり、 + パッケージリストを解析するときに使用するアーキテクチャをセットします。 + 内部でのデフォルトは、 + apt をコンパイルしたアーキテクチャです。 + + + Ignore-Hold + + 保留パッケージの無視 - このグローバルオプションは、 + 問題解決器に保留と指定したパッケージを無視します。 + + + Clean-Installed + + デフォルトで有効です。autoclean 機能が on の時、 + ダウンロードできなくなったパッケージをキャッシュから削除します。 + off の場合、ローカルにインストールされているパッケージは、 + 削除対象から外します。 + しかし、 APT はキャッシュから削除したパッケージの再インストール方法を、 + 直接提供するわけではないことに注意してください。 + + + Immediate-Configure + + 即時設定無効 - この危険なオプションは、 + APT の要求コードを無効にして dpkg の呼び出しをほとんどしないようにします。 + これは、非常に遅いシングルユーザシステムでは必要かもしれませんが、 + 非常に危険で、パッケージのインストールスクリプトが失敗したり、 + もしくはもっと悪いことがおきるかもしれません。 + 自己責任で使用してください。 + + + Force-LoopBreak + + 何をしようとしているのか「本当に」判っているのでなければ、 + 絶対にこのオプションを有効にしないでください。 + 不可欠 (essential) パッケージ同士で、 + 競合 (Conflicts) /競合や競合/事前依存 (Pre-Depend) + のループに落ち込んだときに、 + 不可欠パッケージを一時的に削除してループを抜けられるようにします。 + そんなループはあり得ないはずで、 + あるとすれば重大なバグです。 + このオプションは、tar, gzip, libc, dpkg, bash とそれらが依存している + パッケージ以外の不可欠パッケージで動作します。 + + + Cache-Limit + + APT は「利用可能」情報を格納するために、 + 固定サイズのメモリマップキャッシュファイルを使用します。 + このオプションは、そのキャッシュサイズを指定します。 + + + Build-Essential + + 構築依存関係で不可欠なパッケージを定義します。 + + + Get + + サブセクション Get は &apt-get; ツールを制御します。 + このオプションの詳細は &apt-get; の文書を参照してください。 + + + Cache + + サブセクション Cache は &apt-cache; ツールを制御します。 + このオプションの詳細は &apt-cache; の文書を参照してください。 + + + CDROM + + サブセクション CDROM は &apt-cdrom; ツールを制御します。 + このオプションの詳細は &apt-cdrom; の文書を参照してください。 + + + + + + Acquire グループ + + Acquire オプショングループは、 + パッケージのダウンロードや URI ハンドラの制御を行います。 + + Queue-Mode + + キューモード - Queue-Mode は、 + APT がどのように並列接続を行うか、 + host か access で指定できます。 + host は、ターゲットホストごとに 1 接続を開きます。 + access は、 + URI タイプごとに 1 接続を開きます。 + + + Retries + + リトライの回数を設定します。 + 0 でない場合、APT は失敗したファイルに対して、 + 与えられた回数だけリトライを行います。 + + + Source-Symlinks + + ソースアーカイブのシンボリックリンクを使用します。 + true がセットされているとき、可能ならコピーの代わりにシンボリックリンクが + 張られます。true がデフォルトです。 + + + http + + HTTP URI - http::Proxy は、 + デフォルトで使用する http プロキシです。 + http://[[user][:pass]@]host[:port]/ + という標準形で表します。ホストごとのプロキシの場合は、 + http::Proxy::<host> という形と、 + プロキシを使用しないという意味の特殊キーワード DIRECT + を使用して指定することもできます。すべての設定は、 + 環境変数 http_proxy で上書きされます。 + + + HTTP/1.1 準拠のプロキシキャッシュの制御について、 + 3 種類の設定があります。No-Cache はプロキシに対して、 + いかなる時もキャッシュを使用しないと伝えます。 + Max-Age は、インデックスファイル用のときだけ送信し、 + 得られた時間よりも古かった場合に、 + オブジェクトをリフレッシュするようキャッシュに指示します。 + デフォルトでは 1 日となっているため、 + Debian は日毎にそのインデックスファイルを更新します。 + No-Store は、キャッシュがこのリクエストを格納せず、 + アーカイブファイルのみ設定するよう指定します。 + これは、非常に大きな .deb ファイルでプロキシキャッシュが汚れるのを、 + 防ぐのに便利かもしれません。 + 注) Squid 2.0.2 では、これらのオプションをサポートしていません。 + + + timeout オプションは、 + この方法でのタイムアウトまでの時間を設定します。 + これには、接続のタイムアウトとデータのタイムアウトが含まれています。 + + + リモートサーバが RFC 準拠でなかったり、 + (Squid 2.0.2 のように) バグがあったりしたときのために、 + パイプラインの深さの制御を設定します。 + Acquire::http::Pipeline-Depth により、 + APT が送信できるリクエストの回数を 0 から 5 の値で設定できます。 + リモートサーバが適切でなく、TCP 接続に時間がかかるときは、 + 必ず 0 の値を設定しなければなりません。 + そうでなければデータが破損してしまいます。 + これが必要なホストは RFC 2068 に違反しています。 + + + ftp + + FTP URI - ftp::Proxy は、デフォルトで使用するプロキシサーバです。 + ftp://[[user][:pass]@]host[:port]/ という標準形で表しますが、 + 環境変数 ftp_proxy で上書きされます。 + ftp プロキシを使用するには、設定ファイルに ftp::ProxyLogin + スクリプトを設定する必要があります。 + プロキシサーバに送信する接続コマンドを、このエントリに設定します。 + どのようにするのかは &configureindex; の例を参照してください。 + その他にも、$(PROXY_USER) + $(PROXY_PASS) $(SITE_USER) + $(SITE_PASS) $(SITE) + $(SITE_PORT) が利用可能です。 + いずれも、それぞれ URI を構成するトークンです。 + + + timeout オプションは、 + この方法でのタイムアウトまでの時間を設定します。 + これには、接続のタイムアウトとデータのタイムアウトが含まれています。 + + + 設定のいくつかは、パッシブモードを制御するものです。 + 一般的に、パッシブモードのままにしておく方が安全で、 + ほぼどんな環境でも動作します。 + しかしある状況下では、パッシブモードが無効のため、 + 代わりにポートモード ftp を使用する必要があります。 + この設定は、プロキシを通る接続や特定のホストへの接続全般に有効です。 + (設定例はサンプル設定ファイルを参照してください) + + + 環境変数 ftp_proxy の http url により + FTP over HTTP のプロキシが利用可能になります。 + 文法は上の http についての説明を参照してください。 + 設定ファイルの中でこれをセットすることはできません。 + また、効率が悪いため FTP over HTTP を使用するのは推奨しません。 + + + ForceExtended の設定は RFC2428 の + EPSV コマンドと EPRT + コマンドの使用を制御します。デフォルトでは false です。 + これは、コントロールコネクションが IPv6 の時にのみ、 + このコマンドを使用するということです。 + これを true にセットすると、IPv4 コネクションでも強制的に、 + このコマンドを使用します。 + 注) ほとんどの FTP サーバは RFC2428 をサポートしていません。 + + + cdrom + + CDROM URI - マウントポイントの設定のみを行います。 + /etc/fstab で設定されているように、 + CDROM ドライブのマウントポイントを + cdrom::Mount に設定しなければなりません。 + (SMB マウントや古い mount パッケージなど) マウントポイントが fstab + に記述できない場合、かわりにマウント・アンマウントコマンドも使用できます。 + 文法は、cdrom ブロックを + "/cdrom/"::Mount "foo"; の形で記述します。 + スラッシュを後につけるのは重要です。 + アンマウントコマンドは UMount で指定することができます。 + + + gpgv + + GPGV URI - GPGV URI 用の唯一のオプションは、 + gpgv に渡す追加パラメータのオプションです。 + gpgv::Options gpgv に渡す追加オプション。 + + + + + + + + + ディレクトリ + + + Dir::State セクションは、 + ローカル状態情報に関するディレクトリを保持します。 + lists は、 + ダウンロードしたパッケージ一覧を格納するディレクトリで、 + status は dpkg の状態ファイルの名前を表します。 + preferences は APT の 設定ファイルの名前です。 + Dir::State には、 + / や ./ で始まらない + 全サブアイテムに付加する、デフォルトディレクトリを含んでいます。 + + + Dir::Cache は、 + ローカルキャッシュ情報に関する場所を格納しています。これは、 + ダウンロード済アーカイブの場所を示す Dir::Cache::archives + と同様に、srcpkgcache と pkgcache + のパッケージキャッシュの場所となります。 + それぞれを空にセットすることで、キャッシュの生成を無効にできます。 + おそらく、srcpkgcache よりも pkgcache を無効にすることが多いと思います。 + Dir::State と同様、Dir::Cache + はデフォルトディレクトリを含んでいます。 + + + Dir::Etc は設定ファイルの場所を格納しています。 + sourcelist はソースリストの場所を示し、 + main はデフォルトの設定ファイルです。 + (APT_CONFIG で設定ファイルを指定された場合のみ、 + この設定の効果があります) + + + Dir::Parts 設定は、指定されたディレクトリから、 + 字句単位の全ての設定断片を読みこみます。 + これを設定した後に、メイン設定ファイルをロードします。 + + + バイナリプログラムは Dir::Bin で指定します。 + Dir::Bin::Methods はメソッドハンドラの場所を指定し、 + gzip, dpkg, + apt-get, dpkg-source, + dpkg-buildpackage, apt-cache + はそれぞれプログラムの場所を指定します。 + + + + DSelect での APT + + + &dselect; 上で APT を使用する際、 + DSelect セクション以下の設定項目で、 + デフォルトの動作を制御します。 + + Clean + + キャッシュクリーンモード - + この値は always, prompt, auto, pre-auto, never のうちひとつを取ります。 + always と prompt は更新後、全パッケージをキャッシュから削除します。 + (デフォルトの) prompt では条件付きで削除します。 + auto はダウンロード不能パッケージ (例えば新バージョンで置き換えられたもの) + を削除します。pre-auto はこの動作を、 + 新パッケージをダウンロードする直前に行います。 + + + options + + この変数の内容は、 + install 時のコマンドラインオプションと同様に &apt-get; に渡されます。 + + + Updateoptions + + この変数の内容は、 + update 時のコマンドラインオプションと同様に &apt-get; に渡されます。 + + + PromptAfterUpdate + + true の場合、 + &dselect; の [U]pdate 実行時に、続行のためのプロンプトを毎回表示します。 + デフォルトはエラーが発生した場合のみです。 + + + + + + APT が dpkg を呼ぶ方法 + + 数種の設定項目で APT がどのように &dpkg; を呼び出すかを制御できます。 + DPkg セクションにあります。 + + + options + + dpkg に渡すオプションのリストです。 + オプションは、リスト記法を使用して指定しなければなりません。 + また、各リストは単一の引数として &dpkg; に渡されます。 + + + Pre-InvokePost-Invoke + + &dpkg; を呼び出す前後で実行するシェルコマンドのリストです。 + options のようにリスト記法で指定しなければなりません。 + コマンドは /bin/sh を使用して呼び出され、 + 何か問題があれば、APT は異常終了します。 + + + Pre-Install-Pkgs + + &dpkg; を呼び出す前に実行するシェルコマンドのリストです。 + options のようにリスト記法で指定しなければなりません。 + コマンドは /bin/sh を通して呼び出され、 + 何か問題があれば、APT は異常終了します。 + APT はインストールしようとする全 .deb ファイルのファイル名を、 + ひとつずつコマンドの標準入力に送ります。 + + + このプロトコルのバージョン 2 では、(プロトコルのバージョンや + APT 設定スペース、パッケージを含む) 詳細情報やファイル、 + 変更されているバージョンを出力します。 + DPkg::Tools::options::cmd::Version に 2 を設定すると、 + バージョン 2 を有効にできます。 + cmd は Pre-Install-Pkgs + で与えられるコマンドです。 + + + Run-Directory + + APT は dpkg を呼び出す前にこのディレクトリに移動します。 + デフォルトは / です。 + + + Build-options + + これらのオプションは、 + パッケージのコンパイル時に &dpkg-buildpackage; に渡されます。 + デフォルトでは、署名を無効にし、全バイナリを生成します。 + + + + + + デバッグオプション + + debug の多くのオプションは、 + 普通のユーザにとって興味を引くものではありません。 + しかし Debug::pkgProblemResolver で、 + dist-upgrade の判断についての興味深い出力が得られます。 + Debug::NoLockingは、 + APT が非 root で操作できるようにファイルのロックを無効にしますし、 + Debug::pkgDPkgPMは、 + dpkg を呼ぶ際のコマンドラインを出力します。 + Debug::IdentCdrom は、 + CDROM ID の状態データの包含を無効にします。 + Debug::Acquire::gpgv gpgv 法のデバッグです。 + + + + + 例 + + &configureindex; に、全利用可能オプションのデフォルト値を参照できる、 + 設定ファイルのサンプルがあります。 + + + + ファイル + /etc/apt/apt.conf + + + + 関連項目 + &apt-cache;, &apt-config;, &apt-preferences;. + + + &manbugs; + &translator; + + + diff --git a/doc/ja/apt.ent.ja b/doc/ja/apt.ent.ja index 495322997..3fa931ae5 100644 --- a/doc/ja/apt.ent.ja +++ b/doc/ja/apt.ent.ja @@ -2,178 +2,327 @@ -&docdir;examples/configure-index.gz"> -/etc/apt.conf"> +&docdir;examples/configure-index.gz"> +/etc/apt.conf"> - - - "> - - - - "> - - - - "> - - - - "> - - - - "> - - - - "> - - - - "> - - - - "> - - - - "> - - - - "> - - - - "> - - - - "> - - - - "> - - - - "> + + apt.conf + 5 + " +> + + + apt-get + 8 + " +> + + + apt-config + 8 + " +> + + + apt-cdrom + 8 + " +> + + + apt-cache + 8 + " +> + + + apt_preferences + 5 + " +> + + + apt-key + 8 + " +> + + + apt-secure + 8 + " +> + + + apt-archive + 1 + " +> + + + + sources.list + 5 + " +> + + + reportbug + 1 + " +> + + + dpkg + 8 + " +> + + + dpkg-buildpackage + 1 + " +> + + + gzip + 1 + " +> + + + dpkg-scanpackages + 8 + " +> + + + dpkg-scansources + 8 + " +> + + + dselect + 8 + " +> + + + aptitude + 8 + " +> + + + synaptic + 8 + " +> + + + debsign + 1 + " +> + + + debsig-verify + 1 + " +> + + + gpg + 1 + " +> -
apt@packages.debian.org
- Jason Gunthorpe - 1998-2001 Jason Gunthorpe - 12 March 2001 - + +
apt@packages.debian.org
+ Jason Gunthorpe + 1998-2001 Jason Gunthorpe + 14 December 2003 + Linux + +
"> + + apt@packages.debian.org + +"> + + + Jason + Gunthorpe +
+"> + + + APT team + +"> + +Linux +"> + + + apt@packages.debian.org + +"> + + + Jason + Gunthorpe + +"> + + + APT team + +"> + + + Jason Gunthorpe + 1998-2001 + +"> + +Linux +"> + ¥Х°</> - <para> - <ulink url='http://bugs.debian.org/apt'>APT ¥Х°¥ڡ¼¥¸</>¤ò - »²¾Ȥ·¤Ƥ¯¤À¤µ¤¤¡£ - APT ¤ΥХ°¤òÊó¹𤹤ë¾ì¹ç¤ϡ¢ - <filename>/usr/share/doc/debian/bug-reporting.txt</> ¤ä - &reportbug; ¥³¥ޥó¥ɤ򻲾Ȥ·¤Ƥ¯¤À¤µ¤¤¡£ +<!-- + <refsect1><title>Bugs +--> + バグ + + APT バグページを + ご覧ください。 + APT のバグを報告する場合は、 + /usr/share/doc/debian/bug-reporting.txt や + &reportbug; コマンドをご覧ください。 + + "> Ãø¼Ô</> - <para> - APT ¤Ï the APT team <email>apt@packages.debian.org</> ¤ˤè¤äƽ񤫤ì¤ޤ·¤¿¡£ +<!-- + <refsect1><title>Author +--> + 著者 + + APT は the APT team apt@packages.debian.org によって + 書かれました。 - + "> - + ËÝÌõ¼Ô</> - <para> - ÁÒ߷ ˾ <email>nabetaro@mx1.avis.ne.jp</> (2003-2004) - </para> - <para> - Debian JP Documentation ML <email>debian-doc@debian.or.jp</> - </para> - </RefSect1> + <refsect1><title>訳者 + 倉澤 望 nabetaro@debian.or.jp (2003-2006), + Debian JP Documentation ML debian-doc@debian.or.jp + + ">