# Emfox Zhou , 2012. msgid "" msgstr "" "Project-Id-Version: 0\n" "POT-Creation-Date: 2022-07-30 18:23+0200\n" "PO-Revision-Date: 2021-01-07 01:10+0000\n" "Last-Translator: xiao sheng wen 肖盛文 Faris Xiao \n" "Language-Team: Chinese (Simplified) \n" "Language: zh-CN\n" "MIME-Version: 1.0\n" "Content-Type: application/x-publican; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.4.1-dev\n" msgid "Binary package" msgstr "二进制包" msgid "Source package" msgstr "源码包" #, fuzzy #| msgid "Binary package" msgid "package" msgstr "二进制包" msgid "dpkg" msgstr "dpkg" msgid "deb" msgstr "deb" msgid "dependencies" msgstr "依赖" msgid "conflict" msgstr "冲突" msgid "Packaging System: Tools and Fundamental Principles" msgstr "包管理系统:工具和基本原则" msgid "As a Debian system administrator, you will routinely handle .deb packages, since they contain consistent functional units (applications, documentation, etc.), whose installation and maintenance they facilitate. It is therefore a good idea to know what they are and how to use them." msgstr "作为 Debian 系统管理员,你经常地要处理 .deb 包,因为它们包含一致的功能单元(应用程序、文档等),使得安装和维护更容易。所以了解它们是什么及如何使用它们是个好主意。" msgid "This chapter describes the structure and contents of “binary” and “source” packages. The former are files directly usable by dpkg, while the latter contain the source code, as well as instructions for building binary packages." msgstr "本章介绍了“二进制”和“源码”包的结构和内容。前者是文件,可以用 dpkg 命令直接处理;而后者则包含程序的源代码,以及创建二进制包的指令。" msgid "Structure of a Binary Package" msgstr "二进制包的结构" msgid "packagebinary package.deb" msgstr "package二进制包.deb" msgid "ar" msgstr "ar" msgid "dpkg" msgstr "dpkg" msgid "The Debian package format is designed so that its content may be extracted on any Unix system that has the classic commands ar, tar, and xz or sometimes gzip or bzip2. This seemingly trivial property is important for portability and disaster recovery." msgstr "Debian 软件包格式被这样设计,在具有经典命令如 ar、tar 和 xz 或者有时候是 gzip 或 bzip2的 Unix 系统上,它的内容都可以被解压。这是个看起来琐碎的属性对移植和灾难恢复是非常重要的。" msgid "Imagine, for example, that you mistakenly deleted the dpkg program, and that you could thus no longer install Debian packages. dpkg being a Debian package itself, it would seem your system would be done for... Fortunately, you know the format of a package and can therefore download the .deb file of the dpkg package and install it manually (see sidebar ). If by some misfortune one or more of the programs ar, tar or gzip/xz/bzip2 have disappeared, you will only need to copy the missing program from another system (since each of these operates in a completely autonomous manner, without dependencies, a simple copy will suffice). If your system suffered some even more outrageous fortune, and even these don't work (maybe the deepest system libraries are missing?), you should try the static version of busybox (provided in the busybox-static package), which is even more self-contained, and provides subcommands such as busybox ar, busybox tar and busybox xz." msgstr "想象一下,例如您误删了dpkg 程序,因此无法再安装 Debian 软件包了。 dpkg 本身作为一个 Debian 软件包,看起来系统似乎完蛋了... 幸运的是,您知道软件包的格式,这样可以下载 dpkg 软件包的 .deb 文件,并手动安装(请参见侧边栏 )。某些不幸的情况下,一个或多个 ar、 tar 或者 gzip/xz/bzip2 程序丢失了,您仅需从其它系统上直接复制缺失的程序(因为它们中的任一个都独立工作而没有依赖的问题,因此简单复制足矣)。如果您的系统出现了更加反常的问题,甚至以上手段无法奏效(可能是最深处的系统库文件丢失?),您应当尝试 busybox的静态版本 (在 busybox-static 软件包中提供),它更加独立化,并能提供如下子命令:busybox ar、busybox tar 和 busybox xz。" msgid "In case of a misfortune you better also have a backup of your system (see )." msgstr "为了避免运气不好的情况,最好备份系统(请参考)。" msgid "TOOLS dpkg, APT and ar" msgstr "工具 dpkg、APT 和 ar" #, fuzzy #| msgid "ar" msgid "apt" msgstr "ar" #, fuzzy #| msgid "APTapt" msgid "APTapt, commandapt" msgstr "APTapt" #, fuzzy #| msgid "Advanced Packaging ToolsAPT" msgid "Advanced Packaging ToolAPT" msgstr "高级软件包工具APT" msgid "dpkg is the program that handles .deb files (binary packages), notably extracting, analyzing, and unpacking them." msgstr "dpkg 是处理 .deb 文件(二进制包)的命令,包括提取、分析和解包。" msgid "APT (the abbreviation of \"Advanced Packaging Tool\") is a group of programs that allows the execution of higher-level modifications to the system: installing or removing a package (while keeping dependencies satisfied), updating and upgrading the system, listing the available packages, etc." msgstr "APT (“Advanced Packaging Tool”的缩写)是一组允许对系统进行高层定制的程序:安装或者删除一个软件包(并且保持依赖关系满足),更新系统,升级系统,列出可用的软件包等。" msgid "As for the ar program, provided by the binutils package, it allows handling files of the same name:" msgstr "" #, fuzzy #| msgid "decompressing, source package" msgid "decompressing, binary package" msgstr "解压缩,原始软件包" #, fuzzy #| msgid "uncompressing, source package" msgid "uncompressing, binary package" msgstr "解压缩,原始软件包" msgid "unpackingbinary package" msgstr "解压运行软件包" msgid "ar t archive displays the list of files contained in such an archive," msgstr "" msgid "ar x archive extracts the files from the archive into the current working directory," msgstr "" msgid "ar d archive file deletes a file from the archive, etc." msgstr "" #, fuzzy #| msgid "As for the ar program, it allows handling files of the same name: ar t archive displays the list of files contained in such an archive, ar x archive extracts the files from the archive into the current working directory, ar d archive file deletes a file from the archive, etc. Its man page (ar1) documents all its other features. ar is a very rudimentary tool that a Unix administrator would only use on rare occasions, but admins routinely use tar, a more evolved archive and file management program. This is why it is easy to restore dpkg in the event of an erroneous deletion. You would only have to download the Debian package and extract the content from the data.tar.xz archive in the system's root (/):" msgid "Its man page ar1 documents all its other features. ar is a very rudimentary tool that a Unix administrator would only use on rare occasions, but admins routinely use tar, a more evolved archive and file management program. This is why it is easy to restore dpkg in the event of an erroneous deletion. You would only have to download the Debian package and extract the content from the data.tar.xz archive in the system's root (/):" msgstr "对于 ar 程序,它允许处理相同名称的文件:ar t archive 会显示包含在这个档案中的文件列表,ar x archive 将文件从档案解压缩到当前工作目录, ar d archive file从档案中删除文件,等等。它的手册页(ar1)将它的其它全部特性归档。ar 是一个非常古老的工具,Unix 管理员仅在极少数情况下使用它,而是通常使用 tar,一个更先进的档案和文件管理程序。这是在误删情况下容易恢复 dpkg 的原因。您仅需要下载 Debian 软件包,并将内容从 data.tar.xz 解压至系统的根(/):" #, fuzzy #| msgid "" #| "\n" #| "# ar x dpkg_1.19.7_amd64.deb\n" #| "# tar -C / -p -xJf data.tar.xz" msgid "" "\n" "# ar x dpkg_1.20.9_amd64.deb\n" "# tar -C / -p -xJf data.tar.xz" msgstr "" "\n" "# ar x dpkg_1.19.7_amd64.deb\n" "# tar -C / -p -xJf data.tar.xz" msgid "BACK TO BASICS Man page notation" msgstr "基础知识 Man 手册注记" msgid "It can be confusing for beginners to find references to “ar1” in the literature. This is generally a convenient means of referring to the man page entitled ar in section 1." msgstr "初学者可能会在看到“ar1”这样的文字注记时感到疑惑。这通常是个简写,它表示指向 man 手册第一类中标题是 ar 的页面。" msgid "Sometimes this notation is also used to remove ambiguities, for example to distinguish between the printf command that can also be indicated by printf1 and the printf function in the C programming language, which can also be referred to as printf3." msgstr "有时这种注记也用来避免歧义,比如要区分清楚是 printf 命令,可以用 printf1 来指明,如果是 C 语言里的 printf 函数,就可以用 printf3 来引用。" msgid " discusses manual pages in further detail (see )." msgstr " 更详细地讨论手册页 (参见 )。" msgid "Have a look at the content of a .deb file:" msgstr "来看看 .deb 文件的内容:" #, fuzzy #| msgid "" #| "$ ar t dpkg_1.19.7_amd64.deb\n" #| "debian-binary\n" #| "control.tar.gz\n" #| "data.tar.xz\n" #| "$ ar x dpkg_1.19.7_amd64.deb\n" #| "$ ls\n" #| "control.tar.gz data.tar.xz debian-binary dpkg_1.19.7_amd64.deb\n" #| "$ tar tJf data.tar.xz | head -n 16\n" #| "./\n" #| "./\n" #| "./etc/\n" #| "./etc/alternatives/\n" #| "./etc/alternatives/README\n" #| "./etc/cron.daily/\n" #| "./etc/cron.daily/dpkg\n" #| "./etc/dpkg/\n" #| "./etc/dpkg/dpkg.cfg\n" #| "./etc/dpkg/dpkg.cfg.d/\n" #| "./etc/logrotate.d/\n" #| "./etc/logrotate.d/alternatives\n" #| "./etc/logrotate.d/dpkg\n" #| "./sbin/\n" #| "./sbin/start-stop-daemon\n" #| "./usr/\n" #| "./usr/bin/\n" #| "$ tar tJf control.tar.xz\n" #| "./\n" #| "./conffiles\n" #| "./control\n" #| "./md5sums\n" #| "./postinst\n" #| "./postrm\n" #| "$ cat debian-binary\n" #| "2.0" msgid "" "$ ar t dpkg_1.20.9_amd64.deb\n" "debian-binary\n" "control.tar.gz\n" "data.tar.xz\n" "$ ar x dpkg_1.20.9_amd64.deb\n" "$ ls\n" "control.tar.gz data.tar.xz debian-binary dpkg_1.20.9_amd64.deb\n" "$ tar tJf data.tar.xz | head -n 16\n" "./\n" "./etc/\n" "./etc/alternatives/\n" "./etc/alternatives/README\n" "./etc/cron.daily/\n" "./etc/cron.daily/dpkg\n" "./etc/dpkg/\n" "./etc/dpkg/dpkg.cfg\n" "./etc/dpkg/dpkg.cfg.d/\n" "./etc/logrotate.d/\n" "./etc/logrotate.d/alternatives\n" "./etc/logrotate.d/dpkg\n" "./sbin/\n" "./sbin/start-stop-daemon\n" "./usr/\n" "./usr/bin/\n" "$ tar tJf control.tar.xz\n" "./\n" "./conffiles\n" "./control\n" "./md5sums\n" "./postrm\n" "$ cat debian-binary\n" "2.0" msgstr "" "$ ar t dpkg_1.19.7_amd64.deb\n" "debian-binary\n" "control.tar.gz\n" "data.tar.xz\n" "$ ar x dpkg_1.19.7_amd64.deb\n" "$ ls\n" "control.tar.gz data.tar.xz debian-binary dpkg_1.19.7_amd64.deb\n" "$ tar tJf data.tar.xz | head -n 16\n" "./\n" "./\n" "./etc/\n" "./etc/alternatives/\n" "./etc/alternatives/README\n" "./etc/cron.daily/\n" "./etc/cron.daily/dpkg\n" "./etc/dpkg/\n" "./etc/dpkg/dpkg.cfg\n" "./etc/dpkg/dpkg.cfg.d/\n" "./etc/logrotate.d/\n" "./etc/logrotate.d/alternatives\n" "./etc/logrotate.d/dpkg\n" "./sbin/\n" "./sbin/start-stop-daemon\n" "./usr/\n" "./usr/bin/\n" "$ tar tJf control.tar.xz\n" "./\n" "./conffiles\n" "./control\n" "./md5sums\n" "./postinst\n" "./postrm\n" "$ cat debian-binary\n" "2.0" msgid "As you can see, the ar archive of a Debian package is comprised of three files:" msgstr "如你所见, Debian 包的 ar 存档格式由三个文件组成:" msgid "debian-binary" msgstr "Debian 二进制文件" #, fuzzy #| msgid "This is a text file which simply indicates the version of the .deb file package format version. In Debian Buster it is still version 2.0." msgid "This is a text file which simply indicates the version of the .deb file package format version. In Debian Bullseye it is still version 2.0." msgstr "这是一个文本文件,仅指明 .deb 文件格式版本。对于 Debian Buster 来说,它仍然是 2.0 版本。" msgid "control.tar.xz" msgstr "control.tar.xz" msgid "This archive file contains all of the available meta-information, like the name and version of the package as well as some scripts to run before, during or after (un-)installation of it. Some of the meta-information allows package management tools to determine if it is possible to install or uninstall it, for example according to the list of packages already on the machine, and if files shipped have been modified locally." msgstr "该档案文件包含所有可用的元信息,如软件包的名称和版本,以及在安装/卸载之前、之中或之后使用的脚本。一些元信息允许软件包管理工具根据例如机器上已有的软件包列表,来决定是否能够安装或卸载它,或者决定一起发布的文件是否已经在本地被修改。" msgid "data.tar.xz" msgstr "data.tar.xz" msgid "data.tar.bz2" msgstr "data.tar.bz2" msgid "data.tar.gz" msgstr "data.tar.gz" msgid "This archive contains all of the files to be extracted from the package; this is where the executable files, libraries, documentation, etc., are all stored. Packages may use different compression formats, in which case the file will be named differently for xz, bzip2 or gzip." msgstr "这个归档文件包含软件包中所有要解压的文件,包括可执行文件、库和文档等。软件包可能使用不同的压缩格式,因此文件后缀会有所不同如xz、bzip2 或 gzip。" msgid "Package Meta-Information" msgstr "软件包元信息" msgid "package meta-informationmeta-information" msgstr "软件包元信息元信息" msgid "packagemeta-information" msgstr "软件包元信息" msgid "packagemaintainer scripts" msgstr "软件包维护者脚本" msgid "packagechecksums" msgstr "软件包校验和" #, fuzzy #| msgid "The Debian package is not only an archive of files intended for installation. It is part of a larger whole and describes its relationship with other Debian packages (requisites, dependencies, conflicts, suggestions). It also provides scripts that enable the execution of commands at different stages in the package's lifecycle (installation, upgrade, removal). These data are used by the package management tools but are not part of the packaged software; they are, within the package, what is called its “meta-information” (information about other information)." msgid "The Debian package is not only an archive of files intended for installation. It is part of a larger whole and describes its relationship with other Debian packages (requisites, dependencies, conflicts, suggestions). It also provides scripts that enable the execution of commands at different stages in the package's lifecycle (installation, upgrade, removal). These data are used by the package management tools, but are not part of the packaged software; they are, within the package, what is called its “meta-information” - information about other information." msgstr "Debian 软件包不仅是一个待安装文件的归档。它是一个更大结构的一部分,它描述与其它 Debian 软件包的关系(前置、依赖、冲突、建议)。它还提供执行的脚本,供管理套件在软件包生命周期的不同阶段(安装、升级、删除)执行。软件包中的这些数据供包管理工具使用,但不是软件包的一部分,称为“元信息”(关于软件包的信息)。" msgid "Description: the control File" msgstr "描述:control 文件" msgid "package meta-information" msgstr "软件包元信息" msgid "packagecontrol" msgstr "软件包control" #, fuzzy #| msgid "control.tar.gz" msgid "control" msgstr "control.tar.gz" msgid "controlpackage meta-information" msgstr "control软件包元信息" msgid "This file uses a structure similar to email headers (as defined by RFC 2822) and is fully described in the Debian Policy and the manual pages deb-control5 and deb8225. " msgstr "本文件使用的结构与email头相似(如由 RFC 2822 定义的),并且在 Debian 政策和手册页面deb-control5 和 deb8225 中充分描述。" msgid "For example, for apt, the control file looks like the following:" msgstr "例如,对于 apt 软件包,control 文件看起来像这样:" #, fuzzy #| msgid "" #| "\n" #| "$ apt-cache show apt\n" #| "Architecture: amd64\n" #| "Replaces: apt-transport-https (<< 1.5~alpha4~), apt-utils (<< 1.3~exp2~)\n" #| "Provides: apt-transport-https (= 1.8.2)\n" #| "Depends: adduser, gpgv | gpgv2 | gpgv1, debian-archive-keyring, libapt-pkg5.0 (>= 1.7.0~alpha3~), libc6 (>= 2.15), libgcc1 (>= 1:3.0), libgnutls30 (>= 3.6.6), libseccomp2 (>= 1.0.1), libstdc++6 (>= 5.2)\n" #| "Recommends: ca-certificates\n" #| "Suggests: apt-doc, aptitude | synaptic | wajig, dpkg-dev (>= 1.17.2), gnupg | gnupg2 | gnupg1, powermgmt-base\n" #| "Breaks: apt-transport-https (<< 1.5~alpha4~), apt-utils (<< 1.3~exp2~), aptitude (<< 0.8.10)\n" #| "Description-en: commandline package manager\n" #| " This package provides commandline tools for searching and\n" #| " managing as well as querying information about packages\n" #| " as a low-level access to all features of the libapt-pkg library.\n" #| " .\n" #| " These include:\n" #| " * apt-get for retrieval of packages and information about them\n" #| " from authenticated sources and for installation, upgrade and\n" #| " removal of packages together with their dependencies\n" #| " * apt-cache for querying available information about installed\n" #| " as well as installable packages\n" #| " * apt-cdrom to use removable media as a source for packages\n" #| " * apt-config as an interface to the configuration settings\n" #| " * apt-key as an interface to manage authentication keys\n" #| "Description-md5: 9fb97a88cb7383934ef963352b53b4a7\n" #| "Tag: admin::package-management, devel::lang:ruby, hardware::storage,\n" #| " hardware::storage:cd, implemented-in::c++, implemented-in::perl,\n" #| " implemented-in::ruby, interface::commandline, network::client,\n" #| " protocol::ftp, protocol::http, protocol::ipv6, role::program,\n" #| " scope::application, scope::utility, suite::debian, use::downloading,\n" #| " use::organizing, use::playing, use::searching, works-with-format::html,\n" #| " works-with::audio, works-with::software:package, works-with::text\n" #| "Section: admin\n" #| "Priority: required\n" #| "Filename: pool/main/a/apt/apt_1.8.2_amd64.deb\n" #| "Size: 1418108\n" #| "MD5sum: 0e80dedab6ec1e66a8f6c15f1925d2d3\n" #| "SHA256: 80e9600822c4943106593ca5b0ec75d5aafa74c6130ba1071b013c42c507475e\n" #| "]]>" msgid "" "\n" "$ apt-cache show apt\n" "Architecture: amd64\n" "Replaces: apt-transport-https (<< 1.5~alpha4~), apt-utils (<< 1.3~exp2~)\n" "Provides: apt-transport-https (= 2.2.4)\n" "Depends: adduser, gpgv | gpgv2 | gpgv1, libapt-pkg6.0 (>= 2.2.4), debian-archive-keyring, libc6 (>= 2.15), libgcc-s1 (>= 3.0), libgnutls30 (>= 3.7.0), libseccomp2 (>= 2.4.2), libstdc++6 (>= 9), libsystemd0\n" "Recommends: ca-certificates\n" "Suggests: apt-doc, aptitude | synaptic | wajig, dpkg-dev (>= 1.17.2), gnupg | gnupg2 | gnupg1, powermgmt-base\n" "Breaks: apt-transport-https (<< 1.5~alpha4~), apt-utils (<< 1.3~exp2~), aptitude (<< 0.8.10)\n" "Description-en: commandline package manager\n" " This package provides commandline tools for searching and\n" " managing as well as querying information about packages\n" " as a low-level access to all features of the libapt-pkg library.\n" " .\n" " These include:\n" " * apt-get for retrieval of packages and information about them\n" " from authenticated sources and for installation, upgrade and\n" " removal of packages together with their dependencies\n" " * apt-cache for querying available information about installed\n" " as well as installable packages\n" " * apt-cdrom to use removable media as a source for packages\n" " * apt-config as an interface to the configuration settings\n" " * apt-key as an interface to manage authentication keys\n" "Description-md5: 9fb97a88cb7383934ef963352b53b4a7\n" "Tag: admin::package-management, devel::lang:ruby, hardware::storage,\n" " hardware::storage:cd, implemented-in::c++, implemented-in::perl,\n" " implemented-in::ruby, interface::commandline, network::client,\n" " protocol::ftp, protocol::http, protocol::ipv6, role::program,\n" " scope::application, scope::utility, suite::debian, use::downloading,\n" " use::organizing, use::playing, use::searching, works-with-format::html,\n" " works-with::audio, works-with::software:package, works-with::text\n" "Section: admin\n" "Priority: required\n" "Filename: pool/main/a/apt/apt_2.2.4_amd64.deb\n" "Size: 1491328\n" "MD5sum: 24d53e8dd75095640a167f40476c0442\n" "SHA256: 75f07c4965ff0813f26623a1164e162538f5e94defba6961347527ed71bc4f3d\n" "]]>" msgstr "" "\n" "$ apt-cache show apt\n" "Architecture: amd64\n" "Replaces: apt-transport-https (<< 1.5~alpha4~), apt-utils (<< 1.3~exp2~)\n" "Provides: apt-transport-https (= 1.8.2)\n" "Depends: adduser, gpgv | gpgv2 | gpgv1, debian-archive-keyring, libapt-pkg5.0 (>= 1.7.0~alpha3~), libc6 (>= 2.15), libgcc1 (>= 1:3.0), libgnutls30 (>= 3.6.6), libseccomp2 (>= 1.0.1), libstdc++6 (>= 5.2)\n" "Recommends: ca-certificates\n" "Suggests: apt-doc, aptitude | synaptic | wajig, dpkg-dev (>= 1.17.2), gnupg | gnupg2 | gnupg1, powermgmt-base\n" "Breaks: apt-transport-https (<< 1.5~alpha4~), apt-utils (<< 1.3~exp2~), aptitude (<< 0.8.10)\n" "Description-en: commandline package manager\n" " This package provides commandline tools for searching and\n" " managing as well as querying information about packages\n" " as a low-level access to all features of the libapt-pkg library.\n" " .\n" " These include:\n" " * apt-get for retrieval of packages and information about them\n" " from authenticated sources and for installation, upgrade and\n" " removal of packages together with their dependencies\n" " * apt-cache for querying available information about installed\n" " as well as installable packages\n" " * apt-cdrom to use removable media as a source for packages\n" " * apt-config as an interface to the configuration settings\n" " * apt-key as an interface to manage authentication keys\n" "Description-md5: 9fb97a88cb7383934ef963352b53b4a7\n" "Tag: admin::package-management, devel::lang:ruby, hardware::storage,\n" " hardware::storage:cd, implemented-in::c++, implemented-in::perl,\n" " implemented-in::ruby, interface::commandline, network::client,\n" " protocol::ftp, protocol::http, protocol::ipv6, role::program,\n" " scope::application, scope::utility, suite::debian, use::downloading,\n" " use::organizing, use::playing, use::searching, works-with-format::html,\n" " works-with::audio, works-with::software:package, works-with::text\n" "Section: admin\n" "Priority: required\n" "Filename: pool/main/a/apt/apt_1.8.2_amd64.deb\n" "Size: 1418108\n" "MD5sum: 0e80dedab6ec1e66a8f6c15f1925d2d3\n" "SHA256: 80e9600822c4943106593ca5b0ec75d5aafa74c6130ba1071b013c42c507475e\n" "]]>" msgid "Let us have a closer look at the purpose of some of the fields listed by the previous command." msgstr "" msgid "BACK TO BASICS RFC — Internet standards" msgstr "基础知识 RFC -- 互联网标准" #, fuzzy #| msgid "Request For CommentsRFC" msgid "RFCRequest For Comments" msgstr "征求意见稿RFC" #, fuzzy #| msgid "Request For CommentsRFC" msgid "Request For Comments" msgstr "征求意见稿RFC" #, fuzzy #| msgid "CPANComprehensive Perl Archive Network" msgid "IETFInternet Engineering Task Force" msgstr "CPANComprehensive Perl Archive Network" #, fuzzy #| msgid "purging a package" msgid "Internet Engineering Task Force" msgstr "清除软件包" msgid "RFC is the abbreviation of “Request For Comments”. An RFC is generally a technical document that describes what will become an Internet standard. Before becoming standardized and frozen, these standards are submitted for public review (hence their name). The IETF (Internet Engineering Task Force) decides on the evolution of the status of these documents (proposed standard, draft standard, or standard)." msgstr "RFC 是 “Request For Comments”(征求意见稿)的缩写。RFC通常是一份描述将要成为互联网标准的技术文档。在被冻结并标准化之前,这些标准被提交给公众评估(这就是名字的由来)。 IETF (互联网工程专家组)决定这些文档的演进状态(建议标准、草案或标准)。" msgid "RFC 2026 defines the process for standardization of Internet protocols. " msgstr "RFC 2026 定义了互联网协议标准化的程序。" msgid "Dependencies: the Depends Field" msgstr "依赖:Depends 字段" msgid "dependency" msgstr "依赖" msgid "packagedependency" msgstr "软件包依赖" #, fuzzy #| msgid "controlDepends" msgid "controlDepends, header field" msgstr "control依赖" #, fuzzy #| msgid "The dependencies are defined in the Depends field in the package header. It is a list of conditions to be met for the package to work correctly. This information is used by tools such as apt in order to install the required libraries, tools, drivers, etc. in appropriate versions fulfilling the dependencies of the package to be installed. For each dependency, it is possible to restrict the range of versions that meet that condition. In other words, it is possible to express the fact that we need the package libc6 in a version equal to or greater than “2.15” (written “libc6 (>= 2.15)”). Version comparison operators are as follows:" msgid "The dependencies are defined in the Depends field in the package header. It is a list of conditions to be met for the package to work correctly. This information is used by tools such as apt in order to install the required libraries, tools, drivers, etc., in appropriate versions fulfilling the dependencies of the package to be installed. For each dependency it is possible to restrict the range of versions that meet that condition. In other words, it is possible to express the fact that we need the package libc6 in a version equal to or greater than “2.15” (written “libc6 (>= 2.15)”). Version comparison operators are as follows:" msgstr "依赖关系在软件包标头的 Depends 字段中定义,它是软件包能够正常运行所需要满足的条件的列表。这个信息由诸如 apt 这样的工具来使用,来安装所需的适当版本的库、工具、驱动等等,来满足安装的软件包的依赖。对于每一项依赖,可以限定满足条件的版本范围。换句话说,可以这样表达:我们需要版本号等于或者大于“2.15”的 libc6 软件包(写作 “libc6 (>= 2.15)”)。版本比较操作符使用如下:" msgid "<<: less than;" msgstr "<<:小于;" msgid "<=: less than or equal to;" msgstr "<=:小于或等于;" msgid "=: equal to (note that “2.6.1” is not equal to “2.6.1-1”);" msgstr "=:等于(注意, “2.6.1” 不等于 “2.6.1-1”);" msgid ">=: greater than or equal to;" msgstr ">=:大于或等于;" msgid ">>: greater than." msgstr ">>:大于。" #, fuzzy #| msgid "In a list of conditions to be met, the comma serves as a separator. It must be interpreted as a logical “and”. In conditions, the vertical bar (“|”) expresses a logical “or” (it is an inclusive “or”, not an exclusive “either/or”). Carrying greater priority than “and”, it can be used as many times as necessary. Thus, the dependency “(A or B) and C” is written A | B, C. In contrast, the expression “A or (B and C)” should be written as “(A or B) and (A or C)”, since the Depends field does not tolerate parentheses that change the order of priorities between the logical operators “or” and “and”. It would thus be written A | B, A | C. " msgid "In a list of conditions to be met, the comma serves as a separator. It must be interpreted as a logical “and”. In conditions, the vertical bar (“|”) expresses a logical “or” (it is an inclusive “or”, not an exclusive “either/or”). Carrying greater priority than “and”, it can be used as many times as necessary. Thus, the dependency “(A or B) and C” is written A | B, C. In contrast, the expression “A or (B and C)” should be written as “(A or B) and (A or C)”, since the Depends field does not tolerate parentheses that change the order of priorities between the logical operators “or” and “and”. It would thus be written A | B, A | C. " msgstr "条件的列表,以逗号作为交集 “and” 符号。以直线 (“|”) 为联集 “or” 符号 (它是包容性的或 “or”、不是排它性的非此即彼 “either/or”)。优先级比 “and” 高,可以无限次使用。因此,依赖 “(A or B) and C” 可写成 A | B, C。另一个例子,“A or (B and C)” 应写成 “(A or B) and (A or C)”,因为 Depends 字段不接受以括号改变逻辑操作数 “or” 与 “and”的优先次序。所以须写成 A | B, A | C。" msgid "meta-package" msgstr "meta-package 元软件包" #, fuzzy #| msgid "The dependencies system is a good mechanism for guaranteeing the operation of a program, but it has another use with “meta-packages”. These are empty packages that only describe dependencies. They facilitate the installation of a consistent group of programs preselected by the meta-package maintainer; as such, apt install meta-package will automatically install all of these programs using the meta-package's dependencies. The gnome, kde-full and linux-image-amd64 packages are examples of meta-packages." msgid "The dependencies system is a good mechanism for guaranteeing the operation of a program, but it has another use with “meta-packages”. These are empty packages that only describe dependencies. They facilitate the installation of a consistent group of programs pre-selected by the meta-package maintainer; as such, apt install meta-package will automatically install all of these programs using the meta-package's dependencies. The gnome, kde-full and linux-image-amd64 packages are examples of meta-packages." msgstr "依赖系统是保证程序顺利运作的良好机制,但它也有另个用法 「元软件包」。这些空的软件软件包内容只有相依性的说明。由元软件包维护者把一群程序的相依性描述在其中;例如,apt install meta-package 将自动安装所有用到元软件包相依的文件。gnome、kde-full 与 linux-image-amd64 软件包就是元软件包之一。" msgid "DEBIAN POLICY Recommends, Suggests, and Enhances fields" msgstr "DEBIAN 政策 推荐,建议,增强" msgid "packagerecommendations" msgstr "软件包推荐" msgid "packagesuggestions" msgstr "软件包建议" #, fuzzy #| msgid "controlDepends" msgid "controlRecommends, header field" msgstr "control依赖" #, fuzzy #| msgid "controlDepends" msgid "controlSuggests, header field" msgstr "control依赖" msgid "The Recommends and Suggests fields describe dependencies that are not compulsory. The “recommended” dependencies, the most important, considerably improve the functionality offered by the package but are not indispensable to its operation. The “suggested” dependencies, of secondary importance, indicate that certain packages may complement and increase their respective utility, but it is perfectly reasonable to install one without the others." msgstr "推荐和建议字段描述的依赖关系不是强制性的。“推荐”的依赖,是最重要的,能显著改善由软件包提供的功能,但这并非是必不可少的操作。“建议”的依赖,是次要的,表明某些软件包可以补充或者增加其各自的效果,有充分的理由去单独安装它而不是其它的软件包。" msgid "APTAPT::Install-Recommends" msgstr "APTAPT::Install-Recommends" msgid "APTAPT::Install-Suggests" msgstr "APTAPT::Install-Suggests" msgid "APTAptitude::Recommends-Important" msgstr "APTAptitude::Recommends-Important" #, fuzzy #| msgid "You should always install the “recommended” packages, unless you know exactly why you do not need them. This is now also the default for APT unless configured otherwise. Conversely, it is not necessary to install “suggested” packages unless you know why you need them. The behavior of apt can be controlled by using the APT::Install-Recommends and APT::Install-Suggests configuration options or the corresponding command line options --[no-]install-recommends and --[no-]install-suggests." msgid "You should always install the “recommended” packages, unless you know exactly why you do not need them. This is now also the default for APT unless configured otherwise. Conversely, it is not necessary to install “suggested” packages unless you know why you need them (the package description or its documentation may contain information which extra functionality they will activate). The behavior of apt can be controlled by using the APT::Install-Recommends and APT::Install-Suggests configuration options or the corresponding command line options --[no-]install-recommends and --[no-]install-suggests." msgstr "除非自己知道为什么不需要,否则应该总是安装“推荐”软件包。除非另外配置,现在这对于ATP是默认的。相反,除非自己知道为什么需要,否则应该总是不安装“suggested”软件包。可以通过使用APT::Install-Recommends和APT::Install-Suggests配置选项,或使用相应的命令行选项--[no-]install-recommends和--[no-]install-suggests,来控制apt。" msgid "packageenhancements" msgstr "软件包增强" #, fuzzy #| msgid "controlDepends" msgid "controlEnhances, header field" msgstr "control依赖" msgid "The Enhances field also describes a suggestion, but in a different context. It is indeed located in the suggested package, and not in the package that benefits from the suggestion. Its interest lies in that it is possible to add a suggestion without having to modify the package that is concerned. Thus, all add-ons, plug-ins, and other extensions of a program can then appear in the list of suggestions related to the software. Although it has existed for several years, this last field is still largely ignored by programs such as apt or synaptic. Its purpose is for a suggestion made by the Enhances field to appear to the user in addition to the traditional suggestions — found in the Suggests field." msgstr "增强 字段也描述建议,但是位于不同的内文。实际上位于建议软件包内,而不是受益于建议的软件包内。有可能在不修改软件包的前提下添加建议。因此所有插件、插件与其他的程序延伸可以显示在与软件相关的建议清单内。虽然已存在多年,但是 apt 或 synaptic 等程序依然忽略此字段的存在。Enhances 字段提出的建议系在传统建议 — Suggests 字段供用户参考。." msgid "DEBIAN POLICY Pre-Depends, a more demanding Depends" msgstr "DEBIAN 政策 预依赖, 一个更苛刻的 依赖" msgid "packagepre-dependency" msgstr "软件包预依赖" msgid "pre-dependency" msgstr "预依赖" #, fuzzy #| msgid "controlDepends" msgid "controlPre-Depends, header field" msgstr "control依赖" msgid "“Pre-dependencies”, which are listed in the “Pre-Depends” field in the package headers, complete the normal dependencies; their syntax is identical. A normal dependency indicates that the package in question must be unpacked and configured before configuration of the package declaring the dependency. A pre-dependency stipulates that the package in question must be unpacked and configured before execution of the pre-installation script of the package declaring the pre-dependency, that is before its installation." msgstr "“预依赖”,列在软件包标头的 “Pre-Depends” 字段,满足完整的正常依赖;它的语法是相同的。正常的依赖系指必须在声明依赖之前先解开并配置的问题软件包。预依赖规定在运行软件包的预安装脚本前,必须先解开并配置软件包,就是在安装之前。" #, fuzzy #| msgid "packagemeta-information" msgid "mailing listsdebian-devel@lists.debian.org" msgstr "软件包元信息" #, fuzzy #| msgid "A pre-dependency is very demanding for apt, because it adds a strict constraint on the ordering of the packages to install. As such, pre-dependencies are discouraged unless absolutely necessary. It is even recommended to consult other developers on debian-devel@lists.debian.org before adding a pre-dependency. It is generally possible to find another solution as a work-around." msgid "A pre-dependency is very demanding for apt, because it adds a strict constraint on the ordering of the packages to install. As such, pre-dependencies are discouraged unless absolutely necessary. It is even recommended to consult other developers on debian-devel@lists.debian.org before adding a pre-dependency. It is generally possible to find another solution as a workaround." msgstr "apt对预依赖的要求非常严格,因为它在安装软件包的时候增加了严格约束。因此,安装软件的预依赖关系是不鼓励的,除非绝对需要。它甚至推荐在加入预依赖前直接咨询开发人员debian-devel@lists.dibian.org。这也是一个通用的解决办法。" msgid "Conflicts: the Conflicts field" msgstr "冲突:冲突字段" msgid "conflicts" msgstr "冲突" msgid "packageconflict" msgstr "软件包冲突" #, fuzzy #| msgid "controlDepends" msgid "controlConflicts, header field" msgstr "control依赖" msgid "The Conflicts field indicates when a package cannot be installed simultaneously with another. The most common reasons for this are that both packages include a file of the same name and path, or provide the same service on the same TCP port, or would hinder each other's operation." msgstr "Conflicts(冲突) 字段指示不能与其共存的其它软件包。最常见的理由是两个软件包使用具有相同的名称和路径的文件,或在相同的 TCP 端口提供相同的服务,或会阻碍彼此的操作。" msgid "dpkg will refuse to install a package if it triggers a conflict with an already installed package, except if the new package specifies that it will “replace” the installed package, in which case dpkg will choose to replace the old package with the new one. apt always follows your instructions: if you choose to install a new package, it will automatically offer to uninstall the package that poses a problem." msgstr "dpkg 不会安装冲突的软件包,除非新软件包指明 “取代” 被冲突的软件包,dpkg 才会以新的软件包取代旧的软件包。apt 总是遵循您的指示:若选择安装新软件包,则自动移除造成问题的旧软件包。" msgid "Incompatibilities: the Breaks Field" msgstr "不相容性:中断字段" msgid "incompatibilities" msgstr "不相容性" msgid "packageincompatibility" msgstr "包不相容性" #, fuzzy #| msgid "controlDepends" msgid "controlBreaks, header field" msgstr "control依赖" msgid "The Breaks field has an effect similar to that of the Conflicts field, but with a special meaning. It signals that the installation of a package will “break” another package (or particular versions of it). In general, this incompatibility between two packages is transitory, and the Breaks relationship specifically refers to the incompatible versions." msgstr "中断 Breaks 字段有一个影响和冲突字段类似,但它具有特殊的意义。它标志着一个包的安装会将另外一个包(或者是特定版本)中断掉。通常而言,两个包之间的不兼容是短暂的,中断关系会特别指出那些不兼容的版本。" msgid "dpkg will refuse to install a package that breaks an already installed package, and apt will try to resolve the problem by updating the package that would be broken to a newer version (which is assumed to be fixed and, thus, compatible again)." msgstr "已经中断现有软件包时,dpkg 将拒绝安装并且 apt 将更新软件包至新的版本试图解决此问题 (通常可解决此问题,并再度兼容)。" msgid "This type of situation may occur in the case of updates without backwards compatibility: this is the case if the new version no longer functions with the older version, and causes a malfunction in another program without making special provisions. The Breaks field prevents the user from running into these problems." msgstr "不向后兼容的更新可能会发生这种情况:如果新版本与旧版本的功能不在另一个程序中做特别规定,这将导致故障。中断字段会防止用户继续运行从而遇到这些问题。" msgid "Provided Items: the Provides Field" msgstr "提供项:Provides 字段" #, fuzzy #| msgid "controlDepends" msgid "controlProvides, header field" msgstr "control依赖" msgid "This field introduces the very interesting concept of a “virtual package”. It has many roles, but two are of particular importance. The first role consists in using a virtual package to associate a generic service with it (the package “provides” the service). The second indicates that a package completely replaces another, and that for this purpose it can also satisfy the dependencies that the other would satisfy. It is thus possible to create a substitution package without having to use the same package name." msgstr "这个字段引入了一个很有意思的“虚拟包”的概念。它有很多的角色,但有两个特别重要。第一个是由使用虚拟包关联到的一个通用的服务(包“提供”了这些服务)。第二个表示一个包完全取代了另外一个,所以它也能满足依赖的要求。因此,可以创建一个替换而不必使用相同的包名称的包。" msgid "VOCABULARY Meta-package and virtual package" msgstr "VOCABULARY元软件包和虚拟包" msgid "packagevirtual package" msgstr "软件包虚拟软件包" #, fuzzy #| msgid "packagevirtual package" msgid "packagemeta-package" msgstr "软件包虚拟软件包" msgid "virtual package" msgstr "虚拟软件包" msgid "It is essential to clearly distinguish meta-packages from virtual packages. The former are real packages (including real .deb files), whose only purpose is to express dependencies." msgstr "这里必须明确的从虚拟软件包里面区分出元软件包。元软件包是真实的元件包(包含真实的.deb文件),其唯一目的是用来表示依赖的关系。" msgid "Virtual packages, however, do not exist physically; they are only a means of identifying real packages based on common, logical criteria (service provided, compatibility with a standard program or a pre-existing package, etc.)." msgstr "然而,虚拟软件包并未真实的存在;只是依照通用、逻辑范围 (提供的服务、兼容于标准程序或已存在的软件包等) 辨认真实软件包的手段。" msgid "Providing a “Service”" msgstr "提供一个“服务”" msgid "Let us discuss the first case in greater detail with an example: all mail servers, such as postfix or sendmail are said to “provide” the mail-transport-agent virtual package. Thus, any package that needs this service to be functional (e.g. a mailing list manager, such as smartlist or sympa) simply states in its dependencies that it requires a mail-transport-agent instead of specifying a large yet incomplete list of possible solutions (e.g. postfix | sendmail | exim4 | …). Furthermore, it is useless to install two mail servers on the same machine, which is why each of these packages declares a conflict with the mail-transport-agent virtual package. A conflict between a package and itself is ignored by the system, but this technique will prohibit the installation of two mail servers side by side." msgstr "让我们以范例详述第一个案子:postfix 或 sendmail 之类的邮件服务器都 “提供” mail-transport-agent 虚拟软件包。因此需要启用该等服务的软件包 (如:smartlist 或 sympa 之类的邮件列表管理器) 只要在其相依性里叙明需要 mail-transport-agent 而不是指明还不兼容的可能解决方案清单 (如 postfix | sendmail | exim4 | …)。更进一步来说,在同个机器安装两个邮件服务器是没有用的,因此每个软件包都声明与 mail-transport-agent 虚拟软件包冲突。系统忽略冲突的两个软件包,但技术上可以禁止同时安装两个邮件服务器。" msgid "DEBIAN POLICY List of virtual packages" msgstr "DEBIAN 政策 虚拟软件包列表" msgid "For virtual packages to be useful, everyone must agree on their name. This is why they are standardized in the Debian Policy. The list includes among others mail-transport-agent for mail servers, c-compiler for C programming language compilers, www-browser for web browsers, httpd for web servers, ftp-server for FTP servers, x-terminal-emulator for terminal emulators in graphical mode (xterm), and x-window-manager for window managers." msgstr "使用虚拟软件包时,每个人都必须同意其名称。这就是在 Debian 政策内把他们标准化的原因。此清单包括邮件服务器 mail-transport-agent、C 语言编译器 c-compiler、网页浏览器 www-browser、网页服务器 httpd、FTP 服务器 ftp-server、图形模式终端机仿真器 x-terminal-emulator (xterm)、以及窗口管理器 x-window-manager。" #, fuzzy #| msgid "The full list can be found on the Web. " msgid "The full list can be found on the Web. " msgstr "完整清单参见网站。" msgid "Interchangeability with Another Package" msgstr "和另一个软件包的可交互性" #, fuzzy #| msgid "The Provides field is also interesting when the content of a package is included in a larger package. For example, the libdigest-md5-perl Perl module was an optional module in Perl 5.6, and has been integrated as standard in Perl 5.8 (and later versions, such as 5.28 present in Buster). As such, the package perl has since version 5.8 declared Provides: libdigest-md5-perl so that the dependencies on this package are met if the user has Perl 5.8 (or newer). The libdigest-md5-perl package itself has eventually been deleted, since it no longer had any purpose when old Perl versions were removed." msgid "The Provides field is also interesting when the content of a package is included in a larger package. For example, the libdigest-md5-perl Perl module was an optional module in Perl 5.6, and has been integrated as standard in Perl 5.8 (and later versions, such as 5.32.1 present in Bullseye). As such, the package perl has since version 5.8 declared Provides: libdigest-md5-perl so that the dependencies on this package are met if the user has Perl 5.8 (or newer). The libdigest-md5-perl package itself has eventually been deleted, since it no longer had any purpose when old Perl versions were removed." msgstr "当软件包内容包括在另一个较大的软件包内时,Provides 字段就很有意思了。例如,libdigest-md5-perl Perl 模块是 Perl 5.6 的可选模块之一,已被集成入标准的 Perl 5.8(及其以后的版本,如 5.28 并纳入 Buster 中)。如此,软件包 perl 自从 5.8 版之后已声明 Provides: libdigest-md5-perl,所以只要使用 Perl 5.8 (或更新版)就已满足了这个软件包的依赖。libdigest-md5-perl 软件包本身最终被删除了,因为当删除旧版 Perl 是它就没有任何意义了。" msgid "Use of a Provides field in order to not break dependencies" msgstr "使用了Provides字段来避免破坏依赖" msgid "This feature is very useful, since it is never possible to anticipate the vagaries of development, and it is necessary to be able to adjust to renaming, and other automatic replacement, of obsolete software." msgstr "这个功能非常有用,因为它是永远不可能预料到变化莫测的发展,它不能够调整重命名,或者其他自动替换过的软件,所以它是必要的。" msgid "BACK TO BASICS Perl, a programming language" msgstr "回到基本Perl,一种编程语言" msgid "Perl" msgstr "Perl" msgid "CPANComprehensive Perl Archive Network" msgstr "CPANComprehensive Perl Archive Network" msgid "Comprehensive Perl Archive Network" msgstr "Comprehensive Perl Archive Network(Perl 综合架构网络)" msgid "Perl (Practical Extraction and Report Language) is a very popular programming language. It has many ready-to-use modules that cover a vast spectrum of applications, and that are distributed by the CPAN (Comprehensive Perl Archive Network) servers, an exhaustive network of Perl packages. " msgstr "Perl(实用报表提取语言)是非常受欢迎的编程语言。它有许多现成的模块,涵盖了广阔的应用,这些都是由 CPAN(Comprehensive Perl Archive Network,Perl 综合架构网络)的服务器发布务的,CPAN 服务器是 Perl 软件包的全面网络。 " msgid "Since it is an interpreted language, a program written in Perl does not require compilation prior to execution. This is why they are called “Perl scripts”." msgstr "由于它是一种解释型语言,Perl 语言编写的程序并不需要在执行之前进行编译。这就是大家称其为“Perl 脚本”的原因。" msgid "Past Limitations" msgstr "过去的限制" #, fuzzy #| msgid "Virtual packages used to suffer from some limitations, the most significant of which was the absence of a version number. To return to the previous example, a dependency such as Depends: libdigest-md5-perl (>= 1.6), despite the presence of Perl 5.10, would never be considered as satisfied by the packaging system — while in fact it most likely is satisfied. Unaware of this, the package system chose the least risky option, assuming that the versions do not match." msgid "Virtual packages used to suffer from some limitations, the most significant of which was the absence of a version number. To return to the previous example, a dependency such as Depends: libdigest-md5-perl (>= 1.6), despite the presence of Perl 5.10, would have never been considered as satisfied by the packaging system — while in fact it most likely was satisfied. Unaware of this, the package system chose the least risky option, assuming that the versions do not match." msgstr "虚拟软件包曾有很多限制,最麻烦的是没有版本编号。从上例可知,这种 Depends: libdigest-md5-perl (>= 1.6) 相依性,尽管在 Perl 5.10 里存在,但包管理系统仍认为不满足其相依性 — 虽然实际上已满足了。但是包管理系统不知道相依性没问题,只好选择风险最小的做法,假设其版本是不匹配的。" #, fuzzy #| msgid "This limitation has been lifted in dpkg 1.17.11, and is no longer relevant. Packages can assign a version to the virtual packages they provide with a dependency such as Provides: libdigest-md5-perl (= 1.8)." msgid "This limitation has been lifted in dpkg 1.17.11, and is no longer relevant. Packages, like perl 5.32.1, can assign a version to the virtual packages they provide, such as Provides: libdigest-md5-perl (= 2.55.01), and thus allow other packages to use versioned dependencies." msgstr "该限制已经在 dpkg 1.17.11 中解除,并不再相关。软件包可以给提供依赖的虚拟软件包指定一个版本,如 Provides: libdigest-md5-perl (= 1.8)。" msgid "Replacing Files: The Replaces Field" msgstr "替换文件:替换字段" msgid "replacement" msgstr "替换" msgid "packagereplacement" msgstr "软件包替换" #, fuzzy #| msgid "controlDepends" msgid "controlReplaces, header field" msgstr "control依赖" #, fuzzy #| msgid "The Replaces field indicates that the package contains files that are also present in another package, but that the package is legitimately entitled to replace them. Without this specification, dpkg fails, stating that it can not overwrite the files of another package (technically, it is possible to force it to do so with the --force-overwrite option, but that is not considered standard operation). This allows identification of potential problems and requires the maintainer to study the matter prior to choosing whether to add such a field." msgid "The Replaces field indicates that the package contains files that are also present in another package, but that the package is legitimately entitled to replace them. Without this specification, dpkg fails to install the package, stating that it cannot overwrite the files of another package (technically, it is possible to force it to do so with the --force-overwrite option, but that is not considered standard operation). This allows identification of potential problems and requires the maintainer to study the matter prior to choosing whether to add such a field." msgstr "Replaces 字段指出在其他软件包的文件,但该软件包也合理地取代他们。如果没有指明,dpkg 失败,说明它不能覆写另个软件包的文件 (技术上来说,虽可以强迫使用 --force-overwrite 选项,但这不是标准选项)。因此在加入该字段之前,先允许维护者确认潜在可能的问题,并要求维护者先研究它。" msgid "The use of this field is justified when package names change or when a package is included in another. This also happens when the maintainer decides to distribute files differently among various binary packages produced from the same source package: a replaced file no longer belongs to the old package, but only to the new one." msgstr "当软件包名称变更时,或者当一个软件包包含在另外一个的时候,此字段的使用是合理的。这也发生在维护者决定从来自相同的源码包的大量二进制包里分发出文件:一个替换的文件不再属于旧的软件包,只有新的才属于。" msgid "If all of the files in an installed package have been replaced, the package is considered to be removed. Finally, this field also encourages dpkg to remove the replaced package where there is a conflict." msgstr "如果已安装软件包的所有文件都被替换了,那么该软件包将认为将被删除掉。最后,这个字段会鼓励dpkg命令去删除替换掉有冲突的包。" msgid "GOING FURTHER The Tag field" msgstr "更进一步标签字段" #, fuzzy #| msgid "controlDepends" msgid "controlTag" msgstr "control依赖" #, fuzzy #| msgid "In the apt example above, we can see the presence of a field that we have not yet described, the Tag field. This field does not describe a relationship between packages, but is simply a way of categorizing a package in a thematic taxonomy. This classification of packages according to several criteria (type of interface, programming language, domain of application, etc.) has been available for a long time. Despite this, not all packages have accurate tags and it is not yet integrated in all Debian tools; aptitude displays these tags, and allows them to be used as search criteria. For those who are repelled by aptitude's search criteria, the following website allows navigation of the tag database: " msgid "In the apt example at the beginning, we can see the presence of a field that we have not yet described, the Tag field. This field does not describe a relationship between packages, but is simply a way of categorizing a package in a thematic taxonomy. This classification of packages according to several criteria (type of interface, programming language, domain of application, etc.) has been available for a long time. Despite this, not all packages have accurate tags and it is not yet integrated in all Debian tools; aptitude displays these tags, and allows them to be used as search criteria. For those who dislike aptitude's search criteria, the following website allows navigation of the tag database: " msgstr "以上述的 apt 为例,还出现了一个未被描述的字段,Tag 字段。此字段不是描述软件包之间的关系的,而是以主题分类学来简化软件包的分类方法。软件包的这种根据若干标准(接口类型、编程语言、应用范围等)的分类已经有很长时间了。尽管如此,并非所有软件包都有精准的标签,并且也还未集成到所有的 Debian 工具中;aptitude 显示了这些标签,且允许它们用作搜索标准。对于 aptitude 的搜索标准排斥的那些,可使用以下网站来浏览标签数据库:" msgid "Configuration Scripts" msgstr "配置脚本" msgid "postinst" msgstr "postinst" msgid "preinst" msgstr "preinst" msgid "postrm" msgstr "postrm" msgid "prerm" msgstr "prerm" msgid "control.tar.gz" msgstr "control.tar.gz" #, fuzzy #| msgid "In addition to the control file, the control.tar.gz archive for each Debian package may contain a number of scripts, called by dpkg at different stages in the processing of a package. The Debian Policy describes the possible cases in detail, specifying the scripts called and the arguments that they receive. These sequences may be complicated, since if one of the scripts fails, dpkg will try to return to a satisfactory state by canceling the installation or removal in progress (insofar as it is possible)." msgid "In addition to the control file, the control.tar.gz archive for each Debian package may contain a number of scripts, called by dpkg at different stages in the processing of a package. The Debian Policy describes the possible cases in detail, specifying the scripts called and the arguments that they receive. These sequences may be complicated, since if one of the scripts fails, dpkg will try to return to a satisfactory state by canceling the installation or removal in progress (insofar as it is possible). " msgstr "除了control文件之外,每个Debian软件包可能在control.tar.gz的存档中包含了一些脚本,这些脚本在软件包处理的不同的阶段被dpkg调用。Debian政策文档详细地描述了可能出现的细节,包括调用的脚本以及所收到的调用参数。这些顺序可能比较复杂,因为如果脚本中任何一步出现问题的时候,dpkg进程会通过取消正在进行的安装或者卸载过程来尝试恢复到一个令人满意的状态(前提是恢复具有可能性)。" msgid "GOING FURTHER dpkg's database" msgstr "进一步 dpkg 的数据库" #, fuzzy #| msgid "dpkg/var/log/dpkg.log" msgid "/var/var/lib/dpkg/dpkg" msgstr "dpkg/var/log/dpkg.log" msgid "dpkgdatabase" msgstr "dpkg数据库" #, fuzzy #| msgid "packagepurge" msgid "databasedpkg" msgstr "软件包清除" msgid "All of the configuration scripts for installed packages are stored in the /var/lib/dpkg/info/ directory, in the form of a file prefixed with the package's name. This directory also includes a file with the .list extension for each package, containing the list of files that belong to that package." msgstr "所有已安装的软件包的配置脚本都存在/var/lib/dpkg/info/目录,在软件包的名字前会有一个文件名的前缀。此目录的每个软件包还包括一个叫.list的文件扩展,包括列表的文件字段属于哪些包。" msgid "The /var/lib/dpkg/status file contains a series of data blocks (in the format of the famous mail headers, RFC 2822) describing the status of each package. The information from the control file of the installed packages is also replicated there." msgstr "/var/lib/dpkg/status文件包含了一些数据块(著名的邮件标题的格式,RFC2822)描述了每个软件包的状态。已经安装的软件包的 control 文件中的信息也会被复制到这里。" msgid "In general, the preinst script is executed prior to installation of the package, while postinst follows it. Likewise, prerm is invoked before removal of a package and postrm afterwards. An update of a package is equivalent to removal of the previous version and installation of the new one. It is not possible to describe in detail all the possible scenarios here, but we will discuss the most common two: an installation/update and a removal." msgstr "在一般情况下,preinst脚本会在安装软件包前执行,而postinst会稍后执行。同样,prerm会在移除一个软件包的之前被调用,postrm 则随后执行。更新软件包相当于是清除掉以前的旧版本并且安装新的软件包。所以在这里我们不可能来详细描述所有的可能的方案,但我们将讨论最常见的两种:安装/更新和移除。" msgid "CAUTION Symbolic names of the scripts" msgstr "小心 脚本的符号名称" msgid "The sequences described in this section call configuration scripts by specific names, such as old-prerm or new-postinst. They are, respectively, the prerm script contained in the old version of the package (installed before the update) and the postinst script contained in the new version (installed by the update)." msgstr "本节中使用特定的名称序列命名配置脚本,例如 old-prerm 或 new-postinst。它们分别是旧版本软件包( 在更新前已安装)中包含的 prerm脚本和新版本软件包(由本次更新所安装)中包含的 postinst 脚本。" msgid "TIP State diagrams" msgstr "提示状态图" msgid "Manoj Srivastava and Margarita Manterola made the following diagrams explaining how the configuration scripts are called by dpkg. " msgstr "Manoj Srivastava 和 Margarita Manterola 制作了后面的图示,来解释这些配置脚本如何被 dpkg 调用的情况。 " msgid "Installation and Upgrade" msgstr "安装和升级" msgid "dpkginternal operation" msgstr "dpkg内部运作" msgid "packageinstallation" msgstr "软件包安装" msgid "During the initial installation and for each upgrade of a package, dpkg calls the so called maintainer scripts such as the prerm or preinst scripts. These scripts can perform additional actions during the different stages of a package's life-cycle. Script names preceded by new- are the scripts from the new version of a package being installed or upgraded to. Script names preceded by old- are the scripts from the old version of a package that is being upgraded from." msgstr "" msgid "During each invocation dpkg will pass certain arguments to each script such as upgrade new-version. The invoked script can then either handle the arguments and perform a particular action, or ignore the arguments and return with an exit code of 0, if nothing needs to be done during that step. In practice many packages will not need to perform an action during every step in the life cycle. Thus a typical configuration script will check for a particular argument and ignore all other ones, implicitly returning with exit code 0." msgstr "" msgid "Here is what happens during an installation (or an update). The old-version, new-version and last-version-configured arguments are placeholders for the actual (old and new) version numbers of the package:" msgstr "" #, fuzzy #| msgid "For an update, dpkg calls the old-prerm upgrade new-version." msgid "For an update, dpkg calls the old-prerm script and passes upgrade new-version as arguments." msgstr "对于升级,dpkg会调用old-prerm 升级 新版本." #, fuzzy #| msgid "Still for an update, dpkg then executes new-preinst upgrade old-version; for a first installation, it executes new-preinst install. It may add the old version in the last parameter, if the package has already been installed and removed since (but not purged, the configuration files having been retained)." msgid "Still for an update, dpkg then executes the new-preinst script with the arguments upgrade old-version; for the initial installation, it executes the new-preinst script and passes install as argument. It may add the old version in the last parameter, if the package has already been installed and removed since (but not purged, and thus configuration files have been retained)." msgstr "还是对于升级,dpkg执行new-preinst 升级 旧版本;对于第一个安装,它会执行 new-preinst 安装。它可能会增加旧版本的最后一个参数,如果软件包已经被安装或者是删除了(但没有清除合并掉旧版本,那么这个配置文件会被保留)。" msgid "The new package files are then unpacked. If a file already exists, it is replaced, but a backup copy is temporarily made." msgstr "新的软件包文件被解压。如果文件已经存在,就被会替换,同时会产生一个临时的备份副本。" #, fuzzy #| msgid "For an update, dpkg executes old-postrm upgrade new-version." msgid "For an update, dpkg executes the old-postrm script and passes upgrade new-version as arguments." msgstr "对于更新,dpkg执行old-postrm 升级 新版本。" msgid "dpkg updates all of the internal data (file list, configuration scripts, etc.) and removes the backups of the replaced files. This is the point of no return: dpkg no longer has access to all of the elements necessary to return to the previous state." msgstr "dpkg更新所有的内部数据(文件列表,配置脚本等),并删除被替换文件的备份。这是一条不归路: ) dpkg将不能够再访问回退到之前状态所需要的所有元素。" msgid "dpkg will update the configuration files, asking the user to decide if it is unable to automatically manage this task. The details of this procedure are discussed in ." msgstr "dpkg 将更新配置文件,无法自动管理此工作时,要求用户做决定。详情在此 。" #, fuzzy #| msgid "Finally, dpkg configures the package by executing new-postinst configure last-version-configured." msgid "Finally, dpkg configures the package by executing the new-postinst script with the arguments configure last-version-configured." msgstr "最后,dpkg 通过执行 new-postinst configure 最近一次配置的版本号 对软件包进行配置。" msgid "Package Removal" msgstr "软件包移除" msgid "packageremoval" msgstr "软件包卸载" msgid "The steps to remove a package are analogous to the installation steps. The main difference is that the removal scripts of the package are called:" msgstr "" #, fuzzy #| msgid "dpkg calls prerm remove." msgid "dpkg calls the prerm script and passes the remove argument." msgstr "dpkg 调用prerm 移除。" #, fuzzy #| msgid "dpkg removes all of the package's files, with the exception of the configuration files and configuration scripts." msgid "dpkg removes all of the package's files, with the exception of the configuration files and maintainer scripts." msgstr "dpkg 移除了所有的软件包文件,只剩下了配置文件和配置的脚本。" #, fuzzy #| msgid "dpkg executes postrm remove. All of the configuration scripts, except postrm, are removed. If the user has not used the “purge” option, the process stops here." msgid "dpkg executes the postrm script and passes remove as argument. Afterwards, all of the maintainer scripts, except the postrm script, are removed. If the user has not used the “purge” option, the process stops here." msgstr "dpkg 运行 postrm remove。移除所有配置脚本,保留 postrm。若用户未选择 “清除” 选项,则工作完成。" #, fuzzy #| msgid "For a complete purge of the package (command issued with dpkg --purge or dpkg -P), the configuration files are also deleted, as well as a certain number of copies (*.dpkg-tmp, *.dpkg-old, *.dpkg-new) and temporary files; dpkg then executes postrm purge." msgid "For a complete purge of the package (command issued with dpkg --purge or dpkg -P), the configuration files are also deleted, as well as a certain number of copies (*.dpkg-tmp, *.dpkg-old, *.dpkg-new) and temporary files; dpkg then executes the postrm script and passes purge as argument." msgstr "对于一个完整的清除包(由dpkg --purge或dpkg -P发出的),配置文件也将会被删除,同时一些副本(*.dpkg-tmp,*.dpkg-old,*.dpkg-new)和缓存文件也会被删除掉;dpkg这时会执行postrm purge。" msgid "VOCABULARY Purge, a complete removal" msgstr "术语 Purge,完全移除" msgid "purging a package" msgstr "清除软件包" msgid "packagepurge" msgstr "软件包清除" msgid "When a Debian package is removed, the configuration files are retained in order to facilitate possible re-installation. Likewise, the data generated by a daemon (such as the content of an LDAP server directory, or the content of a database for an SQL server) are usually retained." msgstr "当Debian的软件包被移除掉的时候,该软件包的配置文件会被保留下来以便重新安装。同样,守护程序产生的数据(比如LDAP的服务器目录内容,或者是SQL服务器的数据库内容)也常常会被保留。" msgid "To remove all data associated with a package, it is necessary to “purge” the package with the command, dpkg -P package, apt-get remove --purge package or aptitude purge package." msgstr "移除掉软件包所关联的所有数据,必须使用“purge”命令,dpkg -P软件包,apt-get remove --purge 软件包 或者是aptitude purge 软件包。" msgid "Given the definitive nature of such data removals, a purge should not be taken lightly." msgstr "移除该等数据,不能掉以轻心去清除。" msgid "config, debconf script" msgstr "config、debconf 脚本" msgid "The four scripts detailed above are complemented by a config script, provided by packages using debconf to acquire information from the user for configuration. During installation, this script defines in detail the questions asked by debconf. The responses are recorded in the debconf database for future reference. The script is generally executed by apt prior to installing packages one by one in order to group all the questions and ask them all to the user at the beginning of the process. The pre- and post-installation scripts can then use this information to operate according to the user's wishes." msgstr "config 脚本补充前述的 4 个脚本,软件包以 debconf 取得配置用的信息。安装过程中,此脚本以 debconf 指令询问用户详细的问题。把回应记录在 debconf 数据库供未来的参考。在安装之前先由 apt 逐一运行该等脚本,归纳问题与回答。事前与事后安装脚本可使用该等信息回应用户的期望。" msgid "TOOL debconf" msgstr "工具 debconf" msgid "debconf" msgstr "debconf" msgid "debconf was created to resolve a recurring problem in Debian. All Debian packages unable to function without a minimum of configuration used to ask questions with calls to the echo and read commands in postinst shell scripts (and other similar scripts). But this also means that during a large installation or update the user must stay with their computer to respond to various questions that may arise at any time. These manual interactions have now been almost entirely dispensed with, thanks to the debconf tool." msgstr "debconf 被创建来 Debian中不断出现的问题。如果没有一个最小的配置,用于在 postinst shell 脚本(和其它类似脚本)中,调用 echo 和 read 命令来询问问题,那么所有 Debian 软件包都不能工作。这也意味着在大型安装或升级过程里,用户必须在电脑旁回应这些会随时出现的任何问题。由于 debconf 工具,这些手动交互过程几乎全部摒弃了。" msgid "debconf has many interesting features: it requires the developer to specify user interaction; it allows localization of all the strings displayed to users (all translations are stored in the templates file describing the interactions); it has different frontends to display the questions to the user (text mode, graphical mode, non-interactive); and it allows creation of a central database of responses to share the same configuration with several computers... but the most important is that it is now possible to present all of the questions in a row to the user, prior to starting a long installation or update process. The user can go about their business while the system handles the installation on its own, without having to stay there staring at the screen waiting for questions." msgstr "debconf 包括很多有趣的功能:要求开发者指明用户的交互;允许本地化显示给用户的字符串 (描述交互的所有翻译保存在 templates 文件);显示给用户的前端问题 (文本模式、图形模式、非交互式);把回应集中在数据库供其他电脑使用 ... 但最重要的已可把所有问题,在安装或升级之前,以一列的模式显示给用户。用户可以放任系统自行安装,不必待在电脑旁,紧盯屏幕等待问题。" #, fuzzy #| msgid "Checksums, List of Configuration Files" msgid "Checksums, List of Configuration Files, et al." msgstr "校验,配置文件列表" msgid "md5sums" msgstr "md5sums" msgid "conffiles" msgstr "冲突文件" #, fuzzy #| msgid "prerm" msgid "triggers" msgstr "prerm" msgid "checksums" msgstr "校验" #, fuzzy #| msgid "packagebinary package.deb" msgid "fileconfiguration file/etc/" msgstr "package二进制包.deb" #, fuzzy #| msgid "packagebinary package.deb" msgid "configurationconfiguration files/etc" msgstr "package二进制包.deb" msgid "In addition to the maintainer scripts and control data already mentioned in the previous sections, the control.tar.gz archive of a Debian package may contain other interesting files." msgstr "" #, fuzzy #| msgid "In addition to the maintainer scripts and control data already mentioned in the previous sections, the control.tar.gz archive of a Debian package may contain other interesting files. The first, md5sums, contains the MD5 checksums for all of the package's files. Its main advantage is that it allows dpkg --verify (which we will study in ) and debsums (from the package of the same name; see ) to check if these files have been modified since their installation. Note that when this file doesn't exist, dpkg will generate it dynamically at installation time (and store it in the dpkg database just like other control files)." msgid "The first, md5sums, contains the MD5 checksums for all of the package's files. Its main advantage is that it allows dpkg --verify (which we will study in ) and debsums (from the package of the same name; see ) to check if these files have been modified since their installation. Note that when this file doesn't exist, which might be the case for some older packages, dpkg will generate it dynamically at installation time (and store it in the dpkg database just like other control files)." msgstr "除了前面的章节中提到的维护者脚本与控制数据外,Debian 软件包的 control.tar.gz 档案会包括若干有趣的文件。首先是 md5sums,包括了软件包内所有文件的 MD5 校验和。它的主要优点是允许 dpkg --verify (我们将在 中研究)和 debsums (来自同名软件包,请参见 )来检查这些文件在安装后是否被修改。注意,当这些文件不存在时,dpkg 将在安装时动态产生一个(并且如同其它控制文件一样将其保存在 dpkg 数据库中)。" #, fuzzy #| msgid "conffiles lists package files that must be handled as configuration files (see also deb-conffiles5). Configuration files can be modified by the administrator, and dpkg will try to preserve those changes during a package update." msgid "The file conffiles lists package files that must be handled as configuration files (see also deb-conffiles5). Configuration files can be modified by the administrator, and dpkg will try to preserve those changes during a package update." msgstr "conffiles 列出了必须作为配置文件处理的软件包文件(还请参见 deb-conffiles5)。管理员可修改配置文件,当升级软件包时 dpkg 将尝试保留这些更改。" msgid "In effect, in this situation, dpkg behaves as intelligently as possible: if the standard configuration file has not changed between the two versions, it does nothing. If, however, the file has changed, it will try to update this file. Two cases are possible: either the administrator has not touched this configuration file, in which case dpkg automatically installs the new version; or the file has been modified, in which case dpkg asks the administrator which version they wish to use (the old one with modifications, or the new one provided with the package). To assist in making this decision, dpkg offers to display a “diff” that shows the difference between the two versions. If the user chooses to retain the old version, the new one will be stored in the same location in a file with the .dpkg-dist suffix. If the user chooses the new version, the old one is retained in a file with the .dpkg-old suffix. Another available action consists of momentarily interrupting dpkg to edit the file and attempt to re-instate the relevant modifications (previously identified with diff)." msgstr "实际上,在这种情况下,dpkg 的行为会尽可能地智能:如果两个版本之间并没有改变标准的配置文件,那么它就什么也不会做。但是如果文件已经被修改,它会尝试更新此文件。这会产生两种可能的情况:一是管理员没有碰配置文件,在这种情况下 dpkg 会自动安装新的版本;二是文件已经被修改了,在这种情况下 dpkg 会询问管理员希望使用哪个版本(有过修改的旧版本,或者软件包的新版本)。为了帮助用户作出决定,dpkg 会提供显示 “diff”,这会显示两个版本之间的差异。如果用户选择旧版本,那么新版本将被存储在文件夹的同一个位置并以 .dpkg-dist 为后缀名的文件中。如果用户选择新版本,那么旧版本将被保留在以 .dpkg-old 为后缀名的文件中。另外一个可能的操作是由暂时中断 dpkg 来编辑该文件,并试图重新恢复相关的修改(之前用 diff 来识别)。" msgid "GOING FURTHER Force dpkg to ask configuration file questions" msgstr "更进一步 强制 dpkg 询问配置文件问题" msgid "dpkg--force-confask" msgstr "dpkg--force-confask" msgid "The --force-confask option requires dpkg to display the questions about the configuration files, even in cases where they would not normally be necessary. Thus, when reinstalling a package with this option, dpkg will ask the questions again for all of the configuration files modified or deleted by the administrator. This is very convenient, especially for reinstalling the original configuration file if it has been deleted and no other copy is available: a normal re-installation won't work, because dpkg considers removal as a form of legitimate modification, and, thus, doesn't install the desired configuration file." msgstr "即使通常并不必要,--force-confask 选项也要求 dpkg 显示关于配置文件的问题。这样,当以此选项重新安装软件包时,dpkg 将再次针对由管理员修改或删除的所有配置文件询问问题。这种方式极为便利,尤其是在重新安装已经被删除且无可用复本的原始配置文件时:普通重新安装无效,因为 dpkg 认为移除是合法的修改,因此不会安装所需的配置文件。" msgid "See the sidebar for how to use these options with APT." msgstr "" msgid "GOING FURTHER Avoiding the configuration file questions" msgstr "更进一步 避免配置文件问题" msgid "dpkg--force-confnew" msgstr "dpkg--force-confnew" msgid "dpkg--force-confold" msgstr "dpkg--force-confold" msgid "dpkg--force-confdef" msgstr "dpkg--force-confdef" msgid "dpkg handles configuration file updates, but, while doing so, regularly interrupts its work to ask for input from the administrator. This makes it less than enjoyable for those who wish to run updates in a non-interactive manner. This is why this program offers options that allow the system to respond automatically according to the same logic: --force-confold retains the old version of the file; --force-confnew will use the new version of the file (these choices are respected, even if the file has not been changed by the administrator, which only rarely has the desired effect). Adding the --force-confdef option tells dpkg to decide by itself when possible (in other words, when the original configuration file has not been touched), and only uses --force-confnew or --force-confold for other cases." msgstr "dpkg 处理配置文件升级,但经常中断作业,要求管理者键入数据。如此一来,就不能以无中断方式一气呵成升级作业。此指令提供选项让系统依同样的逻辑自动回应:--force-confold 保留该文件的旧版本;--force-confnew 使用该文件的新版本 (即使该文件未被管理者修改,仍使用指定的选择,极少发生问题)。加入 --force-confdef 选项告诉 dpkg 在可能情况下自行决定 (换句话说,不改变原配置文件),只在其他的情况下,才使用 --force-confnew 或 --force-confold。" msgid "APTDpkg::Options" msgstr "APTDpkg::Options" msgid "These options apply to dpkg and are explained in detail in dpkg1 or dpkg --force-help, but most of the time the administrator will work directly with the aptitude or apt programs. It is, thus, necessary to know the syntax used to indicate the options to pass to the dpkg command (their command line interfaces are very similar)." msgstr "这些选项应用于 dpkg,并在dpkg1 或 dpkg --force-help 中具体解释,但是大多数时间管理员会直接用 aptitude 或 apt 程序来工作。这样,有必要知道用于指示选项的语法,来传递给 dpkg命令(它们的命令行的界面是非常相似的)。" #, fuzzy #| msgid "" #| "\n" #| "# apt -o DPkg::options::=\"--force-confdef\" -o DPkg::options::=\"--force-confold\" full-upgrade" msgid "" "\n" "# apt -o Dpkg::Options::=\"--force-confdef\" -o Dpkg::Options::=\"--force-confold\" full-upgrade" msgstr "" "\n" "# apt -o DPkg::options::=\"--force-confdef\" -o DPkg::options::=\"--force-confold\" full-upgrade" #, fuzzy #| msgid "These options can be stored directly in apt's configuration. To do so, simply write the following line in the /etc/apt/apt.conf.d/local file:" msgid "These options can also be stored directly in apt's configuration. To do so, simply write the following lines in the /etc/apt/apt.conf.d/local file:" msgstr "此选项可直接保存在 apt 的配置内。只需把下列这行字写入 /etc/apt/apt.conf.d/local 文件内:" #, fuzzy #| msgid "" #| "\n" #| "DPkg::options { \"--force-confdef\"; \"--force-confold\"; }" msgid "" "\n" "Dpkg::Options {\n" " \"--force-confdef\";\n" " \"--force-confold\";\n" "}" msgstr "" "\n" "DPkg::options { \"--force-confdef\"; \"--force-confold\"; }" msgid "Including this option in the configuration file means that it will also be used in a graphical interface such as aptitude." msgstr "把此选项纳入配置文件,意味着 aptitude 之类的图形接口程序也会使用这些选项。" msgid "The control archive frequently contains other files as well, like triggers, shlibs, or symbols. These files are well described in deb-triggers5, deb-shlibs5, and deb-symbols5." msgstr "" msgid "Triggers were introduced to reduce the amount of duplicated events during package installation, such as file registration or catalog/database update tasks. Packages can define their own or activate defined triggers. A more comprehensive documentation can be found in /usr/share/doc/dpkg/triggers.txt.gz." msgstr "" msgid "The shlibs system is an older and simpler alternative to the symbols system for declaring dependencies for shared libraries. It defines the package name and version in which to find a specific SONAME-version of a shared library. The newer symbols system allows to define the dependency by tracking the symbols and when they have been introduced or changed in the library instead." msgstr "" msgid "Structure of a Source Package" msgstr "源码包的结构" msgid "packagesource package" msgstr "软件包源码包" #, fuzzy #| msgid "purge of a package" msgid "source package" msgstr "清除软件包" msgid "Format" msgstr "格式" msgid "DSC file" msgstr "DSC 文件" msgid ".dsc" msgstr ".dsc" #, fuzzy #| msgid "diff.gz file" msgid ".diff.gz" msgstr "diff.gz 文件" #, fuzzy #| msgid "debian.tar.gz file" msgid ".debian.tar.gz" msgstr "debian.tar.gz 文件" #, fuzzy #| msgid "debian.tar.gz file" msgid ".debian.tar.xz" msgstr "debian.tar.gz 文件" #, fuzzy #| msgid "orig.tar.gz file" msgid ".orig.tar.bz2" msgstr "orig.tar.gz 文件" #, fuzzy #| msgid "orig.tar.gz file" msgid ".orig.tar.gz" msgstr "orig.tar.gz 文件" #, fuzzy #| msgid "orig.tar.gz file" msgid ".orig.tar.xz" msgstr "orig.tar.gz 文件" msgid "Debian Source Control.dsc" msgstr "Debian Source Control.dsc" msgid "A source package is usually comprised of three files, a .dsc, a .orig.tar.gz, and a .debian.tar.xz (or .diff.gz). They allow creation of binary packages (.deb files described above) from the source code files of the program, which are written in a programming language." msgstr "一个源码包通常包括三个文件,.dsc、.orig.tar.gz 与 .debian.tar.xz(或 .diff.gz)。它们允许从编程语言撰写的程序源代码文件中,创建二进制软件包(如前所述的 .deb 文件)。" msgid "The .dsc (Debian Source Control) file is a short text file containing an RFC 2822 header (just like the control file studied in ) which describes the source package and indicates which other files are part thereof. It is signed by its maintainer, which guarantees authenticity. See for further details on this subject." msgstr ".dsc (Debian Source Control) 文件是包括 RFC 2822 标头 (如同 control 文件于 ) 的简短文本档,描述原始软件包及包括的其他文件。由维护者签署,保证其真实性。详情见 。" msgid "A .dsc file" msgstr "一个.dsc 文件" #, fuzzy #| msgid "" #| "\n" #| "Uploaders: Raphaël Hertzog \n" #| "Homepage: http://zim-wiki.org\n" #| "Standards-Version: 4.1.3\n" #| "Vcs-Browser: https://salsa.debian.org/debian/zim\n" #| "Vcs-Git: https://salsa.debian.org/debian/zim.git\n" #| "Build-Depends: debhelper (>= 11), xdg-utils, python (>= 2.6.6-3~), libgtk2.0-0 (>= 2.6), python-gtk2, python-xdg, dh-python\n" #| "Package-List:\n" #| " zim deb x11 optional arch=all\n" #| "Checksums-Sha1:\n" #| " a3b50aa8e44126cc7edd2c1912adf9820f50ad58 2044224 zim_0.68.orig.tar.gz\n" #| " 4e13b37625789334da2d95b93e51e41ffd3b6b01 9300 zim_0.68-1.debian.tar.xz\n" #| "Checksums-Sha256:\n" #| " d91518e010f6a6e951a75314138b5545a4c51151fc99f513aa7768a18858df15 2044224 zim_0.68.orig.tar.gz\n" #| " 23f4ddc69af74509932acc3b5f0d4cd2af943016e4fd5740b9d98ec4d49fd8c2 9300 zim_0.68-1.debian.tar.xz\n" #| "Files:\n" #| " 336041a16687abb66fd9f604b98407e8 2044224 zim_0.68.orig.tar.gz\n" #| " 1714f67b35ab69e709849ad707206ca8 9300 zim_0.68-1.debian.tar.xz\n" #| "\n" #| "-----BEGIN PGP SIGNATURE-----\n" #| "Comment: Signed by Raphael Hertzog\n" #| "\n" #| "iQEzBAEBCgAdFiEE1823g1EQnhJ1LsbSA4gdq+vCmrkFAlqyOxkACgkQA4gdq+vC\n" #| "mrnCqAf/Ww9wg97VragtVhSFvehoVoJ0ZhoqNaSuCP/W1Fuf+P0YklzL2BlkVRXW\n" #| "X23c8Qs1v6VE2iRY3mEkdWwgBs1QwF0MX7H1jjQfPHCynGHKlH5dfo5fqLizgCeu\n" #| "c9Pug3ZisjF90CgsseO7SVDqHVmO6QsfAaGWpHAw92HDz/xwjrS/4Ejntqjy0b+r\n" #| "Gmw2AZuBdhp+7C6p7In/Gg6DHPBLQGMLCKypoZKQdl+L0fWjjeykOzMIbjry2sRH\n" #| "H0J4FLVGAGumh3zIZlm/t3ehGfP9Dg8FvzMaCNsf8OtYCSAEutrQEDBaskcTSIpq\n" #| "L0GQhKlViDuu8gzsqm7efPEhPcsF1A==\n" #| "=6jGR\n" #| "-----END PGP SIGNATURE-----\n" #| "]]>" msgid "" "\n" "Uploaders: Raphaël Hertzog \n" "Homepage: https://zim-wiki.org\n" "Standards-Version: 4.5.1\n" "Vcs-Browser: https://salsa.debian.org/debian/zim\n" "Vcs-Git: https://salsa.debian.org/debian/zim.git\n" "Build-Depends: debhelper-compat (= 13), python3, python3-gi, python3-xdg, gir1.2-gtk-3.0, dh-python\n" "Package-List:\n" " zim deb x11 optional arch=all\n" "Checksums-Sha1:\n" " 80d43d5c1c6a47c695079eb02bc8ad36b84d6e57 2159901 zim_0.73.5.orig.tar.gz\n" " b1cd86dc4819a80126efbf6ee6eba17a33f451d3 10124 zim_0.73.5-1.debian.tar.xz\n" "Checksums-Sha256:\n" " a36f15d92c3994c0d55b07f83253b3d8b826beb3714865edbabc14f1cc91d63a 2159901 zim_0.73.5.orig.tar.gz\n" " 6c2db642d9ac1c2440ed08e0cd584006045b342b255f37ffe42bd5459fb5cb76 10124 zim_0.73.5-1.debian.tar.xz\n" "Files:\n" " fa76ceb8ac7d7354fb0e2bc5607e9faa 2159901 zim_0.73.5.orig.tar.gz\n" " a0c824d979efb196cde0176d3cb9c719 10124 zim_0.73.5-1.debian.tar.xz\n" "\n" "-----BEGIN PGP SIGNATURE-----\n" "Comment: Signed by Raphael Hertzog\n" "\n" "iQEzBAEBCgAdFiEE1823g1EQnhJ1LsbSA4gdq+vCmrkFAmAa3ooACgkQA4gdq+vC\n" "mrkq1gf/cs7irmbCSDrADVqsqYBrFJ1FyprE3jiHLNs0OQLryhFj9tzDuilX35VE\n" "HkCfxSaKkzgvQLYtpuw1VBfhOdngTdHO39U6eljkaScnfLWU8Z5n/q+YeedxItoY\n" "X3TtzMexFmb4WJqlylfjbXeqbLdYvsILQ3NVnE48AzkaBQlCC2d9bqecZhWiKfzq\n" "gNxIDVDDhqCXMPe7QCErCBiFPUVpGN7b+6QWN0RxOTLZdj/slRD73rT++VmY+xN1\n" "L8BSLcjXie+ES11MhQNYaLpCv2vqImlZaxkFWvsKBo9ndRFSbE3/RNK479a4KGve\n" "KrdpGUJXy9uLPuAMyn5WphwXJ7OZXQ==\n" "=YFDk\n" "-----END PGP SIGNATURE-----\n" "]]>" msgstr "" "\n" "Uploaders: Raphaël Hertzog \n" "Homepage: http://zim-wiki.org\n" "Standards-Version: 4.1.3\n" "Vcs-Browser: https://salsa.debian.org/debian/zim\n" "Vcs-Git: https://salsa.debian.org/debian/zim.git\n" "Build-Depends: debhelper (>= 11), xdg-utils, python (>= 2.6.6-3~), libgtk2.0-0 (>= 2.6), python-gtk2, python-xdg, dh-python\n" "Package-List:\n" " zim deb x11 optional arch=all\n" "Checksums-Sha1:\n" " a3b50aa8e44126cc7edd2c1912adf9820f50ad58 2044224 zim_0.68.orig.tar.gz\n" " 4e13b37625789334da2d95b93e51e41ffd3b6b01 9300 zim_0.68-1.debian.tar.xz\n" "Checksums-Sha256:\n" " d91518e010f6a6e951a75314138b5545a4c51151fc99f513aa7768a18858df15 2044224 zim_0.68.orig.tar.gz\n" " 23f4ddc69af74509932acc3b5f0d4cd2af943016e4fd5740b9d98ec4d49fd8c2 9300 zim_0.68-1.debian.tar.xz\n" "Files:\n" " 336041a16687abb66fd9f604b98407e8 2044224 zim_0.68.orig.tar.gz\n" " 1714f67b35ab69e709849ad707206ca8 9300 zim_0.68-1.debian.tar.xz\n" "\n" "-----BEGIN PGP SIGNATURE-----\n" "Comment: Signed by Raphael Hertzog\n" "\n" "iQEzBAEBCgAdFiEE1823g1EQnhJ1LsbSA4gdq+vCmrkFAlqyOxkACgkQA4gdq+vC\n" "mrnCqAf/Ww9wg97VragtVhSFvehoVoJ0ZhoqNaSuCP/W1Fuf+P0YklzL2BlkVRXW\n" "X23c8Qs1v6VE2iRY3mEkdWwgBs1QwF0MX7H1jjQfPHCynGHKlH5dfo5fqLizgCeu\n" "c9Pug3ZisjF90CgsseO7SVDqHVmO6QsfAaGWpHAw92HDz/xwjrS/4Ejntqjy0b+r\n" "Gmw2AZuBdhp+7C6p7In/Gg6DHPBLQGMLCKypoZKQdl+L0fWjjeykOzMIbjry2sRH\n" "H0J4FLVGAGumh3zIZlm/t3ehGfP9Dg8FvzMaCNsf8OtYCSAEutrQEDBaskcTSIpq\n" "L0GQhKlViDuu8gzsqm7efPEhPcsF1A==\n" "=6jGR\n" "-----END PGP SIGNATURE-----\n" "]]>" msgid "packagebuild dependencies" msgstr "软件包构建依赖" #, fuzzy #| msgid "controlDepends" msgid ".dscBuild-Depends, header field" msgstr "control依赖" msgid "Note that the source package also has dependencies (Build-Depends) completely distinct from those of binary packages, since they indicate tools required to compile the software in question and construct its binary package." msgstr "需要注意的是源码包也有依赖(Build-Depends),和那些二进制包依赖完全不同,因为它们需要设置编译软件所需工具的选项后,再来构建二进制包。" msgid "CAUTION Distinct namespaces" msgstr "当心 不同的命名空间" #, fuzzy #| msgid "controlDepends" msgid ".dscSource, header field" msgstr "control依赖" #, fuzzy #| msgid "controlDepends" msgid ".dscBinary, header field" msgstr "control依赖" #, fuzzy #| msgid "APT.dscSource" msgid "APT.dsc.dsc" msgstr "APT.dscSource" msgid "It is important to note here that there is no required correspondence between the name of the source package and that of the binary package(s) that it generates. It is easy enough to understand if you know that each source package may generate several binary packages. This is why the .dsc file has the Source and Binary fields to explicitly name the source package and store the list of binary packages that it generates." msgstr "需注意,原始软件包与其产生的可运行软件包间,不需使用对应的名称。每个原始软件包可能产生多个可运行软件包。所以 .dsc 文件有 Source 与 Binary 字段记录原始软件包的名称与其产生的可运行软件包清单。" msgid "CULTURE Why divide into several packages" msgstr "文化 为什么要分成几个软件包" msgid "Quite frequently, a source package (for a given software) can generate several binary packages. The split is justified by the possibility to use (parts of) the software in different contexts. Consider a shared library, it may be installed to make an application work (for example, libc6), or it can be installed to develop a new program (libc6-dev will then be the correct package). We find the same logic for client/server services where we want to install the server part on one machine and the client part on others (this is the case, for example, of openssh-server and openssh-client)." msgstr "通常,一个源代码软件包 (对于一个指定软件来说) 可产生多个二进制软件包。分开多个二进制包,可以满足在不同的环境使用 (部分) 软件。对于一个共享库,安装它后,可以让一个于应用程序工作 (如,libc6);或者安装后,可以用来开发一个新的程序 (libc6-dev 就是这样的软件包)。在客户端-服务端服务里发现同样的逻辑,在一部机器安装服务端的内容同时在另部机器安装客户端的内容 (例如: openssh-server 与 openssh-client)。" #, fuzzy #| msgid "Just as frequently, the documentation is provided in a dedicated package: the user may install it independently from the software, and may at any time choose to remove it to save disk space. Additionally, this also saves disk space on the Debian mirrors, since the documentation package will be shared amongst all of the architectures (instead of having the documentation duplicated in the packages for each architecture)." msgid "Just as frequently, the documentation is provided in a dedicated package: the user may install it independently from the software, and may at any time choose to remove it to save disk space. Additionally, this also saves disk space on the Debian mirrors, since the documentation package will be shared among all of the architectures (instead of having the documentation duplicated in the packages for each architecture)." msgstr "一样频繁的是,在一个专用的软件包提供文档:用户可以不依赖软件包而独立安装文档包,并且可以在任何时候选择删除掉以节省磁盘空间。此外,这也节省了 Debian 镜像的磁盘空间,因为在所有的架构中(而不是在每个架构中都复制一个一样的文档软件包)将共享这个文档软件包。" msgid "PERSPECTIVE Different source package formats" msgstr "洞察不同格式的源码包" msgid "source packageformat" msgstr "源码包格式" msgid "quilt" msgstr "quilt" msgid "Originally there was only one source package format. This is the 1.0 format, which associates an .orig.tar.gz archive to a .diff.gz “debianization” patch (there is also a variant, consisting of a single .tar.gz archive, which is automatically used if no .orig.tar.gz is available)." msgstr "本来只有一个原始的软件包格式,像1.0这样的格式,它关联了.orig.tar.gz和.diff.gz“Debian化”的补丁(还有一个变种,由一个单一的.tar.gz归档,当.orig.tar.gz不可用时它会自动使用。)." msgid "Since Debian 6 Squeeze, Debian developers have the option to use new formats that correct many problems of the historical format. Format 3.0 (quilt) can combine multiple upstream archives in the same source package: in addition to the usual .orig.tar.gz, supplementary .orig-component.tar.gz archives can be included. This is useful with software that is distributed in several upstream components but for which a single source package is desired. These archives can also be compressed with xz rather than gzip, which saves disk space and network resources. Finally, the monolithic patch, .diff.gz is replaced by a .debian.tar.xz archive containing the compiling instructions and a set of upstream patches contributed by the package maintainer. These last are recorded in a format compatible with quilt — a tool that facilitates the management of a series of patches." msgstr "自从 Debian 6 Squeeze 以来,Debian 开发者可以选择新的格式来校正历史上旧格式的问题。格式 3.0 (quilt) 可以将多个上游档案组合在相同的源码包中:除了通常的 .orig.tar.gz,还可纳入补充的 .orig-component.tar.gz 档案。这种做法对那些散布在多个上游组件,但只需要单一一个原码包的软件。这些文件还可以使用 xz 而不是 gzip 来压缩,这节省了磁盘空间与网络资源。最后,单一的补丁 .diff.gz 被 .debian.tar.gz 档案取代,它包括编译指示与软件包维护者贡献的一组上游补丁。最后的这些部分以兼容的 quilt 的格式记录,其中 quilt 是实现一系列补丁管理的工具。" msgid "The .orig.tar.gz file is an archive containing the source code as provided by the original developer. Debian package maintainers are asked to not modify this archive in order to be able to easily check the origin and integrity of the file (by simple comparison with a checksum) and to respect the wishes of some authors." msgstr ".orig.tar.gz 文件包括原开发者提供的源代码。要求 Debian 的软件包维护者不要修改它,以便检查原来的文件与集成后的文件 (比较校验码就知道) 并且尊重其他著者的意愿。" #, fuzzy #| msgid "The .debian.tar.xz contains all of the modifications made by the Debian maintainer, especially the addition of a debian directory containing the instructions to execute to construct a Debian package." msgid "The .debian.tar.xz contains all of the modifications made by the Debian maintainer, especially the addition of a debian directory containing the instructions to execute to construct one or more Debian binary packages." msgstr ".debian.tar.xz 包含了 Debian 维护者做出的所有修改,特别是添加了 debian 目录,它包含了运行构建 Debian 软件包的指示。" msgid "TOOL Decompressing a source package" msgstr "工具 解压缩源码包" msgid "dpkg-source" msgstr "dpkg-source" msgid "decompressing, source package" msgstr "解压缩,原始软件包" msgid "uncompressing, source package" msgstr "解压缩,原始软件包" msgid "unpackingsource package" msgstr "拆包原始软件包" msgid "source packageunpacking" msgstr "源码包解压" msgid "If you have a source package, you can use the dpkg-source command (from the dpkg-dev package) to decompress it:" msgstr "使用原始软件包时,您可使用 dpkg-source 指令 (从 dpkg-dev 软件包取得) 解压缩它:" #, fuzzy #| msgid "" #| "$ dpkg-source -x zim_0.68-1.dsc\n" #| "dpkg-source: info: extracting zim in zim-0.68\n" #| "dpkg-source: info: unpacking zim_0.68.orig.tar.gz\n" #| "dpkg-source: info: unpacking zim_0.68-1.debian.tar.xz" msgid "" "$ dpkg-source -x zim_0.73.5-1.dsc\n" "dpkg-source: info: extracting zim in zim-0.73.5\n" "dpkg-source: info: unpacking zim_0.73.5.orig.tar.gz\n" "dpkg-source: info: unpacking zim_0.73.5-1.debian.tar.xz" msgstr "" "$ dpkg-source -x zim_0.68-1.dsc\n" "dpkg-source: info: extracting zim in zim-0.68\n" "dpkg-source: info: unpacking zim_0.68.orig.tar.gz\n" "dpkg-source: info: unpacking zim_0.68-1.debian.tar.xz" msgid "You can also use apt to download a source package and unpack it right away. It requires that the appropriate deb-src lines be present in the /etc/apt/sources.list file, however (for further details, see ). These are used to list the “sources” of source packages (meaning the servers on which a group of source packages are hosted)." msgstr "可以使用 apt 来下载原码包,并立即将它拆包。然而,这需要适当的 deb-src 出现在 /etc/apt/sources.list 文件内(进一步的细节请参见 )。这些用于列出原码包的 “来源”(就是托管一组源码包的服务器)。" #, fuzzy #| msgid "" #| "$ apt source package\n" #| "" msgid "" "$ apt source package\n" "" msgstr "" "$ apt source package\n" "" msgid "Usage within Debian" msgstr "Debian 中的使用" #, fuzzy #| msgid "The source package is the foundation of everything in Debian. All Debian packages come from a source package, and each modification in a Debian package is the consequence of a modification made to the source package. The Debian maintainers work with the source package, knowing, however, the consequences of their actions on the binary packages. The fruits of their labors are thus found in the source packages available from Debian: you can easily go back to them and everything stems from them." msgid "The source package is the foundation of everything in Debian. All Debian packages come from a source package, and each modification in a Debian package is the consequence of a modification made to the source package. The Debian maintainers work with the source package, knowing, however, the consequences of their actions on the binary packages. The fruits of their labors are thus found in the source packages available from Debian: you can easily go back to them and everything stems from them. contains some examples." msgstr "Debian 的基础是原始软件包。Debian 所有的软件包都从原始软件包而来,对软件包的修改也是针对原始软件包。运行软件包出了问题后,Debian 维护者修改原始软件包后,再编译为运行软件包。维护者的工作成果都在 Debian 的原始软件包内:您可轻易地回到原始软件包找出源头。" #, fuzzy #| msgid "When a new version of a package (source package and one or more binary packages) arrives on the Debian server, the source package is the most important. Indeed, it will then be used by a network of machines of different architectures for compilation on the various architectures supported by Debian. The fact that the developer also sends one or more binary packages for a given architecture (usually i386 or amd64) is relatively unimportant, since these could just as well have been automatically generated. " msgid "When a new version of a source package arrives on the Debian server, it will then be used by a network of machines of different architectures for compilation on the various architectures supported by Debian. " msgstr "当新版软件包(源码包和一个或多个二进制软件包)到达Debian 服务器时,原码包是最重要的。原码包然后被网络上不同架构的机器真正使用,在 Debian 支持的各种架构上编译。开发者同时发送指定架构(通常是 i386 或 amd64)的多个二进制包,这个事实相对不重要,因为这些二进制包也可以自动生成。" msgid "GOING FURTHER Source only maintainer uploads" msgstr "进阶阅读 维护者只能上传源码" #, fuzzy #| msgid "Right after the release of Debian 10 Buster the Release Team announced that maintainer binary uploads will no longer be accepted for main and all binary packages in this component will be built automatically from mandatory source-only uploads." msgid "Right after the release of Debian 10 Buster the Release Team announced that maintainer binary uploads will no longer be accepted for main and all binary packages in this component must be built automatically from mandatory source-only uploads. While binary uploads are still allowed for the contrib and non-free components, we will not focus on this possibility as it should only be the exception." msgstr "在 Debian 10 Buster发布之后,发行团队宣布 main 部分不再接受含有软件包维护者所构建二进制文件的上传,并且这个部分中的所有的二进制软件包都只能由纯源码上传所提供的源代码自动构建。" msgid "Manipulating Packages with dpkg" msgstr "通过dpkg来操作软件包" msgid "dpkg is the base command for handling Debian packages on the system. If you have .deb packages, it is dpkg that allows installation or analysis of their contents. But this program only has a partial view of the Debian universe: it knows what is installed on the system, and whatever it is given on the command line, but knows nothing of the other available packages. As such, it will fail if a dependency is not met. Tools such as apt and aptitude, on the contrary, will create a list of dependencies to install everything as automatically as possible." msgstr "dpkg 是系统上处理 Debian 软件包的基础指令。如果有 .deb 软件包,那么可以用 dpkg 来安装或分析其内容。但此指令只能看到 Debian 世界的部分内容:它知道系统安装了那些软件包,以及命令行给出了什么,但不知道其它还有哪些可用的软件包。这样,如果没有相依性就会失败。如 apt 和 aptitude 这样的工具,相反会可产生相依性清单,来尽量自动地安装软件包。" msgid "NOTE dpkg or apt?" msgstr "说明 dpkg 或 apt?" msgid "dpkg should be seen as a system tool (backend), and apt as a tool closer to the user, which overcomes the limitations of the former. These tools work together, each one with its particularities, suited to specific tasks." msgstr "dpkg 应视为系统工具 (背景) 之一,而 apt 则是较倾向用户的工具,可克服前者的限制。这些工具各有其限制,共同解决特定的作业。" msgid "Installing Packages" msgstr "安装软件包" msgid "installationpackage installation" msgstr "安装软件包安装" #, fuzzy #| msgid "dpkginternal operation" msgid "dpkg--install" msgstr "dpkg内部运作" msgid "dpkg is, above all, the tool for installing an already available Debian package (because it does not download anything). To do this, we use its -i or --install option." msgstr "首先,dpkg 是安装 Debian 已经可用软件包的工具 (因为不需下载任何东西)。我们使用它的 -i 或 --install 选项。" msgid "Installation of a package with dpkg" msgstr "通过dpkg来安装一个软件包" #, fuzzy #| msgid "" #| "\n" #| "# dpkg -i man-db_2.8.5-2_amd64.deb\n" #| "(Reading database ... 14913 files and directories currently installed.)\n" #| "Preparing to unpack .../man-db_2.8.5-2_amd64.deb ...\n" #| "Unpacking man-db (2.8.5-2) over (2.8.5-2) ...\n" #| "Setting up man-db (2.8.5-2) ...\n" #| "Updating database of manual pages ...\n" #| "Processing triggers for mime-support (3.62) ..." msgid "" "\n" "# dpkg -i man-db_2.9.4-2_amd64.deb\n" "(Reading database ... 227466 files and directories currently installed.)\n" "Preparing to unpack man-db_2.9.4-2_amd64.deb ...\n" "Unpacking man-db (2.9.4-2) over (2.8.5-2) ...\n" "Setting up man-db (2.9.4-2) ...\n" "Updating database of manual pages ...\n" "man-db.service is a disabled or a static unit not running, not starting it.\n" "Processing triggers for mailcap (3.69) ..." msgstr "" "\n" "# dpkg -i man-db_2.8.5-2_amd64.deb\n" "(Reading database ... 14913 files and directories currently installed.)\n" "Preparing to unpack .../man-db_2.8.5-2_amd64.deb ...\n" "Unpacking man-db (2.8.5-2) over (2.8.5-2) ...\n" "Setting up man-db (2.8.5-2) ...\n" "Updating database of manual pages ...\n" "Processing triggers for mime-support (3.62) ..." msgid "We can see the different steps performed by dpkg; we know, thus, at what point any error may have occurred. The installation can also be effected in two stages: first unpacking, then configuration. apt takes advantage of this, limiting the number of calls to dpkg (since each call is costly, due to loading of the database in memory, especially the list of already installed files)." msgstr "可以看到由 dpkg 执行的不同步骤;这样,我们知道在哪一点会发生错误。安装也可以分为两个阶段来生效:首先拆包,然后配置。apt 会利用这个优点,来限制调用 dpkg 的次数(因为每次调用都有成本,要把数据加载到内存中,特别是已经安装的文件的列表)。" msgid "Separate unpacking and configuration" msgstr "分开解压和配置" #, fuzzy #| msgid "dpkginternal operation" msgid "dpkg--unpack" msgstr "dpkg内部运作" #, fuzzy #| msgid "dpkginternal operation" msgid "dpkg--configure" msgstr "dpkg内部运作" #, fuzzy #| msgid "" #| "\n" #| "# dpkg --unpack man-db_2.8.5-2_amd64.deb\n" #| "(Reading database ... 14937 files and directories currently installed.)\n" #| "Preparing to unpack man-db_2.8.5-2_amd64.deb ...\n" #| "Unpacking man-db (2.8.5-2) over (2.8.5-2) ...\n" #| "Processing triggers for mime-support (3.62) ...\n" #| "# dpkg --configure man-db\n" #| "Setting up man-db (2.8.5-2) ...\n" #| "Updating database of manual pages ...\n" #| "" msgid "" "\n" "# dpkg --unpack man-db_2.9.4-2_amd64.deb\n" "(Reading database ... 227466 files and directories currently installed.)\n" "Preparing to unpack man-db_2.9.4-2_amd64.deb ...\n" "Unpacking man-db (2.9.4-2) over (2.9.4-2) ...\n" "Processing triggers for mailcap (3.69) ...\n" "# dpkg --configure man-db\n" "Setting up man-db (2.9.4-2) ...\n" "Updating database of manual pages ...\n" "man-db.service is a disabled or a static unit not running, not starting it.\n" "\n" "" msgstr "" "\n" "# dpkg --unpack man-db_2.8.5-2_amd64.deb\n" "(Reading database ... 14937 files and directories currently installed.)\n" "Preparing to unpack man-db_2.8.5-2_amd64.deb ...\n" "Unpacking man-db (2.8.5-2) over (2.8.5-2) ...\n" "Processing triggers for mime-support (3.62) ...\n" "# dpkg --configure man-db\n" "Setting up man-db (2.8.5-2) ...\n" "Updating database of manual pages ...\n" "" msgid "packageunpacking" msgstr "软件包解压" msgid "Sometimes dpkg will fail to install a package and return an error; if the user orders it to ignore this, it will only issue a warning; it is for this reason that we have the different --force-* options. The dpkg --force-help command, or documentation of this command, will give a complete list of these options. The most frequent error, which you are bound to encounter sooner or later, is a file collision. When a package contains a file that is already installed by another package, dpkg will refuse to install it. The following messages will then appear:" msgstr "有时 dpkg 在安装软件包的时候会失败并且返回一个错误信息;如果用户命令 dpkg 忽略掉这个错误,那么它仅仅会发出一个警告;就是这个原因使我们有不同的 --force--* 选项。dpkg --force-help 命令,或者这个命令的文档,将给出这些选项的完整列表。早晚会遇到的最常见的错误,是文件冲突。当软件包包含一个由其它软件包已经安装的文件时,dpkg 会拒绝安装。然后出现后面的消息:" msgid "" "\n" "Unpacking libgdm (from .../libgdm_3.8.3-2_amd64.deb) ...\n" "dpkg: error processing /var/cache/apt/archives/libgdm_3.8.3-2_amd64.deb (--unpack):\n" " trying to overwrite '/usr/bin/gdmflexiserver', which is also in package gdm3 3.4.1-9" msgstr "" "\n" "Unpacking libgdm (from .../libgdm_3.8.3-2_amd64.deb) ...\n" "dpkg: 处理 /var/cache/apt/archives/libgdm_3.8.3-2_amd64.deb (--unpack) 时发生错误:\n" " 试图覆写 '/usr/bin/gdmflexiserver',也同时在软件包 gdm3 3.4.1-9 内" msgid "In this case, if you think that replacing this file is not a significant risk to the stability of your system (which is usually the case), you can use the option --force-overwrite, which tells dpkg to ignore this error and overwrite the file." msgstr "在这种情况下,如果你认为文件替换该文件可能不会对系统的稳定性造成重大的风险(通常情况下),你可以使用--force-overwrite选项来告诉dpkg去忽略这个错误并且覆盖该文件。" #, fuzzy #| msgid "While there are many available --force-* options, only --force-overwrite is likely to be used regularly. These options only exist for exceptional situations, and it is better to leave them alone as much as possible in order to respect the rules imposed by the packaging mechanism. Do not forget, these rules ensure the consistency and stability of your system." msgid "While there are many available --force-* options, only --force-overwrite is likely to be used regularly. These options only exist for exceptional situations, rarely encountered in Debian Stable. It is better to leave them alone as much as possible in order to respect the rules imposed by the packaging mechanism. Do not forget, these rules ensure the consistency and stability of your system." msgstr "当然这里有非常多的--force-*选项,只是--force-overwrite使用的非常频繁。这些选项仅存在特殊的情况下,所以最好是不去使用它们以便遵守软件包的管理机制。不要忘了,这些管理规则可以确保你的系统的稳定性和一致性。" msgid "CAUTION Effective use of --force-*" msgstr "注意 使用--force-*的影响" msgid "broken dependency" msgstr "破坏依赖" msgid "If you are not careful, the use of an option --force-* can lead to a system where the APT family of commands will refuse to function. In effect, some of these options allow installation of a package when a dependency is not met, or when there is a conflict. The result is an inconsistent system from the point of view of dependencies, and the APT commands will refuse to execute any action except those that will bring the system back to a consistent state (this often consists of installing the missing dependency or removing a problematic package). This often results in a message like this one, obtained after installing a new version of rdesktop while ignoring its dependency on a newer version of the libc6:" msgstr "若不小心使用 --force-* 的选项,可能造成 APT 命令家族拒绝运作的困境。在相依性不足或冲突的情况下,使用部分选项后,仍可安装该等软件包。结果就是相依性不足的不一致系统,APT 命令将拒绝运行任何工作,直到系统恢复一致 (通常包括安装遗失的相依软件包或移除问题软件包)。通常出现以下的消息,安装新版 rdesktop 时忽略其对新版 libc6 的相依性:" msgid "" "# apt full-upgrade\n" "[...]\n" "You might want to run 'apt-get -f install' to correct these.\n" "The following packages have unmet dependencies:\n" " rdesktop: Depends: libc6 (>= 2.5) but 2.3.6.ds1-13etch7 is installed\n" "E: Unmet dependencies. Try using -f." msgstr "" "# apt full-upgrade\n" "[...]\n" "You might want to run 'apt-get -f install' to correct these.\n" "The following packages have unmet dependencies:\n" " rdesktop: Depends: libc6 (>= 2.5) but 2.3.6.ds1-13etch7 is installed\n" "E: Unmet dependencies. Try using -f." msgid "A courageous administrator who is certain of the correctness of their analysis may choose to ignore a dependency or conflict and use the corresponding --force-* option. In this case, if they want to be able to continue to use apt or aptitude, they must edit /var/lib/dpkg/status to delete/modify the dependency, or conflict, that they chose to override." msgstr "确信其分析结果的勇敢管理者,可能选择忽略使用 --force-* 选项时发生的相依性问题与冲突。结果是,想要继续使用 apt 或 aptitude 的话,他们必须先编辑 /var/lib/dpkg/status 以删除/修改相依性问题或冲突。" msgid "This manipulation is an ugly hack, and should never be used, except in the most extreme case of necessity. Quite frequently, a more fitting solution is to recompile the package that is causing the problem (see ) or use a new version (potentially corrected) from a repository such as the stable-backports one (see )." msgstr "这是一种丑陋的黑客行为,除了在极为必要的情况,否则不该使用。非常常见的,更合适的解决方案是重新编译产生问题的软件包(请参见 ),或使用来自如 stable-backports 那样的仓库中的新版本(可能已修复该问题)的软件包(请参见 )。" #, fuzzy #| msgid "removing a package" msgid "removal of a package" msgstr "删除掉一个软件包" #, fuzzy #| msgid "dpkginternal operation" msgid "dpkg--remove" msgstr "dpkg内部运作" #, fuzzy #| msgid "dpkginternal operation" msgid "dpkg--purge" msgstr "dpkg内部运作" msgid "Invoking dpkg with the -r or --remove option, followed by the name of a package, removes that package. This removal is, however, not complete: all of the configuration files, maintainer scripts, log files (system logs) and other user data handled by the package remain. That way disabling the program is easily done by uninstalling it, and it is still possible to quickly reinstall it with the same configuration. To completely remove everything associated with a package, use the -P or --purge option, followed by the package name." msgstr "使用 dpkg 加上 -r 或 --remove 选项,再加上软件包名称,就可移除该软件包。然而,这种方式的移除并不完整:仍保留了所有的配置文件、维护脚本、日志文件(系统日志)及由软件包而处理的其他用户数据。停用程序的方式是卸载它,并且仍可以用相同的配置快速地重新安装回来。要完全移除与软件包相关的所有内容,应使用 -P 或 --purge 选项,再加上软件包的名称。" msgid "Removal and purge of the debian-cd package" msgstr "移除与清除 debian-cd 软件包" #, fuzzy #| msgid "" #| "# dpkg -r debian-cd\n" #| "(Reading database ... 15915 files and directories currently installed.)\n" #| "Removing debian-cd (3.1.25) ...\n" #| "# dpkg -P debian-cd\n" #| "(Reading database ... 15394 files and directories currently installed.)\n" #| "Purging configuration files for debian-cd (3.1.25) ...\n" #| "" msgid "" "# dpkg -r debian-cd\n" "(Reading database ... 228705 files and directories currently installed.)\n" "Removing debian-cd (3.1.35) ...\n" "# dpkg -P debian-cd\n" "(Reading database ... 228049 files and directories currently installed.)\n" "Purging configuration files for debian-cd (3.1.35) ...\n" "" msgstr "" "# dpkg -r debian-cd\n" "(Reading database ... 15915 files and directories currently installed.)\n" "Removing debian-cd (3.1.25) ...\n" "# dpkg -P debian-cd\n" "(Reading database ... 15394 files and directories currently installed.)\n" "Purging configuration files for debian-cd (3.1.25) ...\n" "" msgid "Querying dpkg's Database and Inspecting .deb Files" msgstr "查询 dpkg 的数据库,并检查 .deb 文件" msgid "packagestatus" msgstr "软件包状态" msgid "packagefile list" msgstr "软件包文件列表" msgid "packagecontent inspection" msgstr "软件包内容检查" #, fuzzy #| msgid "dpkginternal operation" msgid "dpkg--contents" msgstr "dpkg内部运作" #, fuzzy #| msgid "dpkginternal operation" msgid "dpkg--info" msgstr "dpkg内部运作" #, fuzzy #| msgid "dpkginternal operation" msgid "dpkg--list" msgstr "dpkg内部运作" #, fuzzy #| msgid "dpkginternal operation" msgid "dpkg--listfiles" msgstr "dpkg内部运作" #, fuzzy #| msgid "dpkginternal operation" msgid "dpkg--search" msgstr "dpkg内部运作" #, fuzzy #| msgid "dpkginternal operation" msgid "dpkg--status" msgstr "dpkg内部运作" msgid "BACK TO BASICS Option syntax" msgstr "回到基础 选项的语法" msgid "Most options are available in a “long” version (one or more relevant words, preceded by a double dash) and a “short” version (a single letter, often the initial of one word from the long version, and preceded by a single dash). This convention is so common that it is a POSIX standard." msgstr "“长” 版 (一个或多个字,前置两个链接号) 与 “短” 版 (一个字母,通常是长版字的第一个字母,前置一个链接号) 软件包都有该等选项。这是 POSIX 标准常见的用法。" msgid "Before concluding this section, we will study dpkg options that query the internal database in order to obtain information. Giving first the long options and then corresponding short options (that will evidently take the same possible arguments) we cite" msgstr "" msgid "--listfiles package (or -L), which lists the files installed by this package;" msgstr "" msgid "--search file (or -S), which finds the package(s) containing the file;" msgstr "" msgid "--status package (or -s), which displays the headers of an installed package;" msgstr "" msgid "--list (or -l), which displays the list of packages known to the system and their installation status;" msgstr "" msgid "--contents file.deb (or -c), which lists the files in the Debian package specified;" msgstr "" msgid "--info file.deb (or -I), which displays the headers of this Debian package." msgstr "" msgid "CAUTION dpkg --search and merged /usr" msgstr "警告 dpkg --search 和 /usr 合并问题" msgid "merged /usr" msgstr "合并/usr" msgid "/usr" msgstr "/usr" msgid "For various reasons, Debian now installs by default a few top-level directories as symlinks to their counterparts below /usr. For instance, /bin, /sbin and /lib are now symlinks to, respectively, /usr/bin, /usr/sbin and /usr/lib." msgstr "由于各种原因,Debian现在默认将一些顶层文件夹作为符号链接安装到/usr下面的相应位置。例如,/bin、/sbin和/lib现在是/usr/bin、/usr/sbin和/usr/lib各自的符号链接。" msgid "While this does provide desirable benefits, it can also be a source of confusion. For example, when you query dpkg which package is owning a given file, it will only be able to answer when you ask for its original path:" msgstr "这提供了所需的优点,但也会导致混淆。例如,当查询dpkg时,这个软件包拥有一个给定文件,当你查询其原始路径时,他只能回答:" msgid "" "\n" "$ dpkg --search /bin/mount\n" "mount: /bin/mount\n" "$ dpkg --search /usr/bin/mount\n" "dpkg-query: no path found matching pattern /usr/bin/mount\n" "$ dpkg --search /bin/apt\n" "dpkg-query: no path found matching pattern /bin/apt\n" "$ dpkg --search /usr/bin/apt\n" "apt: /usr/bin/apt\n" " " msgstr "" "\n" "$ dpkg --search /bin/mount\n" "mount: /bin/mount\n" "$ dpkg --search /usr/bin/mount\n" "dpkg-query: no path found matching pattern /usr/bin/mount\n" "$ dpkg --search /bin/apt\n" "dpkg-query: no path found matching pattern /bin/apt\n" "$ dpkg --search /usr/bin/apt\n" "apt: /usr/bin/apt\n" " " msgid "This issue is currently tracked as bug #858331. There is also an ongoing discussion if the approach used so far is counterproductive. " msgstr "" msgid "Various queries with dpkg" msgstr "dpkg的各种查询" #, fuzzy #| msgid "" #| "\n" #| "$ dpkg -L base-passwd\n" #| "\n" #| "$ dpkg -S /bin/date\n" #| "coreutils: /bin/date\n" #| "$ dpkg -s coreutils\n" #| "\n" #| "Architecture: amd64\n" #| "Multi-Arch: foreign\n" #| "Version: 8.30-3\n" #| "Pre-Depends: libacl1 (>= 2.2.23), libattr1 (>= 1:2.4.44), libc6 (>= 2.28), libselinux1 (>= 2.1.13)\n" #| "Description: GNU core utilities\n" #| " This package contains the basic file, shell and text manipulation\n" #| " utilities which are expected to exist on every operating system.\n" #| " .\n" #| " Specifically, this package includes:\n" #| " arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp\n" #| " csplit cut date dd df dir dircolors dirname du echo env expand expr\n" #| " factor false flock fmt fold groups head hostid id install join link ln\n" #| " logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup nproc numfmt\n" #| " od paste pathchk pinky pr printenv printf ptx pwd readlink realpath rm\n" #| " rmdir runcon sha*sum seq shred sleep sort split stat stty sum sync tac\n" #| " tail tee test timeout touch tr true truncate tsort tty uname unexpand\n" #| " uniq unlink users vdir wc who whoami yes\n" #| "Homepage: http://gnu.org/software/coreutils]]>\n" #| "$ dpkg -l 'b*'\n" #| " (no description available)\n" #| "un backuppc (no description available)\n" #| "un baobab (no description available)\n" #| "un base (no description available)\n" #| "un base-config (no description available)\n" #| "ii base-files 11 amd64 Debian base system miscellaneous files\n" #| "ii base-passwd 3.5.46 amd64 Debian base system master password and group files\n" #| "ii bash 5.0-4 amd64 GNU Bourne Again SHell\n" #| "[..]]]>\n" #| "$ dpkg -c /var/cache/apt/archives/gnupg-utils_2.2.12-1_amd64.deb\n" #| "\n" #| "$ dpkg -I /var/cache/apt/archives/gnupg-utils_2.2.12-1_amd64.deb\n" #| "\n" #| " Installed-Size: 1845\n" #| " Depends: libassuan0 (>= 2.0.1), libbz2-1.0, libc6 (>= 2.25), libgcrypt20 (>= 1.8.0), libgpg-error0 (>= 1.26-2~), libksba8 (>= 1.3.4), libreadline7 (>= 6.0), zlib1g (>= 1:1.1.4)\n" #| " Recommends: gpg, gpg-agent, gpgconf, gpgsm\n" #| " Breaks: gnupg (<< 2.1.21-4), gnupg-agent (<< 2.1.21-4)\n" #| " Replaces: gnupg (<< 2.1.21-4), gnupg-agent (<< 2.1.21-4)\n" #| " Section: utils\n" #| " Priority: optional\n" #| " Multi-Arch: foreign\n" #| " Homepage: https://www.gnupg.org/\n" #| " Description: GNU privacy guard - utility programs\n" #| " GnuPG is GNU's tool for secure communication and data storage.\n" #| " .\n" #| " This package contains several useful utilities for manipulating\n" #| " OpenPGP data and other related cryptographic elements. It includes:\n" #| " .\n" #| " * addgnupghome -- create .gnupg home directories\n" #| " * applygnupgdefaults -- run gpgconf --apply-defaults for all users\n" #| " * gpgcompose -- an experimental tool for constructing arbitrary\n" #| " sequences of OpenPGP packets (e.g. for testing)\n" #| " * gpgparsemail -- parse an e-mail message into annotated format\n" #| " * gpgsplit -- split a sequence of OpenPGP packets into files\n" #| " * gpgtar -- encrypt or sign files in an archive\n" #| " * kbxutil -- list, export, import Keybox data\n" #| " * lspgpot -- convert PGP ownertrust values to GnuPG\n" #| " * migrate-pubring-from-classic-gpg -- use only \"modern\" formats\n" #| " * symcryptrun -- use simple symmetric encryption tool in GnuPG framework\n" #| " * watchgnupg -- watch socket-based logs\n" #| "[..]]]>" msgid "" "\n" "$ dpkg -L base-passwd\n" "\n" "$ dpkg -S /bin/date\n" "coreutils: /bin/date\n" "$ dpkg -s coreutils\n" "\n" "Architecture: amd64\n" "Multi-Arch: foreign\n" "Source: coreutils (8.32-4)\n" "Version: 8.32-4+b1\n" "Pre-Depends: libacl1 (>= 2.2.23), libattr1 (>= 1:2.4.44), libc6 (>= 2.28), libgmp10, libselinux1 (>= 3.1~)\n" "Description: GNU core utilities\n" " This package contains the basic file, shell and text manipulation\n" " utilities which are expected to exist on every operating system.\n" " .\n" " Specifically, this package includes:\n" " arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp\n" " csplit cut date dd df dir dircolors dirname du echo env expand expr\n" " factor false flock fmt fold groups head hostid id install join link ln\n" " logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup nproc numfmt\n" " od paste pathchk pinky pr printenv printf ptx pwd readlink realpath rm\n" " rmdir runcon sha*sum seq shred sleep sort split stat stty sum sync tac\n" " tail tee test timeout touch tr true truncate tsort tty uname unexpand\n" " uniq unlink users vdir wc who whoami yes\n" "Homepage: http://gnu.org/software/coreutils]]>\n" "$ dpkg -l 'b*'\n" " (no description available)\n" "un backuppc (no description available)\n" "ii baloo-kf5 5.78.0-3 amd64 framework for searching and manag>\n" "un balsa (no description available)\n" "ii baobab 3.38.0-1 amd64 GNOME disk usage analyzer\n" "un base (no description available)\n" "un base-config (no description available)\n" "ii base-files 11.1 amd64 Debian base system miscellaneous >\n" "ii base-passwd 3.5.51 amd64 Debian base system master passwor>\n" "ii bash 5.1-2+b1 amd64 GNU Bourne Again SHell\n" "[..]]]>\n" "$ dpkg -c /var/cache/apt/archives/bash_5.1-3+b1_amd64.deb\n" "\n" "$ dpkg -I /var/cache/apt/archives/bash_5.1-3+b1_amd64.deb\n" "\n" " Installed-Size: 6470\n" " Pre-Depends: libc6 (>= 2.25), libtinfo6 (>= 6)\n" " Depends: base-files (>= 2.1.12), debianutils (>= 2.15)\n" " Recommends: bash-completion (>= 20060301-0)\n" " Suggests: bash-doc\n" " Conflicts: bash-completion (<< 20060301-0)\n" " Replaces: bash-completion (<< 20060301-0), bash-doc (<= 2.05-1)\n" " Section: shells\n" " Priority: required\n" " Multi-Arch: foreign\n" " Homepage: http://tiswww.case.edu/php/chet/bash/bashtop.html\n" " Description: GNU Bourne Again SHell\n" " Bash is an sh-compatible command language interpreter that executes\n" " commands read from the standard input or from a file. Bash also\n" " incorporates useful features from the Korn and C shells (ksh and csh).\n" " .\n" " Bash is ultimately intended to be a conformant implementation of the\n" " IEEE POSIX Shell and Tools specification (IEEE Working Group 1003.2).\n" " .\n" " The Programmable Completion Code, by Ian Macdonald, is now found in\n" " the bash-completion package.]]>\n" "\n" " " msgstr "" "\n" "$ dpkg -L base-passwd\n" "\n" "$ dpkg -S /bin/date\n" "coreutils: /bin/date\n" "$ dpkg -s coreutils\n" "\n" "Architecture: amd64\n" "Multi-Arch: foreign\n" "Version: 8.30-3\n" "Pre-Depends: libacl1 (>= 2.2.23), libattr1 (>= 1:2.4.44), libc6 (>= 2.28), libselinux1 (>= 2.1.13)\n" "Description: GNU core utilities\n" " This package contains the basic file, shell and text manipulation\n" " utilities which are expected to exist on every operating system.\n" " .\n" " Specifically, this package includes:\n" " arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp\n" " csplit cut date dd df dir dircolors dirname du echo env expand expr\n" " factor false flock fmt fold groups head hostid id install join link ln\n" " logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup nproc numfmt\n" " od paste pathchk pinky pr printenv printf ptx pwd readlink realpath rm\n" " rmdir runcon sha*sum seq shred sleep sort split stat stty sum sync tac\n" " tail tee test timeout touch tr true truncate tsort tty uname unexpand\n" " uniq unlink users vdir wc who whoami yes\n" "Homepage: http://gnu.org/software/coreutils]]>\n" "$ dpkg -l 'b*'\n" " (no description available)\n" "un backuppc (no description available)\n" "un baobab (no description available)\n" "un base (no description available)\n" "un base-config (no description available)\n" "ii base-files 11 amd64 Debian base system miscellaneous files\n" "ii base-passwd 3.5.46 amd64 Debian base system master password and group files\n" "ii bash 5.0-4 amd64 GNU Bourne Again SHell\n" "[..]]]>\n" "$ dpkg -c /var/cache/apt/archives/gnupg-utils_2.2.12-1_amd64.deb\n" "\n" "$ dpkg -I /var/cache/apt/archives/gnupg-utils_2.2.12-1_amd64.deb\n" "\n" " Installed-Size: 1845\n" " Depends: libassuan0 (>= 2.0.1), libbz2-1.0, libc6 (>= 2.25), libgcrypt20 (>= 1.8.0), libgpg-error0 (>= 1.26-2~), libksba8 (>= 1.3.4), libreadline7 (>= 6.0), zlib1g (>= 1:1.1.4)\n" " Recommends: gpg, gpg-agent, gpgconf, gpgsm\n" " Breaks: gnupg (<< 2.1.21-4), gnupg-agent (<< 2.1.21-4)\n" " Replaces: gnupg (<< 2.1.21-4), gnupg-agent (<< 2.1.21-4)\n" " Section: utils\n" " Priority: optional\n" " Multi-Arch: foreign\n" " Homepage: https://www.gnupg.org/\n" " Description: GNU privacy guard - utility programs\n" " GnuPG is GNU's tool for secure communication and data storage.\n" " .\n" " This package contains several useful utilities for manipulating\n" " OpenPGP data and other related cryptographic elements. It includes:\n" " .\n" " * addgnupghome -- create .gnupg home directories\n" " * applygnupgdefaults -- run gpgconf --apply-defaults for all users\n" " * gpgcompose -- an experimental tool for constructing arbitrary\n" " sequences of OpenPGP packets (e.g. for testing)\n" " * gpgparsemail -- parse an e-mail message into annotated format\n" " * gpgsplit -- split a sequence of OpenPGP packets into files\n" " * gpgtar -- encrypt or sign files in an archive\n" " * kbxutil -- list, export, import Keybox data\n" " * lspgpot -- convert PGP ownertrust values to GnuPG\n" " * migrate-pubring-from-classic-gpg -- use only \"modern\" formats\n" " * symcryptrun -- use simple symmetric encryption tool in GnuPG framework\n" " * watchgnupg -- watch socket-based logs\n" "[..]]]>" msgid "GOING FURTHER Comparison of versions" msgstr "更进一步 版本的对比" msgid "version, comparison" msgstr "版本,对比" msgid "comparison of versions" msgstr "对比版本" msgid "packageversion, comparison" msgstr "软件包版本,比较" #, fuzzy #| msgid "dpkginternal operation" msgid "dpkg--compare-versions" msgstr "dpkg内部运作" msgid "Since dpkg is the program for handling Debian packages, it also provides the reference implementation of the logic of comparing version numbers. This is why it has a --compare-versions option, usable by external programs (especially configuration scripts executed by dpkg itself). This option requires three parameters: a version number, a comparison operator, and a second version number. The different possible operators are lt (strictly less than), le (less than or equal to), eq (equal), ne (not equal), ge (greater than or equal to), and gt (strictly greater than). If the comparison is correct, dpkg returns 0 (success); if not, it gives a non-zero return value (indicating failure)." msgstr "因为 dpkg 是处理 Debian 软件包的程序,它也能够逻辑地比较版本编号。所以有 --compare-versions 选项,以外部程序使用它 (尤其是被 dpkg 本身运行的配置脚本)。这个选项需要三个参数:版本编号、比较操作数、以及第二个版本编号。可能的操作数为 lt (小于)、le (大于或等于)、eq (等于)、ne (不等于)、ge (大于或等于)、以及 gt (大于)。若比较结果正确,dpkg 送回 0 (成功);若不正确,则送回 0 以外的数值 (表示失败)。" msgid "" "\n" "$ dpkg --compare-versions 1.2-3 gt 1.1-4\n" "$ echo $?\n" "0\n" "$ dpkg --compare-versions 1.2-3 lt 1.1-4\n" "$ echo $?\n" "1\n" "$ dpkg --compare-versions 2.6.0pre3-1 lt 2.6.0-1\n" "$ echo $?\n" "1" msgstr "" "\n" "$ dpkg --compare-versions 1.2-3 gt 1.1-4\n" "$ echo $?\n" "0\n" "$ dpkg --compare-versions 1.2-3 lt 1.1-4\n" "$ echo $?\n" "1\n" "$ dpkg --compare-versions 2.6.0pre3-1 lt 2.6.0-1\n" "$ echo $?\n" "1" msgid "Note the unexpected failure of the last comparison: for dpkg, pre, usually denoting a pre-release, has no particular meaning, and this program compares the alphabetic characters in the same way as the numbers (a < b < c ...), in alphabetical order. This is why it considers “0pre3” to be greater than “0”. When we want a package's version number to indicate that it is a pre-release, we use the tilde character, “~”:" msgstr "注意前例最后一个比较的失败:dpkg、pre,表示为预发布版,没有特别的意义,此程序以比较数字版本 (a < b < c ...) 相同的方式比较字顺版本。所以,“0pre3” 大于 “0”。我们以毛毛虫 “~” 表示该软件包的预发布版:" #, fuzzy #| msgid "Breaks, header field" msgid "~" msgstr "中断,标头字段" #, fuzzy #| msgid "packagesuggestions" msgid "tilde, usagein versions" msgstr "软件包建议" msgid "" "\n" "$ dpkg --compare-versions 2.6.0~pre3-1 lt 2.6.0-1\n" "$ echo $?\n" "0" msgstr "" "\n" "$ dpkg --compare-versions 2.6.0~pre3-1 lt 2.6.0-1\n" "$ echo $?\n" "0" msgid "dpkg's Log File" msgstr "dpkg的日志文件" msgid "dpkg/var/log/dpkg.log" msgstr "dpkg/var/log/dpkg.log" #, fuzzy #| msgid "dpkg/var/log/dpkg.log" msgid "/var/var/log/dpkg.log" msgstr "dpkg/var/log/dpkg.log" msgid "dpkg keeps a log of all of its actions in /var/log/dpkg.log. This log is extremely verbose, since it details every one of the stages through which packages handled by dpkg go. In addition to offering a way to track dpkg's behavior, it helps, above all, to keep a history of the development of the system: one can find the exact moment when each package has been installed or updated, and this information can be extremely useful in understanding a recent change in behavior. Additionally, all versions being recorded, it is easy to cross-check the information with the changelog.Debian.gz for packages in question, or even with online bug reports." msgstr "dpkg 把所有的交易记录存在名为 /var/log/dpkg.log 的日志档。这个日志档的内容颇为详尽且啰唆,记录软件包被 dpkg 处理的每个进程。追踪 dpkg 的每个作为之外,日志档还保留系统发展的记录:可以覆查每个软件包的安装与移除步骤,对于了解最近的变动极有帮助。此外,还记录所有的版本,可以交互检查 changelog.Debian.gz 的内容,查看有问题的软件包或在线的错误报告。" msgid "Multi-Arch Support" msgstr "多架构支持" msgid "Multi-Arch" msgstr "多架构" msgid "architecturemulti-arch support" msgstr "架构多架构支持" #, fuzzy #| msgid "dpkginternal operation" msgid "dpkg--print-architecture" msgstr "dpkg内部运作" #, fuzzy #| msgid "controlDepends" msgid "controlArchitecture" msgstr "control依赖" #, fuzzy #| msgid "dpkginternal operation" msgid "dpkgmulti-arch support" msgstr "dpkg内部运作" msgid "All Debian packages have an Architecture field in their control information. This field can contain either “all” (for packages that are architecture independent) or the name of the architecture that it targets (like “amd64”, “armhf”, …). In the latter case, by default, dpkg will only accept to install the package if its architecture matches the host's architecture as returned by dpkg --print-architecture." msgstr "所有的 Debian 包在它们的管控信息中都有一个架构 字段。该字段可包含:“全部“(对与架构无关的包),或者它的目标架构名称(如“amd64”, “armhf”,…)。对于后者,默认情况下,dpkg将只能接受安装与主机架构匹配的软件包,主机架构可通过dpkg --print-architecture来获得。" msgid "This restriction ensures that users do not end up with binaries compiled for an incorrect architecture. Everything would be perfect except that (some) computers can run binaries for multiple architectures, either natively (an “amd64“ system can run “i386” binaries) or through emulators." msgstr "该限制确保用户不会因为错误架构编译的二进制文件而挂掉。一切都很完美,除了(某些)计算机可以运行多架构的二进制文件,或者以本地方式(“amd64“系统可运行”i386“二进制文件)运行,或者以模拟器运行。" msgid "Enabling Multi-Arch" msgstr "启用多架构" msgid "dpkg's multi-arch support allows users to define “foreign architectures” that can be installed on the current system. This is simply done with dpkg --add-architecture like in the example below. There is a corresponding dpkg --remove-architecture to drop support of a foreign architecture, but it can only be used when no packages of this architecture remain." msgstr "dpkg的多架构支持允许用户定义可安装于当前系统的“异质架构” 。这可以方便的通过 dpkg --add-architecture完成,如下例。有一相应的 dpkg --remove-architecture 以放弃对异质架构的支持,但仅可用于未余留该架构软件包的情况。" #, fuzzy #| msgid "" #| "\n" #| "# dpkg --print-architecture\n" #| "amd64\n" #| "# dpkg --print-foreign-architectures\n" #| "# dpkg -i gcc-8-base_8.3.0-6_armhf.deb\n" #| "dpkg: error processing archive gcc-8-base_8.3.0-6_armhf.deb (--install):\n" #| " package architecture (armhf) does not match system (amd64)\n" #| "Errors were encountered while processing:\n" #| " gcc-8-base_8.3.0-6_armhf.deb\n" #| "# dpkg --add-architecture armhf\n" #| "# dpkg --add-architecture armel\n" #| "# dpkg --print-foreign-architectures\n" #| "armhf\n" #| "armel\n" #| "# dpkg -i gcc-8-base_8.3.0-6_armhf.deb\n" #| "(Reading database ... 14319 files and directories currently installed.)\n" #| "Preparing to unpack gcc-8-base_8.3.0-6_armhf.deb ...\n" #| "Unpacking gcc-8-base:armhf (8.3.0-6) ...\n" #| "Setting up gcc-8-base:armhf (8.3.0-6) ...\n" #| "# dpkg --remove-architecture armhf\n" #| "dpkg: error: cannot remove architecture 'armhf' currently in use by the database\n" #| "# dpkg --remove-architecture armel\n" #| "# dpkg --print-foreign-architectures\n" #| "armhf" msgid "" "\n" "# dpkg --print-architecture\n" "amd64\n" "# dpkg --print-foreign-architectures\n" "# dpkg -i gcc-9-base_9.3.0-22_armhf.deb\n" "dpkg: error processing archive gcc-9-base_9.3.0-22_armhf.deb (--install):\n" " package architecture (armhf) does not match system (amd64)\n" "Errors were encountered while processing:\n" " gcc-9-base_9.3.0-22_armhf.deb\n" "# dpkg --add-architecture armhf\n" "# dpkg --add-architecture armel\n" "# dpkg --print-foreign-architectures\n" "armhf\n" "armel\n" "# dpkg -i gcc-9-base_9.3.0-22_armhf.deb\n" "(Reading database ... 456367 files and directories currently installed.)\n" "Preparing to unpack gcc-9-base_9.3.0-22_armhf.deb ...\n" "Unpacking gcc-9-base:armhf (9.3.0-22) ...\n" "Setting up gcc-9-base:armhf (9.3.0-22) ...\n" "# dpkg --remove-architecture armhf\n" "dpkg: error: cannot remove architecture 'armhf' currently in use by the database\n" "# dpkg --remove-architecture armel\n" "# dpkg --print-foreign-architectures\n" "armhf" msgstr "" "\n" "# dpkg --print-architecture\n" "amd64\n" "# dpkg --print-foreign-architectures\n" "# dpkg -i gcc-8-base_8.3.0-6_armhf.deb\n" "dpkg: error processing archive gcc-8-base_8.3.0-6_armhf.deb (--install):\n" " package architecture (armhf) does not match system (amd64)\n" "Errors were encountered while processing:\n" " gcc-8-base_8.3.0-6_armhf.deb\n" "# dpkg --add-architecture armhf\n" "# dpkg --add-architecture armel\n" "# dpkg --print-foreign-architectures\n" "armhf\n" "armel\n" "# dpkg -i gcc-8-base_8.3.0-6_armhf.deb\n" "(Reading database ... 14319 files and directories currently installed.)\n" "Preparing to unpack gcc-8-base_8.3.0-6_armhf.deb ...\n" "Unpacking gcc-8-base:armhf (8.3.0-6) ...\n" "Setting up gcc-8-base:armhf (8.3.0-6) ...\n" "# dpkg --remove-architecture armhf\n" "dpkg: error: cannot remove architecture 'armhf' currently in use by the database\n" "# dpkg --remove-architecture armel\n" "# dpkg --print-foreign-architectures\n" "armhf" msgid "NOTE APT's multi-arch support" msgstr "备注 APT 的多架构支持" #, fuzzy #| msgid "architecturemulti-arch support" msgid "APTmulti-arch support" msgstr "架构多架构支持" msgid "APT will automatically detect when dpkg has been configured to support foreign architectures and will start downloading the corresponding Packages files during its update process." msgstr "当已经配置 dpkg 来支持异质架构时,APT将会自动检测,并在更新过程中开始下载相应的 Package(软件包)文件。" msgid "Foreign packages can then be installed with apt install package:architecture." msgstr "异质软件包可通过 apt install 软件包: 架构安装。" msgid "IN PRACTICE Using proprietary i386 binaries on amd64" msgstr "实例 在 amd64 架构上使用专有 i386 二进制文件" msgid "There are multiple use cases for multi-arch, but the most popular ones are the possibility to execute (sometimes proprietary) 32 bit binaries (i386) on 64 bit systems (amd64), and the possibility to cross-compile software for a platform or an architecture different from the host one." msgstr "对于多架构有多个用例,但最常见的是在 64 位系统上(amd64)上执行(有时是专有的) 32 位二进制文件(i386)的可能性,以及对与托管的主机不同的平台或架构来交叉编译软件的可能性。" msgid "Multi-Arch Related Changes" msgstr "多架构相关的变更" msgid "To make multi-arch actually useful and usable, libraries had to be repackaged and moved to an architecture-specific directory so that multiple copies (targeting different architectures) can be installed alongside. Such updated packages contain the “Multi-Arch: same” header field to tell the packaging system that the various architectures of the package can be safely co-installed (and that those packages can only satisfy dependencies of packages of the same architecture). The most important libraries have been converted since the introduction of multi-arch in Debian 7 Wheezy, but there are many libraries that will likely never be converted unless someone specifically requests it (through a bug report for example)." msgstr "要让多架构真正实用和可用,库文件必须要重新打包,并移动到于特定架构的目录中,以便可以并存安装多个副本(针对不同架构)。这样的更新软件包中包含“Multi-Arch: same”标头字段,以告诉打包系统此软件包的不同架构可以安全地并存安装(而且这些软件包仅能满足相同架构的软件包的依赖)。自从 Debian 7 Wheezy 引入多重架构后,最重要的库已经转换了。但也有很多库恐怕永远不会被转换,除非有人特别请求(例如通过缺陷报告)。" #, fuzzy #| msgid "" #| "$ dpkg -s gcc-8-base\n" #| "dpkg-query: error: --status needs a valid package name but 'gcc-8-base' is not: ambiguous package name 'gcc-8-base' with more than one installed instance\n" #| "\n" #| "Use --help for help about querying packages.\n" #| "$ dpkg -s gcc-8-base:amd64 gcc-8-base:armhf | grep ^Multi\n" #| "Multi-Arch: same\n" #| "Multi-Arch: same\n" #| "$ dpkg -L libgcc1:amd64 |grep .so\n" #| "/lib/x86_64-linux-gnu/libgcc_s.so.1\n" #| "$ dpkg -S /usr/share/doc/gcc-8-base/copyright\n" #| "gcc-8-base:amd64, gcc-8-base:armhf: /usr/share/doc/gcc-8-base/copyright\n" #| "" msgid "" "$ dpkg -s gcc-9-base\n" "dpkg-query: error: --status needs a valid package name but 'gcc-9-base' is not: ambiguous package name 'gcc-9-base' with more than one installed instance\n" "\n" "Use --help for help about querying packages.\n" "$ dpkg -s gcc-9-base:amd64 gcc-9-base:armhf | grep ^Multi\n" "Multi-Arch: same\n" "Multi-Arch: same\n" "$ dpkg -L libgcc-s1:amd64 |grep .so\n" "/lib/x86_64-linux-gnu/libgcc_s.so.1\n" "$ dpkg -S /usr/share/doc/gcc-9-base/copyright\n" "gcc-9-base:amd64, gcc-9-base:armhf: /usr/share/doc/gcc-9-base/copyright\n" "" msgstr "" "$ dpkg -s gcc-8-base\n" "dpkg-query: error: --status needs a valid package name but 'gcc-8-base' is not: ambiguous package name 'gcc-8-base' with more than one installed instance\n" "\n" "Use --help for help about querying packages.\n" "$ dpkg -s gcc-8-base:amd64 gcc-8-base:armhf | grep ^Multi\n" "Multi-Arch: same\n" "Multi-Arch: same\n" "$ dpkg -L libgcc1:amd64 |grep .so\n" "/lib/x86_64-linux-gnu/libgcc_s.so.1\n" "$ dpkg -S /usr/share/doc/gcc-8-base/copyright\n" "gcc-8-base:amd64, gcc-8-base:armhf: /usr/share/doc/gcc-8-base/copyright\n" "" msgid "It is worth noting that Multi-Arch: same packages must have their names qualified with their architecture to be unambiguously identifiable. They also have the possibility to share files with other instances of the same package; dpkg ensures that all packages have bit-for-bit identical files when they are shared. Last but not least, all instances of a package must have the same version. They must thus be upgraded together." msgstr "值得注意的是,Multi-Arch: same软件包需具备能够明晰识别架构的名称。它们也能够与相同包的其他实例共享文件;dpkg确保所有的包在共享时具有逐位对应识别的文件。最后但并非最不重要的,一个包的所有实例必须为相同版本。它们必须同时升级。" msgid "Multi-Arch support also brings some interesting challenges in the way dependencies are handled. Satisfying a dependency requires either a package marked “Multi-Arch: foreign” or a package whose architecture matches the one of the package declaring the dependency (in this dependency resolution process, architecture-independent packages are assumed to be of the same architecture than the host). A dependency can also be weakened to allow any architecture to fulfill it, with the package:any syntax, but foreign packages can only satisfy such a dependency if they are marked “Multi-Arch: allowed”." msgstr "多架构支持也带来了在依赖处理方式上的一些有趣的挑战。要满足依赖,需要:或者有Multi-Arch: foreign标识的软件包,或者架构上能匹配已声明依赖的软件包(在该依赖方案处理中,架构无关包假定为同样架构,而非主机架构)。通过 软件包 :any语法,依赖可以被弱化,以便允许任意架构能够满足依赖,但异质软件包仅能满足如下依赖:有“ Multi-Arch: allowed ”标识的依赖。" msgid "Coexistence with Other Packaging Systems" msgstr "与其它软件包共存" #, fuzzy #| msgid "CPANComprehensive Perl Archive Network" msgid "RPMRPM Package Manager" msgstr "CPANComprehensive Perl Archive Network" #, fuzzy #| msgid "Red Hat Package Manager" msgid "Red Hat Package ManagerRPM Package Manager" msgstr "红帽的软件包管理" #, fuzzy #| msgid "Red Hat Package Manager" msgid "RPM Package Manager" msgstr "红帽的软件包管理" msgid "alien" msgstr "alien" msgid "Debian packages are not the only software packages used in the free software world. The main competitor is the RPM format of the Red Hat Linux distribution and its many derivatives. Red Hat is a very popular, commercial distribution. It is thus common for software provided by third parties to be offered as RPM packages rather than Debian." msgstr "Debian 包格式并非唯一用于自由软件领域的软件包格式。主要竞争者是红帽 Linux 发行版的 RPM 格式以及其衍生格式。红帽是一个非常流行的商业化发行版。对于来自第三方的软件,常以 RPM 格式软件包提供,而非 Debian 格式。" msgid "In this case, you should know that the program rpm, which handles RPM packages, is available as a Debian package, so it is possible to use this package format on Debian. Care should be taken, however, to limit these manipulations to extract the information from a package or to verify its integrity. It is, in truth, unreasonable to use rpm to install an RPM on a Debian system; RPM uses its own database, separate from those of native software (such as dpkg). This is why it is not possible to ensure a stable coexistence of two packaging systems." msgstr "这个情况下,你应该知道rpm程序是如何处理RPM软件包的,这种格式在Debian软件包中也可用。需要谨慎的使用,尽管如何,这些操作会限制从一个软件包中解压并且提取出信息以验证其完整性。实际上,不应该在Debian系统中使用rpm来安装一个RPM软件包;RPM使用了它自己的数据库以便和Debian的软件中分离(比如dpkg)。这也就是为什么不可能确保两个包管理系统共存在一个系统中,而这个系统还能保持稳定。" msgid "On the other hand, the alien utility can convert RPM packages into Debian packages, and vice versa." msgstr "另一方面,alien 可以把RPM软件包转换成Debian软件包,反之亦然。" msgid "COMMUNITY Encouraging the adoption of .deb" msgstr "社区 鼓励.deb的使用" #, fuzzy #| msgid "If you regularly use the alien program to install RPM packages coming from one of your providers, do not hesitate to write to them and amicably express your strong preference for the .deb format. Note that the format of the package is not everything: a .deb package built with alien or prepared for a version of Debian different than that which you use, or even for a derivative distribution like Ubuntu, would probably not offer the same level of quality and integration as a package specifically developed for Debian Buster." msgid "If you regularly use the alien program to install RPM packages coming from one of your providers, do not hesitate to write to them and amicably express your strong preference for the .deb format. Note that the format of the package is not everything: a .deb package built with alien or prepared for a version of Debian different than that which you use, or even for a derivative distribution like Ubuntu, would probably not offer the same level of quality and integration as a package specifically developed for Debian Bullseye." msgstr "如果规律地使用 alien 程序来安装来自自己供应商的 RPM 软件包,那么应立刻友好地向他们表达对 .deb 格式的强烈倾向。软件包的格式并不是全部:.deb 软件包以 alien 来创建,或者为不同于您所使用的 Debian 来准本,或者甚至用于类衍生版,如 Ubuntu,这些软件包可能不能提供专为 Debian Buster 所开发的软件包那样相同水平的质量和集成度。" msgid "" "\n" "$ fakeroot alien --to-deb phpMyAdmin-5.1.1-2.fc35.noarch.rpm\n" "[..]\n" "Warning: Skipping conversion of scripts in package phpMyAdmin: postinst\n" "Warning: Use the --scripts parameter to include the scripts.\n" "[..]\n" "phpmyadmin_5.1.1-3_all.deb generated\n" "$ ls -sh phpmyadmin_5.1.1-3_all.deb\n" " 6,0M phpmyadmin_5.1.1-3_all.deb\n" "$ dpkg -c phpmyadmin_5.1.1-3_all.deb\n" "\n" "$ dpkg -I phpmyadmin_5.1.1-3_all.deb\n" "\n" " Installed-Size: 40693\n" " Section: alien\n" " Priority: extra\n" " Description: A web interface for MySQL and MariaDB\n" " phpMyAdmin is a tool written in PHP intended to handle the administration of\n" " MySQL over the Web. Currently it can create and drop databases,\n" " create/drop/alter tables, delete/edit/add fields, execute any SQL statement,\n" " manage keys on fields, manage privileges,export data into various formats and\n" " is available in 50 languages\n" " .\n" " (Converted from a rpm package by alien version 8.95.4.)]]>" msgstr "" msgid "You will find that this process is extremely simple. You must know, however, that the package generated does not have any dependency information, since the dependencies in the two packaging formats don't have systematic correspondence. The administrator must thus manually ensure that the converted package will function correctly, and this is why Debian packages thus generated should be avoided as much as possible. Fortunately, Debian has the largest collection of software packages of all distributions, and it is likely that whatever you seek is already in there." msgstr "此例极为简单。然而,您必须知道不需任何相依性信息就能产生软件包,两种软件包格式并不必然有系统性的关系。管理者必须以手动方式确保转换过的软件包能够正确运作,这就是 Debian 产生的软件包能够避免此种可能。幸运的是,Debian 拥有软件软件包各种版本的数据库,想要的都能找到。" msgid "Looking at the man page for the alien command, you will also note that this program handles other packaging formats, especially the one used by the Slackware distribution (it is made of a simple tar.gz archive)." msgstr "翻看alien命令的帮助页面,您会注意到该程序也可处理其他的包格式,特别是使用 Slackware 发行版所用的格式(它使用简单的tar.gz归档格式)。" msgid "The stability of the software deployed using the dpkg tool contributes to Debian's fame. The APT suite of tools, described in the following chapter, preserves this advantage, while relieving the administrator from managing the status of packages, a necessary but difficult task." msgstr "dpkg作为一个稳定的工具有助于提高Debian的名字。APT软件包工具,在下面的章节中会告诉我们,它不但保留了这一优势,同时减轻了管理员管理软件包这一必须但是艰难得任务的负担。" #~ msgid "RFC" #~ msgstr "RFC" #~ msgid "Depends, header fieldAPT" #~ msgstr "依赖,标头字段 APT" #~ msgid "APTcontrolDepends" #~ msgstr "APTcontrolDepends" #~ msgid "Recommends, header field" #~ msgstr "推荐,标头字段" #~ msgid "Suggests, header field" #~ msgstr "建议,标头字段" #~ msgid "APTcontrolRecommends" #~ msgstr "APTcontrol推荐" #~ msgid "APTcontrolSuggests" #~ msgstr "APTcontrol建议" #~ msgid "Enhances, header field" #~ msgstr "增强,标头字段" #~ msgid "APTcontrolEnhances" #~ msgstr "APTcontrol增强" #~ msgid "Pre-Depends, header field" #~ msgstr "预依赖, 标头字段" #~ msgid "APTcontrolPre-Depends" #~ msgstr "APTcontrol预依赖" #~ msgid "Conflicts, header field" #~ msgstr "冲突,标头字段" #~ msgid "APTcontrolConflicts" #~ msgstr "APTcontrol冲突" #~ msgid "APTcontrolBreaks" #~ msgstr "APTcontrol破坏" #~ msgid "Provides, header field" #~ msgstr "Provides,头字段" #~ msgid "APTcontrolProvides" #~ msgstr "APTcontrol提供" #~ msgid "Replaces, header field" #~ msgstr "替换,头字段" #~ msgid "APTcontrolReplaces" #~ msgstr "APTcontrol替换" #~ msgid "APTcontrolTag" #~ msgstr "APTcontrol标签" #~ msgid "/var/lib/dpkg/" #~ msgstr "/var/lib/dpkg" #~ msgid "Here is what happens during an installation (or an update):" #~ msgstr "这里告诉你,安装(或更新)的时候发生了什么:" #~ msgid "Here is what happens during a package removal:" #~ msgstr "这里是当移除一个软件包的时候发生了什么:" #~ msgid "filesconfiguration files" #~ msgstr "文件配置文件" #~ msgid "configurationfiles" #~ msgstr "配置文件" #~ msgid "sourcepackage" #~ msgstr "源码软件包" #~ msgid "dsc file" #~ msgstr "dsc 文件" #~ msgid "Build-Depends, header field" #~ msgstr "Build-Depends,头字段" #~ msgid "APT.dscBinary" #~ msgstr "APT.dscBinary" #~ msgid "Before concluding this section, we will study dpkg options that query the internal database in order to obtain information. Giving first the long options and then corresponding short options (that will evidently take the same possible arguments) we cite --listfiles package (or -L), which lists the files installed by this package; --search file (or -S), which finds the package(s) containing the file; --status package (or -s), which displays the headers of an installed package; --list (or -l), which displays the list of packages known to the system and their installation status; --contents file.deb (or -c), which lists the files in the Debian package specified; --info file.deb (or -I), which displays the headers of this Debian package." #~ msgstr "做结论前,我们将学习查找内部数据库以获取信息的 dpkg 选项。先给长版的选项再给对应的短版选项 (其参数是一样的) 以 --listfiles 软件包 (或 -L) 为例,列出该软件包安装的文件清单;--search 文件 (或 -S),寻找包括该文件的套性;--status 软件包 (或 -s),显示该软件包的标头;--list (或 -l),显示该系统内软件包清单与安装状态;--contents file.deb (或 -c),列出 Debian 指定软件包清单;--info file.deb (或 -I),列出该软件包的标头。" #~ msgid "RPM" #~ msgstr "RPM" #~ msgid "" #~ "\n" #~ "$ fakeroot alien --to-deb phpMyAdmin-4.7.5-2.fc28.noarch.rpm\n" #~ "phpmyadmin_4.7.5-3_all.deb generated\n" #~ "$ ls -s phpmyadmin_4.7.5-3_all.deb\n" #~ " 4356 phpmyadmin_4.7.5-3_all.deb" #~ msgstr "" #~ "\n" #~ "$ fakeroot alien --to-deb phpMyAdmin-4.7.5-2.fc28.noarch.rpm\n" #~ "phpmyadmin_4.7.5-3_all.deb generated\n" #~ "$ ls -s phpmyadmin_4.7.5-3_all.deb\n" #~ " 4356 phpmyadmin_4.7.5-3_all.deb" #, fuzzy #~| msgid "APT" #~ msgid "" #~ msgstr "APT" #~ msgid "You should always install the “recommended” packages, unless you know exactly why you do not need them. Conversely, it is not necessary to install “suggested” packages unless you know why you need them." #~ msgstr "你应该总是安装“推荐”的软件包,除非你知道究竟为什么你不需要它们。相反,“建议”的软件包是不必要安装的,除非你知道为什么你需要它们。" #~ msgid "CPAN" #~ msgstr "CPAN" #~ msgid "$ dpkg-source -x package_0.7-1.dsc" #~ msgstr "$ dpkg-source -x package_0.7-1.dsc" #~ msgid "$ apt-get source package" #~ msgstr "$ apt-get source package" #, fuzzy #~ msgid "ia32-libs" #~ msgstr "alien" #~ msgid "GOING FURTHER Virtual package versions" #~ msgstr "进一步讨论虚拟软件包版本" #~ msgid "Although today virtual packages can't have versions, this will not necessarily always be the case. Indeed, apt is already able to manage the versions of virtual packages and it is likely that dpkg eventually will too. We will then be able to write fields such as Provides: libstorable-perl (= 1.7) to indicate that a package provides the same functionality as libstorable-perl in its 1.7 version." #~ msgstr "尽管直到今天,虚拟软件包都没有版本号,但这不一定总是如此。事实上,apt命令中已经能够管理虚拟软件包的版本了,dpkg以后也可以管理。我们将能写一些字段到预备的:libstorable-perl (= 1.7) 来申明一个软件包提供了相同的功能,比如libstorable-perl的 1.7 版本。" #~ msgid "" #~ "\n" #~ "$ apt-cache show apt\n" #~ "Package: apt\n" #~ "Priority: important\n" #~ "Section: admin\n" #~ "Installed-Size: 5612\n" #~ "Maintainer: APT Development Team <deity@lists.debian.org>\n" #~ "Architecture: i386\n" #~ "Version: 0.8.0\n" #~ "Replaces: manpages-pl (<< 20060617-3~)\n" #~ "Provides: libapt-pkg4.10\n" #~ "Depends: libc6 (>= 2.3.4), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.4.0), zlib1g (>= 1:1.1.4), debian-archive-keyring, gnupg\n" #~ "Suggests: aptitude | synaptic | wajig, dpkg-dev, apt-doc, bzip2, lzma, python-apt\n" #~ "Conflicts: python-apt (<< 0.7.93.2~)\n" #~ "Filename: pool/main/a/apt/apt_0.8.0_i386.deb\n" #~ "Size: 1965454\n" #~ "MD5sum: 43364819b898e49b8175e88ec5787241\n" #~ "SHA1: 350a8a7a43fe182d54f3b7d73b8032f85b5d7ddf\n" #~ "SHA256: a593e7d7f9b3cffa37770201a3c13bd2c8bc588bafbf39b4aaa5e13b5fb00b8b\n" #~ "Description: Advanced front-end for dpkg\n" #~ " This is Debian's next generation front-end for the dpkg package manager.\n" #~ " It provides the apt-get utility and APT dselect method that provides a\n" #~ " simpler, safer way to install and upgrade packages.\n" #~ " .\n" #~ " APT features complete installation ordering, multiple source capability\n" #~ " and several other unique features, see the Users Guide in apt-doc.\n" #~ "Tag: admin::package-management, hardware::storage, hardware::storage:cd, interface::commandline, network::client, protocol::{ftp,http,ipv6}, role::program, suite::debian, use::downloading, use::searching, works-with::software:package\n" #~ msgstr "" #~ "\n" #~ "$ apt-cache show apt\n" #~ "Package: apt\n" #~ "Priority: important\n" #~ "Section: admin\n" #~ "Installed-Size: 5612\n" #~ "Maintainer: APT Development Team <deity@lists.debian.org>\n" #~ "Architecture: i386\n" #~ "Version: 0.8.0\n" #~ "Replaces: manpages-pl (<< 20060617-3~)\n" #~ "Provides: libapt-pkg4.10\n" #~ "Depends: libc6 (>= 2.3.4), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.4.0), zlib1g (>= 1:1.1.4), debian-archive-keyring, gnupg\n" #~ "Suggests: aptitude | synaptic | wajig, dpkg-dev, apt-doc, bzip2, lzma, python-apt\n" #~ "Conflicts: python-apt (<< 0.7.93.2~)\n" #~ "Filename: pool/main/a/apt/apt_0.8.0_i386.deb\n" #~ "Size: 1965454\n" #~ "MD5sum: 43364819b898e49b8175e88ec5787241\n" #~ "SHA1: 350a8a7a43fe182d54f3b7d73b8032f85b5d7ddf\n" #~ "SHA256: a593e7d7f9b3cffa37770201a3c13bd2c8bc588bafbf39b4aaa5e13b5fb00b8b\n" #~ "Description: Advanced front-end for dpkg\n" #~ " This is Debian's next generation front-end for the dpkg package manager.\n" #~ " It provides the apt-get utility and APT dselect method that provides a\n" #~ " simpler, safer way to install and upgrade packages.\n" #~ " .\n" #~ " APT features complete installation ordering, multiple source capability\n" #~ " and several other unique features, see the Users Guide in apt-doc.\n" #~ "Tag: admin::package-management, hardware::storage, hardware::storage:cd, interface::commandline, network::client, protocol::{ftp,http,ipv6}, role::program, suite::debian, use::downloading, use::searching, works-with::software:package\n" #~ msgid "Other dpkg Features" #~ msgstr "其他的dpkg特性"