# AUTHOR , YEAR. msgid "" msgstr "" "Project-Id-Version: 0\n" "POT-Creation-Date: 2022-07-30 18:23+0200\n" "PO-Revision-Date: 2021-01-14 05:32+0000\n" "Last-Translator: Keen \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 "apt" msgstr "apt" msgid "apt-get" msgstr "apt-get" msgid "apt-cache" msgstr "apt-cache" msgid "aptitude" msgstr "aptitude" msgid "synaptic" msgstr "synaptic" msgid "sources.list" msgstr "sources.list" msgid "apt-cdrom" msgstr "apt-cdrom" msgid "Maintenance and Updates: The APT Tools" msgstr "维护和更新:APT 工具" msgid "What makes Debian so popular with administrators is how easily software can be installed and how easily the whole system can be updated. This unique advantage is largely due to the APT program, which Falcot Corp administrators studied with enthusiasm." msgstr "Debian 之所以如此受系统管理员欢迎,是因为软件极易安装且整个系统的更新也极为简单。这一独特的优点主要得归功于 Falcot 公司系统管理员们热情研究的 APT 程序。" msgid "APT" msgstr "APT" #, fuzzy #| msgid "Advanced Package ToolAPT" msgid "Advanced Packaging ToolAPT" msgstr "高级软件包管理器APT" #, fuzzy #| msgid "APT is the abbreviation for Advanced Package Tool. What makes this program “advanced” is its approach to packages. It doesn't simply evaluate them individually, but it considers them as a whole and produces the best possible combination of packages depending on what is available and compatible according to dependencies." msgid "APT is the abbreviation for Advanced Packaging Tool. What makes this program “advanced” is its approach to packages. It doesn't simply evaluate them individually, but it considers them as a whole and produces the best possible combination of packages depending on what is available and compatible according to dependencies." msgstr "APT 是“高级软件包管理器”的缩写。它的“高级”之处在于对软件包的管理方法。它并不是简单地单独评估每个包,而是将包看做一个整体,根据依赖关系从现有的和兼容的软件包中找到最佳组合。" msgid "VOCABULARY Package source and source package" msgstr "关键词 软件源和源码包" #, fuzzy #| msgid "packagesource package" msgid "packagesource package.dsc" msgstr "软件包源码包" msgid "package sourcerepository" msgstr "软件源仓库" msgid "The word source can be ambiguous. A \"source package\" — a package containing the source code of a program — should not be confused with a \"package source\" — a repository (website, FTP server, CD-ROM, local directory, etc.) which contains packages." msgstr "源这个词可能会引起歧义。一个“源码包” — 是指一个包含有源程序代码的包,不要和“软件源”相混淆 — 这是指一个包所在的仓库(网站,FTP服务器,CD-ROM 光驱,本地磁盘等等)。" msgid "APT needs to be given a “list of package sources (repositories)”: the file /etc/apt/sources.list will list the different repositories that publish Debian packages. APT will then import the list of packages published by each of these sources. This operation is achieved by downloading Packages.xz files or a variant such as Packages.gz or .bz2 (using a different compression method) in case of a source of binary packages and by analyzing their contents. In case of a source of source packages, APT downloads Sources.xz files or a variant using a different compression method. When an old copy of these files is already present, APT can update it by only downloading the differences (see sidebar )." msgstr "APT 需要指定一个“软件源(仓库)列表”:文件 /etc/apt/sources.list 会列出发布 Debian 软件包的不同仓库。接下来 APT 会从每一个软件源导入所发布的软件包列表。在二进制包的场景下,这个过程是通过下载 Packages.xz 文件或其它使用不同压缩方式的文件(比如 Packages.gz 或者 .bz2),并分析它们的内容来完成。在源码包的场景下,APT 下载 Sources.xz 文件或其它使用了不同压缩方式的文件。当这些文件的旧版本已经存在的时候,APT 仅下载更新的部分(见补充说明 )。" msgid "Packages.xz" msgstr "Packages.xz" msgid "Packages.gz" msgstr "Packages.gz" msgid "Packages.bz2" msgstr "Packages.bz2" msgid "Sources.xz" msgstr "Sources.xz" msgid "Sources.gz" msgstr "Sources.gz" msgid "Sources.bz2" msgstr "Sources.bz2" msgid "BACK TO BASICS gzip, bzip2, LZMA and XZ Compression" msgstr "基础知识 gzip、bzip2、LZMA 和 XZ 压缩" msgid "gzip" msgstr "gzip" msgid "bzip2" msgstr "bzip2" msgid "lzma" msgstr "lzma" msgid "xz" msgstr "xz" msgid "A .gz extension refers to a file compressed with the gzip utility. gzip is the fast and efficient traditional Unix utility to compress files. Newer tools achieve better rates of compression but require more resources (computation time and memory) to compress and uncompress a file. Among them, and by order of appearance, there are bzip2 (generating files with a .bz2 extension), lzma (generating .lzma files) and xz (generating .xz files)." msgstr "文件名后缀 .gz 表示文件经过 gzip 工具的压缩。gzip 是一个快速且高效的经典 Unix 文件压缩工具。一些新的工具压缩比更好,但耗费更多的内存和时间来完成压缩和解压。按照出现的次序,这些工具有:bzip2 (生成文件名后缀为 .bz2),lzma(生成文件名后缀为 .lzma)和 xz(生成文件名后缀为 .xz)。" msgid "Filling in the sources.list File" msgstr "编写 sources.list 文件" msgid "sources.list" msgstr "sources.list" msgid "sourceof packages" msgstr "源软件包" msgid "packagesource of" msgstr "软件包源" #, fuzzy #| msgid "APT/etc/apt/sources.list" msgid "APT/etc/apt/sources.listsources.list" msgstr "APT/etc/apt/sources.list" msgid "Syntax" msgstr "语法" msgid "Each active line in the /etc/apt/sources.list file represents a package source (repository) and is made of at least three parts separated by spaces. For a complete description of the file format and the accepted entry compositions see sources.list5." msgstr "/etc/apt/sources.list 文件里处于激活状态每一行都代表一个软件包源(仓库),并且至少由空格分隔的三个部分组成。详细的文件格式和允许的条目组成参见 sources.list5。" msgid "Example entry format in /etc/apt/sources.list" msgstr "/etc/apt/sources.list 的格式样例" msgid "" "deb url distribution component1 component2 component3 [..] componentX\n" "deb-src url distribution component1 component2 component3 [..] componentX\n" " " msgstr "" "deb url distribution component1 component2 component3 [..] componentX\n" "deb-src url distribution component1 component2 component3 [..] componentX\n" " " msgid "The first field indicates the source type:" msgstr "第一个字段标识源的类型:" msgid "deb" msgstr "deb" msgid "package source (repository) of binary packages" msgstr "二进制软件包的软件包源(仓库)" msgid "deb-src" msgstr "deb-src" msgid "package source (repository) of source packages" msgstr "源代码软件包的软件包源(仓库)" #, fuzzy #| msgid "The second field gives the base URL of the source. Combined with the filenames listed in the Packages.xz files, it must give a full and valid URL. This can consist in a Debian mirror or in any other package archive set up by a third party. The URL can start with file:// to indicate a local source installed in the system's file hierarchy, with http:// or https:// to indicate a source accessible from a web server, or with ftp:// or ftps:// for a source available on an FTP server. The URL can also start with cdrom: for CD-ROM/DVD/Blu-ray disc based installations, although this is less frequent, since network-based installation methods are eventually more common." msgid "The second field gives the base URL of the source. Combined with the filenames listed in the Packages.xz files, it must give a full and valid URL. This can consist in a Debian mirror or in any other package archive set up by a third party. The URL can start with file:// to indicate a local source installed in the system's file hierarchy, with http:// or https:// to indicate a source accessible from a web server, or with ftp:// or ftps:// for a source available on an FTP server. The URL can also start with cdrom: for CD-ROM/DVD/Blu-ray disc based installations, although this is less frequent, since network-based installation methods are eventually more common. More methods like ssh:// or tor+http(s):// are supported and are either described in sources.list5 or their respective apt-transport-method package documentation." msgstr "第二个字段表示软件源的基本URL。组合 Packages.xz 文件中列出的文件名后,它必须是完整且有效的URL。URL 指向的地址可位于 Debian 镜像或是其它任何第三方软件源中。这个 URL 可以用 file:// 开头来表示安装在系统文件系统中的本地源,或用 http:// 和 https:// 表示可通过网络服务器来访问的软件源,或用 ftp:// 和 ftps:// 表示在 FTP 服务器上的软件源。这个 URL 还可以用 cdrom: 开头表示基于 CD-ROM、DVD、蓝光光盘的安装,因为基于网络的安装方法愈来愈流行,这个方法已不那么常用了。" #, fuzzy #| msgid "The syntax of the last field depends on the structure of the repository. In the simplest case, you can simply indicate a subdirectory (with a required trailing slash) of the desired source. This is often a simple “./” which refers to the absence of a subdirectory. The packages are then directly at the specified URL. But in the most common case, the repositories will be structured like a Debian mirror, with multiple distributions, each having multiple components. In those cases, name the chosen distribution by its “codename” — see the list in sidebar — or by the corresponding “suite” (oldstable, stable, testing, unstable) and then the components to enable. A typical Debian mirror provides the components main, contrib, and non-free." msgid "The syntax of the last field depends on the structure of the repository. In the simplest case, you can simply indicate a subdirectory (with a required trailing slash) of the desired source. This is often a simple “./” which refers to the absence of a subdirectory. The packages are then directly at the specified URL. But in the most common case, the repositories will be structured like a Debian mirror, with multiple distributions, each having multiple components. In those cases, name the chosen distribution by its “codename” — see the list in sidebar — or by the corresponding “suite” (oldoldstable, oldstable, stable, testing, unstable) and then the components to enable. A typical Debian mirror provides the components main, contrib, and non-free." msgstr "最后一个字段的语法取决于仓库的结构。在最简单的情况下,你可以简要地标明想要配置的软件源的子目录(结尾处必须加斜线)。最简单的例子,用 “./” 表示无子目录的情况,然后那些软件包就直接在指定的URL上。不过通常来说,软件仓库的结构类似于 Debian 的镜像,包括很多分支,每个分支有很多组成部分。在这种情况下,通常用“分支代号”来命名选定的分支 — 参见补充说明中的列表 — 或是由对应的 “suites”(oldstable、stable、testing、unstable)以及对应的组件部分来开启。典型的 Debian 镜像提供了 main、contrib和non-free 组件。" msgid "VOCABULARY The main, contrib and non-free archives" msgstr "关键词 main、contrib、non-free归档" msgid "componentmain" msgstr "组件main" msgid "main, component" msgstr "main,组件" msgid "componentcontrib" msgstr "组件contrib" msgid "contrib, component" msgstr "contrib,组件" msgid "componentnon-free" msgstr "组件non-free" msgid "non-free, component" msgstr "non-free,组件" msgid "component (of a repository)" msgstr "(软件仓库的)组件名" #, fuzzy #| msgid "Debian uses three components to differentiate packages according to the licenses chosen by the authors of each work. Main gathers all packages which fully comply with the Debian Free Software Guidelines." msgid "Debian uses three components to differentiate packages according to the licenses chosen by the authors of each work. Main gathers all packages which fully comply with the Debian Free Software Guidelines." msgstr "Debian 根据开发者选定的许可声明,使用三个组件名来区分不同的软件包。Main 收集了所有完全遵守 Debian 自由软件指南的软件包。" msgid "The non-free component is different because it contains software which does not (entirely) conform to these principles but which can, nevertheless, be distributed without restrictions. This archive, which is not officially part of Debian, is a service for users who could need some of those programs and, nowadays, also require the firmware for their hardware. However, Debian always recommends giving priority to free software. The existence of this component represents a considerable problem for Richard M. Stallman and keeps the Free Software Foundation from recommending Debian to users." msgstr "non-free 组件则有所不同,它包括没有完全遵循上述原则,未受约束但仍然被发布的软件。这些不算是 Debian 官方的软件,服务于那些需要某些特殊应用及罕见硬件固件的用户。不过 Debian 向来都提倡优先使用自由软件的。这个组件的存在也应证了来自理查德·斯托曼 (Richard M. Stallman) 的值得深思的问题,使得自由软件基金会不向用户推荐 Debian。" msgid "Contrib (contributions) is a set of open source software which cannot function without some non-free elements — these elements can be software from the non-free section, or non-free files such as game ROMs, BIOS of consoles, etc. — or some elements, not available from the Debian main archive at all. The contrib component also includes free software whose compilation requires proprietary elements. This was initially the case for the OpenOffice.org office suite, which used to require a proprietary Java environment." msgstr "Contrib 是一类依赖一些非自由软件就才能正常运作的开源软件。这类软件是来自非自由的 non-free 部分的软件,或是非自由文件如游戏 ROMs、控制台的BIOS文件等等,或是在 Debian main 归档中完全不存在的软件。contrib 也包括那些需要私有软件来编译的自由软件。早先的例子就是 OpenOffice.org 办公软件套装,曾经需要带专利的 Java 环境来运行。" msgid "TIP Files in /etc/apt/sources.list.d/" msgstr "技巧 /etc/apt/sources.list.d/*.list 文件" #, fuzzy #| msgid "APT/etc/apt/sources.list.d" msgid "APT/etc/apt/sources.list.d/" msgstr "APT/etc/apt/sources.list.d" msgid "If many package sources are referenced, it can be useful to split them in multiple files. Each part is then stored in /etc/apt/sources.list.d/filename.list (see sidebar )." msgstr "如果用了很多个软件包源,可以将它们分成多个文件。每一部分写在 /etc/apt/sources.list.d/filename.list 中(参见补充说明 )。" msgid "apt-cdrom" msgstr "apt-cdrom" msgid "The cdrom entries describe the CD/DVD-ROMs you have. Contrary to other entries, a CD-ROM is not always available since it has to be inserted into the drive and since only one disc can be read at a time. For those reasons, these sources are managed in a slightly different way, and need to be added with the apt-cdrom program, usually executed with the add parameter. The latter will then request the disc to be inserted in the drive and will browse its contents looking for Packages files. It will use these files to update its database of available packages (this operation is usually done by the apt update command). From then on, APT can require the disc to be inserted if it needs one of its packages." msgstr "cdrom 条目表示 CD、DVD 光盘。 跟其他条目不同,CD 光盘需要插入光驱中,并且每次只能读一张,所以并不总是可用。因此这种仓库管理起来稍有不同,需要用到 apt-cdrom 程序,经常与 add 参数一起执行。它会要求光驱中插入光盘,然后会浏览内容,寻找 Packages 文件。这些文件会用于更新可用软件包数据库(此过程由 apt update 命令完成)。自此,如果某些软件包需要光盘,APT 可发出插入光驱的要求。" msgid "Repositories for Stable Users" msgstr "给稳定版使用者的仓库" #, fuzzy #| msgid "/etc/apt/sources.listExamplestable" msgid "sources.liststable" msgstr "/etc/apt/sources.list示例稳定版" #, fuzzy #| msgid "stable-updates" msgid "stable" msgstr "稳定版-更新" #, fuzzy #| msgid "stable-backports" msgid "stable-security" msgstr "稳定版-向后移植" msgid "stable-backports" msgstr "稳定版-向后移植" msgid "stable-updates" msgstr "稳定版-更新" #, fuzzy #| msgid "buster-updates" msgid "bullseye" msgstr "buster-updates" #, fuzzy #| msgid "buster-updates" msgid "bullseye-security" msgstr "buster-updates" #, fuzzy #| msgid "stable-backports" msgid "bullseye-backports" msgstr "稳定版-向后移植" #, fuzzy #| msgid "buster-updates" msgid "bullseye-updates" msgstr "buster-updates" msgid "Here is a standard sources.list for a system running the Stable version of Debian:" msgstr "下面是标准的稳定版 Debian sources.list 文件:" msgid "/etc/apt/sources.list file for users of Debian Stable" msgstr "给 Debian 稳定版用户的 /etc/apt/sources.list 文件" #, fuzzy #| msgid "/etc/apt/sources.listExamplestable" msgid "APT/etc/apt/sources.liststable" msgstr "/etc/apt/sources.list示例稳定版" #, fuzzy #| msgid "security.debian.org" msgid "deb.debian.org" msgstr "security.debian.org" #, fuzzy #| msgid "" #| "# Security updates\n" #| "deb http://security.debian.org/ buster/updates main contrib non-free\n" #| "deb-src http://security.debian.org/ buster/updates main contrib non-free\n" #| "\n" #| "## Debian mirror\n" #| "\n" #| "# Base repository\n" #| "deb https://deb.debian.org/debian buster main contrib non-free\n" #| "deb-src https://deb.debian.org/debian buster main contrib non-free\n" #| "\n" #| "# Stable updates\n" #| "deb https://deb.debian.org/debian buster-updates main contrib non-free\n" #| "deb-src https://deb.debian.org/debian buster-updates main contrib non-free\n" #| "\n" #| "# Stable backports\n" #| "deb https://deb.debian.org/debian buster-backports main contrib non-free\n" #| "deb-src https://deb.debian.org/debian buster-backports main contrib non-free" msgid "" "# Security updates\n" "deb http://security.debian.org/ bullseye-security main contrib non-free\n" "deb-src http://security.debian.org/ bullseye-security main contrib non-free\n" "\n" "## Debian mirror\n" "\n" "# Base repository\n" "deb https://deb.debian.org/debian bullseye main contrib non-free\n" "deb-src https://deb.debian.org/debian bullseye main contrib non-free\n" "\n" "# Stable updates\n" "deb https://deb.debian.org/debian bullseye-updates main contrib non-free\n" "deb-src https://deb.debian.org/debian bullseye-updates main contrib non-free\n" "\n" "# Stable backports\n" "deb https://deb.debian.org/debian bullseye-backports main contrib non-free\n" "deb-src https://deb.debian.org/debian bullseye-backports main contrib non-free" msgstr "" "# Security updates\n" "deb http://security.debian.org/ buster/updates main contrib non-free\n" "deb-src http://security.debian.org/ buster/updates main contrib non-free\n" "\n" "## Debian mirror\n" "\n" "# Base repository\n" "deb https://deb.debian.org/debian buster main contrib non-free\n" "deb-src https://deb.debian.org/debian buster main contrib non-free\n" "\n" "# Stable updates\n" "deb https://deb.debian.org/debian buster-updates main contrib non-free\n" "deb-src https://deb.debian.org/debian buster-updates main contrib non-free\n" "\n" "# Stable backports\n" "deb https://deb.debian.org/debian buster-backports main contrib non-free\n" "deb-src https://deb.debian.org/debian buster-backports main contrib non-free" #, fuzzy #| msgid "This file lists all sources of packages associated with the Buster version of Debian (the current Stable suite as of this writing). In the example above, we opted to name “buster” explicitly instead of using the corresponding “stable“ aliases (stable, stable-updates, stable-backports) because we don't want to have the underlying distribution changed outside of our control when the next stable release comes out." msgid "This file lists all sources of packages associated with the Bullseye version of Debian (the current Stable suite as of this writing). In the example above, we opted to name “bullseye” explicitly instead of using the corresponding “stable“ aliases (stable, stable-updates, stable-backports) because we don't want to have the underlying distribution changed outside of our control when the next stable release comes out." msgstr "此文件列出了与 Debian Buster 版本相关软件包的所有来源(此手册编写时的稳定版)。我们不希望当下一个稳定版本发布时,出现不在我们控制下的潜在版本变化,因此在上面的示例中,我们明确的使用 “buster” 而不是用对应的 “stable” 别名( stable、stable-updates、stable-backports )。" #, fuzzy #| msgid "Most packages will come from the “base repository” which contains all packages but is seldom updated (about once every 2 months for a “point release”). The other repositories are partial (they do not contain all packages) and can host updates (packages with newer version) that APT might install. The following sections will explain the purpose and the rules governing each of those repositories." msgid "Most packages will come from the “base repository”, which contains all packages but is seldom updated (about once every 2 months for a “point release”). The other repositories are partial (they do not contain all packages) and can host updates (packages with newer version) that APT might install. The following sections will explain the purpose and the rules governing each of those repositories." msgstr "大多数软件包来源于“基础仓库”,它拥有所有的软件包,但极少更新(大概每两个月跟随小版本更新发布)。其他仓库则是不完整的(不包括所有软件包),不过可以支持更新(软件包是较新版本)。接下来的几章将会介绍这些仓库管理的目的和规则。" msgid "Note that when the desired version of a package is available on several repositories, the first one listed in the sources.list file will be used. For this reason, non-official sources are usually added at the end of the file." msgstr "请注意,当你所需要的软件包版本同时存在于几个仓库中时,在文件 sources.list 中所列出的第一个会被使用。因此,非官方的软件源一般建议加在文件的末尾处。" msgid "As a side note, most of what this section says about Stable applies equally well to Oldstable since the latter is just an older Stable that is maintained in parallel." msgstr "补充一点,本节中提到内容不仅适用于 Stable 版本,对于 Oldstable 一样适用。后者只是同时在维护的更老旧的 Stable 版本。" msgid "Security Updates" msgstr "安全更新" msgid "security.debian.org" msgstr "security.debian.org" #, fuzzy #| msgid "sourceof packages" msgid "securityupdates" msgstr "源软件包" msgid "updatessecurity updates" msgstr "更新安全更新" #, fuzzy #| msgid "updatesstable-backports" msgid "updatesstable-security" msgstr "更新稳定版-向后移植" #, fuzzy #| msgid "updatesstable-backports" msgid "updatesbullseye-security" msgstr "更新稳定版-向后移植" #, fuzzy #| msgid "updatesstable, backports" msgid "updatesstable, security" msgstr "更新稳定版,向后移植" #, fuzzy #| msgid "updatesstable, backports" msgid "updatesbullseye, security" msgstr "更新稳定版,向后移植" #, fuzzy #| msgid "CVECommon Vulnerabilities and Exposures" msgid "CVECommon Vulnerabilities and Exposures" msgstr "CVE通用漏洞披露" msgid "Common Vulnerabilities and ExposuresCVE" msgstr "通用漏洞批露CVE" msgid "Debian takes security seriously. Known software vulnerabilities in Debian are tracked in the Security Bug Tracker and usually get fixed in a reasonable timeframe. The security updates are not hosted on the usual network of Debian mirrors but on security.debian.org, a small set of machines maintained by the Debian System Administrators. This archive contains security updates prepared by the Debian Security Team and/or by package maintainers for the Stable and Oldstable distribution." msgstr "Debian 非常重视安全。已知的 Debian 软件漏洞会在 Security Bug Tracker 进行跟踪,而且通常会在合理时限内被修复。安全更新的内容通常不在 Debian 镜像站内,而是在 security.debian.org(由 Debian 系统管理员们维护的小范围机器上)。上面的内容包括了那些由为 Debian 安全团队及软件包维护者提供给 稳定版 和 旧的稳定版 的安全更新。" #, fuzzy #| msgid "The server can also host security updates for Testing but this doesn't happen very often since those updates tend to reach the Testing suite via the regular flow of updates coming from Unstable." msgid "The server can also host security updates for Testing but this doesn't happen very often since those updates tend to reach that suite via the regular flow of updates coming from Unstable." msgstr "服务器上也有针对测试版的安全更新,但这类更新并不常见,因为它们要经过从不稳定版流入测试版的正常流程。" #, fuzzy #| msgid "DSADebian Security Advisory" msgid "DSADebian Security Advisory" msgstr "DSADebian 安全公告" #, fuzzy #| msgid "Debian Security AdvisoryDSA" msgid "Debian Security Advisory" msgstr " Debian 安全通告DSA" msgid "For serious issues, the security team issues a Debian Security Advisory (DSA) and announces it together with the security update on the debian-security-announce@lists.debian.org mailing list (archive)." msgstr "对于严重的问题,安全团队会发布 Debian 安全通告(DSA),并且在 debian-security-announce@lists.debian.org 邮件列表(邮件归档)随着安全更新一起公告。" msgid "mailing listsdebian-security-announce@lists.debian.org" msgstr "邮件列表debian-security-announce@lists.debian.org" msgid "Stable Updates" msgstr "稳定版更新" msgid "stable updates" msgstr "稳定版更新" #, fuzzy #| msgid "updatesstable-proposed" msgid "updatesstable" msgstr "更新稳定版-计划" #, fuzzy #| msgid "updatesstable-proposed" msgid "updatesbullseye" msgstr "更新稳定版-计划" msgid "Stable updates are not security sensitive but are deemed important enough to be pushed to users before the next stable point release." msgstr "稳定版更新对安全性不敏感,在下一个稳定版本点发布前,它还是很重要,需要推送给使用者。" msgid "This repository will typically contain fixes for critical and serious bugs which could not be fixed before release or which have been introduced by subsequent updates. Depending on the urgency, it can also contain updates for packages that have to evolve over time, like spamassassin's spam detection rules, clamav's virus database, the daylight-saving time rules of all timezones (tzdata), the ESR version of Firefox (firefox-esr) or cryptographic keyrings like debian-archive-keyring." msgstr "这个仓库通常包括修正补丁,用于修复在发布前无法修复的严重漏洞和后续更新引入的漏洞。根据紧急性,它还包含长期的软件包更新,比如 spamassassin 的垃圾邮件检测规则,clamav 病毒库,各个时区的夏令时规则 (tzdata),Firefox 的延长支持ESR版 (firefox-esr),或是类似 debian-archive-keyring 这种加密密钥。" #, fuzzy #| msgid "package sourcerepository" msgid "ESRExtended Support Release" msgstr "软件源仓库" #, fuzzy #| msgid "stable updates" msgid "Extended Support Release" msgstr "稳定版更新" msgid "In practice, this repository is a subset of the proposed-updates repository, carefully selected by the Stable Release Managers. All updates are announced on the debian-stable-announce@lists.debian.org mailing list (archive) and will be included in the next Stable point release anyway." msgstr "实际上,这个仓库是由稳定版发布管理员从 proposed-updates 仓库中精心挑选的子集。所有更新都会在 debian-stable-announce@lists.debian.org 邮件列表 (archive) 上公布,并且无论如何都会包含在下一个稳定版的小版本更新中。" msgid "mailing listsdebian-stable-announce@lists.debian.org" msgstr "邮件列表debian-stable-announce@lists.debian.org" msgid "Proposed Updates" msgstr "计划更新" #, fuzzy #| msgid "stable updates" msgid "proposed updates" msgstr "稳定版更新" msgid "proposed-updates" msgstr "计划-更新" msgid "stable-proposed-updates" msgstr "稳定版-计划更新" #, fuzzy #| msgid "stable-proposed-updates" msgid "bullsey-proposed-updates" msgstr "稳定版-计划更新" msgid "updatesproposed" msgstr "更新计划" msgid "updatesstable-proposed" msgstr "更新稳定版-计划" #, fuzzy #| msgid "updatesstable-proposed" msgid "updatesbullseye-proposed" msgstr "更新稳定版-计划" msgid "updatesstable, proposed" msgstr "更新稳定版,计划" #, fuzzy #| msgid "updatesstable, proposed" msgid "updatesbullseye, proposed" msgstr "更新稳定版,计划" #, fuzzy #| msgid "stable-updates" msgid "stable-updates, proposed" msgstr "稳定版-更新" #, fuzzy #| msgid "buster-updates" msgid "bullseye-updates, proposed" msgstr "buster-updates" msgid "Once published, the Stable distribution is only updated about once every 2 months. The proposed-updates repository is where the expected updates are prepared (under the supervision of the Stable Release Managers)." msgstr "一旦发布,稳定版只会每两个月更新一次。接下来的更新在计划更新仓库里准备(由稳定版发布管理员监督)。" msgid "The security and stable updates documented in the former sections are always included in this repository, but there is more too, because package maintainers also have the opportunity to fix important bugs that do not deserve an immediate release." msgstr "这个仓库不仅包含上一章节提到的安全更新和稳定更新的文件,还有更多内容,因为软件包维护者可能在这里修复一些不需要马上发布的重要漏洞。" #, fuzzy #| msgid "Anyone can use this repository to test those updates before their official publication. The extract below uses the buster-proposed-updates alias which is both more explicit and more consistent since stretch-proposed-updates also exists (for the Oldstable updates):" msgid "Anyone can use this repository to test those updates before their official publication. The extract below uses the bullseye-proposed-updates alias which is both more explicit and more consistent since buster-proposed-updates also exists (for the Oldstable updates):" msgstr "任何人都可以使用这个仓库在正式发布前来检测更新。下面的摘录使用 buster-proposed-updates 别名。因为 stretch-proposed-updates 也存在,别名的使用更清楚更一致(对于 旧的稳定版 更新来讲):" #, fuzzy #| msgid "deb https://deb.debian.org/debian buster-proposed-updates main contrib non-free" msgid "deb https://deb.debian.org/debian bullseye-proposed-updates main contrib non-free" msgstr "deb https://deb.debian.org/debian buster-proposed-updates main contrib non-free" msgid "Stable Backports" msgstr "稳定版向后移植" msgid "backport" msgstr "向后移植" msgid "updatesbackports" msgstr "更新向后移植" msgid "updatesstable-backports" msgstr "更新稳定版-向后移植" #, fuzzy #| msgid "updatesstable-backports" msgid "updatesbullseye-backports" msgstr "更新稳定版-向后移植" msgid "updatesstable, backports" msgstr "更新稳定版,向后移植" #, fuzzy #| msgid "updatesstable, backports" msgid "updatesbullseye, backports" msgstr "更新稳定版,向后移植" msgid "The stable-backports repository hosts “package backports”. The term refers to a package of some recent software which has been recompiled for an older distribution, generally for Stable." msgstr "stable-backports 仓库存放“软件包的向后移植版本”。该术语指的是一些近期发布的软件针对旧的发行版重新编译的包,这里所指的旧发行版通常是指稳定版(Stable)。" msgid "When the distribution becomes a little dated, numerous software projects have released new versions that are not integrated into the current Stable suite, which is only modified to address the most critical problems, such as security issues. Since the Testing and Unstable suites can be more risky, package maintainers sometimes voluntarily offer recompilations of recent software applications for Stable, which has the advantage to users and system administrators to limit potential instability to a small number of chosen packages. The page provides more information." msgstr "当发行版本经过一段时间后,大量的软件项目都发布了新的软件版本,但它们都没有整合进入当前的稳定版(它仅接受那些解决最重要问题的修改,例如安全更新)。因为测试版和不稳定版均具有一定风险,软件包维护者有时会针对稳定版提供近期发布的软件的重新编译版本,这样做可以将潜在的不稳定因素限制在一小部分经过筛选的软件包之间,因而具有一定的优势。 这个页面提供了更多信息。" msgid "backports.debian.orgbackports" msgstr "backports.debian.orgbackports" msgid "Backports from stable-backports are only created from packages available in Testing. This ensures that all installed backports will be upgradable to the corresponding stable version once the next stable release of Debian is available." msgstr "stable-backports 里面的软件向后移植版本通常是源自于不稳定版的。这样能确保一旦下一个稳定的 Debian 版本可用,所有安装的向后移植版本软件都可以升级到相应的稳定版本。" msgid "Even though this repository provides newer versions of packages, APT will not install them unless you give explicit instructions to do so (or unless you have already done so with a former version of the given backport):" msgstr "尽管该仓库提供软件包较新的版本,APT 也只会在给出明确指令的情况下安装它们(或者你之前已经安装了对应软件的上一个向后移植版本):" #, fuzzy #| msgid "" #| "$ sudo apt-get install package/buster-backports\n" #| "$ sudo apt-get install -t buster-backports package\n" #| "" msgid "" "$ sudo apt-get install package/bullseye-backports\n" "$ sudo apt-get install -t bullseye-backports package\n" "" msgstr "" "$ sudo apt-get install package/buster-backports\n" "$ sudo apt-get install -t buster-backports package\n" "" msgid "Repositories for Testing/Unstable Users" msgstr "给测试版、不稳定版用户的仓库" #, fuzzy #| msgid "componentmain" msgid "sources.listtesting" msgstr "组件main" #, fuzzy #| msgid "/etc/apt/sources.listExampleunstable" msgid "sources.listunstable" msgstr "/etc/apt/sources.list示例不稳定版" msgid "Here is a standard sources.list for a system running the Testing or Unstable version of Debian:" msgstr "下面是一个标准 sources.list 文件,用于测试版或不稳定版:" msgid "/etc/apt/sources.list file for users of Debian Testing/Unstable" msgstr "Debian 测试版、不稳定版用户的 /etc/apt/sources.list 文件" #, fuzzy #| msgid "APT/etc/apt/sources.list" msgid "APT/etc/apt/sources.listtesting" msgstr "APT/etc/apt/sources.list" #, fuzzy #| msgid "/etc/apt/sources.listExampleunstable" msgid "APT/etc/apt/sources.listunstable" msgstr "/etc/apt/sources.list示例不稳定版" #, fuzzy #| msgid "" #| "\n" #| "# Unstable\n" #| "deb https://deb.debian.org/debian unstable main contrib non-free\n" #| "deb-src https://deb.debian.org/debian unstable main contrib non-free\n" #| "\n" #| "# Testing\n" #| "deb https://deb.debian.org/debian testing main contrib non-free\n" #| "deb-src https://deb.debian.org/debian testing main contrib non-free\n" #| "\n" #| "# Testing security updates\n" #| "deb http://security.debian.org/ testing-security main contrib non-free\n" #| "deb-src http://security.debian.org/ testing-security main contrib non-free\n" #| "\n" #| "# Stable\n" #| "deb https://deb.debian.org/debian stable main contrib non-free\n" #| "deb-src https://deb.debian.org/debian stable main contrib non-free\n" #| "\n" #| "# Stable security updates\n" #| "deb http://security.debian.org/ stable/updates main contrib non-free\n" #| "deb-src http://security.debian.org/ stable/updates main contrib non-free" msgid "" "\n" "# Unstable\n" "deb https://deb.debian.org/debian unstable main contrib non-free\n" "deb-src https://deb.debian.org/debian unstable main contrib non-free\n" "\n" "# Testing\n" "deb https://deb.debian.org/debian testing main contrib non-free\n" "deb-src https://deb.debian.org/debian testing main contrib non-free\n" "\n" "# Testing security updates\n" "deb http://security.debian.org/ testing-security main contrib non-free\n" "deb-src http://security.debian.org/ testing-security main contrib non-free\n" "\n" "# Stable\n" "deb https://deb.debian.org/debian stable main contrib non-free\n" "deb-src https://deb.debian.org/debian stable main contrib non-free\n" "\n" "# Stable security updates\n" "deb http://security.debian.org/ stable-security main contrib non-free\n" "deb-src http://security.debian.org/ stable-security main contrib non-free" msgstr "" "\n" "# Unstable\n" "deb https://deb.debian.org/debian unstable main contrib non-free\n" "deb-src https://deb.debian.org/debian unstable main contrib non-free\n" "\n" "# Testing\n" "deb https://deb.debian.org/debian testing main contrib non-free\n" "deb-src https://deb.debian.org/debian testing main contrib non-free\n" "\n" "# Testing security updates\n" "deb http://security.debian.org/ testing-security main contrib non-free\n" "deb-src http://security.debian.org/ testing-security main contrib non-free\n" "\n" "# Stable\n" "deb https://deb.debian.org/debian stable main contrib non-free\n" "deb-src https://deb.debian.org/debian stable main contrib non-free\n" "\n" "# Stable security updates\n" "deb http://security.debian.org/ stable/updates main contrib non-free\n" "deb-src http://security.debian.org/ stable/updates main contrib non-free" msgid "NOTE Layout of security repositories" msgstr "注解 安全仓库的目录排列" #, fuzzy #| msgid "updatesstable-backports" msgid "stable/updatesstable-security" msgstr "更新稳定版-向后移植" #, fuzzy #| msgid "backports.debian.orgbackports" msgid "bullseye/updatesbullseye-security" msgstr "backports.debian.orgbackports" #, fuzzy #| msgid "Starting with Debian 11 Bullseye, the codename of the repository providing security updates has been renamed from codename/updates into codename-security to avoid the confusion with codename-updates (see )." msgid "Starting with Debian 11 Bullseye, the codename of the repository providing security updates has been renamed from codename/updates into codename-security to avoid the confusion with codename-updates (see ). " msgstr "从 Debian 11 Bullseye 开始,安全更新的代号(codename)会由原来的 codename/updates 改成 codename-security,目的是为了避免与 codename-updates 相混淆(参见:)。" msgid "APTAPT::Default-Release" msgstr "APTAPT::Default-Release" msgid "With this sources.list file APT will install packages from the Unstable suite. If that is not desired, use the APT::Default-Release setting (see ) to instruct APT to pick packages from another suite (most likely Testing in this case)." msgstr "用上面的 sources.list 文件,APT 将安装软件包的不稳定版。如果这不是你所期望的,可以用 APT::Default-Release 设置(参见 )来指明 APT 从另外的版本获取软件包(这个例子中多数会使用测试版)。" #, fuzzy #| msgid "There are good reasons to include all those repositories, even though a single one should be enough. Testing users will appreciate the possibility to cherry-pick a fixed package from Unstable when the version in Testing is affected by an annoying bug. On the opposite, Unstable users bitten by unexpected regressions have the possibility to downgrade packages to their (supposedly working) Testing version." msgid "There are good reasons to include all those repositories, even though a single one should be enough. Testing users will appreciate the possibility to cherry-pick a fixed package from Unstable when the version in Testing is affected by an annoying bug. On the other hand, Unstable users bitten by unexpected regressions have the possibility to downgrade packages to their (supposedly working) Testing version." msgstr "推荐配置上全部仓库,即便只配一个也能使用。当测试版有烦人的 bug 时,测试版用户将会感谢管理员从不稳定版中挑选出修复后的软件包版本。换一句话来说,当出现非预期错误时,不稳定版用户也能降级软件包版本到能正常使用的测试版版本。" msgid "The inclusion of Stable is more debatable but it often gives access to some packages, which have been removed from the development versions. It also ensures that you get the latest updates for packages, which have not been modified since the last stable release." msgstr "稳定版的内容比较有争议,但它也常常保留了某些不再开发的软件包版本。同时也确保你能获取到尚未修改的最新软件包的更新包。" msgid "The Experimental Repository" msgstr "实验性仓库" msgid "Experimental" msgstr "实验性" msgid "The archive of Experimental packages is present on all Debian mirrors, and contains packages which are not in the Unstable version yet because of their substandard quality — they are often software development versions or pre-versions (alpha, beta, release candidate…). A package can also be sent there after undergoing subsequent changes which can generate problems. The maintainer then tries to uncover them with help from advanced users who can handle important issues. After this first stage, the package is moved into Unstable, where it reaches a much larger audience and where it will be tested in much more detail." msgstr "所有 Debian 镜像站都会包含实验性的软件包,包括因为达不到质量要求尚未被纳入不稳定版的软件包 — 通常是开发中的版本或发布前的前置版本(alpha、beta、rc 等)。软件包在经过修改后就会被放上来,多少会带来点问题。在能力强的高级用户的协助下,维护者会努力找出并修复这些问题。经过第一阶段后,软件包会移到不稳定版仓库中,会有更多的用户以更详细的方式测试它。" msgid "Experimental is generally used by users who do not mind breaking their system and then repairing it. This distribution gives the possibility to import a package which a user wants to try or use as the need arises. That is exactly how Debian approaches it, since adding it in APT's sources.list file does not lead to the systematic use of its packages. The line to be added is:" msgstr "实验性软件通常只有不在乎系统崩溃并且有能力自行修复的用户才会使用。用户可以导入此等软件包并测试其功能、检查是否满足其需求。这就是 Debian 的诉求,加入 APT 的 sources.list 内,并不表示该软件包可顺利使用,应加入下面这行:" msgid "deb https://deb.debian.org/debian experimental main contrib non-free" msgstr "deb https://deb.debian.org/debian experimental main contrib non-free" msgid "Using Alternate Mirrors" msgstr "使用其他镜像" msgid "deb.debian.orgmirrors" msgstr "deb.debian.org镜像" #, fuzzy #| msgid "componentmain" msgid "mirrorsdeb.debian.org" msgstr "组件main" msgid "mirrors" msgstr "镜像" #, fuzzy #| msgid "CDNContent Delivery Networks" msgid "CDNContent Delivery Networks" msgstr "CDN内容分发网络" msgid "Content Delivery Networks" msgstr "内容分发网络" #, fuzzy #| msgid "The sources.list examples in this chapter refer to package repositories hosted on deb.debian.org. Those URLs will redirect you to servers which are close to you and which are managed by Content Delivery Networks (CDN) whose main role is to store multiple copies of the files across the world, and to deliver them as fast as possible to users. The CDN companies that Debian is working with are Debian partners who are offering their services freely to Debian. While none of those servers are under direct control of Debian, the fact that the whole archive is sealed by GPG signatures makes it a non-issue." msgid "The sources.list examples in this chapter refer to package repositories hosted on deb.debian.org. Those URLs will redirect you to servers which are close to you and which are managed by Content Delivery Networks (CDN) whose main role is to store multiple copies of the files across the world, and to deliver them as fast as possible to users. The CDN companies that Debian is working with are Debian partners who are offering their services freely to Debian. While none of those servers are under direct control of Debian, the fact that the whole archive is sealed by GPG signatures makes it a non-issue. " msgstr "本节的 sources.list 示例引用托管在 deb.debian.org 的软件包仓库。这些URL会重定向到离你最近的服务器,这些服务器通过内容分发网络(CDN)管理,本质上是存储在世界各地的多个文件副本,尽可能快地为提供给用户。CDN供应商是Debian的合作伙伴,为Debian免费提供服务。这些服务器不是由Debian直接控制,但整个档案由GPG签名,实际上这不是问题。" msgid "mirror listmirrors" msgstr "镜像列表镜像" msgid "list of mirrorsmirrors" msgstr "镜像列表镜像" msgid "Picky users who are not satisfied with the performance of deb.debian.org can try to find a better mirror in the official mirror list: " msgstr "对deb.debian.org的性能不满意的挑剔的用户可以尝试在官方镜像列表中找到更好的镜像:" #, fuzzy #| msgid "updatesstable-proposed" msgid "mirrorsftp.country-code.debian.org" msgstr "更新稳定版-计划" msgid "But when you don't know which mirror is best for you, this list is of not much use. Fortunately for you, Debian maintains DNS entries of the form ftp.country-code.debian.org (e.g. ftp.us.debian.org for the USA, ftp.fr.debian.org for France, etc.) which are covering many countries and which are pointing to one (or more) of the best mirrors available within that country." msgstr "当不知道那个镜像最适合自己时,这个列表没那么有用。幸运的是,Debian保留了DNS条目表ftp.country-code.debian.org(例如ftp.us.debian.org用于美国,ftp.fr.debian.org用于法国等),它涵盖了很多国家,并指向某个国家中的一个(或多个)最佳镜像。" msgid "httpredir.debian.orgmirrors" msgstr "httpredir.debian.org镜像" #, fuzzy #| msgid "componentcontrib" msgid "mirrorshttpredir.debian.org" msgstr "组件contrib" msgid "As an alternative to deb.debian.org, there used to be httpredir.debian.org. This service would identify a mirror close to you (among the list of official mirrors, using GeoIP mainly) and would redirect APT's requests to that mirror. This service has been deprecated due to reliability concerns and now httpredir.debian.org provides the same CDN-based service as deb.debian.org." msgstr "之前使用 httpredir.debian.org 作为 deb.debian.org 的另一个选择。此服务会标识最近的镜像(在广泛镜像列表中,主要使用GeoIP)并重定向APT请求到该镜像。由于可靠性问题此服务已弃用,现在 httpredir.debian.org 提供与 deb.debian.org 相同的基于CDN的服务。" msgid "Non-Official Resources: mentors.debian.net" msgstr "非官方来源:mentors.debian.net" msgid "mentors.debian.net" msgstr "mentors.debian.net" msgid "There are numerous non-official sources of Debian packages set up by advanced users who have recompiled some software — Ubuntu made this popular with their Personal Package Archive (PPA) service — by programmers who make their creation available to all, and even by Debian developers who offer pre-versions of their package online." msgstr "高级用户们为一些重新编译过的软件建立了众多的非官方的 Debian 软件源 — Ubuntu 使用他们的个人包存(PPA)档服务 — 程序员提供他们编写的软件给所有人,甚至有 Debian 开发人员在线提供他们的软件包的预览版本。" msgid "The mentors.debian.net site is interesting (although it only provides source packages), since it gathers packages created by candidates to the status of official Debian developer or by volunteers who wish to create Debian packages without going through that process of integration. These packages are made available without any guarantee regarding their quality; make sure that you check their origin and integrity and then test them before you consider using them in production." msgstr "mentors.debian.net 站点比较有意思(虽然它只提供源码包),它搜集Debian开发者候选人员制作的软件包,以及那些希望创建Debian软件包又不想经历成为Debian开发者整套流程的那些志愿者的软件包。这些软件包提供时没有任何质量保证;请确保您在将它们用于生产环境之前检查它们的来源和完整性并进行测试。" msgid "COMMUNITY The debian.net sites" msgstr "社区 debian.net 站点" msgid "debian.net" msgstr "debian.net" msgid "The debian.net domain is not an official resource of the Debian project. Each Debian developer may use that domain name for their own use. These websites can contain unofficial services (sometimes personal sites) hosted on a machine which does not belong to the project and set up by Debian developers, or even prototypes about to be moved on to debian.org. Two reasons can explain why some of these prototypes remain on debian.net: either no one has made the necessary effort to transform it into an official service (hosted on the debian.org domain, and with a certain guarantee of maintenance), or the service is too controversial to be officialized." msgstr "debian.net 域名不是一个 Debian 项目的官方源。每个 Debian 开发者都可基于自己用途而使用此域名。这些网址包含一些非官方服务(有时为个人站点),其主机不属于项目本身而由 Debian 开发者设置,甚至还有将要迁移到debian.org的项目原型。有两个理由来解释为什么这些项目原型会留在debian.net:或者是没有人做出足够的努力将其迁移到官方服务( 位于debian.org 域名上,具备一定维护保证),或者是服务争议太大以至于无法官方化。" msgid "Installing a package means giving root rights to its creator, because they decide on the contents of the initialization scripts which are run under that identity. Official Debian packages are created by volunteers who have been co-opted and reviewed and who can seal their packages so that their origin and integrity can be checked." msgstr "安装一个包意味着需要给包的创建者以 root 权限,因为其决定了以该身份运行的初始化脚本的内容。官方的 Debian 包由志愿者创建,志愿者经过指派和评估,且能封装软件包,因而软件包的来源与完整性可以确认。" msgid "In general, be wary of a package whose origin you don't know and which isn't hosted on one of the official Debian servers: evaluate the degree to which you can trust the creator, and check the integrity of the package." msgstr "一般地,你要当心来源未知以及没有位于任一 Debian 官方服务器上的软件包:要评估包创建者的可信度,并检查包的完整性。" #, fuzzy #| msgid "GOING FURTHER Old package versions: snapshot.debian.org" msgid "GOING FURTHER Old package versions: snapshot.debian.org and archive.debian.org" msgstr "进阶旧包版本: snapshot.debian.org" #, fuzzy #| msgid "security.debian.org" msgid "archive.debian.org" msgstr "security.debian.org" #, fuzzy #| msgid "release notes" msgid "old releases" msgstr "发布说明" #, fuzzy #| msgid "packagesearch" msgid "packagewayback machine" msgstr "软件包搜索" #, fuzzy #| msgid "componentmain" msgid "archiveold releasesarchive.debian.org" msgstr "组件main" #, fuzzy #| msgid "updatesstable-backports" msgid "archiveold packagessnapshot.debian.org" msgstr "更新稳定版-向后移植" msgid "The Debian project frequently releases new stable versions of their distribution, rendering old releases eventually outdated and unsupported (see ). The repositories belonging to these releases are then removed from the official mirrors, but can still be accessed using the service at archive.debian.org. Note, that this service allows access to any of the old Debian releases, but does not provide the source package for every binary package offered." msgstr "" #, fuzzy #| msgid "The snapshot.debian.org service, introduced in April 2010, can be used to “go backwards in time” and to find an old version of a package not longer contained in the Debian archives. It can be used, for example, to identify which version of a package introduced a regression, and more concretely, to come back to the former version while waiting for the regression fix." msgid "The snapshot.debian.org service, introduced in April 2010, can be used to “go backwards in time” and to find an old binary or source version of a package not longer contained in the Debian archives. It can be used, for example, to identify which version of a package introduced a regression, and more concretely, to come back to the former version while waiting for the regression fix. This service does not only offer source and binary packages from older releases, but also versions superseeded by regular maintainer uploads." msgstr "snapshot.debian.org 服务于 2010 年 4 月引入,可用于“时间回溯”及查找软件包的旧版本。例如,它可用于识别某个回溯的软件包版本,更具体地,在等待回溯修复时可以回到先前的版本。" msgid "Caching Proxy for Debian Packages" msgstr "Debian 软件包缓存代理" msgid "proxy cache" msgstr "缓存代理" msgid "cache, proxy" msgstr "缓存,代理" msgid "When an entire network of machines is configured to use the same remote server to download the same updated packages, any administrator knows that it would be beneficial to have an intermediate proxy acting as a network-local cache (see sidebar )." msgstr "当一整个网络的机器被配置为使用同样的远程服务器并下载同样的更新包时,管理员会知道有一个当作网络-本地缓存器的中介代理是有好处的(参见侧边栏)。" msgid "You can configure APT to use a \"standard\" proxy (see for the APT side, and for the proxy side), but the Debian ecosystem offers better options to solve this problem. The dedicated software presented in this section are smarter than a plain proxy cache because they can rely on the specific structure of APT repositories (for instance they know when individual files are obsolete or not, and thus adjust the time during which they are kept)." msgstr "您可以配置 APT 使用一个“标准”的代理(参见 获取 APT 相关内容,参见获取代理相关内容),Debian 体系提供了一个解决问题的更佳手段。本节中所述的专用软件比普通的代理缓存更加智能,因为它们可依赖于 APT 软件源的特定结构(例如,它们了解单独的文件在什么时间废弃与否,并由此来调整在保持阶段的时间)。" msgid "apt-cacher" msgstr "apt-cacher" msgid "apt-cacher-ng" msgstr "apt-cacher-ng" msgid "apt-cacher and apt-cacher-ng work like usual proxy cache servers. APT's sources.list is left unchanged, but APT is configured to use them as proxy for outgoing requests." msgstr "apt-cacher与apt-cacher-ng的工作方式类似代理缓存服务器。对于外部请求,APT 的sources.list 保持不变,但是 APT 被配置为把它们作为代理使用。" msgid "approx" msgstr "approx" #, fuzzy #| msgid "APT/etc/apt/apt.conf" msgid "/etc/etc/approx/approx.conf" msgstr "APT/etc/apt/apt.conf" msgid "approx, on the other hand, acts like an HTTP server that “mirrors” any number of remote repositories in its top-level URLs. The mapping between those top-level directories and the remote URLs of the repositories is stored in /etc/approx/approx.conf:" msgstr "另一方面,approx,工作方式则类似一个 HTTP 服务器,在它的顶级 URL 地址上“镜像”任意数量的远程软件源。这些顶级目录与远程 URL 之间的映射存储于/etc/approx/approx.conf中:" #, fuzzy #| msgid "" #| "# <name> <repository-base-url>\n" #| "debian https://deb.debian.org/debian\n" #| "security http://security.debian.org\n" #| " " msgid "" "# <name> <repository-base-url>\n" "debian https://deb.debian.org/debian\n" "security http://security.debian.org/debian-security\n" " " msgstr "" "# <name> <repository-base-url>\n" "debian https://deb.debian.org/debian\n" "security http://security.debian.org\n" " " msgid "approx runs by default on port 9999 via a systemd socket and requires the users to adjust their sources.list file to point to the approx server:" msgstr "approx 默认通过一个systemd socket在9999端口运行,并需要用户调整sources.list 文件来指向 approx 服务器:" #, fuzzy #| msgid "" #| "# Sample sources.list pointing to a local approx server\n" #| "deb http://localhost:9999/security buster/updates main contrib non-free\n" #| "deb http://localhost:9999/debian buster main contrib non-free\n" #| " " msgid "" "# Sample sources.list pointing to a local approx server\n" "deb http://localhost:9999/security bullseye-security main contrib non-free\n" "deb http://localhost:9999/debian bullseye main contrib non-free\n" " " msgstr "" "# 指向本地approx服务的 sources.list 示例\n" "deb http://localhost:9999/security buster/updates main contrib non-free\n" "deb http://localhost:9999/debian buster main contrib non-free\n" " " msgid "aptitude, apt-get, and apt Commands" msgstr "aptitude、apt-get和 apt 命令" msgid "apt" msgstr "apt" msgid "apt-get" msgstr "apt-get" msgid "aptitude" msgstr "aptitude" msgid "APT is a vast project, whose original plans included a graphical interface. It is based on a library which contains the core application, and apt-get is the first front end — command-line based — which was developed within the project. apt is a second command-line based front end provided by APT which overcomes some design mistakes of apt-get." msgstr "APT 是个原先有图形接口的大计划。以包括核心应用程序的程序库为基础,且第一个前端 apt-get — 基于命令行 — 也包括在项目开发中。apt 是 APT 的第二个基于命令行的前端,包括若干 apt-get 错误的处理。" #, fuzzy #| msgid "Both tools are built on top of the same library and are thus very close, but the default behavior of apt has been improved for interactive use and to actually do what most users expect. The APT developers reserve the right to change the public interface of this tool to further improve it. On the opposite, the public interface of apt-get is well defined and will not change in any backwards incompatible way. It is thus the tool that you want to use when you need to script package installation requests." msgid "Both tools are built on top of the same library and are thus very close, but the default behavior of apt has been improved for interactive use and to actually do what most users expect. The APT developers reserve the right to change the public interface of this tool to further improve it. Conversely, the public interface of apt-get is well defined and will not change in any backwards incompatible way. It is thus the tool that you want to use when you need to script package installation requests." msgstr "所有工具都建立在相同的程序库之上,因此非常相似,但 apt 的默认行为经过改进,可以进行交互式使用,实现了大多数用户的期望。APT开发人员保留了更改此工具的公共界面以进一步改进的权利。 相反, apt-get 的公共界面已经定义好,不会以向后不兼容的方式更改。因此,当您需要编写包安装请求脚本时,它是要使用的工具。" msgid "synaptic" msgstr "synaptic" #, fuzzy #| msgid "apt" msgid "wajig" msgstr "apt" msgid "Numerous other graphical interfaces then appeared as external projects: synaptic, aptitude (which includes both a text mode interface and a graphical one — even if not complete yet), wajig, etc. The most recommended interface, apt, is the one that we will use in the examples given in this section. Note, however, that apt-get and aptitude have a very similar command line syntax. When there are major differences between these three commands, these will be detailed." msgstr "其他众多的图形界面以外部项目形式出现:synaptic、aptitude(它同时包含文本模式界面和图形界面 — 即使尚未完成)、wajig等等。最为推荐的界面,apt,会在本节示例中使用。注意,尽管 apt-get 与 aptitude 的命令行语法也非常类似。在三个命令存在较大差异时,将会详述差异。" msgid "Initialization" msgstr "初始化" #, fuzzy #| msgid "For any work with APT, the list of available packages needs to be updated; this can be done simply through apt update. Depending on the speed of your connection and configuration, the operation can take a while, since it involves downloading a certain number of (usually compressed) files (Packages, Sources, Translation-language-code), which have gradually become bigger and bigger as Debian has developed (at least 10 MB of data for the main section). Of course, installing from a CD-ROM/DVD set does not require any downloading — in this case, the operation is very fast." msgid "For any work with APT, the list of available packages needs to be updated; this can be done simply through apt update. Depending on the speed of your connection and configuration, the operation can take a while, since it involves downloading a certain number of (usually compressed) files (Packages, Sources, Translation-language-code), which have gradually become bigger and bigger as Debian has developed (at least 10-16 MB of data for the main section). Of course, installing from a CD-ROM/DVD set does not require any downloading — in this case, the operation is very fast." msgstr "对于 APT 的任何操作,需要更新可用包的列表;这可以简单地通过apt update来完成。取决于您连接的速度和配置,该操作需要花费一定时间,因为这包括下载一定数量的(通常已压缩)文件(Packages、Sources、Translation-language-code),这些文件随着 Debian 的开发而逐渐变大(对于main部分至少有 10MB 数据)。当然,从光盘中安装无需任何下载 — 此情况下,操作是十分迅速的。" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptupdate" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-getupdate" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptitudeupdate" msgstr "aptitudemarkauto" #, fuzzy #| msgid "APTpackage search" msgid "APTupdate package list" msgstr "APT软件包搜索" msgid "TIP Incremental updates" msgstr "提示 增量更新" #, fuzzy #| msgid "The aim of the apt update command is to download for each package source the corresponding Packages (or Sources) file. However, even after a xz compression, these files can remain rather large (the Packages.xz for the main section of Buster takes more than 7 MB). If you wish to update regularly, these downloads can take up a lot of time." msgid "The aim of the apt update command is to download for each package source the corresponding Packages (or Sources) file. However, even after a xz compression, these files can remain rather large (the Packages.xz for the main section of Unstable takes more than 8 MB). If you wish to update regularly, these downloads can take up a lot of time." msgstr "如先前所述,apt update 命令的目标是为每个软件包源下载相应的 Packages(或 Sources)文件。然而,即使经过 xz 压缩,这些文件仍会相当大(针对 Buster 的 main 部分的 Packages.xz 文件超过6MB大小)。如果您想要频繁更新,上述下载将花费较多时间。" #, fuzzy #| msgid "To speed up the process APT can download “diff” files containing the changes since the previous update, as opposed to the entire file. To achieve this, official Debian mirrors distribute different files which list the differences between one version of the Packages file and the following version. They are generated at each update of the archives and a history of one week is kept. Each of these “diff” files only takes a few dozen kilobytes for Unstable, so that the amount of data downloaded by a weekly apt update is often divided by 10. For Stable and Testing, which change less, the gain is even more noticeable." msgid "To speed up the process, APT can download “diff” files containing the changes since the previous update, as opposed to the entire file. To achieve this, official Debian mirrors distribute different files which list the differences between one version of the Packages file and the following version. They are generated at each update of the archives and a history of one week is kept. Each of these “diff” files only takes a few dozen kilobytes for Unstable, so that the amount of data downloaded by a weekly apt update is often divided by 10. For Stable and Testing, which change less, the gain is even more noticeable." msgstr "为了加快处理速度,APT 可以下载只包括与前一此更新有变动内容的 “diff” 文件,而不是整个文件。官方的 Debian 镜射网站发行此等文镜像站发行此等文件列出 Packages 文件及其后续版本的不同处。每次升级与每周升级分别都有对应的文件。每个供 不稳定版 的 “diff” 文件只有几十 KB 大小,所以每周使用 apt update 命令需要下载的数据不会太大。稳定版 与 测试版 的分行版,只有极小的改变。" msgid "APTAcquire::PDiffs" msgstr "APTAcquire::PDiffs" msgid "However, it can sometimes be of interest to force the download of the entire Packages file, especially when the last upgrade is very old and when the mechanism of incremental differences would not contribute much. This can also be interesting when network access is very fast but when the processor of the machine to upgrade is rather slow, since the time saved on the download is more than lost when the computer calculates the new versions of these files (starting with the older versions and applying the downloaded differences). To do that, you can use the APT configuration parameter Acquire::PDiffs and set it to false." msgstr "然而,有的时候仍需要下载整个 Packages 文件,尤其是上回升级是很久以前的事且不适合增量式升级。若网络速度极快但机器的处理器性能不足以应付升级,下载省下的时间还不足以弥补电脑计算新版的时间 (从旧版开始逐一地升级)。在这种情况下,可以使用配置参数 Acquire::PDiffs 并设置为 false。" msgid "$ sudo apt -o \"Acquire::PDiffs=false\" update" msgstr "$ sudo apt -o \"Acquire::PDiffs=false\" update" msgid "APTAcquire::Languages" msgstr "APTAcquire::Languages" msgid "The Acquire::* options also control other aspects of the download, and even the download methods. Acquire::Languages can limit or disable the download of Translation-language-code files and save even more time. For a complete reference see apt.conf5." msgstr "Acquire::*选项控制下载的其它方面,甚至是下载方法。Acquire::Languages可以限制或禁止下载Translation-language-code文件,并节省更多时间。全部信息请参考apt.conf5." msgid "Installing and Removing" msgstr "安装和卸载" #, fuzzy #| msgid "installationpackage installation" msgid "APTpackage installation" msgstr "安装软件包安装" #, fuzzy #| msgid "APTpackage search" msgid "APTpackage removal" msgstr "APT软件包搜索" #, fuzzy #| msgid "APTpackage search" msgid "APTpackage purge" msgstr "APT软件包搜索" msgid "packageinstallation" msgstr "软件包安装" msgid "packageremoval" msgstr "软件包卸载" #, fuzzy #| msgid "packageseal" msgid "packagepurge" msgstr "软件包封装" msgid "installationpackage installation" msgstr "安装软件包安装" msgid "removal of a package" msgstr "卸载一个软件包" msgid "With APT, packages can be added or removed from the system, respectively with apt install package and apt remove package. In both cases, APT will automatically install the necessary dependencies or delete the packages which depend on the package that is being removed. The apt purge package command involves a complete uninstallation by deleting the configuration files as well." msgstr "通过APT,软件包可以从系统中添加或移除,命令分别为apt install软件包、apt remove软件包。在以上两种情况中,APT 将会自动安装必要的依赖包或者删除依赖于删除包的软件包。apt purge软件包命令包含一个彻底删除 — 相关的配置文件也会被删除。" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptinstall" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptremove" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptpurge" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-getinstall" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-getremove" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-getpurge" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptitudeinstall" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptituderemove" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptitudepurge" msgstr "aptitudemarkauto" msgid "TIP Installing the same selection of packages several times" msgstr "提示 多次安装同一批软件包" msgid "It can be useful to systematically install the same list of packages on several computers. This can be done quite easily." msgstr "在几台电脑上安装同一批软件包会很实用。这很容易做到。" msgid "First, retrieve the list of packages installed on the computer which will serve as the “model” to copy." msgstr "首先,从电脑中取得所安装软件包的列表作为用于复制的“模板”。" #, fuzzy #| msgid "aptitudemarkauto" msgid "dpkg--get-selections" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "dpkg--set-selections" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "dpkg--merge-avail" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-getdselect-upgrade" msgstr "aptitudemarkauto" msgid "$ dpkg --get-selections >pkg-list" msgstr "$ dpkg --get-selections >pkg-list↵" msgid "The pkg-list file then contains the list of installed packages. Next, transfer the pkg-list file onto the computers you want to update and use the following commands:" msgstr "pkg-list 文件内容是已安装软件包的清单。然后,用以下的指令把 pkg-list 文件复制在欲更新的电脑:" msgid "" "## Update dpkg's database of known packages\n" "# avail=`mktemp`\n" "# apt-cache dumpavail > \"$avail\"\n" "# dpkg --merge-avail \"$avail\"\n" "# rm -f \"$avail\"\n" "## Update dpkg's selections\n" "# dpkg --set-selections < pkg-list\n" "## Ask apt-get to install the selected packages\n" "# apt-get dselect-upgrade" msgstr "" "## 更新已知软件包的 dpkg 数据库↵\n" "# avail=`mktemp`↵\n" "# apt-cache dumpavail > \"$avail\"↵\n" "# dpkg --merge-avail \"$avail\"↵\n" "# rm -f \"$avail\"↵\n" "## 更新 dpkg 的选定项↵\n" "# dpkg --set-selections < pkg-list↵\n" "## 通知 apt-get 安装已选定的软件包↵\n" "# apt-get dselect-upgrade↵" msgid "The first commands record the list of available packages in the dpkg database. Then dpkg --set-selections restores the selection of packages that you wish to install, and the apt-get invocation executes the required operations! aptitude does not have this command." msgstr "第一个命令记录在 dpkg 库中可用的软件包列表,然后 dpkg --set-selections 恢复选中你想要安装的包,apt-get 激活执行所需要的操作!aptitude 没有这样的命令。" msgid "TIP Removing and installing at the same time" msgstr "提示 同时进行卸载和安装" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptinstallpackage+" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptinstallpackage-" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-getinstallpackage+" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-getinstallpackage-" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptitudeinstallpackage+" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptitudeinstallpackage-" msgstr "aptitudemarkauto" msgid "It is possible to ask apt (or apt-get, or aptitude) to install certain packages and remove others on the same command line by adding a suffix. With an apt install command, add “-” to the names of the packages you wish to remove. With an apt remove command, add “+” to the names of the packages you wish to install." msgstr "在命令 apt (或 apt-get、或 aptitude) 加入后缀就可以同时安装指定的软件包与移除其他软件包。在 apt install 命令加入 “-” 及希望移除的软件包名称。在 apt remove 命令加入 “+” 及希望安装的软件包名称。" msgid "The next example shows two different ways to install package1 and to remove package2." msgstr "下面的例子展示两种不同方法来安装package1 和卸载package2。" msgid "# apt install package1 package2-" msgstr "# apt install package1 package2-" msgid "# apt remove package1+ package2" msgstr "# apt remove package1+ package2" #, fuzzy #| msgid "release notes" msgid "dependency solver" msgstr "发布说明" msgid "This can also be used to exclude packages which would otherwise be installed, for example, due to an automatic installation of Recommends. In general, the dependency solver will use that information as a hint to look for alternative solutions." msgstr "此方法也可用于把不同的软件包排除在外,比如由于Recommends自动安装的软件包。一般,依赖解决者会用此作为寻找其他办法的线索。" msgid "TIP apt --reinstall and aptitude reinstall" msgstr "技巧 apt --reinstall 和 aptitude reinstall" #, fuzzy #| msgid "installationpackage installation" msgid "APTpackage reinstallation" msgstr "安装软件包安装" msgid "reinstallation" msgstr "重新安装" #, fuzzy #| msgid "packageinstallation" msgid "packagereinstallation" msgstr "软件包安装" #, fuzzy #| msgid "/etc/apt/sources.listExampleunstable" msgid "aptinstall--reinstall" msgstr "/etc/apt/sources.list示例不稳定版" #, fuzzy #| msgid "/etc/apt/sources.listExampleunstable" msgid "apt-getinstall--reinstall" msgstr "/etc/apt/sources.list示例不稳定版" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptitudereinstall" msgstr "aptitudemarkauto" msgid "The system can sometimes be damaged after the removal or modification of files in a package. The easiest way to retrieve these files is to reinstall the affected package. Unfortunately, the packaging system finds that the latter is already installed and politely refuses to reinstall it; to avoid this, use the --reinstall option of the apt and apt-get commands. The following command reinstalls postfix even if it is already present:" msgstr "在软件包中的文件发生移除或更改时,系统有时候可能会受损。恢复这些文件最简单的方法是重新安装受影响的软件包。不幸的是,包管理系统会认为后者已安装而拒绝重新安装;为了避免此情况,使用apt和apt-get命令的 --reinstall选项。如下命令会重新安装postfix,即使它已存在:" msgid "# apt --reinstall install postfix" msgstr "# apt --reinstall install postfix" msgid "The aptitude command line is slightly different, but achieves the same result with aptitude reinstall postfix." msgstr "aptitude命令行略微不同,但可通过aptitude reinstall postfix获得同样的结果。" msgid "The problem does not arise with dpkg, but the administrator rarely uses it directly." msgstr "该问题不与dpkg同时出现,但管理员极少直接使用它。" msgid "Be careful! Using apt --reinstall to restore packages modified during an attack will certainly not recover the system as it was. details the necessary steps to take with a compromised system." msgstr "注意!使用apt --reinstall命令恢复受到攻击时变更的软件包,不会当然地恢复系统原本的样子。详述了受损系统要采取的必要步骤。" #, fuzzy #| msgid "dpkg--force-confask" msgid "dpkg--force-confask" msgstr "dpkg--force-confask" #, fuzzy #| msgid "dpkg--force-confmiss" msgid "dpkg--force-confmiss" msgstr "dpkg--force-confmiss" msgid "These commands will not restore the configuration files. But as you have learned in (see also sidebar ), you can use the following command to be asked to install the unmodified version and even restore any deleted configuration file as well." msgstr "这些命令不会恢复配置文件。但正如在 (参阅侧边栏 )中描述,您可以使用要求安装未修改的版本,甚至还原任何已删除的配置文件。" msgid "# apt --reinstall -o Dpkg::Options::=\"--force-confask,confmiss\" install package" msgstr "# apt --reinstall -o Dpkg::Options::=\"--force-confask,confmiss\" install package" #, fuzzy #| msgid "APT/etc/apt/apt.conf" msgid "/etc/etc/inputrc" msgstr "APT/etc/apt/apt.conf" msgid "Some packages don't ship the configuration file found in /etc with the package. Instead they create it during installation by either copying a skeleton or writing it by a script. The file /etc/inputrc, for example, is a copy of /usr/share/readline/inputrc. In such cases the commands shown above won't work." msgstr "某些软件包不会将 /etc 中的配置文件一起发布。而是在安装时复制一个配置框架或通过脚本编写配置。例如,/etc/inputrc 文件是 /usr/share/readline/inputrc 的副本。在这种情况下,上面的命令将不起作用。" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptinstallpackage=version" msgstr "aptitudemarkauto" msgid "aptinstallpackage/distribution" msgstr "" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-getinstallpackage=version" msgstr "aptitudemarkauto" msgid "apt-getinstallpackage/distribution" msgstr "" msgid "If the file sources.list mentions several distributions, it is possible to give the version of the package to install. A specific version number can be requested with apt install package=version, but indicating its distribution of origin (Stable, Testing or Unstable) — with apt install package/distribution — is usually preferred. With this command, it is possible to go back to an older version of a package (if, for instance, you know that it works well), provided that it is still available in one of the sources referenced by the sources.list file. Otherwise the snapshot.debian.org archive can come to the rescue (see sidebar )." msgstr "如果文件 sources.list 包含了数个发布版本,可以指定要安装软件包的版本。可以通过 apt install package=version命令要求特定版本号,但以标明其初始发行版本 (Stable, Testing 或者 Unstable)的方式— 通过 apt install package/distribution — 更为推荐。倘若 sources.list文件所述软件源之一仍可用的情况下,通过此命令可以回溯一个软件包的旧版本 (比如您知晓其情况良好的情况)。否则,snapshot.debian.org 归档可以补救(参阅侧边栏 )。" msgid "Installation of the Unstable version of spamassassin" msgstr "安装 spamassassin 的 Unstable 版本" msgid "# apt install spamassassin/unstable" msgstr "# apt install spamassassin/unstable" #, fuzzy #| msgid ".d" msgid ".deb" msgstr ".d" msgid "If the package to install has been made available to you under the form of a simple .deb file without any associated package repository, it is still possible to use APT to install it together with its dependencies (provided that the dependencies are available in the configured repositories) with a simple command: apt install ./path-to-the-package.deb. The leading ./ is important to make it clear that we are referring to a filename and not to the name of a package available in one of the repositories." msgstr "如果要安装没有关联存储库的简单 .deb 文件形式的软件包,仍然可以使用APT将其依赖项一起安装(前提是依赖项在配置的存储库中可用),使用简单命令: apt install ./path-to-the-package.deb。前缀 ./ 必须明确,表示要安装的是一个文件名,而不是其中一个存储库中可用的软件包名称。" msgid "GOING FURTHER The cache of .deb files" msgstr "扩展 .deb 文件的缓存" #, fuzzy #| msgid "APT/var/cache/apt/archives/" msgid "/var/var/cache/apt/archives/" msgstr "APT/var/cache/apt/archives/" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-getclean" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-getautoclean" msgstr "aptitudemarkauto" #, fuzzy #| msgid "APTfile search" msgid "APTdownload archive" msgstr "APT文件搜索" msgid "APT/var/cache/apt/archives/" msgstr "APT/var/cache/apt/archives/" msgid "APTAPT::Clean-Installed" msgstr "APTAPT::Clean-Installed" msgid "APT keeps a copy of each downloaded .deb file in the directory /var/cache/apt/archives/. In case of frequent updates, this directory can quickly take a lot of disk space with several versions of each package; you should regularly sort through them. Two commands can be used: apt-get clean entirely empties the directory; apt-get autoclean only removes packages which can no longer be downloaded (because they have disappeared from the Debian mirror) and are therefore clearly useless (the configuration parameter APT::Clean-Installed can prevent the removal of .deb files that are currently installed)." msgstr "APT 在/var/cache/apt/archives/ 目录中保存每个下载的 .deb文件的副本。在频繁更新的情况下,该目录下每个软件包的数个版本可能会占用大量磁盘空间;您应当经常整理它们。可以使用如下两个命令:apt-get clean完全清空整个目录;apt-get autoclean仅移除不会再下载的软件包(因为它们已从 Debian 镜像中消失)和明显无用的软件包(配置参数APT::Clean-Installed可以阻止移除安装中的.deb文件)。" msgid "System Upgrade" msgstr "系统升级" msgid "upgradesystem upgrade" msgstr "升级系统升级" #, fuzzy #| msgid "upgradesystem upgrade" msgid "APTsystem update" msgstr "升级系统升级" #, fuzzy #| msgid "packageseal" msgid "packageupgrade" msgstr "软件包封装" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptupgrade" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-getupgrade" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptitudesafe-upgrade" msgstr "aptitudemarkauto" msgid "Regular upgrades are recommended, because they include the latest security updates. To upgrade, use apt upgrade, apt-get upgrade or aptitude safe-upgrade (of course after apt update). This command looks for installed packages which can be upgraded without removing any packages. In other words, the goal is to ensure the least intrusive upgrade possible. apt-get is slightly more demanding than aptitude or apt because it will refuse to install packages which were not installed beforehand." msgstr "常规升级是推荐的,因为它们包含最新的安全更新。要升级,可使用apt upgrade、apt-get upgrade、aptitude safe-upgrade(当然需在apt update之后)。该命令会查找要升级的已安装包,同时不移除任何包。也就是说,目标是确保可能的侵入式升级最小化。apt-get命令略苛刻于 aptitude 或 apt命令,因为它会拒绝安装未预先安装的软件包。" msgid "apt will generally select the most recent version number (except for packages from Experimental and stable-backports, which are ignored by default whatever their version number). If you specified Testing or Unstable in your sources.list, apt upgrade will switch most of your Stable system to Testing or Unstable, which might not be what you intended." msgstr "apt 会选择最新的版本号 (除了来自 Experimental 与 stable-backports,其缺省忽略版本号)。若在 sources.list 内指定 测试版 或 不稳定版 ,则 apt upgrade 会把 稳定版 系统切换至 测试版 或 不稳定版,这些可能不是您要的。" msgid "APT/etc/apt/apt.conf" msgstr "APT/etc/apt/apt.conf" msgid "To tell apt to use a specific distribution when searching for upgraded packages, you need to use the -t or --target-release option, followed by the name of the distribution you want (for example, apt -t stable upgrade). To avoid specifying this option every time you use apt, you can add APT::Default-Release \"stable\"; in the file /etc/apt/apt.conf.d/local." msgstr "搜索升级的软件包时需把特定的发行版告知 apt,采用 -t 或 --target-release 选项,然后是发行版的名称 (如:apt -t stable upgrade)。为了避免每次使用 apt 都需指定版本,可以把 APT::Default-Release \"stable\"; 加在 /etc/apt/apt.conf.d/local 内。" #, fuzzy #| msgid "upgradesystem upgrade" msgid "APTsystem upgrade" msgstr "升级系统升级" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptfull-upgrade" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptdist-upgrade" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-getdist-upgrade" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptitudefull-upgrade" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptitudedist-upgrade" msgstr "aptitudemarkauto" msgid "For more important upgrades, such as the change from one major Debian version to the next, you need to use apt full-upgrade. With this instruction, apt will complete the upgrade even if it has to remove some obsolete packages or install new dependencies. This is also the command used by users who work daily with the Debian Unstable release and follow its evolution day by day. It is so simple that it hardly needs explanation: APT's reputation is based on this great functionality." msgstr "对于非常重要的升级,如从一个 Debian 主版本变更为下一版本,你需要使用apt full-upgrade。使用此命令,apt将会完全升级,即使必须移除一些废弃包或者安装新的依赖包。这也适用于日常使用 Debian Unstable并每天跟随其演化的用户。它是如此简便以至于几乎无需解释:APT的声誉基于此项强大的功能。" msgid "Unlike apt and aptitude, apt-get doesn't know the full-upgrade command. Instead, you should use apt-get dist-upgrade (”distribution upgrade”), the historical and well-known command that apt and aptitude also accept for the convenience of users who got used to it." msgstr "不同于 apt 与 aptitude,apt-get 不能用 full-upgrade 命令。反而,您应使用 apt-get dist-upgrade (“升级发行版”),此古老且知名的命令也被 apt 与 aptitude 接受,相当的便利。" #, fuzzy #| msgid "APT/var/log/apt/term.log" msgid "/var/var/log/apt/APT" msgstr "APT/var/log/apt/term.log" msgid "APT/var/log/apt/history.log" msgstr "APT/var/log/apt/history.log" msgid "APT/var/log/apt/term.log" msgstr "APT/var/log/apt/term.log" msgid "APT/var/log/apt/eipp.log.xz" msgstr "APT/var/log/apt/eipp.log.xz" 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 "The results of these operations are logged into /var/log/apt/history.log and /var/log/apt/term.log, whereas dpkg keeps its log in a file called /var/log/dpkg.log." msgstr "这些操作的结果记录到 /var/log/apt/history.log 和 /var/log/apt/term.log,而 dpkg 的日志记录到文件 /var/log/dpkg.log。" msgid "Configuration Options" msgstr "配置选项" msgid "apt.conf" msgstr "apt.conf" msgid "APTconfiguration" msgstr "APT配置" msgid "APT/etc/apt/apt.conf.d/" msgstr "APT/etc/apt/apt.conf.d/" #, fuzzy #| msgid "APTDPkg::options" msgid "APTDpkg::Options" msgstr "APTDPkg::options" msgid "APTAcquire::http::proxy" msgstr "APTAcquire::http::proxy" msgid "APTAcquire::ftp::proxy" msgstr "APTAcquire::ftp::proxy" msgid "Besides the configuration elements already mentioned, it is possible to configure certain aspects of APT by adding directives in a file of the /etc/apt/apt.conf.d/ directory or /etc/apt/apt.conf itself. Remember, for instance, that it is possible for APT to tell dpkg to ignore file conflict errors by specifying DPkg::options { \"--force-overwrite\"; }." msgstr "除了已提及的配置项目,还可在 /etc/apt/apt.conf.d/ 文件夹内增加 APT 的其他配置文件或编辑 /etc/apt/apt.conf 本身。让 APT 告知 dpkg 忽略由 DPkg::options { \"--force-overwrite\"; } 引发的错误。" #, fuzzy #| msgid "If the Web can only be accessed through a proxy, add a line like Acquire::http::proxy \"http://yourproxy:3128\". For an FTP proxy, write Acquire::ftp::proxy \"ftp://yourproxy\". To discover more configuration options, read the apt.conf5 manual page with the man apt.conf command (for details on manual pages, see )." msgid "If the Web can only be accessed through a proxy, add a line like Acquire::http::proxy \"http://yourproxy:3128\". For an FTP proxy, write Acquire::ftp::proxy \"ftp://yourproxy\". To discover more configuration options, read the apt.conf5 manual page (for details on manual pages, see )." msgstr "若只能经由代理服务器浏览网页,添加像这样的一列 Acquire::http::proxy \"http://yourproxy:3128\"。对 FTP 代理服务器,用 Acquire::ftp::proxy \"ftp://yourproxy\"。更多的配置选项,参考 apt.conf5 手册页,使用 man apt.conf 命令 (详情见 ) 查看。" msgid "BACK TO BASICS Directories ending in .d" msgstr "基础知识 结尾是 .d 的文件夹名称" msgid ".d" msgstr ".d" msgid "Directories with a .d suffix are used more and more often. Each directory represents a configuration file which is split over multiple files. In this sense, all of the files in /etc/apt/apt.conf.d/ are instructions for the configuration of APT. APT includes them in alphabetical order, so that the last ones can modify a configuration element defined in one of the first ones." msgstr "结尾是 .d 数据使用机会愈来愈多。每个文件夹内的配置档分为多个文件。所以,在 /etc/apt/apt.conf.d/ 内的文件都是供 APT 配置之用。APT 以字母顺序纳入他们,最后一个文件可以覆盖前的面的配置。" msgid "This structure brings some flexibility to the machine administrator and to the package maintainers. Indeed, the administrator can easily modify the configuration of the software by adding a ready-made file in the directory in question without having to change an existing file. Package maintainers use the same approach when they need to adapt the configuration of another software to ensure that it perfectly co-exists with theirs. The Debian policy explicitly forbids modifying configuration files of other packages — only users are allowed to do this. Remember that during a package upgrade, the user gets to choose the version of the configuration file that should be kept when a modification has been detected. Any external modification of the file would trigger that request, which would disturb the administrator, who is sure not to have changed anything." msgstr "此结构对机器的管理者与软件包维护带来若干弹性。确实,管理者容易修改软件的配置,只需在有问题的文件夹添加文件而不必变动既有的文件。需要调整另一个软件的配置,以确保与既有软件相依,软件包维护者以同样的方法就能达成。Debian 的政策禁止修改其他软件包的配置档 — 只有被授权者才能修改。软件包升级时,用户应保留选择配置档版本的权力。外部修改此文件时将启动该选项,管理者就知道是外来的修改。" #, fuzzy #| msgid "apt-get" msgid "dpkg-divert" msgstr "apt-get" #, fuzzy #| msgid "Without a .d directory, it is impossible for an external package to change the settings of a program without modifying its configuration file. Instead it must invite the user to do it themselves and lists the operations to be done in the file /usr/share/doc/package/README.Debian." msgid "Without a .d directory, it is impossible for an external package to change the settings of a program by modifying its configuration file directly. Instead it must either invite the user to do it themselves and lists the operations to be done in the file /usr/share/doc/package/README.Debian, or it must create a file diversion for the configuration file using the dpkg-divert command and then install its own configuration file for the software in question. The latter is sometimes used by third party packages which try to handle configuration files of software components they use." msgstr "没有 .d 文件夹时,外部软件包就不能在没有修改配置档的前提下修改程序设置。所以,必须邀请用户选择修改方式,并列出在文件 /usr/share/doc/package/README.Debian 内的选项。" msgid "Depending on the application, the .d directory is used directly or managed by an external script which will concatenate all the files to create the configuration file itself. It is important to execute the script after any change in that directory so that the most recent modifications are taken into account. In the same way, it is important not to work directly in the configuration file created automatically, since everything would be lost at the next execution of the script. The chosen method (.d directory used directly or a file generated from that directory) is usually dictated by implementation constraints, but in both cases the gains in terms of configuration flexibility more than make up for the small complications that they entail. The Exim 4 mail server is an example of the generated file method: it can be configured through several files (/etc/exim4/conf.d/*) which are concatenated into /var/lib/exim4/config.autogenerated by the update-exim4.conf command." msgstr "视应用程序的需要,可直接使用或由外部脚本管理 .d 文件夹,将所有文件串联成一个配置档。更动文件夹内容后,必须再运行脚本,才能纳入该等变动。还有一件重要的事,千万不要直接运行自动生成的配置档,因为下次运行脚本后将失去所有的东西。受到环境的限制才被迫选择指定的方法 (直接使用 .d 文件夹或由该文件夹产生的文件),不论何种方法,配置的弹性收益远大于其带来的复杂性。Exim 4 邮件服务器是产生文件方法的范例之一:可用多个文件 (/etc/exim4/conf.d/*) 配置串联成 /var/lib/exim4/config.autogenerated 再由 update-exim4.conf 命令运行。" msgid "Managing Package Priorities" msgstr "软件包优先级管理" msgid "pinning, APT pinning" msgstr "pinning, APT pinning" msgid "packagepriority" msgstr "软件包优先性" msgid "prioritypackage priority" msgstr "优先性软件包优先性" msgid "One of the most important aspects in the configuration of APT is the management of the priorities associated with each package source. For instance, you might want to extend one distribution with one or two newer packages from Testing, Unstable or Experimental. It is possible to assign a priority to each available package (the same package can have several priorities depending on its version or the distribution providing it). These priorities will influence APT's behavior: for each package, it will always select the version with the highest priority (except if this version is older than the installed one and if its priority is less than 1000)." msgstr "配置 APT 最重要的层面之一是管理每个软件包来源的优先性。例如,从 测试版、不稳定 或 实验版 中选取一个或多个软件包。可以指定每个软件包的优先性 (视其版本或发行版,同个软件包可以有多个优先性)。这些优先性将影响 APT 的行为:每个软件包总是选择最优先的版本 (除非旧于已安装的版本或优先性小于 1000)。" #, fuzzy #| msgid "release notes" msgid "apt_preferences" msgstr "发布说明" msgid "preferences" msgstr "偏好" msgid "APTpinning" msgstr "APTpinning" msgid "APTpreferences" msgstr "APT偏好" #, fuzzy #| msgid "APT/etc/apt/sources.list" msgid "APT/etc/apt/preferences" msgstr "APT/etc/apt/sources.list" #, fuzzy #| msgid "APT/etc/apt/apt.conf.d/" msgid "APT/etc/apt/preferences.d/" msgstr "APT/etc/apt/apt.conf.d/" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-t release" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-get-t release" msgstr "aptitudemarkauto" msgid "APT defines several default priorities. Each installed package version has a priority of 100. A non-installed version has a priority of 500 by default, but it can jump to 990 if it is part of the target release (defined with the -t command-line option or the APT::Default-Release configuration directive)." msgstr "APT 设置若干缺省的优先性。已安装软件包版本的优先性是 100。未安装版本缺省优先性为 500,若是另个发布的目标则可跳至 990 (以 -t 命令行选项或 APT::Default-Release 配置指令调整)。" msgid "You can modify the priorities by adding entries in a file in /etc/apt/preferences.d/ or the /etc/apt/preferences file with the names of the affected packages, their version, their origin and their new priority." msgstr "可以在 /etc/apt/preferences.d/ 内添加包含条目的文件或向 /etc/apt/preferences 文件添加条目,指名受影响软件包名称、版本、出处及其新的优先性。" #, fuzzy #| msgid "APT will never install an older version of a package (that is, a package whose version number is lower than the one of the currently installed package) except if its priority is higher than 1000 (or it is explicitely requested by the user, see ). APT will always install the highest priority package which follows this constraint. If two packages have the same priority, APT installs the newest one (whose version number is the highest). If two packages of same version have the same priority but differ in their content, APT installs the version that is not installed (this rule has been created to cover the case of a package update without the increment of the revision number, which is usually required)." msgid "APT will never install an older version of a package (that is, a package whose version number is lower than the one of the currently installed package) except if its priority is higher than 1000 (or it is explicitly requested by the user, see ). APT will always install the highest priority package which follows this constraint. If two packages have the same priority, APT installs the newest one (whose version number is the highest). If two packages of same version have the same priority but differ in their content, APT installs the version that is not installed (this rule has been created to cover the case of a package update without the increment of the revision number, which is usually required)." msgstr "APT 永远不会安装旧版的软件包 (就是软件包的版本编号小于已安装的软件包),除非其优先性高于 1000(或用户明确要,参阅 )。APT 总是安装优先性最高的软件包。若两个软件包的优先性相同,APT 安装最新的 (其版本编号较高)。若同版本的两个软件包优先性相同但内容不同,APT 安装还没有安装的版本 (包括没有递增修订编号的软件包,通常是需要的)。" msgid "In more concrete terms, a package whose priority is" msgstr "更具体地说,一个软件包的优先性是" #, fuzzy #| msgid "prioritypackage priority" msgid "APTpackage priority" msgstr "优先性软件包优先性" msgid "< 0" msgstr "< 0" msgid "will never be installed," msgstr "将永远不会被安装," msgid "1..99" msgstr "1..99" msgid "will only be installed if no other version of the package is already installed," msgstr "则只会在没有安装其他版本时才安装," msgid "100..499" msgstr "100..499" msgid "will only be installed if there is no other newer version installed or available in another distribution," msgstr "只有在没有安装其他较新版本或在其他发行版中可用的版本时才会安装," msgid "500....989" msgstr "500....989" msgid "will only be installed if there is no newer version installed or available in the target distribution," msgstr "只有在目标分发中没有较新或可用版本时才安装," msgid "990..1000" msgstr "990..1000" msgid "will be installed except if the installed version is newer," msgstr "除非已安装较新版本,否则都会安装," msgid "> 1000" msgstr "> 1000" msgid "will always be installed, even if it forces APT to downgrade to an older version." msgstr "强制安装,即使APT会降级到较旧的版本。" #, fuzzy #| msgid "When APT checks /etc/apt/preferences and /etc/apt/preferences.d/, it first takes into account the most specific entries (often those specifying the concerned package), then the more generic ones (including, for example, all the packages of a distribution). If several generic entries exist, the first match is used. The available selection criteria include the package's name and the source providing it. Every package source is identified by the information contained in a Release file that APT downloads together with the Packages files. It specifies the origin (usually “Debian” for the packages of official mirrors, but it can also be a person's or an organization's name for third-party repositories). It also gives the name of the distribution (usually Stable, Testing, Unstable or Experimental for the standard distributions provided by Debian) together with its version (for example, 10 for Debian Buster). Let's have a look at its syntax through some realistic case studies of this mechanism." msgid "When APT checks /etc/apt/preferences and /etc/apt/preferences.d/, it first takes into account the most specific entries (often those specifying the concerned package), then the more generic ones (including, for example, all the packages of a distribution). If several generic entries exist, the first match is used. The available selection criteria include the package's name and the source providing it. Every package source is identified by the information contained in a Release file that APT downloads together with the Packages files. It specifies the origin (usually “Debian” for the packages of official mirrors, but it can also be a person's or an organization's name for third-party repositories). It also gives the name of the distribution (usually Stable, Testing, Unstable or Experimental for the standard distributions provided by Debian) together with its version (for example, 11 for Debian Bullseye). Let's have a look at its syntax through some realistic case studies of this mechanism." msgstr "APT 检查 /etc/apt/preferences 和 /etc/apt/preferences.d/ 时,首先考量最精确的条目 (通常是指定的软件包),然后是较通用的 (包括如发行版内的所有软件包)。存在多个通用条目时,选用第一个。可用的选项包括软件包名称及其源名称。每个软件包来源包括 Release 文件,由 APT 与 Packages 文件同时下载。指定来源 (通常 “Debian” 的官方镜像站软件包,但也可以是个人的或机构的第三方存储仓库)。指定发行版名称 (通常是 Debian 提供标准发行版内的 稳定版、测试版、不稳定版 或 实验版) 及其版本 ( 8 就是 Debian 的 Jessie)。接着以实例查看其语法。" msgid "SPECIFIC CASE Priority of experimental" msgstr "特例实验性的优先性" msgid "If you listed Experimental in your sources.list file, the corresponding packages will almost never be installed because their default APT priority is 1. This is of course a specific case, designed to keep users from installing Experimental packages by mistake. The packages can only be installed by typing aptitude install package/experimental — users typing this command can only be aware of the risks that they take. It is still possible (though not recommended) to treat packages of Experimental like those of other distributions by giving them a priority of 500. This is done with a specific entry in /etc/apt/preferences:" msgstr "若把 Experimental 列在 sources.list 文件内,几乎不会安装对应软件包,因为其 APT 优先性为1。当然这是特例,避免用户意外安装 Experimental 软件包。这些软件包只能以指令 aptitude install 软件包名称/experimental 安装 — 用户键入此指令时自然知道其风险。还是有可能 (虽然 不 推荐) 把 Experimental 内的软件包视为其他发行版而给予优先性 100。在 /etc/apt/preferences 文件内给予特定的条目就行了:" msgid "" "Package: *\n" "Pin: release a=experimental\n" "Pin-Priority: 500" msgstr "" "Package: *\n" "Pin: release a=experimental\n" "Pin-Priority: 500" msgid "Let's suppose that you only want to use packages from the stable version of Debian. Those provided in other versions should not be installed except if explicitly requested. You could write the following entries in the /etc/apt/preferences file:" msgstr "暂时假设您只需用到 Debian 稳定版的软件包。除非特别指明,不会安装其他版本的软件包。可以在 /etc/apt/preferences 文件内写入以下条目:" msgid "" "Package: *\n" "Pin: release a=stable\n" "Pin-Priority: 900\n" "\n" "Package: *\n" "Pin: release o=Debian\n" "Pin-Priority: -10" msgstr "" "Package: *\n" "Pin: release a=stable\n" "Pin-Priority: 900\n" "\n" "Package: *\n" "Pin: release o=Debian\n" "Pin-Priority: -10" msgid "a=stable defines the name of the selected distribution. o=Debian limits the scope to packages whose origin is “Debian”." msgstr "a=stable 设置发行版的名称。o=Debian 限制来自 “Debian” 的软件包。" #, fuzzy #| msgid "Let's now assume that you have a server with several local programs depending on the version 5.24 of Perl and that you want to ensure that upgrades will not install another version of it. You could use this entry:" msgid "Let's now assume that you have a server with several local programs depending on the version 5.28 of Perl and that you want to ensure that upgrades will not install another version of it. You could use this entry:" msgstr "假设若干服务器内的程序使用 Perl 5.24 且不希望被升级为其他版本。您可以使用此条目:" #, fuzzy #| msgid "" #| "Package: perl\n" #| "Pin: version 5.24*\n" #| "Pin-Priority: 1001" msgid "" "Package: perl\n" "Pin: version 5.28*\n" "Pin-Priority: 1001" msgstr "" "Package: perl\n" "Pin: version 5.24*\n" "Pin-Priority: 1001" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-cachepolicy" msgstr "aptitudemarkauto" #, fuzzy #| msgid "To gain a better understanding of the mechanisms of priority and distribution or repository properties to pin do not hesitate to execute apt-cache policy to display the default priority associated with each package source, or apt-cache policy package to display the default priority for each available version and source of a package as explained in ." msgid "To gain a better understanding of the mechanisms of priority and distribution or repository properties to pin do not hesitate to execute apt-cache policy to display the default priority associated with each package source, or apt-cache policy package to display the default priority for each available version and source of a package as explained in ." msgstr "运行 apt-cache policy 显示每个软件包来源缺省的优先性,就能了解优先性的机制,或者使用 apt-cache policy 软件包名称 命令显示指定软件包所有可用版本的优先性,详见 。" msgid "The reference documentation for the files /etc/apt/preferences and /etc/apt/preferences.d/ is available in the manual page apt_preferences5, which you can display with man apt_preferences." msgstr "文件 /etc/apt/preferences 和 /etc/apt/preferences.d/ 的参考文档在手册的 apt_preferences5,使用 man apt_preferences 命令就可看到。" msgid "TIP Comments in /etc/apt/preferences" msgstr "提示 在 /etc/apt/preferences 内的注释" msgid "Explanation" msgstr "解释" msgid "Pin" msgstr "Pin" msgid "Pin-Priority" msgstr "Pin-Priority" #, fuzzy #| msgid "/etc/apt/sources.listExampleunstable" msgid "APTpreferencesExplanation" msgstr "/etc/apt/sources.list示例不稳定版" #, fuzzy #| msgid "/etc/apt/sources.listExamplestable" msgid "APTpreferencesPackage" msgstr "/etc/apt/sources.list示例稳定版" #, fuzzy #| msgid "APTpreferences" msgid "APTpreferencesPin" msgstr "APT偏好" #, fuzzy #| msgid "/etc/apt/sources.listExampleunstable" msgid "APTpreferencesPin-Priority" msgstr "/etc/apt/sources.list示例不稳定版" msgid "There is no official syntax to put comments in the /etc/apt/preferences file, but some textual descriptions can be provided by putting one or more “Explanation” fields at the start of each entry:" msgstr "/etc/apt/preferences 文件没有放置注释的官方语法,但可以在每个条目的 “Explanation” 字段置入若干说明:" msgid "" "Explanation: The package xserver-xorg-video-intel provided\n" "Explanation: in experimental can be used safely\n" "Package: xserver-xorg-video-intel\n" "Pin: release a=experimental\n" "Pin-Priority: 500" msgstr "" "Explanation: The package xserver-xorg-video-intel provided\n" "Explanation: in experimental can be used safely\n" "Package: xserver-xorg-video-intel\n" "Pin: release a=experimental\n" "Pin-Priority: 500" msgid "Working with Several Distributions" msgstr "在多个发行版中工作" msgid "apt being such a marvelous tool, it is tempting to pick packages coming from other distributions. For example, after having installed a Stable system, you might want to try out a software package available in Testing or Unstable without diverging too much from the system's initial state." msgstr "apt 是很奇妙的工具,可从其他发行版提取软件包。例如,安装 稳定版 系统之后,或许想要在不偏离系统原来状态下,试试 测试版 或 不稳定版 的软件包。" msgid "Even if you will occasionally encounter problems while mixing packages from different distributions, apt manages such coexistence very well and limits risks very effectively. The best way to proceed is to list all distributions used in /etc/apt/sources.list (some people always put the three distributions, but remember that Unstable is reserved for experienced users) and to define your reference distribution with the APT::Default-Release parameter (see )." msgstr "混用不同版本软件包出问题时,即使您偶尔会在混用不同发行版的包时遇到问题,apt 也可以处理得极为恰当把风险降到最低。最好的方法是把所有的发行版置于 /etc/apt/sources.list 文件内 (某些人总是置入三个发行版,不过还是要记得 不稳定版 是有经验用户的专属) 且在 APT::Default-Release 参数中设置偏好的发行版 (见 ) 。" msgid "Let's suppose that Stable is your reference distribution but that Testing and Unstable are also listed in your sources.list file. In this case, you can use apt install package/testing to install a package from Testing. If the installation fails due to some unsatisfiable dependencies, let it solve those dependencies within Testing by adding the -t testing parameter. The same obviously applies to Unstable." msgstr "假设 稳定版 是您的参考版本,但是 测试版 与 不稳定版 也列在 sources.list 文件内。在这个情况下,您可使用 apt install 软件包名称/testing 安装来自 测试版 的软件包。若因相依性未满足而安装失败,可以在 测试版 内加入 -t testing 参数。同样的方式也适用于 不稳定版。" #, fuzzy #| msgid "In this situation, upgrades (upgrade and full-upgrade) are done within Stable except for packages already upgraded to another distribution: those will follow updates available in the other distributions. We will explain this behavior with the help of the default priorities set by APT below. Do not hesitate to use apt-cache policy (see sidebar ) to verify the given priorities." msgid "In this situation, upgrades (upgrade and full-upgrade) are done within Stable except for packages already upgraded to another distribution: those will follow updates available in the other distributions. We will explain this behavior with the help of the default priorities set by APT below. Do not hesitate to use apt-cache policy () to verify the given priorities." msgstr "在此情况下,除了已经被其他发行版升级之外,升级 (upgrade 与 full-upgrade) 只在 稳定版 内完成:其他的升级在各自的发行版内处理。稍后以 APT 缺省的优先性说明此行为。请使用 apt-cache policy (见专栏 ) 查看指定的优先性。" msgid "Everything centers around the fact that APT only considers packages of higher or equal version than the installed one (assuming that /etc/apt/preferences has not been used to force priorities higher than 1000 for some packages)." msgstr "每件事都围绕在 APT 只处理高于或等于已安装版本号软件包的前提下 (假设 /etc/apt/preferences 还未强迫优先性高于 1000 的某些软件包)。" msgid "Let's assume that you have installed version 1 of a first package from Stable and that version 2 and 3 are available respectively in Testing and Unstable. The installed version has a priority of 100 but the version available in Stable (the very same) has a priority of 990 (because it is part of the target release). Packages in Testing and Unstable have a priority of 500 (the default priority of a non-installed version). The winner is thus version 1 with a priority of 990. The package “stays in Stable”." msgstr "假设从L 稳定版 安装第一个软件包的第一版且从 测试版 与 不稳定版 安装同软件包的第二版与第三版。已安装的版本优先性为 100 但在 稳定版 (相同的) 优先性为 990 (因为它是目标发布版的一部分)。在 测试版 与 不稳定版 的软件包其优先性为 500 (缺省不安装版本的优先性)。获选者为优先性 990 的版本1。软件包 “留在 稳定版 内”。" #, fuzzy #| msgid "Let's take the example of another package whose version 2 has been installed from Testing. Version 1 is available in Stable and version 3 in Unstable. Version 1 (of priority 990 — thus lower than 1000) is discarded because it is lower than the installed version. This only leaves version 2 and 3, both of priority 500. Faced with this alternative, APT selects the newest version, the one from Unstable. If you don't want a package installed from Testing to migrate to Unstable, you have to assign a priority lower than 500 (490 for example) to packages coming from Unstable. You can modify /etc/apt/preferences to this effect:" msgid "Let's take the example of another package whose version 2 has been installed from Testing. Version 1 is available in Stable and version 3 in Unstable. Version 1 (of priority 990 — thus lower than 1000) is discarded because it is lower than the installed version. This only leaves version 2 and 3, both of priority 500. Faced with this alternative, APT selects the newest version, the one from Unstable. If you don't want a package installed from Testing to migrate to the version in Unstable, you have to assign a priority lower than 500 (490 for example) to packages coming from Unstable. You can modify /etc/apt/preferences to this effect:" msgstr "另一个例子,软件包已从 测试版 安装版本 2。版本 1 在 稳定版 且版本 3 在 不稳定版。因为优先性小于已安装的版本,所以版本 1 (优先性为 990 — 小于 1000) 已作废。只剩下优先性为 500 的版本 2 与版本 3。在此情况下,APT 选择较新的版本,即使用 不稳定版。若不要已安装自 测试版 的软件包,可以迁移至 不稳定版,必须指定来自于 不稳定版 优先性小于 500 (例如 490) 的软件包。修改 /etc/apt/preferences 文件即可:" msgid "" "Package: *\n" "Pin: release a=unstable\n" "Pin-Priority: 490" msgstr "" "Package: *\n" "Pin: release a=unstable\n" "Pin-Priority: 490" msgid "Tracking Automatically Installed Packages" msgstr "自动追踪已安装的软件包" msgid "One of the essential functionalities of apt is the tracking of packages installed only through dependencies. These packages are called “automatic”, and often include libraries." msgstr "apt 的必要功能之一是经由相依性追踪已安装的软件包。这些软件包称为 “自动”,且通常包括程序库。" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptautoremove" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-getautoremove" msgstr "aptitudemarkauto" msgid "APTautomatic removal" msgstr "APT自动移除" msgid "packageautomatic removal" msgstr "软件包自动移除" msgid "With this information, when packages are removed, the package managers can compute a list of automatic packages that are no longer needed (because there is no “manually installed” packages depending on them). apt-get autoremove or apt autoremove will get rid of those packages. aptitude does not have this command because it removes them automatically as soon as they are identified. In all cases, the tools display a clear message listing the affected packages." msgstr "有了这些信息后,移除软件包时,软件包管理器可以计算不再需要的自动软件包 (因为没有 “手动安装” 软件包相依于他)。apt-get autoremove 或 apt autoremove 会清除该软件包。aptitude 没有这个命令,因为在标识之后会马上自动移除。在所有的情况下,清除消息中列出所有受影响的软件包。" #, fuzzy #| msgid "packageautomatic removal" msgid "packageautomatic" msgstr "软件包自动移除" #, fuzzy #| msgid "packageseal" msgid "packagemanual" msgstr "软件包封装" #, fuzzy #| msgid "componentmain" msgid "packagemarkauto" msgstr "组件main" #, fuzzy #| msgid "componentmain" msgid "packageunmarkauto" msgstr "组件main" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-markauto" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-markmanual" msgstr "aptitudemarkauto" msgid "aptitudemarkauto" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptitudeunmarkauto" msgstr "aptitudemarkauto" msgid "It is a good habit to mark as automatic any package that you don't need directly so that they are automatically removed when they aren't necessary anymore. apt-mark auto package will mark the given package as automatic whereas apt-mark manual package does the opposite. aptitude markauto and aptitude unmarkauto work in the same way although they offer more features for marking many packages at once (see ). The console-based interactive interface of aptitude also makes it easy to review the “automatic flag” on many packages." msgstr "把软件包标记为自动是个好习惯,不需要时就被自动移除。apt-mark auto 软件包名称 会标记该软件包为自动而 apt-mark manual 软件包名称 则不标记。aptitude markauto 与 aptitude unmarkauto 作用相同只是功能较多 (见 )。aptitude 的命令交互接口也可查看多个软件包的 “自动标识”。" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptitudewhy" msgstr "aptitudemarkauto" msgid "People might want to know why an automatically installed package is present on the system. To get this information from the command line, you can use aptitude why package (apt and apt-get have no similar feature):" msgstr "人们可能希望知道为什么自动安装软件包出现在系统内。由于从命令行取得该等信息,可使用 aptitude why 软件包名称 (apt 与 apt-get 没有类似的功能):" #, fuzzy #| msgid "" #| "$ aptitude why python-debian\n" #| "i aptitude Suggests apt-xapian-index\n" #| "p apt-xapian-index Depends python-debian (>= 0.1.14)\n" #| "" msgid "" "$ aptitude why python3-debian\n" "i aptitude Suggests apt-xapian-index\n" "p apt-xapian-index Depends python3-debian (>= 0.1.14)\n" "" msgstr "" "$ aptitude why python-debian\n" "i aptitude Suggests apt-xapian-index\n" "p apt-xapian-index Depends python-debian (>= 0.1.14)\n" "" msgid "ALTERNATIVE deborphan and debfoster" msgstr "其他 deborphan 与 debfoster" msgid "deborphan" msgstr "deborphan" msgid "debfoster" msgstr "debfoster" msgid "In days where apt, apt-get and aptitude were not able to track automatic packages, there were two utilities producing lists of unnecessary packages: deborphan and debfoster. Both can still be useful." msgstr "早年 apt、apt-get 与 aptitude 还不能追踪自动软件包时,以另外两个指令产不必要软件包清单:deborphan 与 debfoster。" #, fuzzy #| msgid "deborphan scans the libs and oldlibs sections (in the absence of supplementary instructions) by default looking for the packages that are currently installed and that no other package depends on. The resulting list can then serve as a basis to remove unneeded packages." msgid "deborphan scans the libs and oldlibs sections by default (in the absence of supplementary instructions) looking for the packages that are currently installed and that no other package depends on. The resulting list can then serve as a basis to remove unneeded packages." msgstr "deborphan 默认扫描 libs 与 oldlibs 区域 (在没有补充命令的情况下),查找当前已安装且的软件包和寻没有其他包依赖的软件包。其结果作为移除非必要软件包的依据。" msgid "debfoster has a more elaborate approach, very similar to APT's one: it maintains a list of packages that have been explicitly installed, and remembers what packages are really required between each invocation. If new packages appear on the system and if debfoster doesn't know them as required packages, they will be shown on the screen together with a list of their dependencies. The program then offers a choice: remove the package (possibly together with those that depend on it), mark it as explicitly required, or ignore it temporarily." msgstr "debfoster 还有其他用法,极类似 APT:维护一个已安装的软件包以及需要互调用的软件包清单。系统内出现新的软件包且 debfoster 不知道它需要那些软件包,则在屏幕显示其相依的软件包清单。此程序提供新的选择:移除软件包 (或许连同相依者),标记为必要,或暂时忽略它。" msgid "APT Patterns" msgstr "" #, fuzzy #| msgid "APTpreferences" msgid "APTpatterns" msgstr "APT偏好" #, fuzzy #| msgid "tag" msgid "apt-patterns" msgstr "标签" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptlist" msgstr "aptitudemarkauto" msgid "Patterns allow you to specify complex search queries to select the packages you want to install or show. They were first implemented for aptitude (see ), but now APT can also make use of them." msgstr "" msgid "For example, we can use apt list ?automatic to list all the packages automatically installed. To find packages automatically installed no longer depended upon by manually installed packages the pattern ?garbage can be used." msgstr "" msgid "Logic patterns can be combined with other packages to form more complex expressions. For instance, we could use a pattern like ?and(PATTERN, PATTERN). See apt-patterns7 and glob7 for all the patterns you can use and the complex expressions you can create with them." msgstr "" msgid "The apt-cache Command" msgstr "The apt-cache 命令" msgid "apt-cache" msgstr "apt-cache" msgid "APTpackage search" msgstr "APT软件包搜索" msgid "APTheader display" msgstr "APT显示标头" #, fuzzy #| msgid "APTinterfaces" msgid "APTcache" msgstr "APT接口" msgid "search of packages" msgstr "搜索软件包" msgid "packagesearch" msgstr "软件包搜索" msgid "The apt-cache command can display much of the information stored in APT's internal database. This information is a sort of cache since it is gathered from the different sources listed in the sources.list file. This happens during the apt update operation." msgstr "apt-cache 命令可显示 APT 内部数据库里的多种信息。这些信息是从 sources.list 文件内聚集不同来源的缓存。于运行 apt update 运作时产生的。" msgid "VOCABULARY Cache" msgstr "术语 缓存" msgid "cache" msgstr "缓存" msgid "A cache is a temporary storage system used to speed up frequent data access when the usual access method is expensive (performance-wise). This concept can be applied in numerous situations and at different scales, from the core of microprocessors up to high-end storage systems." msgstr "缓存是一种暂存系统,当常用访问方法昂贵 (性能方面) 时,用于加快常用数据的取用速度。这个概念应用范围极广,从微处理器核心至高端保存系统。" #, fuzzy #| msgid "In the case of APT, the reference Packages files are those located on Debian mirrors. That said, it would be very ineffective to go through the network for every search that we might want to do in the database of available packages. That is why APT stores a copy of those files (in /var/lib/apt/lists/) and searches are done within those local files. Similarly, /var/cache/apt/archives/ contains a cache of already downloaded packages to avoid downloading them again if you need to reinstall them after a removal." msgid "In the case of APT, the reference Packages files are those located on Debian mirrors. That said, it would be very ineffective to go through the network for every search that we might want to do in the database of available packages. That is why APT stores a copy of those files (in /var/lib/apt/lists/) and searches are done within those local files. Similarly, /var/cache/apt/archives/ contains a cache of already downloaded packages (see sidebar ) to avoid downloading them again if you need to reinstall them after a removal." msgstr "在 APT 的环境,参照 Packages 文件是在 Debian 镜像站的位置。也就是说,使用数据库软件包时,每次都通过网络读取,极无效率。所以,APT 在其文件内保存一个副本 (在 /var/lib/apt/lists/) 每次搜索本地的文件即可。同样地,/var/cache/apt/archives/ 保存已经下载的软件包避免在移除后又需要时的重复下载行为。" msgid "On the other hand, it is mandatory to run apt update regularly to update the cache. Otherwise your package search results will always miss the latest updates distributed by the Debian mirrors." msgstr "另一方面,必须运行 apt update 更新缓存。否则您的搜索结果会错过Debian镜像站发行版的最新更新。" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptsearch" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptshow" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-cachesearch" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-cacheshow" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptitudesearch" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptitudeshow" msgstr "aptitudemarkauto" #, fuzzy #| msgid "The apt-cache command can do keyword-based package searches with apt-cache search keyword. It can also display the headers of the package's available versions with apt-cache show package. This command provides the package's description, its dependencies, the name of its maintainer, etc. Note that apt search, apt show, aptitude search, aptitude show work in the same way." msgid "The apt-cache command can do keyword-based package searches with apt-cache search keyword. It can also display the headers of the package's available versions with apt-cache show package. This command provides the package's description, its dependencies, the name of its maintainer, etc. Note that apt search, apt show, aptitude search, and aptitude show work in the same way." msgstr "apt-cache 命令可以通过 apt-cache search keyword做基于关键词的软件包搜索。也能使用 apt-cache show 软件包名称 显示可用版本软件包的标头。这个命令提供软件包说明、依赖性、维护者名称等。请注意,apt search、apt show、aptitude search、aptitude show 都以同样方式运作。" msgid "ALTERNATIVE axi-cache" msgstr "其他 axi-cache" msgid "axi-cache" msgstr "axi-cache" msgid "apt-xapian-index" msgstr "apt-xapian-index" msgid "apt-cache search is a very rudimentary tool, basically implementing grep on package's descriptions. It often returns too many results or none at all when you include too many keywords." msgstr "apt-cache search 是基础的工具,使用 grep 搜索软件包描述。输入过多键词可能返回大量结果或完全无数据。" #, fuzzy #| msgid "aptitudemarkauto" msgid "axi-cachesearch" msgstr "aptitudemarkauto" msgid "axi-cache search term, on the other hand, provides better results, sorted by relevancy. It uses the Xapian search engine and is part of the apt-xapian-index package which indexes all package information (and more, like the .desktop files from all Debian packages). It knows about tags (see sidebar ) and returns results in a matter of milliseconds." msgstr "axi-cache search trem,从另一方面来说提供更好的结果,以相关性排序。使用 Xapian 搜索引擎且它是 apt-xapian-index 软件包的一部分索引所有软件包的信息 (进一步来说,就像是来自所有 Debian 软件包的 .desktop 档)。显示标签 (见专栏 ) 并在毫秒之间送回结果。" #, fuzzy #| msgid "" #| "$ axi-cache search package use::searching\n" #| "" msgid "" "$ axi-cache search package use::searching\n" "" msgstr "" "$ axi-cache search package use::searching\n" "" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-cachedumpavail" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-cachepkgnames" msgstr "aptitudemarkauto" #, fuzzy #| msgid "Some features are more rarely used. For instance, apt-cache policy displays the priorities of package sources as well as those of individual packages. Another example is apt-cache dumpavail which displays the headers of all available versions of all packages. apt-cache pkgnames displays the list of all the packages which appear at least once in the cache." msgid "Some features are more rarely used. For instance, apt-cache dumpavail displays the headers of all available versions of all packages. apt-cache pkgnames displays the list of all the packages which appear at least once in the cache." msgstr "有些功能极少用到。例如,apt-cache policy 显示软件包来源及优先性。另一个例子是apt-cache dumpavail 显示所有软件包全部版本的标头。apt-cache pkgnames 显示出现在缓存至少一次的软件包清单。" msgid "One of the features which might come in handy more often is apt-cache policy, described in the following section." msgstr "" #, fuzzy #| msgid "The apt-cache Command" msgid "The apt-cache policy Command" msgstr "The apt-cache 命令" #, fuzzy #| msgid "APTpinning" msgid "APTpinningpriorities" msgstr "APTpinning" #, fuzzy #| msgid "The apt-cache policy command displays the pinning priorities and distribution properties of each package source as explained in . It can also show the pinning priorities for all available versions and sources of a package. For the sources.list example used in and APT::Default-Release set to \"buster\", the output will look like this:" msgid "The apt-cache policy command displays the pinning priorities and distribution properties of each package source as explained in . It can also show the pinning priorities for all available versions and sources of a package. For the sources.list example used in and APT::Default-Release set to \"bullseye\", the output will look like this:" msgstr "apt-cache policy 命令显示每个软件包的固定优先级及分发属性,如 所述。也可以显示软件包所有可用版本的固定优先级和源。对于 和 APT::Default-Release 中的示例 sources.list,设置为 \"buster\",则输出如下所示:" #, fuzzy #| msgid "" #| "$ apt-cache policy\n" #| "Package files:\n" #| " 100 /var/lib/dpkg/status\n" #| " release a=now\n" #| " 100 https://deb.debian.org/debian buster-backports/contrib amd64 Packages\n" #| " release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=contrib,b=amd64\n" #| " origin deb.debian.org\n" #| " 100 https://deb.debian.org/debian buster-backports/main amd64 Packages\n" #| " release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=main,b=amd64\n" #| " origin deb.debian.org\n" #| " 990 https://deb.debian.org/debian buster/non-free amd64 Packages\n" #| " release v=10.0,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=amd64\n" #| " origin deb.debian.org\n" #| " 990 https://deb.debian.org/debian buster/contrib amd64 Packages\n" #| " release v=10.0,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=amd64\n" #| " origin deb.debian.org\n" #| " 990 https://deb.debian.org/debian buster/main amd64 Packages\n" #| " release v=10.0,o=Debian,a=stable,n=buster,l=Debian,c=main,b=amd64\n" #| " origin deb.debian.org\n" #| " 990 http://security.debian.org buster/updates/main amd64 Packages\n" #| " release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=amd64\n" #| " origin security.debian.org" msgid "" "$ apt-cache policy\n" "Package files:\n" " 100 /var/lib/dpkg/status\n" " release a=now\n" " 100 https://deb.debian.org/debian bullseye-backports/main amd64 Packages\n" " release o=Debian Backports,a=bullseye-backports,n=bullseye-backports,l=Debian Backports,c=main,b=amd64\n" " origin deb.debian.org\n" " 990 https://deb.debian.org/debian bullseye/non-free amd64 Packages\n" " release v=11.0,o=Debian,a=stable,n=bullseye,l=Debian,c=non-free,b=amd64\n" " origin deb.debian.org\n" " 990 https://deb.debian.org/debian bullseye/contrib amd64 Packages\n" " release v=11.0,o=Debian,a=stable,n=bullseye,l=Debian,c=contrib,b=amd64\n" " origin deb.debian.org\n" " 990 https://deb.debian.org/debian bullseye/main amd64 Packages\n" " release v=11.0,o=Debian,a=stable,n=bullseye,l=Debian,c=main,b=amd64\n" " origin deb.debian.org\n" " 500 http://security.debian.org bullseye-security/main amd64 Packages\n" " release v=11,o=Debian,a=stable-security,n=bullseye-security,l=Debian-Security,c=main,b=amd64\n" " origin security.debian.org\n" "Pinned packages:" msgstr "" "$ apt-cache policy\n" "Package files:\n" " 100 /var/lib/dpkg/status\n" " release a=now\n" " 100 https://deb.debian.org/debian buster-backports/contrib amd64 Packages\n" " release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=contrib,b=amd64\n" " origin deb.debian.org\n" " 100 https://deb.debian.org/debian buster-backports/main amd64 Packages\n" " release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=main,b=amd64\n" " origin deb.debian.org\n" " 990 https://deb.debian.org/debian buster/non-free amd64 Packages\n" " release v=10.0,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=amd64\n" " origin deb.debian.org\n" " 990 https://deb.debian.org/debian buster/contrib amd64 Packages\n" " release v=10.0,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=amd64\n" " origin deb.debian.org\n" " 990 https://deb.debian.org/debian buster/main amd64 Packages\n" " release v=10.0,o=Debian,a=stable,n=buster,l=Debian,c=main,b=amd64\n" " origin deb.debian.org\n" " 990 http://security.debian.org buster/updates/main amd64 Packages\n" " release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=amd64\n" " origin security.debian.org" msgid "apt-cache policy can also show the pinning priorities for all available versions and sources of a given package." msgstr "apt-cache policy 可以显示指定软件包所有可用版本的固定优先级和源。" #, fuzzy #| msgid "" #| "$ apt-cache policy iptables\n" #| "iptables:\n" #| " Installed: 1.8.2-4\n" #| " Candidate: 1.8.2-4\n" #| " Version table:\n" #| " 1.8.3-2~bpo10+1 100\n" #| " 100 https://deb.debian.org/debian buster-backports/main amd64 Packages\n" #| " *** 1.8.2-4 990\n" #| " 990 https://deb.debian.org/debian buster/main amd64 Packages\n" #| " 100 /var/lib/dpkg/status" msgid "" "$ apt-cache policy limnoria\n" "limnoria:\n" " Installed: 2021.06.15-1\n" " Candidate: 2021.06.15-1\n" " Version table:\n" " 2021.07.21-1~bpo11+1 100\n" " 100 https://deb.debian.org/debian bullseye-backports/main amd64 Packages\n" " *** 2021.06.15-1 990\n" " 990 https://deb.debian.org/debian bullseye/main amd64 Packages\n" " 100 /var/lib/dpkg/status" msgstr "" "$ apt-cache policy iptables\n" "iptables:\n" " Installed: 1.8.2-4\n" " Candidate: 1.8.2-4\n" " Version table:\n" " 1.8.3-2~bpo10+1 100\n" " 100 https://deb.debian.org/debian buster-backports/main amd64 Packages\n" " *** 1.8.2-4 990\n" " 990 https://deb.debian.org/debian buster/main amd64 Packages\n" " 100 /var/lib/dpkg/status" #, fuzzy #| msgid "APT/etc/apt/apt.conf.d/" msgid "APT/etc/apt/preferences.d/preferences" msgstr "APT/etc/apt/apt.conf.d/" #, fuzzy #| msgid "Although there is a newer version of iptables in the buster-backports repository, APT will not install it automatically based on the priority. One would have to use apt install iptables/buster-backports or add a higher pinning priority to /etc/apt/preferences.d/iptables:" msgid "Although there is a newer version of limnoria in the bullseye-backports repository, APT will not install it automatically based on the priority. One would have to use apt install limnoria/bullseye-backports or add a higher pinning priority to /etc/apt/preferences.d/limnoria.pref:" msgstr "尽管在软件创库 buster-backports 中有新版本的 iptables,APT根据优先性也不会自动安装。需要使用 apt install iptables/buster-backports 或在 /etc/apt/preferences.d/iptables 中添加更高的固定优先级:" #, fuzzy #| msgid "" #| "Package: iptables\n" #| "Pin: release o=Debian Backports, a=buster-backports\n" #| "Pin-Priority: 1001" msgid "" "Package: limnoria\n" "Pin: release o=Debian Backports, a=bullseye-backports\n" "Pin-Priority: 1001" msgstr "" "Package: iptables\n" "Pin: release o=Debian Backports, a=buster-backports\n" "Pin-Priority: 1001" #, fuzzy #| msgid "" #| "$ apt-cache policy iptables\n" #| "iptables:\n" #| " Installed: 1.8.2-4\n" #| " Candidate: 1.8.2-4\n" #| " Version table:\n" #| " 1.8.3-2~bpo10+1 100\n" #| " 100 https://deb.debian.org/debian buster-backports/main amd64 Packages\n" #| " *** 1.8.2-4 990\n" #| " 990 https://deb.debian.org/debian buster/main amd64 Packages\n" #| " 100 /var/lib/dpkg/status" msgid "" "$ apt-cache policy limnoria\n" "limnoria:\n" " Installed: 2021.06.15-1\n" " Candidate: 2021.07.21-1~bpo11+1\n" " Version table:\n" " 2021.07.21-1~bpo11+1 1001\n" " 100 https://deb.debian.org/debian bullseye-backports/main amd64 Packages\n" " *** 2021.06.15-1 990\n" " 990 https://deb.debian.org/debian bullseye/main amd64 Packages\n" " 100 /var/lib/dpkg/status" msgstr "" "$ apt-cache policy iptables\n" "iptables:\n" " Installed: 1.8.2-4\n" " Candidate: 1.8.2-4\n" " Version table:\n" " 1.8.3-2~bpo10+1 100\n" " 100 https://deb.debian.org/debian buster-backports/main amd64 Packages\n" " *** 1.8.2-4 990\n" " 990 https://deb.debian.org/debian buster/main amd64 Packages\n" " 100 /var/lib/dpkg/status" msgid "The apt-file Command" msgstr "apt-file 命令" msgid "apt-file" msgstr "apt-file" msgid "APTfile search" msgstr "APT文件搜索" msgid "search of files" msgstr "搜索文件" msgid "packagesearch files" msgstr "软件包搜索文件" #, fuzzy #| msgid "Sometimes we refer to a file or a command and you might wonder, in which package it will be found. Fortunately the Debian repositories not only contain information about all the binary packages provided, but also all the files shipped with them. This information is stored in files named Contents-arch.gz and Contents-udeb-arch.gz. This information is not automatically downloaded by APT. Instead it needs the apt-file update command (from the similar named package) to retrieve the contents of all package sources mentioned in /etc/apt/sources.list. To update the database on a weekly base, the following entry can be added to /etc/crontab if convenient." msgid "Sometimes we refer to a file or a command and you might wonder, in which package it will be found. Fortunately the Debian repositories not only contain information about all the binary packages provided, but also all the files shipped with them. This information is stored in files named Contents-arch.gz and Contents-udeb-arch.gz. This information is not automatically downloaded by APT. Instead it needs the apt-file update command (from the similar named package) to retrieve the contents of all package sources mentioned in /etc/apt/sources.list. By default it downloads Contents*.pdiff files as described in sidebar to reduce the amount of data necessary to be downloaded. To update the database on a weekly base, the following entry can be added to /etc/crontab if convenient." msgstr "我们引用一个文件或命令时,有时希望知道在哪个软件包找到它。幸运的是 Debian 储存库不仅包含所有二进制软件包提供的信息,还包含它们附带的所有文件。这些信息存储在文件名为 Contents-arch.gz 和 Contents-udeb-arch.gz 的文件中。APT不会自动下载这些信息。需要使用 apt-file update 命令(从类似命名软件包)检索所有 /etc/apt/sources.list 中的软件包源。要每周更新数据库,可以方便地将以下条目添加到 /etc/crontab。" msgid "> /dev/null 2>&1]]>" msgstr "> /dev/null 2>&1]]>" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-filesearch" msgstr "aptitudemarkauto" msgid "After the database has been updated, the command apt-file search pattern will list all packages, which contain a filename or path containing the pattern." msgstr "数据库更新后,命令 apt-file search pattern 会列出包含文件名或模式匹配的所有软件包。" msgid "" "$ apt-file search bin/axi-cache\n" "apt-xapian-index: /usr/bin/axi-cache" msgstr "" "$ apt-file search bin/axi-cache\n" "apt-xapian-index: /usr/bin/axi-cache" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-filelist" msgstr "aptitudemarkauto" msgid "The command apt-file list package will list all files shipped with the package instead." msgstr "命令 apt-file list package 会列出软件包附带的所有文件。" msgid "TIP Listing a package contents and finding a file's package" msgstr "秘诀 列出软件包内容和查找文件对应的软件包" #, fuzzy #| msgid "aptitudemarkauto" msgid "dpkg--listfiles" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "dpkg--search" msgstr "aptitudemarkauto" msgid "cruft" msgstr "cruft" msgid "cruft-ng" msgstr "cruft-ng" msgid "Similar to apt-file list the command dpkg -L package lists all files, but only for an installed package. To find the package, a local file belongs to, use dpkg -S file (see ). To list all local files not belonging to any installed package, you might want to take a look at the cruft or the cruft-ng package." msgstr "与 apt-file list 类似,命令 dpkg -L package 列出已安装软件包的所有文件。要查找属于软件包的本地文件,使用 dpkg -S file (参阅 )。要列出不属于任何已安装软件包的本地文件,可以参考 cruft 或 cruft-ng 软件包。" msgid "Frontends: aptitude, synaptic" msgstr "前端:aptitude、synaptic" msgid "APTinterfaces" msgstr "APT接口" #, fuzzy #| msgid "APT is a C++ program whose code mainly resides in the libapt-pkg shared library. Using a shared library facilitates the creation of user interfaces (front-ends), since the code contained in the library can easily be reused. Historically, apt-get was only designed as a test front-end for libapt-pkg but its success tends to obscure this fact." msgid "APT is a C++ program whose code mainly resides in the libapt-pkg shared library. Using a shared library facilitates the creation of user interfaces (frontends), since the code contained in the library can easily be reused. Historically, apt-get was only designed as a test frontend for libapt-pkg but its success tends to obscure this fact." msgstr "APT 是 C++ 写成程序,其代码主要在 libapt-pkg 共享程序库内。以此共享程序库创建用户接口 (前端),很容易再利用在程序库内的源代码。过去 apt-get 只当作 libapt-pkg 的测试前端,但此事实也渐趋模糊。" msgid "aptitude" msgstr "aptitude" msgid "APTinterfacesaptitudeaptitude" msgstr "APT接口aptitudeaptitude" msgid "aptitude is an interactive program that can be used in semi-graphical mode on the console. You can browse the list of installed and available packages, look up all the available information, and select packages to install or remove. The program is designed specifically to be used by administrators, so that its default behaviors are designed to be much more intelligent than apt-get's, and its interface much easier to understand." msgstr "aptitude 是交互程序,可用于终端机的半图形模式,可浏览已安装与可用软件包,搜索所有可用信息,并选择安装或移除的软件包。此程序专为管理者而设计,缺省的行为比 apt-get 的行为更智能,且其界面更容易理解。" msgid "The aptitude package manager" msgstr "aptitude 软件包管理器" msgid "aptitudebasic usage" msgstr "aptitude基本使用" msgid "When it starts, aptitude shows a list of packages sorted by state (installed, non-installed, or installed but not available on the mirrors — other sections display tasks, virtual packages, and new packages that appeared recently on mirrors). To facilitate thematic browsing, other views are available. In all cases, aptitude displays a list combining categories and packages on the screen. Categories are organized through a tree structure, whose branches can respectively be unfolded or closed with the Enter, [ and ] keys. + should be used to mark a package for installation, - to mark it for removal and _ to purge it (note that these keys can also be used for categories, in which case the corresponding actions will be applied to all the packages of the category). u updates the lists of available packages and Shiftu prepares a global system upgrade. g switches to a summary view of the requested changes (and typing g again will apply the changes), and q quits the current view. If you are in the initial view, this will effectively close aptitude." msgstr "开始的时候,aptitude 依状态显示所有的软件包 (已安装、未安装、或已安装但不在镜像站 — 其他的区块显示工作、虚拟软件包、与最近才出现在镜像站的新软件包)。还有其他的查看方法,提供主题式浏览。所有的情况下,aptitude 在屏幕显示各主题与软件包的清单。以树状组织主题,可以用 Enter、[ 与 ] 按键展开与收起分支。+ 标示可安装的软件包,- 标示可移除的软件包,_ 标示可清除的软件包 (这些按键也可用类别,对应的行为适用于类别内的所有软件包)。u 更新可用软件包清单,Shiftu 准备全系统的更新。g 切换摘要查看模式(再次键入 g 则应用更改),q 离开现在的视图。若您在初始的视图,将关闭 aptitude。" msgid "DOCUMENTATION aptitude" msgstr "文档 aptitude" msgid "aptitudedocumentation" msgstr "aptitude文档" #, fuzzy #| msgid "apt-cacher" msgid "aptitude-doc-en" msgstr "apt-cacher" msgid "This section does not cover the finer details of using aptitude. It rather focuses on giving you a survival kit to use it. But it is well documented and we advise you to use its complete manual available in the aptitude-doc-en package (see /usr/share/doc/aptitude/html/en/index.html) or at ." msgstr "此区域不包括使用 aptitude 的详情。只专注于提供急救用的工具包。其文档较完整,建议您使用 aptitude-doc-en 软件包内的完整手册 (见 /usr/share/doc/aptitude/html/en/index.html)或 。" msgid "aptitudepackage search" msgstr "aptitude软件包搜索" msgid "To search for a package, you can type / followed by a search pattern. This pattern matches the name of the package, but can also be applied to the description (if preceded by ~d), to the section (with ~s) or to other characteristics detailed in the documentation. The same patterns can filter the list of displayed packages: type the l key (as in limit) and enter the pattern." msgstr "键入 / 及搜索的关键词,就能搜索软件包。关键词对应软件包的名称,也可以是用于描述内容 (若前置 ~d、区域 (前置 ~s) 或文档内的其他字词。同样地关键词可以筛选显示软件包的清单:键入 l (如同在 limit 之内) 与其他关键词。" msgid "aptitudeautomatic flag" msgstr "aptitude自动标记" #, fuzzy #| msgid "Managing the “automatic flag” of Debian packages (see ) is a breeze with aptitude. It is possible to browse the list of installed packages and mark packages as automatic with Shift m or to remove the mark with the m key. “Automatic packages” are displayed with an “A” in the list of packages. This feature also offers a simple way to visualize the packages in use on a machine, without all the libraries and dependencies that you don't really care about. The related pattern that can be used with l (to activate the filter mode) is ~i!~M. It specifies that you only want to see installed packages (~i) not marked as automatic (!~M)." msgid "Managing the “automatic flag” of Debian packages (see ) is a breeze with aptitude. It is possible to browse the list of installed packages and mark packages as automatic with Shiftm or to remove the mark with the m key. “Automatic packages” are displayed with an “A” in the list of packages. This feature also offers a simple way to visualize the packages in use on a machine, without all the libraries and dependencies that you don't really care about. The related pattern that can be used with l (to activate the filter mode) is ~i!~M. It specifies that you only want to see installed packages (~i) not marked as automatic (!~M)." msgstr "管理 Debian 软件包的 “自动标识” (见 ),对 aptitude 而言是小事一椿。可以浏览已安装软件包,并用 Shift m 标示为自动的软件包或以 m 键移除标示。在软件包清单内,“自动软件包” 标示为 “A”。此功能也可简单看到机器内正在使用的软件包,不必看那些程序库与相依性繁琐的细节。相关的关键词可以与 l (启动筛选模式) 一起使用的是 ~i!~M。它的作用是只看已安装的软件包 (~i) 而不是被标示为自动(!~M) 的软件包。" msgid "TOOL Using aptitude on the command-line interface" msgstr "工具 在命令行界面使用 aptitude" msgid "aptitudecommand line" msgstr "aptitude命令行" msgid "Most of aptitude's features are accessible via the interactive interface as well as via command-lines. These command-lines will seem familiar to regular users of apt-get and apt-cache." msgstr "经由命令行或交互界面可以使用 aptitude 大部分的功能。命令行看来像是 apt-get 与 apt-cache。" msgid "The advanced features of aptitude are also available on the command-line. You can use the same package search patterns as in the interactive version. For example, if you want to cleanup the list of “manually installed” packages, and if you know that none of the locally installed programs require any particular libraries or Perl modules, you can mark the corresponding packages as automatic with a single command:" msgstr "也能从命令行使用 aptitude 的高端功能。使用交互版相同的软件包搜索模式。例如,清除 “手动安装” 软件包、本地安装的程序不再需要程序库或 Perl 模块,就可把对应的软件包标示为自动:" msgid "# aptitude markauto '~slibs|~sperl'" msgstr "# aptitude markauto '~slibs|~sperl'" msgid "Here, you can clearly see the power of the search pattern system of aptitude, which enables the instant selection of all the packages in the libs and perl sections." msgstr "从这里您可看到 aptitude 搜索模式系统的威力,即时选取 libs 与 perl 区块的所有软件包。" msgid "Beware, if some packages are marked as automatic and if no other package depends on them, they will be removed immediately (after a confirmation request)." msgstr "小心,软件包被标记为自动且其他软件包均未相依于它们,该软件包就会被自动移除 (经过确认程序)。" msgid "Managing Recommendations, Suggestions and Tasks" msgstr "管理推荐、建议与工作" msgid "aptitudetasks" msgstr "aptitudetasks" msgid "Another interesting feature of aptitude is the fact that it respects recommendations between packages while still giving users the choice not to install them on a case by case basis. For example, the gnome package recommends transmission-gtk (among others). When you select the former for installation, the latter will also be selected (and marked as automatic if not already installed on the system). Typing g will make it obvious: transmission-gtk appears on the summary screen of pending actions in the list of packages installed automatically to satisfy dependencies. However, you can decide not to install it by deselecting it before confirming the operations." msgstr "aptitude 另个有趣的功能是尊重软件包间的建议,但给使用以个案方式选择不安装的自由。例如,gnome 软件包建议 transmission-gtk (及其他选择)。选择前者安装时,后者也被选取 (若未安装在系统内则标记为自动)。键入 g 将使其更明显: transmission-gtk 显示在满足相依性的自动安装软件包清单里的待决摘要画面。然而,在确认前可以不选择,自行决定要不要安装。" msgid "Note that this recommendation tracking feature does not apply to upgrades. For instance, if a new version of gnome recommends a package that it did not recommend formerly, the package won't be marked for installation. However, it will be listed on the upgrade screen so that the administrator can still select it for installation." msgstr "注意,这个推荐的追踪功能不适用于更新。例如,若新版 gnome 推荐一个以前不推荐的软件包,那么就不会安装它。然而,还是列在屏幕,管理者仍可点击并安装它。" msgid "Suggestions between packages are also taken into account, but in a manner adapted to their specific status. For example, since gnome suggests empathy, the latter will be displayed on the summary screen of pending actions (in the section of packages suggested by other packages). This way, it is visible and the administrator can decide whether to take the suggestion into account or not. Since it is only a suggestion and not a dependency or a recommendation, the package will not be selected automatically — its selection requires a manual intervention from the user (thus, the package will not be marked as automatic)." msgstr "同时把软件包间的建议列入考量,但调整特别的情况。例如,自从 gnome 建议 empathy,后者显示在屏幕的待决区 (其他软件包的建议区)。这样子,就能看见且管理者可以决定是否把它们列入考量。毕竟只是建议而不是相依或提议,软件包仍不会被列入自动 — 需要读者的人工介入 (因此,软件包不会被标示为自动)。" msgid "In the same spirit, remember that aptitude makes intelligent use of the concept of task. Since tasks are displayed as categories in the screens of packages lists, you can either select a full task for installation or removal, or browse the list of packages included in the task to select a smaller subset." msgstr "在同样的精神下,记得 aptitude 以智能的手法使用工作的概念。在屏幕的软件包清单中显示工作,可以安装或移除选定的完整工作,或浏览包括选定较小工作的软件包清单。" msgid "Better Solver Algorithms" msgstr "更好的解决算法" msgid "aptitudesolver" msgstr "aptitudesolver" #, fuzzy #| msgid "To conclude this section, let's note that aptitude has more elaborate algorithms compared to apt-get when it comes to resolving difficult situations. When a set of actions is requested and when these combined actions would lead to an incoherent system, aptitude evaluates several possible scenarios and presents them in order of decreasing relevance. However, these algorithms are not failproof. Fortunately there is always the possibility to manually select the actions to perform. When the currently selected actions lead to contradictions, the upper part of the screen indicates a number of “broken” packages (and you can directly navigate to those packages by pressing b). It is then possible to manually build a solution for the problems found. In particular, you can get access to the different available versions by simply selecting the package with Enter. If the selection of one of these versions solves the problem, you should not hesitate to use the function. When the number of broken packages gets down to zero, you can safely go to the summary screen of pending actions for a last check before you apply them." msgid "To conclude this section, let's note that aptitude has more elaborate algorithms compared to apt-get when it comes to resolving difficult situations. When a set of actions is requested and when these combined actions would lead to an incoherent system, aptitude evaluates several possible scenarios and presents them in order of decreasing relevance. However, these algorithms are not fail-proof. Fortunately there is always the possibility to manually select the actions to perform. When the currently selected actions lead to contradictions, the upper part of the screen indicates a number of “broken” packages (and you can directly navigate to those packages by pressing b). It is then possible to manually build a solution for the problems found. In particular, you can get access to the different available versions by simply selecting the package with Enter. If the selection of one of these versions solves the problem, you should not hesitate to use the function. When the number of broken packages gets down to zero, you can safely go to the summary screen of pending actions for a last check before you apply them." msgstr "总结本段的内容,在解决困难情境时,aptitude 的演算较 apt-get 更为复杂。需要运行一组工作且可能导致破碎的系统时,aptitude 评估若干可能的状况以递减关联的方式呈现。然而,这些算法不是总能奏效的。幸运的是,总有手动选择运行的可能。现在的选择导致矛盾的地方,屏幕的上就指出若干 “破碎” 的软件包 (可以键入 b 浏览这些软件包)。能以人工方式创建解决此问题的方案。尤其是,可以按 Enter 键选取多个可用的版本。选定的版本可以解决问题,就毫不犹豫使用其功能。破碎软件包渐趋于零后,您可安全地进入待决区的摘要画面,于使用前再次确认。" msgid "NOTE aptitude's log" msgstr "说明 aptitude 的日志" msgid "aptitudelog" msgstr "aptitudelog" msgid "aptitude/var/log/aptitude" msgstr "aptitude/var/log/aptitude" #, fuzzy #| msgid "aptitude/var/log/aptitude" msgid "/var/var/log/aptitude" msgstr "aptitude/var/log/aptitude" msgid "Like dpkg, aptitude keeps a trace of executed actions in its logfile (/var/log/aptitude). However, since both commands work at a very different level, you cannot find the same information in their respective logfiles. While dpkg logs all the operations executed on individual packages step by step, aptitude gives a broader view of high-level operations like a system-wide upgrade." msgstr "如同 dpkg,aptitude 追踪运行动作存在其记录档内 (/var/log/aptitude)。然而,两个命令分别在不同层次工作,各自的记录档有不同的信息。当 dpkg 记录对各别软件包的一步步运作,aptitude 则记录系统更新之类的高端运作。" #, fuzzy #| msgid "Beware, this logfile only contains a summary of operations performed by aptitude. If other front-ends (or even dpkg itself) are occasionally used, then aptitude's log will only contain a partial view of the operations, so you can't rely on it to build a trustworthy history of the system." msgid "Beware, this logfile only contains a summary of operations performed by aptitude. If other frontends (or even dpkg itself) are occasionally used, then aptitude's log will only contain a partial view of the operations, so you can't rely on it to build a trustworthy history of the system." msgstr "小心,记录档只包括 aptitude 工作的摘要。若其他前端 (即使是 dpkg 自身) 只是偶而用到,则 aptitude 的记录档将只包括一部分的操作,所以不能依赖它创建系统的历史记录。" msgid "synaptic" msgstr "synaptic" msgid "APTinterfacessynapticsynaptic" msgstr "APT接口synapticsynaptic" msgid "synaptic is a graphical package manager for Debian which features a clean and efficient graphical interface based on GTK+/GNOME. Its many ready-to-use filters give fast access to newly available packages, installed packages, upgradable packages, obsolete packages and so on. If you browse through these lists, you can select the operations to be done on the packages (install, upgrade, remove, purge); these operations are not performed immediately, but put into a task list. A single click on a button then validates the operations, and they are performed in one go." msgstr "synaptic 是 Debian 的软件包图形管理器,在 GTK+/GNOME 的基础上提供清楚有效的图形接口。它以很多的立即可用筛选器提供快速添加的软件包、安装软件包、可升级软件包、过时软件包等。经由这些清单浏览,选定对软件包的工作 (安装、升级、移除、清除);不会立即运行此等工作,但把它们放入工作清单。单键按下可运行的工作,接着就可运行。" msgid "synaptic package manager" msgstr "synaptic 软件包管理器" msgid "Checking Package Authenticity" msgstr "检查软件包真实性" msgid "packageauthenticity check" msgstr "软件包真实性检查" msgid "packageseal" msgstr "软件包封装" msgid "packagesignature" msgstr "软件包签章" msgid "signaturepackage signature" msgstr "签章软件包签章" msgid "authenticationpackage authentication" msgstr "真实性软件包真实性" #, fuzzy #| msgid "InRelease" msgid "Release" msgstr "InRelease" msgid "Release.gpg" msgstr "Release.gpg" msgid "InRelease" msgstr "InRelease" #, fuzzy #| msgid "APTinterfaces" msgid "APTapt-secure" msgstr "APT接口" msgid "APTarchive authentification" msgstr "APT验证存档" msgid "Security is very important for Falcot Corp administrators. Accordingly, they need to ensure that they only install packages which are guaranteed to come from Debian with no tampering on the way. A computer cracker could try to add malicious code to an otherwise legitimate package. Such a package, if installed, could do anything the cracker designed it to do, including for instance disclosing passwords or confidential information. To circumvent this risk, Debian provides a tamper-proof seal to guarantee — at install time — that a package really comes from its official maintainer and hasn't been modified by a third party." msgstr "Falcot 公司的管理极重视安全。因此,他们只安装 Debian 保证无窜改的软件包。电脑怪客可能在合法的软件包内加入若干恶意代码。若安装了这种软件包,就会运行怪客要它做的事,包括泄露密码或隐私信息。为避免这个风险,Debian 有个机制在安装时避免纂改的风险,只安装来自官方维护者的软件包且未经第三方修改。" #, fuzzy #| msgid "The seal works with a chain of cryptographical hashes and a signature and is explained in detail in apt-secure8. Starting with Debian 10 Buster the signed file is the InRelease file, provided by the Debian mirrors. There is also a legacy file called Release. Both contain a list of the Packages files (including their compressed forms, Packages.gz and Packages.xz, and the incremental versions), along with their SHA256 hashes, which ensures that the files haven't been tampered with. These Packages files contain a list of the Debian packages available on the mirror, along with their hashes, which ensures in turn that the contents of the packages themselves haven't been altered either. The difference between InRelease and Release is that the former is cryptographically signed in-line, whereas the latter provides a detached signature in the form of the file Release.gpg." msgid "The seal works with a chain of cryptographic hashes and a signature and is explained in detail in apt-secure8. Starting with Debian 10 Buster the signed file is the InRelease file, provided by the Debian mirrors. There is also a legacy file called Release. Both contain a list of the Packages files (including their compressed forms, Packages.gz and Packages.xz, and the incremental versions), along with their SHA256 hashes, which ensures that the files haven't been tampered with. These Packages files contain a list of the Debian packages available on the mirror, along with their hashes, which ensures in turn that the contents of the packages themselves haven't been altered either. The difference between InRelease and Release is that the former is cryptographically signed in-line, whereas the latter provides a detached signature in the form of the file Release.gpg." msgstr "封装与加密哈希链及签章一起工作,详细解释见 apt-secure8。从 Debian 10 Buster 开始,签名文件是由Debian镜像提供的 InRelease文件。同时有一个旧文件称为 Release。都包含 Packages 文件(包括压缩模式 Packages.gz 和 Packages.xz 及增量版本)及其SHA256哈希值列表,确保文件未被篡改。这些 Packages 文件包含Debian软件包的可用镜像及其哈希值列表,确保包含的软件包内容未被篡改。InRelease 和 Release 的区别是前者是在线加密签名的,而后者是以文件 Release.gpg 提供分离签名。" #, fuzzy #| msgid "signaturepackage signature" msgid "signaturerepository signature" msgstr "签章软件包签章" msgid "NOTE The future of Release and Release.gpg" msgstr "注意 Release 和 Release.gpg 的发展" #, fuzzy #| msgid "Probably with the release of Debian 11 Bullseye APT will remove support for the legacy files Release and Release.gpg, used since APT 0.6, which introduced support for an archive authentication." msgid "After the release of Debian 10 Buster the intention has been announced to remove support for the legacy files Release and Release.gpg in APT, used since version 0.6, which introduced support for an archive authentication." msgstr "随着 Debian 11 Bullseye 发布,APT可能会移除从APT 0.6以来对旧文件 Release 和 Release.gpg 的支持,该功能支持存档身份验证。" #, fuzzy #| msgid "APT/etc/apt/trusted.gpg" msgid "APT/etc/apt/trusted.gpgapt-key" msgstr "APT/etc/apt/trusted.gpg" #, fuzzy #| msgid "APT/etc/apt/trusted.gpg" msgid "APT/etc/apt/trusted.gpg.d/apt-key" msgstr "APT/etc/apt/trusted.gpg" msgid "APTRelease" msgstr "APTRelease" msgid "APTRelease.gpg" msgstr "APTRelease.gpg" msgid "APTInRelease" msgstr "APTInRelease" msgid "apt-key" msgstr "apt-key" msgid "debian-archive-keyring" msgstr "debian-archive-keyring" #, fuzzy #| msgid "APT needs a set of trusted GnuPG public keys to verify signatures in the InRelease and Release.gpg files available on the mirrors. It gets them from files in /etc/apt/trusted.gpg.d/ and from the /etc/apt/trusted.gpg keyring (managed by the apt-key command). The official Debian keys are provided and kept up-to-date by the debian-archive-keyring package which puts them in /etc/apt/trusted.gpg.d/. Note, however, that the first installation of this particular package requires caution: even if the package is signed like any other, the signature cannot be verified externally. Cautious administrators should therefore check the fingerprints of imported keys before trusting them to install new packages:" msgid "APT needs a set of trusted GnuPG public keys to verify signatures in the InRelease and Release.gpg files available on the mirrors. It gets them from files in /etc/apt/trusted.gpg.d/ and from the /etc/apt/trusted.gpg keyring (managed by the apt-key command). The official Debian keys are provided and kept up-to-date by the debian-archive-keyring package which puts them in /etc/apt/trusted.gpg.d/:" msgstr "APT需要一组受信任的 GnuPG公钥来验证镜像上的 InRelease 和 Release.gpg 文件。它们来自 /etc/apt/trusted.gpg.d/ 中的文件和 /etc/apt/trusted.gpg 中的密钥环(通过命令 apt-key 管理)。官方 Debian 密钥由 debian-archive-keyring 软件包提供并保持更新,放在 /etc/apt/trusted.gpg.d/。请注意,首次安装此特定软件包时需要相当谨慎:即使此包像其他一样签名,但也不能通过外部验证。因此,谨慎的管理员在信任导入密钥以安装新包之前,应检查其指纹:" msgid "" "# ls /etc/apt/trusted.gpg.d/\n" "" msgstr "" msgid "IN PRACTICE Adding trusted keys" msgstr "实务 添加可信任的密钥" msgid "trusted key" msgstr "可信任的密钥" msgid "keyAPT's authentication keys" msgstr "密钥APT 的信任密钥" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-keyadd" msgstr "aptitudemarkauto" #, fuzzy #| msgid "componentmain" msgid "sources.listSigned-By" msgstr "组件main" msgid "When a third-party package source is added to the sources.list file, APT needs to be told to trust the corresponding GPG authentication key (otherwise it will keep complaining that it can't ensure the authenticity of the packages coming from that repository). The first step is of course to get the public key. More often than not, the key will be provided as a small text file, which we will call key.asc in the following examples." msgstr "将第三方软件包来源加入 sources.list 文件后,必须告知 APT 信任对应的 GPG 认证密钥 (否则将继续拒绝无法确认来自该存储库的软件包)。第一步是取得公钥。多半以一个小小的纯文本档做为公钥,在下面的例子里,我们称它为 key.asc。" #, fuzzy #| msgid "To add the key to the trusted keyring, the administrator can just put it in a *.asc file in /etc/apt/trusted.gpg.d/. This is supported since Debian Stretch. With older releases, you had to run apt-key add < key.asc." msgid "To add the key to APT's trusted keyring, the administrator can just put it in a *.gpg file in /etc/apt/trusted.gpg.d/ (*.asc files are discouraged and can cause problems). This is supported since Debian Stretch. With older releases, you had to run apt-key add < key.asc, which is considered obsolete already." msgstr "要添加信任密钥,管理员只需将 *.asc 文件放到 /etc/apt/trusted.gpg.d/ 目录中。这从 Debian Stretch 开始支持。在更旧的版本中,必须运行 apt-key add < key.asc。" msgid "While this is very common behavior, it also creates a possible issue. APT does not know which key belongs to which repository. If one of the keys in APT's keyring matches the signature of an archive, APT considers the archive as authenticated. Once a key has been added to the trusted keyring, a malicious attacker could actually provide its own \"version\" of a Debian mirror signed by the same key. It might therefor actually be better to put the key as *.gpg file into /usr/share/keyrings/ and use the Signed-By field in sources.list for third party repositories as shown in the example below." msgstr "" msgid "Imagine, that the Falcot Corp. runs their own public repository and you want to use it. They have signed it and provide a publicly available key(ring) as well to download. To restrict the key to the repository, you can simply do this:" msgstr "" msgid "$ sudo wget -O falcot-keyring.gpg -P /usr/share/keyrings https://packages.falcot.com/debian/repository.gpg" msgstr "" msgid "deb [ signed-by=/usr/share/keyrings/falcot-keyring.gpg ] https://packages.falcot.com/debian bullseye main" msgstr "" msgid "Beware that adding and using third party repositories always poses a security and stability risk!" msgstr "" #, fuzzy #| msgid "Once the appropriate keys are in the keyring, APT will check the signatures before any risky operation, so that front-ends will display a warning if asked to install a package whose authenticity can't be ascertained." msgid "Once the appropriate keys are in the keyring, APT will check the signatures before any risky operation, so that frontends will display a warning if asked to install a package whose authenticity can't be ascertained." msgstr "适当的密钥纳入到密钥链后,APT 将检查签名后才会运行任何危险的操作,若要求安装的软件包其认证不明确时,前端将出现警示消息。" msgid "Note, that binary packages are usually not signed. The integrity of a package can only be confirmed by checking its hashsums against a trusted (and possibly signed) hashsum source." msgstr "" #, fuzzy #| msgid "NOTE Layout of security repositories" msgid "SPECIFIC CASE Unsigned repositories" msgstr "注解 安全仓库的目录排列" #, fuzzy #| msgid "/etc/apt/sources.listExampleunstable" msgid "sources.listTrusted" msgstr "/etc/apt/sources.list示例不稳定版" #, fuzzy #| msgid "APTapt-secure" msgid "sources.listAllow-Insecure" msgstr "APTapt-secure" msgid "While in general unsigned repositories shouldn't be used, some users might still require them, for example to provide some locally built packages. APT can be forced to accept such a repository by prepending the repository URL using allow-insecure=yes or trusted=yes. We will demonstrate it using the example from :" msgstr "" msgid "" "deb [ trusted=yes ] http://packages.falcot.com/ updates/\n" "deb [ trusted=yes ] http://packages.falcot.com/ internal/" msgstr "" msgid "Upgrading from One Stable Distribution to the Next" msgstr "升级至下个稳定发行版" msgid "systemdist-upgrade" msgstr "systemdist-upgrade" msgid "dist-upgrade" msgstr "dist-upgrade" msgid "APTdist-upgrade" msgstr "APTdist-upgrade" msgid "One of the best-known features of Debian is its ability to upgrade an installed system from one stable release to the next: dist-upgrade — a well-known phrase — has largely contributed to the project's reputation. With a few precautions, upgrading a computer can take as little as a few minutes, or a few dozen minutes, depending on the download speed from the package repositories." msgstr "Debian 知名的功能之一是可升级至下个稳定版:dist-upgrade — 知名的句子 — 相当促进 Debian 的名声。除了极少的例外,升级电脑系统只需几分钟的时间,或十来分钟,依照从软件包保存库下载的速度而定." msgid "Recommended Procedure" msgstr "推荐的程序" msgid "systemrelease notes" msgstr "系统发布说明" msgid "Since Debian has quite some time to evolve in-between stable releases, you should read the release notes before upgrading." msgstr "Debian 各稳定版之间存在相当的差异,升级前应仔细阅读发布说明。" msgid "BACK TO BASICS Release notes" msgstr "基础知识 发布说明" msgid "release notes" msgstr "发布说明" msgid "The release notes for an operating system (and, more generally, for any software) are a document giving an overview of the software, with some details concerning the particularities of one version. These documents are generally short compared to the complete documentation, and they usually list the features which have been introduced since the previous version. They also give details on upgrading procedures, warnings for users of previous versions, and sometimes errata." msgstr "操作系统 (更宽广的说,任何软件都在内) 的发布说明是一份描述软件概况的文档,特别关照指定的版本。相对于完整的软件文档,这些文档相当简短,通常列出前一版本之后新生成的功能。也提供升级的进程、对前一版本用户的警示、以及若干错误更正。" #, fuzzy #| msgid "Release notes are available online: the release notes for the current stable release have a dedicated URL, while older release notes can be found with their codenames: " msgid "Release notes for Debian are available online: the release notes for the current stable release have a dedicated URL, while older release notes can be found with their codenames: " msgstr "发布说明是在线的:当前稳定版的发布说明使用固定的 URL,旧版的发布说明可在其代码名下找到: " #, fuzzy #| msgid "In this section, we will focus on upgrading a Stretch system to Buster. This is a major operation on a system; as such, it is never 100% risk-free, and should not be attempted before all important data has been backed up." msgid "In this section, we will focus on upgrading a Buster system to Bullseye. This is a major operation on a system; as such, it is never 100% risk-free, and should not be attempted before all important data has been backed up." msgstr "本节内容专注于由 Stretch 系统升级至 Buster。这是系统的主要操作;不是 100% 无风险,必须先备份重要的数据才升级。" msgid "apt-show-versions" msgstr "apt-show-versions" #, fuzzy #| msgid "Another good habit which makes the upgrade easier (and shorter) is to tidy your installed packages and keep only the ones that are really needed. Helpful tools to do that include aptitude, deborphan and debfoster (see ). For example, you can use the following command, and then use aptitude's interactive mode to double check and fine-tune the scheduled removals:" msgid "Another good habit which makes the upgrade easier (and shorter) is to tidy your installed packages and keep only the ones that are really needed. Helpful tools to do that include aptitude, deborphan, debfoster, and apt-show-versions (see ). For example, you can use the following command, and then use aptitude's interactive mode to double check and fine-tune the scheduled removals:" msgstr "减少安装的软件包,只安装绝对必要的软件包,才能让升级容易 (且简短)。相关的工具包括 aptitude、deborphan 与 debfoster (见 )。例如,您可使用以下命令,再使用 aptitude 的交互模式再检查并微调该移除的软件包:" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptitude--schedule-only" msgstr "aptitudemarkauto" #, fuzzy #| msgid "# deborphan | xargs aptitude --schedule-only remove" msgid "# deborphan | xargs aptitude --schedule-only remove" msgstr "# deborphan | xargs aptitude --schedule-only remove" msgid "TIP Finding changed files" msgstr "秘诀 查找更改的文件" msgid "debsums" msgstr "debsums" #, fuzzy #| msgid ".d" msgid "md5sums" msgstr ".d" msgid "The debsums command can check if files on the local system, which are part of an installed package, have been altered. It uses a simple hashsum algorithm and the information in /var/lib/dpkg/info/package.md5sums (see ). To find all altered configuration files use debsums -ec. To check the whole system, use debsums -c." msgstr "debsums 命令可以检查本地系统中已安装软件包的文件是否更改。使用简单的哈希算法和 /var/lib/dpkg/info/package.md5sums 中的信息 (参阅 )。要查找配置文件是否更改,可以使用 debsums -ec。要检查整个系统,使用 debsums -c。" #, fuzzy #| msgid "updatesstable" msgid "updatessystem" msgstr "更新稳定版" #, fuzzy #| msgid "systemdist-upgrade" msgid "systemupdate" msgstr "systemdist-upgrade" #, fuzzy #| msgid "Now for the upgrading itself. First, you need to change the /etc/apt/sources.list file to tell APT to get its packages from Buster instead of Stretch. If the file only contains references to Stable rather than explicit codenames, the change isn't even required, since Stable always refers to the latest released version of Debian. In both cases, the database of available packages must be refreshed (with the apt update command or the refresh button in synaptic)." msgid "Now for the upgrading itself. First, you need to change the /etc/apt/sources.list file to tell APT to get its packages from Bullseye instead of Buster. If the file only contains references to Stable rather than explicit codenames, the change isn't even required, since Stable always refers to the latest released version of Debian. In both cases, the database of available packages must be refreshed with the apt update command or the refresh button in synaptic ()." msgstr "接着开始升级了。首先修改 /etc/apt/sources.list 文件的内容,告诉 APT 从 Buster 而不是从 Stretch 提取软件包。若文件内只有 Stable 而不是指名代码,则不需要修改,因为 Stable 总是指向 Debian 最新的发布版。修改或不修改都一样,必须重新加载可用软件包数据库 (使用 apt update 命令或 synaptic 图形接口的重新加载钮)。" msgid "NOTE Repository information changes" msgstr "注意 软件仓库信息变更" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt--allow-releaseinfo-change" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-get--allow-releaseinfo-change" msgstr "aptitudemarkauto" #, fuzzy #| msgid "APTAcquire::Languages" msgid "APTAcquire::AllowReleaseInfoChange" msgstr "APTAcquire::Languages" msgid "When a new stable version of Debian is released, some fields in the Release and InRelease files of a repository change, like the Suite field. When this happens, downloading data from the repository is declined until the change is confirmed to ensure the user is prepared for it. To confirm the change use the --allow-releaseinfo-change or --allow-releaseinfo-change-field options for apt-get or the Acquire::AllowReleaseInfoChange configuration option." msgstr "当新版本的Debian发布时,Release 和 InRelease 文件中的一些存储库字段会更改,如 Suite 字段。当出现此情况时,直到用户确认已为此做好准备,否则将拒绝从存储库下载数据。要确认更改,使用 apt-get 的 --allow-releaseinfo-change 或 --allow-releaseinfo-change-field 选项或者 Acquire::AllowReleaseInfoChange 配置选项。" #, fuzzy #| msgid "systemdist-upgrade" msgid "systemupgrade" msgstr "systemdist-upgrade" #, fuzzy #| msgid "Once these new package sources are registered, you should first do a minimal upgrade with apt upgrade. By doing the upgrade in two steps, we ease the job of the package management tools and often ensure that we have the latest versions of those, which might have accumulated bugfixes and improvements required to complete the full distribution upgrade." msgid "Once these new package sources are registered, you should first do a minimal upgrade with apt upgrade et al. as described in . By doing the upgrade in two steps, we ease the job of the package management tools and often ensure that we have the latest versions of those, which might have accumulated bugfixes and improvements required to complete the full distribution upgrade." msgstr "注册这些添加的软件包来源后,首先运行最低量的升级 apt upgrade。用两阶段升级,减缓软件包管理工具的工作并确保使用最新的软件包,纳入完整发行版升级所需的错误更正与改进。" #, fuzzy #| msgid "systemdist-upgrade" msgid "systemfull-upgrade" msgstr "systemdist-upgrade" #, fuzzy #| msgid "Once this first upgrade is done, it is time to handle the upgrade itself, either with apt full-upgrade, aptitude, or synaptic. You should carefully check the suggested actions before applying them: you might want to add suggested packages or deselect packages which are only recommended and known not to be useful. In any case, the front-end should come up with a scenario ending in a coherent and up-to-date Buster system. Then, all you need is to do is wait while the required packages are downloaded, answer the debconf questions and possibly those about locally modified configuration files, and sit back while APT does its magic." msgid "Once this first upgrade is done, it is time to handle the upgrade itself, either with apt full-upgrade, aptitude, or synaptic (). You should carefully check the suggested actions before applying them: you might want to add suggested packages or deselect packages which are only recommended and known not to be useful. In any case, the frontend should come up with a scenario ending in a coherent and up-to-date Bullseye system. Then, all you need is to do is wait while the required packages are downloaded, answer the debconf questions and possibly those about locally modified configuration files, and sit back while APT does its magic." msgstr "第一次升级完成后,就该处理升级本身,apt full-upgrade、aptitude 或 synaptic均可。采用之前应小心检查建议的举措:应添加建议的软件包或移除建议且不再需要的软件包。任何情况下,前端都应与 Buster 系统兼容且是最新的。所以,必须耐心地等待下载必要的软件包,回复 debconf 的问题以及本地的配置档,然后等 APT 完成它的工作。" msgid "Handling Problems after an Upgrade" msgstr "处理升级后的问题" #, fuzzy #| msgid "apt-cacher" msgid "apt-listchanges" msgstr "apt-cacher" msgid "In spite of the Debian maintainers' best efforts, a major system upgrade isn't always as smooth as you could wish. New software versions may be incompatible with previous ones (for instance, their default behavior or their data format may have changed). Also, some bugs may slip through the cracks despite the testing phase which always precedes a Debian release." msgstr "尽管 Debian 管理者已经尽力做好份内的工作,主系统的升级仍可能不如想像中顺利。软件的新版本可能无法与旧版本兼容 (例如,可能改变缺省行为或数据格式)。同时,尽管在 Debian 发布前做了详尽的测试,还是有若干漏网的错误。" msgid "To anticipate some of these problems, you can install the apt-listchanges package, which displays information about possible problems at the beginning of a package upgrade. This information is compiled by the package maintainers and put in /usr/share/doc/package/NEWS.Debian files for the benefit of users. Reading these files (possibly through apt-listchanges) should help you avoid bad surprises." msgstr "要解决这些问题,可以先安装 apt-listchanges 软件包,在软件包升级前先显示可能问题。由软件包维护者编辑的这些信息且置于 /usr/share/doc/软件包名/NEWS.Debian 文件名内,供用户参考。阅读这些文件 (可能经由 apt-listchanges) 应有助于规避意外。" #, fuzzy #| msgid "security.debian.org" msgid "bugs.debian.org" msgstr "security.debian.org" #, fuzzy #| msgid "debtags" msgid "apt-listbugs" msgstr "debtags" #, fuzzy #| msgid "apt" msgid "reportbug" msgstr "apt" #, fuzzy #| msgid "You might sometimes find that the new version of a software doesn't work at all. This generally happens if the application isn't particularly popular and hasn't been tested enough; a last-minute update can also introduce regressions which are only found after the stable release. In both cases, the first thing to do is to have a look at the bug tracking system at https://bugs.debian.org/package, and check whether the problem has already been reported. If this is case, it will be also listed before the upgrade begins, if you have apt-listbugs installed. If it hasn't, you should report it yourself with reportbug. If it is already known, the bug report and the associated messages are usually an excellent source of information related to the bug:" msgid "You might sometimes find that the new version of a software doesn't work at all. This generally happens if the application isn't particularly popular and hasn't been tested enough; a last-minute update can also introduce regressions which are only found after the stable release. In both cases, the first thing to do is to have a look at the bug tracking system at https://bugs.debian.org/package, and check whether the problem has already been reported. If this is case, it will be also listed before the upgrade begins if you have apt-listbugs installed. If it hasn't, you should report it yourself with reportbug. If it is already known, the bug report and the associated messages are usually an excellent source of information related to the bug:" msgstr "新版的软件不见得都能顺利运作。不够普及或未经详实测试就会出现这种现象;在稳定版里,最后升级的软件常常后悔。碰到这种情形,首先应查看错误追踪系统 https://bugs.debian.org/package,寻找别人提报的踪迹。如果情况确实如此,如果已安装 apt-listbugs,则会在升级开始前也会列出问题。若尚未被提报,就应动手提报它 reportbug。若已被提报,错误报告与相关的消息就是处理该错误很好的信息来源:" msgid "sometimes a patch already exists, and it is available on the bug report; you can then recompile a fixed version of the broken package locally (see );" msgstr "有时已有补丁,并且列在错误报告内;可以本地重新编译修补破碎的软件包 (见 );" msgid "in other cases, users may have found a workaround for the problem and shared their insights about it in their replies to the report;" msgstr "否则,用户可能找到另外的解决方法且在报告内分享;" msgid "in yet other cases, a fixed package may have already been prepared and made public by the maintainer." msgstr "再不然,维护者可能已准备并公开修订软件包。" msgid "Depending on the severity of the bug, a new version of the package may be prepared specifically for a new revision of the stable release. When this happens, the fixed package is made available in the proposed-updates section of the Debian mirrors (see ). The corresponding entry can then be temporarily added to the sources.list file, and updated packages can be installed with apt or aptitude." msgstr "很严重的错误,将有特别的软件包供稳定版使用。在这种情况下,修订后的软件包位于 Debian 镜像站的 proposed-updates 区域 (见 )。对应的条目暂时加在 sources.list 文件内,可用 apt 或 aptitude 命令安装升级软件包。" #, fuzzy #| msgid "deb.debian.orgmirrors" msgid "release.debian.orgproposed updates" msgstr "deb.debian.org镜像" msgid "Sometimes the fixed package isn't available in this section yet because it is pending a validation by the Stable Release Managers. You can verify if that is the case on their web page. Packages listed there aren't available yet, but at least you know that the publication process is ongoing. " msgstr "修订软件包尚未被稳定版管理者认可时,就不会出现在此区块。用户必须自己动手认可它。虽然列在此的软件包尚未可得,但至少已知在审查中。" msgid "Cleaning Up after an Upgrade" msgstr "升级后的清理" msgid "upgradecleaning" msgstr "升级清理" #, fuzzy #| msgid "upgradecleaning" msgid "systemcleaning" msgstr "升级清理" msgid "APT usually ensures a clean upgrade, pulling in new and updated dependencies, or removing conflicting packages. But even being such a great tool, it cannot cover all tasks users and administrators will face after an upgrade, because they require a human decision." msgstr "APT通常保证干净升级,下载新的和更新的依赖项,或移除冲突软件包。但是,即使是如此出色的工具,也不能涵盖用户和管理员在升级后将面对的所有任务,需要人工决策。" msgid "Packages removed from the Debian Archive" msgstr "从Debian存档中删除包" #, fuzzy #| msgid "aptitudetasks" msgid "aptitudeobsolete packages" msgstr "aptitudetasks" #, fuzzy #| msgid "packageseal" msgid "packageobsolete" msgstr "软件包封装" #, fuzzy #| msgid "Sometimes the Debian FTP Masters remove packages from the Debian archive, because they contain release critical bugs, were abandoned by their upstream author or their package maintainer, or simply reached their end of life. In this case a newer Debian release does not ship the package anymore. To find all packages, which do not have a package source, use the apt-show-versions command:" msgid "Sometimes the Debian ftpmasters remove packages from the Debian archive, because they contain release critical bugs, were abandoned by their upstream author or their package maintainer, or simply reached their end of life. In this case a newer Debian release does not ship the package anymore. To find all packages, which do not have a package source, use the apt-show-versions command:" msgstr "有时 Debian FTP 管理员会从Debian存档中移除包,因为其中包含关键错误,被上游作者或包维护者放弃,或者只是达到使用寿命的终点。此时软件包不再发布新的Debian版本。要查找没有软件源的所有软件包,使用 apt-show-versions 命令:" msgid "$ apt-show-versions | grep \"No available version\"" msgstr "$ apt-show-versions | grep \"No available version\"" msgid "A similar result can be achieved by aptitude search ~o. If the packages found are not required anymore, they should be purged from the system, because they will not face any updates for critical or security related bugs anymore." msgstr "通过 aptitude search ~o 可以存档类似的结果。如果关键包不再需要,应该从系统中删除,因为不再有关键和安全相关问题的更新。" msgid "Dummy and Transitional Packages" msgstr "虚拟和过渡软件包" msgid "dummy package" msgstr "虚拟软件包" msgid "transitional package" msgstr "过渡软件包" msgid "packagetransitional" msgstr "软件包过渡" msgid "packagedummy" msgstr "软件包虚拟" #, fuzzy #| msgid "packagetags" msgid "packageoldlibs" msgstr "软件包标签" #, fuzzy #| msgid "Pin" msgid "oldlibs" msgstr "Pin" #, fuzzy #| msgid "deborphan" msgid "deboprhan" msgstr "deborphan" msgid "Sometimes, it might be necessary for a package to get a new name. In this case often the old package is kept as an (almost) empty package, depending on the new one and installing only the mandatory files in /usr/share/doc/package/. Such packages are called \"dummy\" or \"transitional\" packages. If the package maintainer in charge also changed the section of this package to oldlibs, then tools like aptitude, deboprhan, or debfoster (see sidebar ) can pickup these packages to suggest their removal." msgstr "有时,软件包可能需要有一个新的名称。这是通常旧的软件包保留为(几乎)空的包,依赖新的软件包,并在 /usr/share/doc/package/ 中安装强制文件。这些包称为\"虚拟\"或\"过渡\"软件包。如果软件包维护者将此包的区域更改为 oldlibs,则如 aptitude、deboprhan 或 debfoster等工具 (见侧栏 )可以识别并建议删除这些包。" msgid "Unfortunately there is currently no foolproof way of making sure that these packages are automatically removed or picked by the tools mentioned above. One way to check if the system still has some of these packages installed, is to look through the package descriptions of installed packages and then check the results. Be careful not to schedule the results for automatic removal, because this method can lead to false positives:" msgstr "不幸的是,目前没有万无一失的方法确保上述工具自动删除或识别这些软件包。要检查系统是否仍安装有这些软件包的方法,是查看已安装软件包的描述并检查结果。应小心不要安排结果自动删除,因为此方法会导致误报:" msgid "$ dpkg -l | grep ^ii | grep -i -E \"(transition|dummy)\"" msgstr "$ dpkg -l | grep ^ii | grep -i -E \"(transition|dummy)\"" msgid "Because the new package is pulled in as a dependency of the transitional package, it is usually marked as automatically installed and might be scheduled for removal if you try to purge the transitional package from your system. In this case you can use either of the approaches described in sidebar and to selectively remove the transitional package." msgstr "因为新软件包是作为过渡软件包的依赖项安装的,通常会标记为自动安装,在尝试从系统删除过渡软件包时可能安排删除。这时可以使用侧栏 和 描述的方法选择性删除过渡包。" msgid "Old or Unused Configuration Files" msgstr "旧的或不再使用的配置文件" #, fuzzy #| msgid "APTconfiguration" msgid "configurationconfiguration files" msgstr "APT配置" #, fuzzy #| msgid ".d" msgid ".dpkg-dist" msgstr ".d" #, fuzzy #| msgid ".d" msgid ".dpkg-old" msgstr ".d" #, fuzzy #| msgid ".d" msgid ".ucf-old" msgstr ".d" #, fuzzy #| msgid ".d" msgid ".ucf-new" msgstr ".d" #, fuzzy #| msgid ".d" msgid ".ucf-dist" msgstr ".d" #, fuzzy #| msgid "componentnon-free" msgid "aptautoremove" msgstr "组件non-free" #, fuzzy #| msgid "componentnon-free" msgid "apt-getautoremove" msgstr "组件non-free" #, fuzzy #| msgid "If the upgrade was successful there might be some configuration file cruft, either from dpkg (see ), ucf or from removed packages. The latter can be purged by using apt autoremove --purge. The configuration files that were handled by dpkg or ucf during the upgrade process have left some counterparts with a dedicated suffix (e.g. .dpkg-dist, .dpkg-old, .ucf-old). Using the find or locate command can help to track them down. If they are no longer of any use, they can be deleted." msgid "If the upgrade was successful there might be some configuration file cruft, either from dpkg (see ), ucf or from removed packages. The latter can be purged by using apt autoremove --purge. The configuration files that were handled by dpkg or ucf during the upgrade process have left some counterparts with a dedicated suffix, e.g. .dpkg-dist, .dpkg-old, .ucf-old. Using the find or locate command can help to track them down. If they are no longer of any use, they can be deleted." msgstr "如果升级成功,可能会剩余一些配置文件,无论是从 dpkg (见 )、ucf 或从移除的软件包中生成的。后者可以使用 apt autoremove --purge purged。在升级过程中由 dpkg 或 ucf 留下的文件应添加后缀 (如 .dpkg-dist、.dpkg-old、.ucf-old)。使用 find 或 locate 命令可以帮助跟踪它们。如果不再使用,则可以删除。" msgid "Files not owned by any Package" msgstr "不属于任何包的文件" msgid "The Debian policy enforces that packages don't leave files behind when they are purged. Violating this principle is a serious bug and you will rarely encounter it. If you do, report it; and if you are curious though, you can use the cruft or cruft-ng package to check your system for files not owned by any package." msgstr "Debian 原则强制软件包在删除时不能留下文件。违反原则会是一个严重错误,您很少会遇到。如果遇到此问题,请报告;如果您好奇,可以使用 cruft 或 cruft-ng 软件包检查系统是否由文件不属于任何软件包。" msgid "Keeping a System Up to Date" msgstr "保持系统在最新状态" #, fuzzy #| msgid "systemdist-upgrade" msgid "systemupdateunattended" msgstr "systemdist-upgrade" #, fuzzy #| msgid "systemdist-upgrade" msgid "systemupgradeunattended" msgstr "systemdist-upgrade" #, fuzzy #| msgid "systemdist-upgrade" msgid "systemdist-upgradeunattended" msgstr "systemdist-upgrade" #, fuzzy #| msgid "updatessecurity updates" msgid "systemperiodic update" msgstr "更新安全更新" #, fuzzy #| msgid "upgradesystem upgrade" msgid "systemunattended upgrade" msgstr "升级系统升级" msgid "The Debian distribution is dynamic and changes continually. Most of the changes are in the Testing and Unstable versions, but even Stable is updated from time to time, mostly for security-related fixes. Whatever version of Debian a system runs, it is generally a good idea to keep it up to date, so that you can get the benefit of recent evolution and bug fixes." msgstr "Debian 发行版永远处于动态、持续变化中。大部分的变化在 测试版 与 不稳定版 中,即使是 稳定版 也随时在更新中,主要是安全相关的修订。不论运行哪个版本,都需保持在最新的版本,才能用到最新的状态及修订错误。" msgid "While it is of course possible to periodically run a tool to check for available updates and run the upgrades, such a repetitive task is tedious, especially when it needs to be performed on several machines. Fortunately, like many repetitive tasks, it can be partly automated, and a set of tools have already been developed to that effect." msgstr "最好定期运行升级与更新,虽然很琐碎却是必要的。幸运的是,这种重复性的工作可以自动运行,有很多工具可以使用。" #, fuzzy #| msgid "approx" msgid "apticron" msgstr "approx" msgid "The first of these tools is apticron, in the package of the same name. Its main effect is to run a script daily (via cron). The script updates the list of available packages, and, if some installed packages are not in the latest available version, it sends an email with a list of these packages along with the changes that have been made in the new versions. Obviously, this package mostly targets users of Debian Stable, since the daily emails would be very long for the faster paced versions of Debian. When updates are available, apticron automatically downloads them. It does not install them — the administrator will still do it — but having the packages already downloaded and available locally (in APT's cache) makes the job faster." msgstr "第一个工具是 apticron,位于同名软件包中。主要作用是每日运行一个脚本 (经由 cron)。这个脚本更新可用软件包清单,若已安装的软件包不在此清单内,则发送电子邮件列出该软件包清单,并指出在新版中可用的软件包。明显地,此软件包的对象是 Debian 稳定版 的用户,对其他版本的用户而言,此清单太长了。取得可更新清单后,apticron 自动下载它们。不会安装它们 — 那是管理者的权限与工作 — 但已下载的软件包可以本地 (于 APT 缓存内) 安装,速度快多了。" #, fuzzy #| msgid "APT/etc/apt/apt.conf" msgid "APT/etc/cron.daily/apt-compat" msgstr "APT/etc/apt/apt.conf" #, fuzzy #| msgid "APT/etc/apt/apt.conf.d/" msgid "APT/etc/apt/apt.conf.d/10periodic" msgstr "APT/etc/apt/apt.conf.d/" #, fuzzy #| msgid "APT/etc/apt/apt.conf" msgid "/etc/etc/cron.daily/apt-compat" msgstr "APT/etc/apt/apt.conf" msgid "Administrators in charge of several computers will no doubt appreciate being informed of pending upgrades, but the upgrades themselves are still as tedious as they used to be. Periodic upgrades can be enabled: it uses a systemd timer unit or cron. If systemd is not installed, the /etc/cron.daily/apt-compat script (in the apt package) comes in handy. This script is run daily (and non-interactively) by cron. To control the behavior, use APT configuration variables (which are therefore stored in a file /etc/apt/apt.conf.d/10periodic). The main variables are:" msgstr "同时管理多部电脑的管理者一定很感谢被通知有待升级的软件包,但升级本身还是很繁琐的工作。可以弃用定期升级:使用 systemd 计时组件或 cron。如果 systemd 未安装,有 /etc/cron.daily/apt-compat 脚本 (在 apt 软件包内) 可用。此脚本是由 cron 每日运行 (且不是交互式)。以 APT 配置变量 (保存在 /etc/apt/apt.conf.d/10periodic中的文件) 控制其运作。主要的变量是:" msgid "APTAPT::Periodic::Update-Package-Lists APT::Periodic::Update-Package-Lists" msgstr "APTAPT::Periodic::Update-Package-Lists APT::Periodic::Update-Package-Lists" msgid "This option allows you to specify the frequency (in days) at which the package lists are refreshed. apticron users can do without this variable, since apticron already does this task." msgstr "此选项允许您指定软件包列表刷新的频率(以天计)。apticron 也可以在无此变量的前提下运行,因为 apticron 本来就已在运行中。" msgid "APTAPT::Periodic::Download-Upgradeable-Packages APT::Periodic::Download-Upgradeable-Packages" msgstr "APTAPT::Periodic::Download-Upgradeable-Packages APT::Periodic::Download-Upgradeable-Packages" msgid "Again, this option indicates a frequency (in days), this time for the downloading of the actual packages. Again, apticron users won't need it." msgstr "此选项指定频率 (以天计),此时实际地下载软件包。同样地,apticron用户不需。" msgid "APTAPT::Periodic::AutocleanInterval APT::Periodic::AutocleanInterval" msgstr "APTAPT::Periodic::AutocleanInterval APT::Periodic::AutocleanInterval" msgid "This option covers a feature that apticron doesn't have. It controls how often obsolete packages (those not referenced by any distribution anymore) are removed from the APT cache. This keeps the APT cache at a reasonable size and means that you don't need to worry about that task." msgstr "此选项包括 apticron 没有的功能。指定过时软件包 (未被任何发行版引用) 移出 APT 缓存的时机。如此一来,APT 缓存的容量就保持在合理的范围,不必再担心其工作负担。" msgid "APTAPT::Periodic::Unattended-Upgrade APT::Periodic::Unattended-Upgrade" msgstr "APTAPT::Periodic::Unattended-Upgrade APT::Periodic::Unattended-Upgrade" #, fuzzy #| msgid "debtags" msgid "unattended-upgrades" msgstr "debtags" #, fuzzy #| msgid "APT/etc/apt/apt.conf.d/" msgid "APT/etc/apt/apt.conf.d/50unattended-upgradesunattended-upgrades" msgstr "APT/etc/apt/apt.conf.d/" msgid "When this option is enabled, the daily script will execute unattended-upgrade (from the unattended-upgrades package) which — as its name suggest — can automatize the upgrade process for some packages (by default it only takes care of security updates, but this can be customized in /etc/apt/apt.conf.d/50unattended-upgrades). Note that this option can be set with the help of debconf by running dpkg-reconfigure -plow unattended-upgrades. If apt-listbugs is installed, it will prevent an automatic upgrade of packages which are affected by an already reported serious or grave bug." msgstr "启用此选项后,每日脚本将执行 unattended-upgrade(来自 unattended-upgrades 软件包) — 如其名称所示 — 会自动升级软件包(默认只运行安全性升级,但可以在 /etc/apt/apt.conf.d/50unattended-upgrades 中定制)。注意,这个选项能通过运行 dpkg-reconfigure -plow unattended-upgrades 来设置。如果安装了 apt-listbugs,它会阻止那些被报告了严重 bug 的软件包的自动升级。" #, fuzzy #| msgid "APT/var/log/apt/term.log" msgid "APT/usr/lib/apt/apt.systemd.daily" msgstr "APT/var/log/apt/term.log" msgid "Other options can allow you to control the cache cleaning behavior with more precision. They are not listed here, but they are described in the /usr/lib/apt/apt.systemd.daily script." msgstr "其他选项允许你更精细地控制缓存清理动作。这里未完全列出,但可以在 /usr/lib/apt/apt.systemd.daily 脚本中查看。" msgid "gnome-packagekit" msgstr "gnome-packagekit" msgid "These tools work very well for servers, but desktop users generally prefer a more interactive system. The package gnome-software provides an icon in the notification area of desktop environments when updates are available; clicking on this icon then runs an interface to perform updates. You can browse through available updates, read the short description of the relevant packages and the corresponding changelog entries, and select whether to apply the update or not on a case-by-case basis." msgstr "这些工具在服务器上运作得很好,但桌面用户通常习惯于交互式系统。gnome-software 软件包在桌面环境的通知栏提供了一个更新提示图标,点击该图标则会运行升级界面。你可以浏览可用的升级,阅读相关软件包的简短说明以及对应的 changelog 条目,逐一确认是否升级。" msgid "Upgrading with gpk-update-viewer" msgstr "使用 gpk-update-viewer 升级" msgid "This tool is no longer installed in the default GNOME desktop. The new philosophy is that security updates should be automatically installed, either in the background or, preferably, when you shutdown your computer so as to not confuse any running application." msgstr "这个工具不再安装于默认的 GNOME 桌面中。新的哲学是安全升级应该自动安装,或者在后台安装,或者最好在你关闭计算机时,以免干扰任何正在运行的应用程序。" msgid "Automatic Upgrades" msgstr "自动升级" msgid "upgradeautomatic system upgrade" msgstr "升级系统自动升级" #, fuzzy #| msgid "upgradecleaning" msgid "upgradenon-interactive" msgstr "升级清理" #, fuzzy #| msgid "upgradeautomatic system upgrade" msgid "systemautomatic upgrade" msgstr "升级系统自动升级" msgid "automatic upgrade" msgstr "自动升级" #, fuzzy #| msgid "automatic upgrade" msgid "non-interactive upgrade" msgstr "自动升级" msgid "Since Falcot Corp has many computers but only limited manpower, its administrators try to make upgrades as automatic as possible. The programs in charge of these processes must therefore run with no human intervention." msgstr "Falcot Corp 虽有多部电脑但人力有限,其管理者试图尽可能地自动升级。必须在无人为介入情况下处理升级事宜。" msgid "Configuring dpkg" msgstr "配置 dpkg" #, fuzzy #| msgid "dpkg--force-confask" msgid "dpkg--force-confdef" msgstr "dpkg--force-confask" #, fuzzy #| msgid "dpkg--force-confask" msgid "dpkg--force-confold" msgstr "dpkg--force-confask" msgid "As we have already mentioned (see sidebar ), dpkg can be instructed not to ask for confirmation when replacing a configuration file (with the --force-confdef --force-confold options). Interactions can, however, have three other sources: some come from APT itself, some are handled by debconf, and some happen on the command line due to package configuration scripts (sometimes handled by ucf)." msgstr "如前面提过的 (见专栏 ),dpkg 可在不必确认的情况下取代原来的配置档 (以 --force-confdef --force-confold 选项运行该功能)。然而,有三个交互来源:有些来自 APT 自身、有些由 debconf 处理、还有的是由软件包配置脚本运行(有时由ucf处理)。" msgid "Configuring APT" msgstr "配置 APT" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt--assume-yes" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "apt-get--assume-yes" msgstr "aptitudemarkauto" #, fuzzy #| msgid "aptitudemarkauto" msgid "aptitude--assume-yes" msgstr "aptitudemarkauto" msgid "The case of APT is simple: the -y option (or --assume-yes) tells APT to consider the answer to all its questions to be “yes”." msgstr "APT 的例子很简单:-y 选项 (或 --assume-yes) 告诉 APT 面对所有的问题时,答案都是 “yes”。" msgid "Configuring debconf" msgstr "配置 debconf" #, fuzzy #| msgid "/etc/apt/sources.listExampleunstable" msgid "debconffrontendnoninteractive" msgstr "/etc/apt/sources.list示例不稳定版" msgid "The case of debconf deserves more details. This program was, from its inception, designed to control the relevance and volume of questions displayed to the user, as well as the way they are shown. That is why its configuration requests a minimal priority for questions; only questions above the minimal priority are displayed. debconf assumes the default answer (defined by the package maintainer) for questions which it decided to skip." msgstr "debconf 需要较详细的说明。此程序原本的设计就是控制给用户看到的相关性及数量,以及显示的方法。问题需有最小的优先权;拥有最小优先权以上的问题才显示。debconf 缺省的答案 (由软件包维护者设置) 会略过。" #, fuzzy #| msgid "The other relevant configuration element is the interface used by the front-end. If you choose noninteractive out of the choices, all user interaction is disabled. If a package tries to display an informative note, it will be sent to the administrator by email." msgid "The other relevant configuration element is the interface used by the frontend. If you choose noninteractive out of the choices, all user interaction is disabled. If a package tries to display an informative note, it will be sent to the administrator by email." msgstr "其他的相关配置元素是前端用到的接口。若选择 noninteractive,就停用所有的用户交互。若软件包试图显示信息性说明,则以电子邮件送给管理者。" #, fuzzy #| msgid "apt-file" msgid "dpkg-reconfigure" msgstr "apt-file" #, fuzzy #| msgid "APTInRelease" msgid "APTDEBIAN_FRONTEND" msgstr "APTInRelease" #, fuzzy #| msgid "configuration files.ucf-old" msgid "environment variableDEBIAN_FRONTEND" msgstr "配置文件.ucf-old" msgid "To reconfigure debconf, use the dpkg-reconfigure tool from the debconf package; the relevant command is dpkg-reconfigure debconf. Note that the configured values can be temporarily overridden with environment variables when needed (for instance, DEBIAN_FRONTEND controls the interface, as documented in the debconf7 manual page)." msgstr "配置 debconf 时,用到 dpkg-reconfigure 工具,它是来自 debconf 软件包;相关的命令是 dpkg-reconfigure debconf。配置值可能是在需要时暂时取代的环境变量 (例如,DEBIAN_FRONTEND 控制接口,如同在 debconf7 手册页面所述)。" msgid "Handling Command Line Interactions" msgstr "处理命令行接口" msgid "The last source of interactions, and the hardest to get rid of, is the configuration scripts run by dpkg. There is unfortunately no standard solution, and no answer is overwhelmingly better than another." msgstr "最后一个交互来源,以及最难摆脱的,是 dpkg 运行的配置脚本。不幸的是,没有标准的解法且没有较佳的答案。" msgid "The common approach is to suppress the standard input by redirecting the empty content of /dev/null into it with command </dev/null, or to feed it with an endless stream of newlines. None of these methods is 100 % reliable, but they generally lead to the default answers being used, since most scripts consider a lack of reply as an acceptance of the default value." msgstr "通常的做法是,把标准的输入由空白内容的 /dev/null 文件转向给 command </dev/null,或由新的键入字符串取代。以上的方法都不是100%可靠,但它们可以转至缺省的答案,因为大部分的脚本已考量到无默认值的答案。" msgid "The Miracle Combination" msgstr "神奇的组合" msgid "By combining the previous elements, it is possible to design a small but rather reliable script which can handle automatic upgrades." msgstr "把前述的元素组合起来,就可能设计出一个可处理自动升级的小而可靠脚本。" msgid "Non-interactive upgrade script" msgstr "无交互升级脚本" #, fuzzy #| msgid "" #| "export DEBIAN_FRONTEND=noninteractive\n" #| "yes '' | apt-get -y -o DPkg::options::=\"--force-confdef\" -o DPkg::options::=\"--force-confold\" dist-upgrade" msgid "" "export DEBIAN_FRONTEND=noninteractive\n" "yes '' | apt-get -y -o Dpkg::Options::=\"--force-confdef\" -o Dpkg::Options::=\"--force-confold\" dist-upgrade" msgstr "" "export DEBIAN_FRONTEND=noninteractive\n" "yes '' | apt-get -y -o DPkg::options::=\"--force-confdef\" -o DPkg::options::=\"--force-confold\" dist-upgrade" msgid "IN PRACTICE The Falcot Corp case" msgstr "实务 Falcot Corp 个案" msgid "Falcot computers are a heterogeneous system, with machines having various functions. Administrators will therefore pick the most relevant solution for each computer." msgstr "Falcot 公司采用异质系统电脑,运行多种功能。管理者必须为每部电脑挑选最适合的解决方案。" #, fuzzy #| msgid "In practice, the servers running Buster are configured with the “miracle combination” above, and are kept up to date automatically. Only the most critical servers (the firewalls, for instances) are set up with apticron, so that upgrades always happen under the supervision of an administrator." msgid "In practice, the servers running Bullseye are configured with the “miracle combination” above, and are kept up to date automatically. Only the most critical servers (the firewalls, for instances) are set up with apticron, so that upgrades always happen under the supervision of an administrator." msgstr "事实上,安装 Buster 的服务器采用上述的 “奇特组合”,并且自动更新。只有最挑剔的服务器 (如防火墙) 才以 apticron 设置,所以总是在管理员的监控下更新。" #, fuzzy #| msgid "The office workstations in the administrative services also run Buster, but they are equipped with gnome-packagekit, so that users trigger the upgrades themselves. The rationale for this decision is that if upgrades happen without an explicit action, the behavior of the computer might change unexpectedly, which could cause confusion for the main users." msgid "The office workstations in the administrative services also run Bullseye, but they are equipped with gnome-packagekit, so that users trigger the upgrades themselves. The rationale for this decision is that if upgrades happen without an explicit action, the behavior of the computer might change unexpectedly, which could cause confusion for the main users." msgstr "办公室的桌机也可安装 Buster,但加装 gnome-packagekit,所以用户可以自行更新。没有用户介入的更新,电脑可能出现无预期的结果,可能让用户摸不清头绪。" msgid "In the lab, the few computers using Testing — to take advantage of the latest software versions — are not upgraded automatically either. Administrators only configure APT to prepare the upgrades but not enact them; when they decide to upgrade (manually), the tedious parts of refreshing package lists and downloading packages will be avoided, and administrators can focus on the really useful part." msgstr "在实验室里,有些安装 测试版 — 就是使用最新版的软件 — 的电脑也不会自动更新。管理者必须配置 APT 才能更新它们;决定更新时 (手动),列出重新加载软件包清单并避免下载繁琐的部件,管理者就能专注在真正有用的部件。" msgid "Searching for Packages" msgstr "搜索软件包" msgid "packagesearch package" msgstr "软件包搜索软件包" #, fuzzy #| msgid "With the large and ever-growing amount of software in Debian, there emerges a paradox: Debian usually has a tool for most tasks, but that tool can be very difficult to find amongst the myriad other packages. The lack of appropriate ways to search for (and to find) the right tool has long been a problem. Fortunately, this problem has almost entirely been solved." msgid "With the large and ever-growing amount of software in Debian, there emerges a paradox: Debian usually has a tool for most tasks, but that tool can be very difficult to find among the myriad other packages. The lack of appropriate ways to search for (and to find) the right tool has long been a problem. Fortunately, this problem has almost entirely been solved." msgstr "Debian 纳入的软件愈来愈多,出现自相矛盾的现象:Debian 的工具可以处理大部分的工作,但很难在众多的软件包中找到适合的工具。没有适当的方式搜索 (或找到) 正确的工具始终是个问题。幸运的是,此问题已经几乎全部解决了。" msgid "The most trivial search possible is looking up an exact package name. If apt show package returns a result, then the package exists. Unfortunately, this requires knowing or even guessing the package name, which isn't always possible." msgstr "最琐碎的搜索可能是找到正确的软件包名称。若 apt show 软件包名称 返回结果,表示该软件包存在。不幸的是,必须知道或猜对软件包名称,却几乎是不可能的." msgid "TIP Package naming conventions" msgstr "秘诀 软件包命名惯例" msgid "packagenaming conventions" msgstr "软件包命名惯例" msgid "Some categories of packages are named according to a conventional naming scheme; knowing the scheme can sometimes allow you to guess exact package names. For instance, for Perl modules, the convention says that a module called XML::Handler::Composer upstream should be packaged as libxml-handler-composer-perl. The library enabling the use of the gconf system from Python is packaged as python-gconf. It is unfortunately not possible to define a fully general naming scheme for all packages, even though package maintainers usually try to follow the choice of the upstream developers." msgstr "部分类型的软件包遵循命名惯例;只要知道该惯例就能够猜到正确的软件包名称。例如,Perl 模块,惯例是名为 XML::Handler::Composer 上游的软件包名就是 libxml-handler-composer-perl。从 Python 启用 gconf 系统的程序库就是软件包 python-gconf。不幸的是即使软件包管理者努力选择上游开发者的惯例,仍无法猜中所有软件包的命名方式。" msgid "A slightly more successful searching pattern is a plain-text search in package names, but it remains very limited. You can generally find results by searching package descriptions: since each package has a more or less detailed description in addition to its package name, a keyword search in these descriptions will often be useful. apt-cache and axi-cache are the tools of choice for this kind of search (see ); for instance, apt-cache search video will return a list of all packages whose name or description contains the keyword “video”." msgstr "搜索纯文本的软件包名称,虽然有限制但成功率较高。还可以搜索软件包说明的内容:除了搜索软件包名称、关键词之外,还可搜索其说明。apt-cache 与 axi-cache 是此类搜索工具 (见 );例如,apt-cache search video 将找出名称或说明内有键词 “video” 的软件包。" msgid "For more complex searches, a more powerful tool such as aptitude is required. aptitude allows you to search according to a logical expression based on the package's meta-data fields. For instance, the following command searches for packages whose name contains kino, whose description contains video and whose maintainer's name contains paul:" msgstr "更复杂的搜索,需要更有力的工具,如 aptitude 是其中之一。aptitude 可搜索软件包元数据字段的内容。例如,以下的范例搜索含有 kino 字样的软件包名称,其说明包括 video 与维护者名字为 paul:" #, fuzzy #| msgid "" #| "$ aptitude search kino~dvideo~mpaul\n" #| "p kino - Non-linear editor for Digital Video data\n" #| "$ aptitude show kino\n" #| "\n" #| "Architecture: amd64\n" #| "Uncompressed Size: 8,304 k\n" #| "Depends: libasound2 (>= 1.0.16), libatk1.0-0 (>= 1.12.4), libavc1394-0 (>= 0.5.3), libavcodec58 (>=\n" #| " 7:4.0) | libavcodec-extra58 (>= 7:4.0), libavformat58 (>= 7:4.0), libavutil56 (>= 7:4.0),\n" #| " libc6 (>= 2.14), libcairo2 (>= 1.2.4), libdv4 (>= 1.0.0), libfontconfig1 (>= 2.12.6),\n" #| " libfreetype6 (>= 2.2.1), libgcc1 (>= 1:3.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglade2-0\n" #| " (>= 1:2.6.4-2~), libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>= 2.24.32), libice6 (>= 1:1.0.0),\n" #| " libiec61883-0 (>= 1.2.0), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0),\n" #| " libpangoft2-1.0-0 (>= 1.14.0), libquicktime2 (>= 2:1.2.2), libraw1394-11, libsamplerate0\n" #| " (>= 0.1.7), libsm6, libstdc++6 (>= 5.2), libswscale5 (>= 7:4.0), libx11-6, libxext6,\n" #| " libxml2 (>= 2.7.4), libxv1, zlib1g (>= 1:1.1.4)\n" #| "Recommends: ffmpeg, curl\n" #| "Suggests: udev | hotplug, vorbis-tools, sox, mjpegtools, lame, ffmpeg2theora\n" #| "Conflicts: kino-dvtitler, kino-timfx, kinoplus\n" #| "Replaces: kino-dvtitler, kino-timfx, kinoplus\n" #| "Provides: kino-dvtitler, kino-timfx, kinoplus\n" #| "Description: Non-linear editor for Digital Video data\n" #| " Kino allows you to record, create, edit, and play movies recorded with DV camcorders. This program\n" #| " uses many keyboard commands for fast navigating and editing inside the movie.\n" #| "\n" #| " The kino-timfx, kino-dvtitler and kinoplus sets of plugins, formerly distributed as separate\n" #| " packages, are now provided with Kino.\n" #| "Homepage: http://www.kinodv.org/\n" #| "Tags: field::arts, hardware::camera, implemented-in::c, implemented-in::c++, interface::graphical,\n" #| " interface::x11, role::program, scope::application, suite::gnome, uitoolkit::gtk,\n" #| " use::editing, use::learning, works-with::video, x11::application\n" #| "]]>" msgid "" "$ aptitude search kino~dvideo~mpaul\n" "p kino - Non-linear editor for Digital Video data\n" "$ aptitude show kino\n" "\n" "Architecture: amd64\n" "Uncompressed Size: 8,316 k\n" "Depends: libasound2 (>= 1.0.16), libavc1394-0 (>= 0.5.3), libavcodec58 (>= 7:4.2),\n" " libavformat58 (>= 7:4.2), libavutil56 (>= 7:4.0), libc6 (>= 2.29), libdv4\n" " (>= 1.0.0), libgcc-s1 (>= 3.0), libgdk-pixbuf-2.0-0 (>= 2.22.0),\n" " libglade2-0 (>= 1:2.6.4-2~), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>=\n" " 2.24.0), libiec61883-0 (>= 1.2.0), libpango-1.0-0 (>= 1.14.0),\n" " libpangoft2-1.0-0 (>= 1.14.0), libquicktime2 (>= 2:1.2.2), libraw1394-11\n" " (>= 2.1.2), libsamplerate0 (>= 0.1.7), libstdc++6 (>= 9), libswscale5 (>=\n" " 7:4.0), libx11-6, libxext6, libxml2 (>= 2.7.4), libxv1\n" "Recommends: ffmpeg, curl\n" "Suggests: udev | hotplug, vorbis-tools, sox, mjpegtools, lame, ffmpeg2theora\n" "Conflicts: kino-dvtitler, kino-timfx, kinoplus, kino-dvtitler:i386,\n" " kino-timfx:i386, kinoplus:i386, kino:i386\n" "Replaces: kino-dvtitler, kino-timfx, kinoplus, kino-dvtitler:i386,\n" " kino-timfx:i386, kinoplus:i386\n" "Provides: kino-dvtitler, kino-timfx, kinoplus\n" "Description: Non-linear editor for Digital Video data\n" " Kino allows you to record, create, edit, and play movies recorded with DV\n" " camcorders. This program uses many keyboard commands for fast navigating and\n" " editing inside the movie. \n" " \n" " The kino-timfx, kino-dvtitler and kinoplus sets of plugins, formerly distributed\n" " as separate packages, are now provided with Kino.\n" "Homepage: http://www.kinodv.org/\n" "Tags: field::arts, hardware::camera, implemented-in::c, implemented-in::c++,\n" " interface::graphical, interface::x11, role::program, scope::application,\n" " suite::gnome, uitoolkit::gtk, use::editing, use::learning,\n" " works-with::video, x11::application\n" "]]>" msgstr "" "$ aptitude search kino~dvideo~mpaul\n" "p kino - Non-linear editor for Digital Video data\n" "$ aptitude show kino\n" "\n" "Architecture: amd64\n" "Uncompressed Size: 8,304 k\n" "Depends: libasound2 (>= 1.0.16), libatk1.0-0 (>= 1.12.4), libavc1394-0 (>= 0.5.3), libavcodec58 (>=\n" " 7:4.0) | libavcodec-extra58 (>= 7:4.0), libavformat58 (>= 7:4.0), libavutil56 (>= 7:4.0),\n" " libc6 (>= 2.14), libcairo2 (>= 1.2.4), libdv4 (>= 1.0.0), libfontconfig1 (>= 2.12.6),\n" " libfreetype6 (>= 2.2.1), libgcc1 (>= 1:3.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglade2-0\n" " (>= 1:2.6.4-2~), libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>= 2.24.32), libice6 (>= 1:1.0.0),\n" " libiec61883-0 (>= 1.2.0), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0),\n" " libpangoft2-1.0-0 (>= 1.14.0), libquicktime2 (>= 2:1.2.2), libraw1394-11, libsamplerate0\n" " (>= 0.1.7), libsm6, libstdc++6 (>= 5.2), libswscale5 (>= 7:4.0), libx11-6, libxext6,\n" " libxml2 (>= 2.7.4), libxv1, zlib1g (>= 1:1.1.4)\n" "Recommends: ffmpeg, curl\n" "Suggests: udev | hotplug, vorbis-tools, sox, mjpegtools, lame, ffmpeg2theora\n" "Conflicts: kino-dvtitler, kino-timfx, kinoplus\n" "Replaces: kino-dvtitler, kino-timfx, kinoplus\n" "Provides: kino-dvtitler, kino-timfx, kinoplus\n" "Description: Non-linear editor for Digital Video data\n" " Kino allows you to record, create, edit, and play movies recorded with DV camcorders. This program\n" " uses many keyboard commands for fast navigating and editing inside the movie.\n" "\n" " The kino-timfx, kino-dvtitler and kinoplus sets of plugins, formerly distributed as separate\n" " packages, are now provided with Kino.\n" "Homepage: http://www.kinodv.org/\n" "Tags: field::arts, hardware::camera, implemented-in::c, implemented-in::c++, interface::graphical,\n" " interface::x11, role::program, scope::application, suite::gnome, uitoolkit::gtk,\n" " use::editing, use::learning, works-with::video, x11::application\n" "]]>" msgid "The search only returns one package, kino, which satisfies all three criteria." msgstr "此搜索只找到一个软件包,kino,满足全部三个条件。" #, fuzzy #| msgid "Even these multi-criteria searches are rather unwieldy, which explains why they are not used as much as they could. A new tagging system has therefore been developed, and it provides a new approach to searching. Packages are given tags that provide a thematical classification along several strands, known as a “facet-based classification”. In the case of kino above, the package's tags indicate that Kino is a Gnome-based software that works on video data and whose main purpose is editing." msgid "Even these multi-criteria searches are rather unwieldy, which explains why they are not used as much as they could. A new tagging system has therefore been developed, and it provides a new approach to searching. Packages are given tags that provide a thematic classification along several strands, known as a “facet-based classification”. In the case of kino above, the package's tags indicate that Kino is a Gnome-based software that works on video data and whose main purpose is editing." msgstr "这种多条件的搜索较为刚性,所以很少人用它。因此发明新的标签系统,以不同角度处理搜索。软件包的标签在其他情况之外多了专题性分类,通称为 “层面性分类”。以前述的 kino 为例,软件包标签指出 Kino 是处理影像的 Gnome 级软件,主要功能为编辑。" #, fuzzy #| msgid "security.debian.org" msgid "debtags.debian.org" msgstr "security.debian.org" #, fuzzy #| msgid "Browsing this classification can help you to search for a package which corresponds to known needs; even if it returns a (moderate) number of hits, the rest of the search can be done manually. To do that, you can use the ~G search pattern in aptitude, but it is probably easier to simply navigate the site where tags are managed: " msgid "Browsing this classification can help you to search for a package which corresponds to known needs; even if it returns a (moderate) number of hits, the rest of the search can be done manually. To do that, you can use the ~G search pattern in aptitude, but it is probably easier to simply navigate the site where tags are managed or use the debtags command: " msgstr "浏览此分类系统可协助搜索对应的已知需求;即使收到一堆 (合理数量) 结果,还可以用人工方式再搜索。可以于 aptitude 内使用 ~G 搜索模式,但可以再简化浏览标签管理的网站:" msgid "debtags" msgstr "debtags" msgid "tag" msgstr "标签" msgid "packagetags" msgstr "软件包标签" #, fuzzy #| msgid "$ dpkg --get-selections >pkg-list" msgid "$ debtags search \"works-with::video && use::editing\"" msgstr "$ dpkg --get-selections >pkg-list↵" msgid "Selecting the works-with::video and use::editing tags yields a handful of packages, including the kino and pitivi video editors. This system of classification is bound to be used more and more as time goes on, and package managers will gradually provide efficient search interfaces based on it." msgstr "以 works-with::video 及 use::editing 标签可找出若干软件包,包括 kino 与 pitivi 影像编辑器。愈来愈多人使用这种分类系统,在此基础上,软件包管理者创建更有效的接口。" msgid "To sum up, the best tool for the job depends on the complexity of the search that you wish to do:" msgstr "总的来说,最好的工具取决于搜索时你所期望达到的复杂程度:" msgid "apt-cache only allows searching in package names and descriptions, which is very convenient when looking for a particular package that matches a few target keywords;" msgstr "apt-cache 只能通过软件包名称和描述信息来进行搜索,对于搜索符合少量关键词的特定软件包十分方便;" msgid "when the search criteria also include relationships between packages or other meta-data such as the name of the maintainer, synaptic will be more useful;" msgstr "当搜索条件包括软件包之间的关系或者像维护者名称的其它元数据时,synaptic 将更加有用;" msgid "when a tag-based search is needed, a good tool is packagesearch, a graphical interface dedicated to searching available packages along several criteria (including the names of the files that they contain). For usage on the command-line, axi-cache will fit the bill." msgstr "当需要基于标签来搜索时,packagesearch 是一个很好用的工具,可以根据若干条件(包括软件包中包含的文件名)进行软件包搜索的图形化专用工具。命令行下则使用 axi-cache。" msgid "packagesearch" msgstr "packagesearch" msgid "finally, when the searches involve complex expressions with logic operations, the tool of choice will be aptitude's search pattern syntax, which is quite powerful despite being somewhat obscure; it works in both the command-line and the interactive modes." msgstr "最后,当搜索涉及有逻辑操作的复杂的表达式时,首选工具为 aptitude 的搜索语法,尽管有点晦涩难用但功能相当强大,它有命令行和交互两种模式。" #~ msgid "/etc/apt/sources.list" #~ msgstr "/etc/apt/sources.list" #~ msgid "/etc/apt/sources.list.d" #~ msgstr "/etc/apt/sources.list.d" #~ msgid "security updates" #~ msgstr "安全更新" #~ msgid "debian-security-announce" #~ msgstr "debian-security-announce" #~ msgid "updatesbuster" #~ msgstr "updatesbuster" #~ msgid "deb https://deb.debian.org/debian buster-updates main contrib non-free" #~ msgstr "deb https://deb.debian.org/debian buster-updates main contrib non-free" #~ msgid "snapshot.debian.org" #~ msgstr "snapshot.debian.org" #~ msgid "apt update" #~ msgstr "apt update" #~ msgid "apt-get update" #~ msgstr "apt-get update" #~ msgid "aptitude update" #~ msgstr "aptitude update" #~ msgid "apt install" #~ msgstr "apt install " #~ msgid "apt remove" #~ msgstr "apt remove" #~ msgid "apt purge" #~ msgstr "apt purge" #~ msgid "apt-get install" #~ msgstr "apt-get install " #~ msgid "apt-get remove" #~ msgstr "apt-get remove" #~ msgid "apt-get purge" #~ msgstr "apt-get purge" #~ msgid "aptitude install" #~ msgstr "aptitude install" #~ msgid "aptitude remove" #~ msgstr "aptitude remove" #~ msgid "aptitude purge" #~ msgstr "aptitude purge" #~ msgid "apt install --reinstall" #~ msgstr "apt install --reinstall" #~ msgid "apt-get install --reinstall" #~ msgstr "apt-get install --reinstall" #~ msgid "aptitude install --reinstall" #~ msgstr "aptitude install --reinstall" #~ msgid "/var/cache/apt/archives/" #~ msgstr "/var/cache/apt/archives/" #~ msgid "apt-get clean" #~ msgstr "apt-get clean" #~ msgid "apt-get autoclean" #~ msgstr "apt-get autoclean" #~ msgid "apt upgrade" #~ msgstr "apt upgrade" #~ msgid "apt-get upgrade" #~ msgstr "apt-get upgrade" #~ msgid "aptitude safe-upgrade" #~ msgstr "aptitude safe-upgrade" #~ msgid "apt full-upgrade" #~ msgstr "apt full-upgrade" #~ msgid "apt dist-upgrade" #~ msgstr "apt dist-upgrade" #~ msgid "apt-get dist-upgrade" #~ msgstr "apt-get dist-upgrade" #~ msgid "aptitude dist-upgrade" #~ msgstr "aptitude dist-upgrade" #~ msgid "aptitude full-upgrade" #~ msgstr "aptitude full-upgrade" #~ msgid "apt.conf.d/" #~ msgstr "apt.conf.d/" #~ msgid "/etc/apt/apt.conf" #~ msgstr "/etc/apt/apt.conf" #~ msgid "/etc/apt/apt.conf.d/" #~ msgstr "/etc/apt/apt.conf.d/" #~ msgid "apt.conf5" #~ msgstr "apt.conf5" #~ msgid "/etc/apt/preferences" #~ msgstr "/etc/apt/preferences" #~ msgid "/etc/apt/preferences.d/" #~ msgstr "/etc/apt/preferences.d/" #~ msgid "apt_preferences5" #~ msgstr "apt_preferences5" #~ msgid "apt autoremove" #~ msgstr "apt autoremove" #~ msgid "apt-get autoremove" #~ msgstr "apt-get autoremove" #~ msgid "apt-mark auto" #~ msgstr "apt-mark auto" #~ msgid "apt-mark manual" #~ msgstr "apt-mark manual" #~ msgid "aptitude markauto" #~ msgstr "aptitude markauto" #~ msgid "aptitude unmarkauto" #~ msgstr "aptitude unmarkauto" #~ msgid "aptitude why" #~ msgstr "aptitude why" #~ msgid "apt show" #~ msgstr "apt show" #~ msgid "apt search" #~ msgstr "apt search" #~ msgid "apt-cache show" #~ msgstr "apt-cache show" #~ msgid "apt-cache search" #~ msgstr "apt-cache search" #~ msgid "aptitude show" #~ msgstr "aptitude show" #~ msgid "aptitude search" #~ msgstr "aptitude search" #~ msgid "apt-cache policy" #~ msgstr "apt-cache policy" #~ msgid "apt-cache dumpavail" #~ msgstr "apt-cache dumpavail" #~ msgid "apt-cache pkgnames" #~ msgstr "apt-cache pkgnames" #~ msgid "TIP apt-cache policy" #~ msgstr "秘诀 apt-cache policy" #~ msgid "/etc/apt/trusted.gpg.d/" #~ msgstr "/etc/apt/trusted.gpg.d/" #~ msgid "/etc/apt/trusted.gpg" #~ msgstr "/etc/apt/trusted.gpg" #~ msgid "" #~ "# apt-key fingerprint\n" #~ "\n" #~ "sub rsa4096 2019-04-14 [S] [expires: 2027-04-12]\n" #~ "\n" #~ "/etc/apt/trusted.gpg.d/debian-archive-buster-security-automatic.gpg\n" #~ "-------------------------------------------------------------------\n" #~ "pub rsa4096 2019-04-14 [SC] [expires: 2027-04-12]\n" #~ " 5E61 B217 265D A980 7A23 C5FF 4DFA B270 CAA9 6DFA\n" #~ "uid [ unknown] Debian Security Archive Automatic Signing Key (10/buster) \n" #~ "sub rsa4096 2019-04-14 [S] [expires: 2027-04-12]\n" #~ "\n" #~ "/etc/apt/trusted.gpg.d/debian-archive-buster-stable.gpg\n" #~ "-------------------------------------------------------\n" #~ "pub rsa4096 2019-02-05 [SC] [expires: 2027-02-03]\n" #~ " 6D33 866E DD8F FA41 C014 3AED DCC9 EFBF 77E1 1517\n" #~ "uid [ unknown] Debian Stable Release Key (10/buster) \n" #~ "\n" #~ "/etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg\n" #~ "----------------------------------------------------------\n" #~ "pub rsa4096 2014-11-21 [SC] [expires: 2022-11-19]\n" #~ " 126C 0D24 BD8A 2942 CC7D F8AC 7638 D044 2B90 D010\n" #~ "uid [ unknown] Debian Archive Automatic Signing Key (8/jessie) \n" #~ "\n" #~ "/etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg\n" #~ "-------------------------------------------------------------------\n" #~ "pub rsa4096 2014-11-21 [SC] [expires: 2022-11-19]\n" #~ " D211 6914 1CEC D440 F2EB 8DDA 9D6D 8F6B C857 C906\n" #~ "uid [ unknown] Debian Security Archive Automatic Signing Key (8/jessie) \n" #~ "\n" #~ "/etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg\n" #~ "-------------------------------------------------------\n" #~ "pub rsa4096 2013-08-17 [SC] [expires: 2021-08-15]\n" #~ " 75DD C3C4 A499 F1A1 8CB5 F3C8 CBF8 D6FD 518E 17E1\n" #~ "uid [ unknown] Jessie Stable Release Key \n" #~ "\n" #~ "/etc/apt/trusted.gpg.d/debian-archive-stretch-automatic.gpg\n" #~ "-----------------------------------------------------------\n" #~ "pub rsa4096 2017-05-22 [SC] [expires: 2025-05-20]\n" #~ " E1CF 20DD FFE4 B89E 8026 58F1 E0B1 1894 F66A EC98\n" #~ "uid [ unknown] Debian Archive Automatic Signing Key (9/stretch) \n" #~ "sub rsa4096 2017-05-22 [S] [expires: 2025-05-20]\n" #~ "\n" #~ "/etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg\n" #~ "--------------------------------------------------------------------\n" #~ "pub rsa4096 2017-05-22 [SC] [expires: 2025-05-20]\n" #~ " 6ED6 F5CB 5FA6 FB2F 460A E88E EDA0 D238 8AE2 2BA9\n" #~ "uid [ unknown] Debian Security Archive Automatic Signing Key (9/stretch) \n" #~ "sub rsa4096 2017-05-22 [S] [expires: 2025-05-20]\n" #~ "\n" #~ "/etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg\n" #~ "--------------------------------------------------------\n" #~ "pub rsa4096 2017-05-20 [SC] [expires: 2025-05-18]\n" #~ " 067E 3C45 6BAE 240A CEE8 8F6F EF0F 382A 1A7B 6500\n" #~ "uid [ unknown] Debian Stable Release Key (9/stretch) \n" #~ "\n" #~ "]]>" #~ msgstr "" #~ "# apt-key fingerprint\n" #~ "\n" #~ "sub rsa4096 2019-04-14 [S] [expires: 2027-04-12]\n" #~ "\n" #~ "/etc/apt/trusted.gpg.d/debian-archive-buster-security-automatic.gpg\n" #~ "-------------------------------------------------------------------\n" #~ "pub rsa4096 2019-04-14 [SC] [expires: 2027-04-12]\n" #~ " 5E61 B217 265D A980 7A23 C5FF 4DFA B270 CAA9 6DFA\n" #~ "uid [ unknown] Debian Security Archive Automatic Signing Key (10/buster) \n" #~ "sub rsa4096 2019-04-14 [S] [expires: 2027-04-12]\n" #~ "\n" #~ "/etc/apt/trusted.gpg.d/debian-archive-buster-stable.gpg\n" #~ "-------------------------------------------------------\n" #~ "pub rsa4096 2019-02-05 [SC] [expires: 2027-02-03]\n" #~ " 6D33 866E DD8F FA41 C014 3AED DCC9 EFBF 77E1 1517\n" #~ "uid [ unknown] Debian Stable Release Key (10/buster) \n" #~ "\n" #~ "/etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg\n" #~ "----------------------------------------------------------\n" #~ "pub rsa4096 2014-11-21 [SC] [expires: 2022-11-19]\n" #~ " 126C 0D24 BD8A 2942 CC7D F8AC 7638 D044 2B90 D010\n" #~ "uid [ unknown] Debian Archive Automatic Signing Key (8/jessie) \n" #~ "\n" #~ "/etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg\n" #~ "-------------------------------------------------------------------\n" #~ "pub rsa4096 2014-11-21 [SC] [expires: 2022-11-19]\n" #~ " D211 6914 1CEC D440 F2EB 8DDA 9D6D 8F6B C857 C906\n" #~ "uid [ unknown] Debian Security Archive Automatic Signing Key (8/jessie) \n" #~ "\n" #~ "/etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg\n" #~ "-------------------------------------------------------\n" #~ "pub rsa4096 2013-08-17 [SC] [expires: 2021-08-15]\n" #~ " 75DD C3C4 A499 F1A1 8CB5 F3C8 CBF8 D6FD 518E 17E1\n" #~ "uid [ unknown] Jessie Stable Release Key \n" #~ "\n" #~ "/etc/apt/trusted.gpg.d/debian-archive-stretch-automatic.gpg\n" #~ "-----------------------------------------------------------\n" #~ "pub rsa4096 2017-05-22 [SC] [expires: 2025-05-20]\n" #~ " E1CF 20DD FFE4 B89E 8026 58F1 E0B1 1894 F66A EC98\n" #~ "uid [ unknown] Debian Archive Automatic Signing Key (9/stretch) \n" #~ "sub rsa4096 2017-05-22 [S] [expires: 2025-05-20]\n" #~ "\n" #~ "/etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg\n" #~ "--------------------------------------------------------------------\n" #~ "pub rsa4096 2017-05-22 [SC] [expires: 2025-05-20]\n" #~ " 6ED6 F5CB 5FA6 FB2F 460A E88E EDA0 D238 8AE2 2BA9\n" #~ "uid [ unknown] Debian Security Archive Automatic Signing Key (9/stretch) \n" #~ "sub rsa4096 2017-05-22 [S] [expires: 2025-05-20]\n" #~ "\n" #~ "/etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg\n" #~ "--------------------------------------------------------\n" #~ "pub rsa4096 2017-05-20 [SC] [expires: 2025-05-18]\n" #~ " 067E 3C45 6BAE 240A CEE8 8F6F EF0F 382A 1A7B 6500\n" #~ "uid [ unknown] Debian Stable Release Key (9/stretch) \n" #~ "\n" #~ "]]>" #~ msgid "configuration files.dpkg-dist" #~ msgstr "配置文件.dpkg-dist" #~ msgid "configuration files.dpkg-old" #~ msgstr "配置文件.dpkg-old" #~ msgid "configuration files.ucf-new" #~ msgstr "配置文件.ucf-new" #~ msgid "configuration files.ucf-dist" #~ msgstr "配置文件.ucf-dist" #~ msgid "unattended-upgrades/etc/apt/apt.conf.d/50unattended-upgrades" #~ msgstr "unattended-upgrades/etc/apt/apt.conf.d/50unattended-upgrades" #~ msgid "/etc/apt/apt.conf.d/50unattended-upgrades" #~ msgstr "/etc/apt/apt.conf.d/50unattended-upgrades" #, fuzzy #~| msgid "Experimental" #~ msgid "experimental" #~ msgstr "实验" #~ msgid "Each active line of the /etc/apt/sources.list file contains the description of a source, made of 3 parts separated by spaces." #~ msgstr "/etc/apt/sources.list 文件中每个有效的代码行包括对源的描述,由三个被空格分开的部分组成。" #~ msgid "In practice, this repository is a subset of the proposed-updates repository, carefully selected by the Stable Release Managers." #~ msgstr "实际上,这个仓库是 计划-更新proposed-updates 的子库,是由稳定更新管理员小心选定的。" #~ msgid "The stable-backports repository is now available on the usual Debian mirrors. But backports for Squeeze are still hosted on a dedicated server (backports.debian.org), and requires the following sources.list entry:" #~ msgstr "stable-backports仓库与通常的Debian镜像共同存在,但是Squeeze对应的仓库仍然在一个单独的服务器(backports.debian.org)上存放,且需要增加以下特殊的sources.list条目才能使用:" #~ msgid "deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free" #~ msgstr "deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free" #~ msgid "" #~ "# apt install package1 package2-\n" #~ "[...]\n" #~ "# apt remove package1+ package2\n" #~ "[...]" #~ msgstr "" #~ "# apt install package1 package2-↵\n" #~ "[...]↵\n" #~ "# apt remove package1+ package2↵\n" #~ "[...]↵" #~ msgid "In more concrete terms, a package whose priority is less than 0 will never be installed. A package with a priority ranging between 0 and 100 will only be installed if no other version of the package is already installed. With a priority between 100 and 500, the package will only be installed if there is no other newer version installed or available in another distribution. A package of priority between 501 and 990 will only be installed if there is no newer version installed or available in the target distribution. With a priority between 990 and 1000, the package will be installed except if the installed version is newer. A priority greater than 1000 will always lead to the installation of the package even if it forces APT to downgrade to an older version." #~ msgstr "更具体地说,永远不会安装优先性小于 0 的软件包。没有安装其他版本时,将安装优先性在 0 与 100 之间的软件包。其他发行版没有更新版本或可用的版本时,安装优先性在 100 与 500 之间的软件包。在目标发行版内没有更新的版本时,安装优先性在 501 与 990 之间的软件包。已安装的版本不是更新时,安装优先性在 990 与 1000 之间的软件包。即使使强迫 APT 降级也要安装优先性高于greater than 1000 的软件包。" #~ msgid "To add the key to the trusted keyring, the administrator can run apt-key add < key.asc. Another way is to use the synaptic graphical interface: its “Authentication” tab in the Settings Repositories menu gives the possibility of importing a key from the key.asc file." #~ msgstr "管理者可以运行 apt-key add < key.asc,添加认证密钥。也可以使用 synaptic 图形接口:它的 “认证” 分页在 设置 保存库 菜单内,可以从 key.asc 文件导入钥匙。" #~ msgid "gui-apt-key" #~ msgstr "gui-apt-key" #~ msgid "For people who would want a dedicated application and more details on the trusted keys, it is possible to use gui-apt-key (in the package of the same name), a small graphical user interface which manages the trusted keyring." #~ msgstr "想要有专属且详细的可信任钥,可以使用 gui-apt-key (在同名软件包内),以图形接口管理可信任钥。" #~ msgid "APT::Periodic::Update-Package-Lists" #~ msgstr "APT::Periodic::Update-Package-Lists" #~ msgid "APT::Periodic::Download-Upgradeable-Packages" #~ msgstr "APT::Periodic::Download-Upgradeable-Packages" #~ msgid "APT::Periodic::AutocleanInterval" #~ msgstr "APT::Periodic::AutocleanInterval" #~ msgid "APT::Periodic::Unattended-Upgrade" #~ msgstr "APT::Periodic::Unattended-Upgrade" #~ msgid "QUICK LOOK apt-spy" #~ msgstr "速览 apt-spy" #~ msgid "This software tests the download speed from several Debian mirrors and generates a sources.list file which points to the fastest mirror." #~ msgstr "这个软件从若干个 Debian 镜像来检测下载速度, 并生成一个指向最快镜像的sources.list 文件。" #~ msgid "The mirror selected during installation is generally suitable since its selection is based on the country. However, if the download is a little slow, or after a move, you can try running the application available in the apt-spy package." #~ msgstr "在安装中被选定的镜像通常可调。不过如果下载速度较慢,你也可试着运行在软件包apt-spy里的其他程序。" #~ msgid "apt-get.org" #~ msgstr "apt-get.org"