diff options
Diffstat (limited to 'doc/po/pt_BR.po')
-rw-r--r-- | doc/po/pt_BR.po | 890 |
1 files changed, 465 insertions, 425 deletions
diff --git a/doc/po/pt_BR.po b/doc/po/pt_BR.po index c3921a737..833fcf1a3 100644 --- a/doc/po/pt_BR.po +++ b/doc/po/pt_BR.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: apt\n" "Report-Msgid-Bugs-To: APT Development Team <deity@lists.debian.org>\n" -"POT-Creation-Date: 2014-06-18 14:12+0200\n" +"POT-Creation-Date: 2014-07-03 22:15+0200\n" "PO-Revision-Date: 2004-09-20 17:02+0000\n" "Last-Translator: André Luís Lopes <andrelop@debian.org>\n" "Language-Team: <debian-l10n-portuguese@lists.debian.org>\n" @@ -6411,34 +6411,50 @@ msgid "" "100 on error." msgstr "" -#. type: <title></title> -#: guide.sgml:4 +#. type: Attribute 'lang' of: <book> +#: guide.dbk:8 offline.dbk:8 +msgid "en" +msgstr "" + +#. type: Content of: <book><title> +#: guide.dbk:10 msgid "APT User's Guide" msgstr "" -#. type: <author></author> -#: guide.sgml:6 offline.sgml:6 -msgid "<name>Jason Gunthorpe </name><email>jgg@debian.org</email>" +#. type: Content of: <book><bookinfo><authorgroup><author><personname> +#: guide.dbk:16 offline.dbk:16 +msgid "Jason Gunthorpe" msgstr "" -#. type: <version></version> -#: guide.sgml:7 -msgid "$Id: guide.sgml,v 1.7 2003/04/26 23:26:13 doogie Exp $" +#. type: Content of: <book><bookinfo><authorgroup><author><email> +#: guide.dbk:16 offline.dbk:16 +msgid "jgg@debian.org" msgstr "" -#. type: <abstract></abstract> -#: guide.sgml:11 +#. type: Content of: <book><bookinfo><releaseinfo> +#: guide.dbk:20 offline.dbk:20 +msgid "Version &apt-product-version;" +msgstr "" + +#. type: Content of: <book><bookinfo><abstract><para> +#: guide.dbk:24 msgid "" "This document provides an overview of how to use the the APT package manager." msgstr "" -#. type: <copyrightsummary></copyrightsummary> -#: guide.sgml:15 -msgid "Copyright © Jason Gunthorpe, 1998." +#. type: Content of: <book><bookinfo> +#: guide.dbk:28 +msgid "" +"<copyright><year>1998</year><holder>Jason Gunthorpe</holder></copyright>" msgstr "" -#. type: <p></p> -#: guide.sgml:21 offline.sgml:22 +#. type: Content of: <book><bookinfo><legalnotice><title> +#: guide.dbk:31 offline.dbk:32 +msgid "License Notice" +msgstr "" + +#. type: Content of: <book><bookinfo><legalnotice><para> +#: guide.dbk:33 offline.dbk:34 msgid "" "\"APT\" and this document are free software; you can redistribute them and/" "or modify them under the terms of the GNU General Public License as " @@ -6446,42 +6462,42 @@ msgid "" "or (at your option) any later version." msgstr "" -#. type: <p></p> -#: guide.sgml:24 offline.sgml:25 +#. type: Content of: <book><bookinfo><legalnotice><para> +#: guide.dbk:42 offline.dbk:40 msgid "" "For more details, on Debian systems, see the file /usr/share/common-licenses/" "GPL for the full license." msgstr "" -#. type: <heading></heading> -#: guide.sgml:32 +#. type: Content of: <book><chapter><title> +#: guide.dbk:49 msgid "General" msgstr "" -#. type: <p></p> -#: guide.sgml:38 +#. type: Content of: <book><chapter><para> +#: guide.dbk:51 msgid "" -"The APT package currently contains two sections, the APT <prgn>dselect</" -"prgn> method and the <prgn>apt-get</prgn> command line user interface. Both " -"provide a way to install and remove packages as well as download new " -"packages from the Internet." +"The APT package currently contains two sections, the APT <command>dselect</" +"command> method and the <command>apt-get</command> command line user " +"interface. Both provide a way to install and remove packages as well as " +"download new packages from the Internet." msgstr "" -#. type: <heading></heading> -#: guide.sgml:39 +#. type: Content of: <book><chapter><section><title> +#: guide.dbk:57 msgid "Anatomy of the Package System" msgstr "" -#. type: <p></p> -#: guide.sgml:44 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:59 msgid "" "The Debian packaging system has a large amount of information associated " "with each package to help assure that it integrates cleanly and easily into " "the system. The most prominent of its features is the dependency system." msgstr "" -#. type: <p></p> -#: guide.sgml:52 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:64 msgid "" "The dependency system allows individual programs to make use of shared " "elements in the system such as libraries. It simplifies placing infrequently " @@ -6490,8 +6506,8 @@ msgid "" "in mail transport agents, X servers and so on." msgstr "" -#. type: <p></p> -#: guide.sgml:57 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:71 msgid "" "The first step to understanding the dependency system is to grasp the " "concept of a simple dependency. The meaning of a simple dependency is that a " @@ -6499,8 +6515,8 @@ msgid "" "properly." msgstr "" -#. type: <p></p> -#: guide.sgml:63 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:76 msgid "" "For instance, mailcrypt is an emacs extension that aids in encrypting email " "with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a " @@ -6508,8 +6524,8 @@ msgid "" "simple dependency on emacs, without emacs it is completely useless." msgstr "" -#. type: <p></p> -#: guide.sgml:73 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:82 msgid "" "The other important dependency to understand is a conflicting dependency. It " "means that a package, when installed with another package, will not work and " @@ -6521,8 +6537,8 @@ msgid "" "other mail transport agents." msgstr "" -#. type: <p></p> -#: guide.sgml:83 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:92 msgid "" "As an added complication there is the possibility for a package to pretend " "to be another package. Consider that exim and sendmail for many intents are " @@ -6534,8 +6550,8 @@ msgid "" "trying to manually fix packages." msgstr "" -#. type: <p></p> -#: guide.sgml:88 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:102 msgid "" "At any given time a single dependency may be met by packages that are " "already installed or it may not be. APT attempts to help resolve dependency " @@ -6543,71 +6559,77 @@ msgid "" "packages for installation." msgstr "" -#. type: <heading></heading> -#: guide.sgml:96 +#. type: Content of: <book><chapter><title> +#: guide.dbk:111 msgid "apt-get" msgstr "" -#. type: <p></p> -#: guide.sgml:102 +#. type: Content of: <book><chapter><para> +#: guide.dbk:113 msgid "" -"<prgn>apt-get</prgn> provides a simple way to install packages from the " -"command line. Unlike <prgn>dpkg</prgn>, <prgn>apt-get</prgn> does not " -"understand .deb files, it works with the package's proper name and can only " -"install .deb archives from a <em>Source</em>." +"<command>apt-get</command> provides a simple way to install packages from " +"the command line. Unlike <command>dpkg</command>, <command>apt-get</command> " +"does not understand .deb files, it works with the package's proper name and " +"can only install .deb archives from a <emphasis>Source</emphasis>." msgstr "" -#. type: <p></p> -#: guide.sgml:109 +#. type: Content of: <book><chapter><para><footnote><para> +#: guide.dbk:119 msgid "" -"The first <footnote><p>If you are using an http proxy server you must set " -"the http_proxy environment variable first, see sources.list(5)</p></" -"footnote> thing that should be done before using <prgn>apt-get</prgn> is to " -"fetch the package lists from the <em>Sources</em> so that it knows what " -"packages are available. This is done with <tt>apt-get update</tt>. For " -"instance," +"If you are using an http proxy server you must set the http_proxy " +"environment variable first, see sources.list(5)" msgstr "" -#. type: <example></example> -#: guide.sgml:116 +#. type: Content of: <book><chapter><para> +#: guide.dbk:119 +msgid "" +"The first <placeholder type=\"footnote\" id=\"0\"/> thing that should be " +"done before using <command>apt-get</command> is to fetch the package lists " +"from the <emphasis>Sources</emphasis> so that it knows what packages are " +"available. This is done with <literal>apt-get update</literal>. For instance," +msgstr "" + +#. type: Content of: <book><chapter><screen> +#: guide.dbk:127 #, no-wrap msgid "" "# apt-get update\n" "Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n" "Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n" "Reading Package Lists... Done\n" -"Building Dependency Tree... Done" +"Building Dependency Tree... Done\n" msgstr "" -#. type: <p><taglist> -#: guide.sgml:120 +#. type: Content of: <book><chapter><para> +#: guide.dbk:134 msgid "Once updated there are several commands that can be used:" msgstr "" -#. type: <tag></tag> -#: guide.sgml:121 +#. type: Content of: <book><chapter><variablelist><varlistentry><term> +#: guide.dbk:138 msgid "upgrade" msgstr "" -#. type: <p></p> -#: guide.sgml:131 +#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para> +#: guide.dbk:141 msgid "" "Upgrade will attempt to gently upgrade the whole system. Upgrade will never " "install a new package or remove an existing package, nor will it ever " "upgrade a package that might cause some other package to break. This can be " "used daily to relatively safely upgrade the system. Upgrade will list all of " "the packages that it could not upgrade, this usually means that they depend " -"on new packages or conflict with some other package. <prgn>dselect</prgn> or " -"<tt>apt-get install</tt> can be used to force these packages to install." +"on new packages or conflict with some other package. <command>dselect</" +"command> or <literal>apt-get install</literal> can be used to force these " +"packages to install." msgstr "" -#. type: <tag></tag> -#: guide.sgml:131 +#. type: Content of: <book><chapter><variablelist><varlistentry><term> +#: guide.dbk:153 msgid "install" msgstr "" -#. type: <p></p> -#: guide.sgml:140 +#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para> +#: guide.dbk:156 msgid "" "Install is used to install packages by name. The package is automatically " "fetched and installed. This can be useful if you already know the name of " @@ -6618,130 +6640,134 @@ msgid "" "anything other than its arguments are changed." msgstr "" -#. type: <tag></tag> -#: guide.sgml:140 +#. type: Content of: <book><chapter><variablelist><varlistentry><term> +#: guide.dbk:167 msgid "dist-upgrade" msgstr "" -#. type: <p></p> -#: guide.sgml:149 +#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para> +#: guide.dbk:170 msgid "" "Dist-upgrade is a complete upgrader designed to simplify upgrading between " "releases of Debian. It uses a sophisticated algorithm to determine the best " "set of packages to install, upgrade and remove to get as much of the system " "to the newest release. In some situations it may be desired to use dist-" "upgrade rather than spend the time manually resolving dependencies in " -"<prgn>dselect</prgn>. Once dist-upgrade has completed then <prgn>dselect</" -"prgn> can be used to install any packages that may have been left out." +"<command>dselect</command>. Once dist-upgrade has completed then " +"<command>dselect</command> can be used to install any packages that may have " +"been left out." msgstr "" -#. type: <p></p> -#: guide.sgml:152 +#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para> +#: guide.dbk:180 msgid "" "It is important to closely look at what dist-upgrade is going to do, its " "decisions may sometimes be quite surprising." msgstr "" -#. type: <p></p> -#: guide.sgml:163 +#. type: Content of: <book><chapter><para> +#: guide.dbk:187 msgid "" -"<prgn>apt-get</prgn> has several command line options that are detailed in " -"its man page, <manref name=\"apt-get\" section=\"8\">. The most useful " -"option is <tt>-d</tt> which does not install the fetched files. If the " -"system has to download a large number of package it would be undesired to " -"start installing them in case something goes wrong. When <tt>-d</tt> is used " -"the downloaded archives can be installed by simply running the command that " -"caused them to be downloaded again without <tt>-d</tt>." +"<command>apt-get</command> has several command line options that are " +"detailed in its man page, <citerefentry><refentrytitle>apt-get</" +"refentrytitle><manvolnum>8</manvolnum></citerefentry>. The most useful " +"option is <literal>-d</literal> which does not install the fetched files. If " +"the system has to download a large number of package it would be undesired " +"to start installing them in case something goes wrong. When <literal>-d</" +"literal> is used the downloaded archives can be installed by simply running " +"the command that caused them to be downloaded again without <literal>-d</" +"literal>." msgstr "" -#. type: <heading></heading> -#: guide.sgml:168 +#. type: Content of: <book><chapter><title> +#: guide.dbk:199 msgid "DSelect" msgstr "" -#. type: <p></p> -#: guide.sgml:173 +#. type: Content of: <book><chapter><para> +#: guide.dbk:201 msgid "" -"The APT <prgn>dselect</prgn> method provides the complete APT system with " -"the <prgn>dselect</prgn> package selection GUI. <prgn>dselect</prgn> is used " -"to select the packages to be installed or removed and APT actually installs " -"them." +"The APT <command>dselect</command> method provides the complete APT system " +"with the <command>dselect</command> package selection GUI. <command>dselect</" +"command> is used to select the packages to be installed or removed and APT " +"actually installs them." msgstr "" -#. type: <p></p> -#: guide.sgml:184 +#. type: Content of: <book><chapter><para> +#: guide.dbk:207 msgid "" -"To enable the APT method you need to select [A]ccess in <prgn>dselect</prgn> " -"and then choose the APT method. You will be prompted for a set of " -"<em>Sources</em> which are places to fetch archives from. These can be " -"remote Internet sites, local Debian mirrors or CD-ROMs. Each source can " -"provide a fragment of the total Debian archive, APT will automatically " +"To enable the APT method you need to select [A]ccess in <command>dselect</" +"command> and then choose the APT method. You will be prompted for a set of " +"<emphasis>Sources</emphasis> which are places to fetch archives from. These " +"can be remote Internet sites, local Debian mirrors or CD-ROMs. Each source " +"can provide a fragment of the total Debian archive, APT will automatically " "combine them to form a complete set of packages. If you have a CD-ROM then " "it is a good idea to specify it first and then specify a mirror so that you " "have access to the latest bug fixes. APT will automatically use packages on " "your CD-ROM before downloading from the Internet." msgstr "" -#. type: <example></example> -#: guide.sgml:198 +#. type: Content of: <book><chapter><screen> +#: guide.dbk:218 #, no-wrap msgid "" " Set up a list of distribution source locations\n" -"\t \n" +"\n" " Please give the base URL of the debian distribution.\n" " The access schemes I know about are: http file\n" -"\t \n" +"\n" " For example:\n" " file:/mnt/debian,\n" " ftp://ftp.debian.org/debian,\n" " http://ftp.de.debian.org/debian,\n" -" \n" -" \n" -" URL [http://llug.sep.bnl.gov/debian]:" +"\n" +"\n" +" URL [http://llug.sep.bnl.gov/debian]:\n" msgstr "" -#. type: <p></p> -#: guide.sgml:205 +#. type: Content of: <book><chapter><para> +#: guide.dbk:232 msgid "" -"The <em>Sources</em> setup starts by asking for the base of the Debian " -"archive, defaulting to a HTTP mirror. Next it asks for the distribution to " -"get." +"The <emphasis>Sources</emphasis> setup starts by asking for the base of the " +"Debian archive, defaulting to a HTTP mirror. Next it asks for the " +"distribution to get." msgstr "" -#. type: <example></example> -#: guide.sgml:212 +#. type: Content of: <book><chapter><screen> +#: guide.dbk:237 #, no-wrap msgid "" " Please give the distribution tag to get or a path to the\n" " package file ending in a /. The distribution\n" " tags are typically something like: stable unstable testing non-US\n" -" \n" -" Distribution [stable]:" +"\n" +" Distribution [stable]:\n" msgstr "" -#. type: <p></p> -#: guide.sgml:222 +#. type: Content of: <book><chapter><para> +#: guide.dbk:244 msgid "" -"The distribution refers to the Debian version in the archive, <em>stable</" -"em> refers to the latest released version and <em>unstable</em> refers to " -"the developmental version. <em>non-US</em> is only available on some mirrors " -"and refers to packages that contain encryption technology or other things " -"that cannot be exported from the United States. Importing these packages " -"into the US is legal however." +"The distribution refers to the Debian version in the archive, " +"<emphasis>stable</emphasis> refers to the latest released version and " +"<emphasis>unstable</emphasis> refers to the developmental version. " +"<emphasis>non-US</emphasis> is only available on some mirrors and refers to " +"packages that contain encryption technology or other things that cannot be " +"exported from the United States. Importing these packages into the US is " +"legal however." msgstr "" -#. type: <example></example> -#: guide.sgml:228 +#. type: Content of: <book><chapter><screen> +#: guide.dbk:253 #, no-wrap msgid "" " Please give the components to get\n" " The components are typically something like: main contrib non-free\n" -" \n" -" Components [main contrib non-free]:" +"\n" +" Components [main contrib non-free]:\n" msgstr "" -#. type: <p></p> -#: guide.sgml:236 +#. type: Content of: <book><chapter><para> +#: guide.dbk:259 msgid "" "The components list refers to the list of sub distributions to fetch. The " "distribution is split up based on software licenses, main being DFSG free " @@ -6749,25 +6775,25 @@ msgid "" "restrictions placed on their use and distribution." msgstr "" -#. type: <p></p> -#: guide.sgml:240 +#. type: Content of: <book><chapter><para> +#: guide.dbk:265 msgid "" "Any number of sources can be added, the setup script will continue to prompt " "until you have specified all that you want." msgstr "" -#. type: <p></p> -#: guide.sgml:247 +#. type: Content of: <book><chapter><para> +#: guide.dbk:269 msgid "" -"Before starting to use <prgn>dselect</prgn> it is necessary to update the " -"available list by selecting [U]pdate from the menu. This is a superset of " -"<tt>apt-get update</tt> that makes the fetched information available to " -"<prgn>dselect</prgn>. [U]pdate must be performed even if <tt>apt-get update</" -"tt> has been run before." +"Before starting to use <command>dselect</command> it is necessary to update " +"the available list by selecting [U]pdate from the menu. This is a superset " +"of <literal>apt-get update</literal> that makes the fetched information " +"available to <command>dselect</command>. [U]pdate must be performed even if " +"<literal>apt-get update</literal> has been run before." msgstr "" -#. type: <p></p> -#: guide.sgml:253 +#. type: Content of: <book><chapter><para> +#: guide.dbk:276 msgid "" "You can then go on and make your selections using [S]elect and then perform " "the installation using [I]nstall. When using the APT method the [C]onfig and " @@ -6775,57 +6801,63 @@ msgid "" "them together." msgstr "" -#. type: <p></p> -#: guide.sgml:258 +#. type: Content of: <book><chapter><para> +#: guide.dbk:282 msgid "" "By default APT will automatically remove the package (.deb) files once they " -"have been successfully installed. To change this behavior place <tt>Dselect::" -"clean \"prompt\";</tt> in /etc/apt/apt.conf." +"have been successfully installed. To change this behavior place " +"<literal>Dselect::clean \"prompt\";</literal> in /etc/apt/apt.conf." msgstr "" -#. type: <heading></heading> -#: guide.sgml:264 +#. type: Content of: <book><chapter><title> +#: guide.dbk:288 msgid "The Interface" msgstr "" -#. type: <p></p> -#: guide.sgml:278 +#. type: Content of: <book><chapter><para><footnote><para> +#: guide.dbk:292 +msgid "" +"The <command>dselect</command> method actually is a set of wrapper scripts " +"to <command>apt-get</command>. The method actually provides more " +"functionality than is present in <command>apt-get</command> alone." +msgstr "" + +#. type: Content of: <book><chapter><para> +#: guide.dbk:290 msgid "" -"Both that APT <prgn>dselect</prgn> method and <prgn>apt-get</prgn> share the " -"same interface. It is a simple system that generally tells you what it will " -"do and then goes and does it. <footnote><p>The <prgn>dselect</prgn> method " -"actually is a set of wrapper scripts to <prgn>apt-get</prgn>. The method " -"actually provides more functionality than is present in <prgn>apt-get</prgn> " -"alone.</p></footnote> After printing out a summary of what will happen APT " +"Both that APT <command>dselect</command> method and <command>apt-get</" +"command> share the same interface. It is a simple system that generally " +"tells you what it will do and then goes and does it. <placeholder type=" +"\"footnote\" id=\"0\"/> After printing out a summary of what will happen APT " "then will print out some informative status messages so that you can " "estimate how far along it is and how much is left to do." msgstr "" -#. type: <heading></heading> -#: guide.sgml:280 +#. type: Content of: <book><chapter><section><title> +#: guide.dbk:301 msgid "Startup" msgstr "" -#. type: <p></p> -#: guide.sgml:284 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:303 msgid "" "Before all operations except update, APT performs a number of actions to " "prepare its internal state. It also does some checks of the system's state. " -"At any time these operations can be performed by running <tt>apt-get check</" -"tt>." +"At any time these operations can be performed by running <literal>apt-get " +"check</literal>." msgstr "" -#. type: <example></example> -#: guide.sgml:289 +#. type: Content of: <book><chapter><section><screen> +#: guide.dbk:309 #, no-wrap msgid "" "# apt-get check\n" "Reading Package Lists... Done\n" -"Building Dependency Tree... Done" +"Building Dependency Tree... Done\n" msgstr "" -#. type: <p></p> -#: guide.sgml:297 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:314 msgid "" "The first thing it does is read all the package files into memory. APT uses " "a caching scheme so this operation will be faster the second time it is run. " @@ -6833,17 +6865,17 @@ msgid "" "warning will be printed when apt-get exits." msgstr "" -#. type: <p></p> -#: guide.sgml:303 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:320 msgid "" "The final operation performs a detailed analysis of the system's " "dependencies. It checks every dependency of every installed or unpacked " "package and considers if it is OK. Should this find a problem then a report " -"will be printed out and <prgn>apt-get</prgn> will refuse to run." +"will be printed out and <command>apt-get</command> will refuse to run." msgstr "" -#. type: <example></example> -#: guide.sgml:320 +#. type: Content of: <book><chapter><section><screen> +#: guide.dbk:326 #, no-wrap msgid "" "# apt-get check\n" @@ -6853,18 +6885,18 @@ msgid "" "Sorry, but the following packages have unmet dependencies:\n" " 9fonts: Depends: xlib6g but it is not installed\n" " uucp: Depends: mailx but it is not installed\n" -" blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n" +" blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n" " adduser: Depends: perl-base but it is not installed\n" " aumix: Depends: libgpmg1 but it is not installed\n" " debiandoc-sgml: Depends: sgml-base but it is not installed\n" -" bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n" +" bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n" " cthugha: Depends: svgalibg1 but it is not installed\n" -" Depends: xlib6g (>= 3.3-5) but it is not installed\n" -" libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)" +" Depends: xlib6g (>= 3.3-5) but it is not installed\n" +" libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)\n" msgstr "" -#. type: <p></p> -#: guide.sgml:329 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:343 msgid "" "In this example the system has many problems, including a serious problem " "with libreadlineg2. For each package that has unmet dependencies a line is " @@ -6873,61 +6905,69 @@ msgid "" "problem is also included." msgstr "" -#. type: <p></p> -#: guide.sgml:337 +#. type: Content of: <book><chapter><section><para><footnote><para> +#: guide.dbk:352 +msgid "" +"APT however considers all known dependencies and attempts to prevent broken " +"packages" +msgstr "" + +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:350 msgid "" "There are two ways a system can get into a broken state like this. The first " -"is caused by <prgn>dpkg</prgn> missing some subtle relationships between " -"packages when performing upgrades. <footnote><p>APT however considers all " -"known dependencies and attempts to prevent broken packages</p></footnote>. " -"The second is if a package installation fails during an operation. In this " -"situation a package may have been unpacked without its dependents being " -"installed." +"is caused by <command>dpkg</command> missing some subtle relationships " +"between packages when performing upgrades. <placeholder type=\"footnote\" id=" +"\"0\"/>. The second is if a package installation fails during an operation. " +"In this situation a package may have been unpacked without its dependents " +"being installed." msgstr "" -#. type: <p></p> -#: guide.sgml:345 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:359 msgid "" "The second situation is much less serious than the first because APT places " "certain constraints on the order that packages are installed. In both cases " -"supplying the <tt>-f</tt> option to <prgn>apt-get</prgn> will cause APT to " -"deduce a possible solution to the problem and then continue on. The APT " -"<prgn>dselect</prgn> method always supplies the <tt>-f</tt> option to allow " -"for easy continuation of failed maintainer scripts." +"supplying the <literal>-f</literal> option to <command>apt-get</command> " +"will cause APT to deduce a possible solution to the problem and then " +"continue on. The APT <command>dselect</command> method always supplies the " +"<literal>-f</literal> option to allow for easy continuation of failed " +"maintainer scripts." msgstr "" -#. type: <p></p> -#: guide.sgml:351 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:368 msgid "" -"However, if the <tt>-f</tt> option is used to correct a seriously broken " -"system caused by the first case then it is possible that it will either fail " -"immediately or the installation sequence will fail. In either case it is " -"necessary to manually use dpkg (possibly with forcing options) to correct " -"the situation enough to allow APT to proceed." +"However, if the <literal>-f</literal> option is used to correct a seriously " +"broken system caused by the first case then it is possible that it will " +"either fail immediately or the installation sequence will fail. In either " +"case it is necessary to manually use dpkg (possibly with forcing options) to " +"correct the situation enough to allow APT to proceed." msgstr "" -#. type: <heading></heading> -#: guide.sgml:356 +#. type: Content of: <book><chapter><section><title> +#: guide.dbk:376 msgid "The Status Report" msgstr "" -#. type: <p></p> -#: guide.sgml:363 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:378 msgid "" -"Before proceeding <prgn>apt-get</prgn> will present a report on what will " -"happen. Generally the report reflects the type of operation being performed " -"but there are several common elements. In all cases the lists reflect the " -"final state of things, taking into account the <tt>-f</tt> option and any " -"other relevant activities to the command being executed." +"Before proceeding <command>apt-get</command> will present a report on what " +"will happen. Generally the report reflects the type of operation being " +"performed but there are several common elements. In all cases the lists " +"reflect the final state of things, taking into account the <literal>-f</" +"literal> option and any other relevant activities to the command being " +"executed." msgstr "" -#. type: <heading></heading> -#: guide.sgml:364 +#. type: Content of: <book><chapter><section><section><title> +#: guide.dbk:385 msgid "The Extra Package list" msgstr "" -#. type: <example></example> -#: guide.sgml:372 +#. type: Content of: <book><chapter><section><section><screen> +#: guide.dbk:387 #, no-wrap msgid "" "The following extra packages will be installed:\n" @@ -6935,135 +6975,135 @@ msgid "" " mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n" " bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n" " squake pgp-i python-base debmake ldso perl libreadlineg2\n" -" ssh" +" ssh\n" msgstr "" -#. type: <p></p> -#: guide.sgml:379 +#. type: Content of: <book><chapter><section><section><para> +#: guide.dbk:395 msgid "" "The Extra Package list shows all of the packages that will be installed or " "upgraded in excess of the ones mentioned on the command line. It is only " -"generated for an <tt>install</tt> command. The listed packages are often the " -"result of an Auto Install." +"generated for an <literal>install</literal> command. The listed packages are " +"often the result of an Auto Install." msgstr "" -#. type: <heading></heading> -#: guide.sgml:382 +#. type: Content of: <book><chapter><section><section><title> +#: guide.dbk:402 msgid "The Packages to Remove" msgstr "" -#. type: <example></example> -#: guide.sgml:389 +#. type: Content of: <book><chapter><section><section><screen> +#: guide.dbk:404 #, no-wrap msgid "" "The following packages will be REMOVED:\n" " xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n" " xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n" " xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n" -" nas xpilot xfig" +" nas xpilot xfig\n" msgstr "" -#. type: <p></p> -#: guide.sgml:399 +#. type: Content of: <book><chapter><section><section><para> +#: guide.dbk:411 msgid "" "The Packages to Remove list shows all of the packages that will be removed " "from the system. It can be shown for any of the operations and should be " "given a careful inspection to ensure nothing important is to be taken off. " -"The <tt>-f</tt> option is especially good at generating packages to remove " -"so extreme care should be used in that case. The list may contain packages " -"that are going to be removed because they are only partially installed, " -"possibly due to an aborted installation." +"The <literal>-f</literal> option is especially good at generating packages " +"to remove so extreme care should be used in that case. The list may contain " +"packages that are going to be removed because they are only partially " +"installed, possibly due to an aborted installation." msgstr "" -#. type: <heading></heading> -#: guide.sgml:402 +#. type: Content of: <book><chapter><section><section><title> +#: guide.dbk:421 msgid "The New Packages list" msgstr "" -#. type: <example></example> -#: guide.sgml:406 +#. type: Content of: <book><chapter><section><section><screen> +#: guide.dbk:423 #, no-wrap msgid "" "The following NEW packages will installed:\n" -" zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base" +" zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base\n" msgstr "" -#. type: <p></p> -#: guide.sgml:411 +#. type: Content of: <book><chapter><section><section><para> +#: guide.dbk:427 msgid "" "The New Packages list is simply a reminder of what will happen. The packages " "listed are not presently installed in the system but will be when APT is " "done." msgstr "" -#. type: <heading></heading> -#: guide.sgml:414 +#. type: Content of: <book><chapter><section><section><title> +#: guide.dbk:432 msgid "The Kept Back list" msgstr "" -#. type: <example></example> -#: guide.sgml:419 +#. type: Content of: <book><chapter><section><section><screen> +#: guide.dbk:434 #, no-wrap msgid "" "The following packages have been kept back\n" " compface man-db tetex-base msql libpaper svgalib1\n" -" gs snmp arena lynx xpat2 groff xscreensaver" +" gs snmp arena lynx xpat2 groff xscreensaver\n" msgstr "" -#. type: <p></p> -#: guide.sgml:428 +#. type: Content of: <book><chapter><section><section><para> +#: guide.dbk:439 msgid "" "Whenever the whole system is being upgraded there is the possibility that " "new versions of packages cannot be installed because they require new things " "or conflict with already installed things. In this case the package will " "appear in the Kept Back list. The best way to convince packages listed there " -"to install is with <tt>apt-get install</tt> or by using <prgn>dselect</prgn> " -"to resolve their problems." +"to install is with <literal>apt-get install</literal> or by using " +"<command>dselect</command> to resolve their problems." msgstr "" -#. type: <heading></heading> -#: guide.sgml:431 +#. type: Content of: <book><chapter><section><section><title> +#: guide.dbk:448 msgid "Held Packages warning" msgstr "" -#. type: <example></example> -#: guide.sgml:435 +#. type: Content of: <book><chapter><section><section><screen> +#: guide.dbk:450 #, no-wrap msgid "" "The following held packages will be changed:\n" -" cvs" +" cvs\n" msgstr "" -#. type: <p></p> -#: guide.sgml:441 +#. type: Content of: <book><chapter><section><section><para> +#: guide.dbk:454 msgid "" "Sometimes you can ask APT to install a package that is on hold, in such a " "case it prints out a warning that the held package is going to be changed. " "This should only happen during dist-upgrade or install." msgstr "" -#. type: <heading></heading> -#: guide.sgml:444 +#. type: Content of: <book><chapter><section><section><title> +#: guide.dbk:460 msgid "Final summary" msgstr "" -#. type: <p></p> -#: guide.sgml:447 +#. type: Content of: <book><chapter><section><section><para> +#: guide.dbk:462 msgid "" "Finally, APT will print out a summary of all the changes that will occur." msgstr "" -#. type: <example></example> -#: guide.sgml:452 +#. type: Content of: <book><chapter><section><section><screen> +#: guide.dbk:465 #, no-wrap msgid "" "206 packages upgraded, 8 newly installed, 23 to remove and 51 not upgraded.\n" "12 packages not fully installed or removed.\n" -"Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used." +"Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used.\n" msgstr "" -#. type: <p></p> -#: guide.sgml:470 +#. type: Content of: <book><chapter><section><section><para> +#: guide.dbk:470 msgid "" "The first line of the summary simply is a reduced version of all of the " "lists and includes the number of upgrades - that is packages already " @@ -7080,27 +7120,27 @@ msgid "" "the amount of space that will be freed." msgstr "" -#. type: <p></p> -#: guide.sgml:473 +#. type: Content of: <book><chapter><section><section><para> +#: guide.dbk:484 msgid "" "Some other reports can be generated by using the -u option to show packages " "to upgrade, they are similar to the previous examples." msgstr "" -#. type: <heading></heading> -#: guide.sgml:477 +#. type: Content of: <book><chapter><section><title> +#: guide.dbk:491 msgid "The Status Display" msgstr "" -#. type: <p></p> -#: guide.sgml:481 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:493 msgid "" "During the download of archives and package files APT prints out a series of " "status messages." msgstr "" -#. type: <example></example> -#: guide.sgml:490 +#. type: Content of: <book><chapter><section><screen> +#: guide.dbk:497 #, no-wrap msgid "" "# apt-get update\n" @@ -7109,110 +7149,107 @@ msgid "" "Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n" "Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ Packages\n" "Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n" -"11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s" +"11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s\n" msgstr "" -#. type: <p></p> -#: guide.sgml:500 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:506 msgid "" -"The lines starting with <em>Get</em> are printed out when APT begins to " -"fetch a file while the last line indicates the progress of the download. The " -"first percent value on the progress line indicates the total percent done of " -"all files. Unfortunately since the size of the Package files is unknown " -"<tt>apt-get update</tt> estimates the percent done which causes some " -"inaccuracies." +"The lines starting with <emphasis>Get</emphasis> are printed out when APT " +"begins to fetch a file while the last line indicates the progress of the " +"download. The first percent value on the progress line indicates the total " +"percent done of all files. Unfortunately since the size of the Package files " +"is unknown <literal>apt-get update</literal> estimates the percent done " +"which causes some inaccuracies." msgstr "" -#. type: <p></p> -#: guide.sgml:509 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:514 msgid "" "The next section of the status line is repeated once for each download " "thread and indicates the operation being performed and some useful " "information about what is happening. Sometimes this section will simply read " -"<em>Forking</em> which means the OS is loading the download module. The " -"first word after the [ is the fetch number as shown on the history lines. " -"The next word is the short form name of the object being downloaded. For " -"archives it will contain the name of the package that is being fetched." +"<emphasis>Forking</emphasis> which means the OS is loading the download " +"module. The first word after the [ is the fetch number as shown on the " +"history lines. The next word is the short form name of the object being " +"downloaded. For archives it will contain the name of the package that is " +"being fetched." msgstr "" -#. type: <p></p> -#: guide.sgml:524 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:524 msgid "" "Inside of the single quote is an informative string indicating the progress " "of the negotiation phase of the download. Typically it progresses from " -"<em>Connecting</em> to <em>Waiting for file</em> to <em>Downloading</em> or " -"<em>Resuming</em>. The final value is the number of bytes downloaded from " -"the remote site. Once the download begins this is represented as " -"<tt>102/10.2k</tt> indicating that 102 bytes have been fetched and 10.2 " -"kilobytes is expected. The total size is always shown in 4 figure notation " -"to preserve space. After the size display is a percent meter for the file " -"itself. The second last element is the instantaneous average speed. This " -"values is updated every 5 seconds and reflects the rate of data transfer for " -"that period. Finally is shown the estimated transfer time. This is updated " -"regularly and reflects the time to complete everything at the shown transfer " -"rate." -msgstr "" - -#. type: <p></p> -#: guide.sgml:530 +"<emphasis>Connecting</emphasis> to <emphasis>Waiting for file</emphasis> to " +"<emphasis>Downloading</emphasis> or <emphasis>Resuming</emphasis>. The final " +"value is the number of bytes downloaded from the remote site. Once the " +"download begins this is represented as <literal>102/10.2k</literal> " +"indicating that 102 bytes have been fetched and 10.2 kilobytes is expected. " +"The total size is always shown in 4 figure notation to preserve space. After " +"the size display is a percent meter for the file itself. The second last " +"element is the instantaneous average speed. This values is updated every 5 " +"seconds and reflects the rate of data transfer for that period. Finally is " +"shown the estimated transfer time. This is updated regularly and reflects " +"the time to complete everything at the shown transfer rate." +msgstr "" + +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:539 msgid "" "The status display updates every half second to provide a constant feedback " "on the download progress while the Get lines scroll back whenever a new file " "is started. Since the status display is constantly updated it is unsuitable " -"for logging to a file, use the <tt>-q</tt> option to remove the status " -"display." +"for logging to a file, use the <literal>-q</literal> option to remove the " +"status display." msgstr "" -#. type: <heading></heading> -#: guide.sgml:535 +#. type: Content of: <book><chapter><section><title> +#: guide.dbk:547 msgid "Dpkg" msgstr "" -#. type: <p></p> -#: guide.sgml:542 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:549 msgid "" -"APT uses <prgn>dpkg</prgn> for installing the archives and will switch over " -"to the <prgn>dpkg</prgn> interface once downloading is completed. " -"<prgn>dpkg</prgn> will also ask a number of questions as it processes the " -"packages and the packages themselves may also ask several questions. Before " -"each question there is usually a description of what it is asking and the " -"questions are too varied to discuss completely here." +"APT uses <command>dpkg</command> for installing the archives and will switch " +"over to the <command>dpkg</command> interface once downloading is completed. " +"<command>dpkg</command> will also ask a number of questions as it processes " +"the packages and the packages themselves may also ask several questions. " +"Before each question there is usually a description of what it is asking and " +"the questions are too varied to discuss completely here." msgstr "" -#. type: <title></title> -#: offline.sgml:4 +#. type: Content of: <book><title> +#: offline.dbk:10 msgid "Using APT Offline" msgstr "" -#. type: <version></version> -#: offline.sgml:7 -msgid "$Id: offline.sgml,v 1.8 2003/02/12 15:06:41 doogie Exp $" -msgstr "" - -#. type: <abstract></abstract> -#: offline.sgml:12 +#. type: Content of: <book><bookinfo><abstract><para> +#: offline.dbk:24 msgid "" "This document describes how to use APT in a non-networked environment, " "specifically a 'sneaker-net' approach for performing upgrades." msgstr "" -#. type: <copyrightsummary></copyrightsummary> -#: offline.sgml:16 -msgid "Copyright © Jason Gunthorpe, 1999." +#. type: Content of: <book><bookinfo> +#: offline.dbk:29 +msgid "" +"<copyright><year>1999</year><holder>Jason Gunthorpe</holder></copyright>" msgstr "" -#. type: <heading></heading> -#: offline.sgml:32 +#. type: Content of: <book><chapter><title> +#: offline.dbk:47 msgid "Introduction" msgstr "" -#. type: <heading></heading> -#: offline.sgml:34 offline.sgml:65 offline.sgml:180 +#. type: Content of: <book><chapter><section><title> +#: offline.dbk:49 offline.dbk:79 offline.dbk:191 msgid "Overview" msgstr "" -#. type: <p></p> -#: offline.sgml:40 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:51 msgid "" "Normally APT requires direct access to a Debian archive, either from a local " "media or through a network. Another common complaint is that a Debian " @@ -7220,8 +7257,8 @@ msgid "" "fast connection but they are physically distant." msgstr "" -#. type: <p></p> -#: offline.sgml:51 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:57 msgid "" "The solution to this is to use large removable media such as a Zip disc or a " "SuperDisk disc. These discs are not large enough to store the entire Debian " @@ -7229,13 +7266,13 @@ msgid "" "to use APT to generate a list of packages that are required and then fetch " "them onto the disc using another machine with good connectivity. It is even " "possible to use another Debian machine with APT or to use a completely " -"different OS and a download tool like wget. Let <em>remote host</em> mean " -"the machine downloading the packages, and <em>target host</em> the one with " -"bad or no connection." +"different OS and a download tool like wget. Let <emphasis>remote host</" +"emphasis> mean the machine downloading the packages, and <emphasis>target " +"host</emphasis> the one with bad or no connection." msgstr "" -#. type: <p></p> -#: offline.sgml:57 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:68 msgid "" "This is achieved by creatively manipulating the APT configuration file. The " "essential premise to tell APT to look on a disc for it's archive files. Note " @@ -7243,13 +7280,13 @@ msgid "" "names such as ext2, fat32 or vfat." msgstr "" -#. type: <heading></heading> -#: offline.sgml:63 +#. type: Content of: <book><chapter><title> +#: offline.dbk:77 msgid "Using APT on both machines" msgstr "" -#. type: <p><example> -#: offline.sgml:71 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:81 msgid "" "APT being available on both machines gives the simplest configuration. The " "basic idea is to place a copy of the status file on the disc and use the " @@ -7257,8 +7294,8 @@ msgid "" "to download. The disk directory structure should look like:" msgstr "" -#. type: <example></example> -#: offline.sgml:80 +#. type: Content of: <book><chapter><section><screen> +#: offline.dbk:87 #, no-wrap msgid "" " /disc/\n" @@ -7268,34 +7305,35 @@ msgid "" " partial/\n" " status\n" " sources.list\n" -" apt.conf" +" apt.conf\n" msgstr "" -#. type: <heading></heading> -#: offline.sgml:88 +#. type: Content of: <book><chapter><section><title> +#: offline.dbk:98 msgid "The configuration file" msgstr "" -#. type: <p></p> -#: offline.sgml:96 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:100 msgid "" "The configuration file should tell APT to store its files on the disc and to " "use the configuration files on the disc as well. The sources.list should " "contain the proper sites that you wish to use from the remote machine, and " -"the status file should be a copy of <em>/var/lib/dpkg/status</em> from the " -"<em>target host</em>. Please note, if you are using a local archive you must " -"use copy URIs, the syntax is identical to file URIs." +"the status file should be a copy of <emphasis>/var/lib/dpkg/status</" +"emphasis> from the <emphasis>target host</emphasis>. Please note, if you are " +"using a local archive you must use copy URIs, the syntax is identical to " +"file URIs." msgstr "" -#. type: <p><example> -#: offline.sgml:100 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:108 msgid "" -"<em>apt.conf</em> must contain the necessary information to make APT use the " -"disc:" +"<emphasis>apt.conf</emphasis> must contain the necessary information to make " +"APT use the disc:" msgstr "" -#. type: <example></example> -#: offline.sgml:124 +#. type: Content of: <book><chapter><section><screen> +#: offline.dbk:112 #, no-wrap msgid "" " APT\n" @@ -7303,10 +7341,10 @@ msgid "" " /* This is not necessary if the two machines are the same arch, it tells\n" " the remote APT what architecture the target machine is */\n" " Architecture \"i386\";\n" -" \n" +"\n" " Get::Download-Only \"true\";\n" " };\n" -" \n" +"\n" " Dir\n" " {\n" " /* Use the disc for state information and redirect the status file from\n" @@ -7317,76 +7355,78 @@ msgid "" " // Binary caches will be stored locally\n" " Cache::archives \"/disc/archives/\";\n" " Cache \"/tmp/\";\n" -" \n" +"\n" " // Location of the source list.\n" " Etc \"/disc/\";\n" -" };" +" };\n" msgstr "" -#. type: </example></p> -#: offline.sgml:129 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:137 msgid "" "More details can be seen by examining the apt.conf man page and the sample " -"configuration file in <em>/usr/share/doc/apt/examples/apt.conf</em>." +"configuration file in <emphasis>/usr/share/doc/apt/examples/apt.conf</" +"emphasis>." msgstr "" -#. type: <p><example> -#: offline.sgml:136 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:142 msgid "" -"On the target machine the first thing to do is mount the disc and copy <em>/" -"var/lib/dpkg/status</em> to it. You will also need to create the directories " -"outlined in the Overview, <em>archives/partial/</em> and <em>lists/partial/</" -"em>. Then take the disc to the remote machine and configure the sources." -"list. On the remote machine execute the following:" +"On the target machine the first thing to do is mount the disc and copy " +"<emphasis>/var/lib/dpkg/status</emphasis> to it. You will also need to " +"create the directories outlined in the Overview, <emphasis>archives/partial/" +"</emphasis> and <emphasis>lists/partial/</emphasis>. Then take the disc to " +"the remote machine and configure the sources.list. On the remote machine " +"execute the following:" msgstr "" -#. type: <example></example> -#: offline.sgml:142 +#. type: Content of: <book><chapter><section><screen> +#: offline.dbk:151 #, no-wrap msgid "" " # export APT_CONFIG=\"/disc/apt.conf\"\n" " # apt-get update\n" " [ APT fetches the package files ]\n" " # apt-get dist-upgrade\n" -" [ APT fetches all the packages needed to upgrade the target machine ]" +" [ APT fetches all the packages needed to upgrade the target machine ]\n" msgstr "" -#. type: </example></p> -#: offline.sgml:149 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:158 msgid "" "The dist-upgrade command can be replaced with any other standard APT " "commands, particularly dselect-upgrade. You can even use an APT front end " -"such as <em>dselect</em>. However this presents a problem in communicating " -"your selections back to the local computer." +"such as <emphasis>dselect</emphasis>. However this presents a problem in " +"communicating your selections back to the local computer." msgstr "" -#. type: <p><example> -#: offline.sgml:153 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:164 msgid "" "Now the disc contains all of the index files and archives needed to upgrade " "the target machine. Take the disc back and run:" msgstr "" -#. type: <example></example> -#: offline.sgml:159 +#. type: Content of: <book><chapter><section><screen> +#: offline.dbk:168 #, no-wrap msgid "" " # export APT_CONFIG=\"/disc/apt.conf\"\n" " # apt-get check\n" " [ APT generates a local copy of the cache files ]\n" " # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n" -" [ Or any other APT command ]" +" [ Or any other APT command ]\n" msgstr "" -#. type: <p></p> -#: offline.sgml:165 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:175 msgid "" "It is necessary for proper function to re-specify the status file to be the " "local one. This is very important!" msgstr "" -#. type: <p></p> -#: offline.sgml:172 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:179 msgid "" "If you are using dselect you can do the very risky operation of copying disc/" "status to /var/lib/dpkg/status so that any selections you made on the remote " @@ -7395,21 +7435,21 @@ msgid "" "status file if dpkg or APT have been run in the mean time!!" msgstr "" -#. type: <heading></heading> -#: offline.sgml:178 +#. type: Content of: <book><chapter><title> +#: offline.dbk:189 msgid "Using APT and wget" msgstr "" -#. type: <p></p> -#: offline.sgml:185 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:193 msgid "" -"<em>wget</em> is a popular and portable download tool that can run on nearly " -"any machine. Unlike the method above this requires that the Debian machine " -"already has a list of available packages." +"<emphasis>wget</emphasis> is a popular and portable download tool that can " +"run on nearly any machine. Unlike the method above this requires that the " +"Debian machine already has a list of available packages." msgstr "" -#. type: <p></p> -#: offline.sgml:190 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:198 msgid "" "The basic idea is to create a disc that has only the archive files " "downloaded from the remote site. This is done by using the --print-uris " @@ -7417,38 +7457,38 @@ msgid "" "packages." msgstr "" -#. type: <heading></heading> -#: offline.sgml:196 +#. type: Content of: <book><chapter><section><title> +#: offline.dbk:204 #, fuzzy msgid "Operation" msgstr "Descrição" -#. type: <p><example> -#: offline.sgml:200 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:206 msgid "" "Unlike the previous technique no special configuration files are required. " "We merely use the standard APT commands to generate the file list." msgstr "" -#. type: <example></example> -#: offline.sgml:205 +#. type: Content of: <book><chapter><section><screen> +#: offline.dbk:210 #, no-wrap msgid "" -" # apt-get dist-upgrade \n" +" # apt-get dist-upgrade\n" " [ Press no when prompted, make sure you are happy with the actions ]\n" -" # apt-get -qq --print-uris dist-upgrade > uris\n" -" # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script" +" # apt-get -qq --print-uris dist-upgrade > uris\n" +" # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script\n" msgstr "" -#. type: </example></p> -#: offline.sgml:210 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:216 msgid "" "Any command other than dist-upgrade could be used here, including dselect-" "upgrade." msgstr "" -#. type: <p></p> -#: offline.sgml:216 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:220 msgid "" "The /disc/wget-script file will now contain a list of wget commands to " "execute in order to fetch the necessary archives. This script should be run " @@ -7456,35 +7496,35 @@ msgid "" "output on the disc." msgstr "" -#. type: <p><example> -#: offline.sgml:219 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:226 msgid "The remote machine would do something like" msgstr "" -#. type: <example></example> -#: offline.sgml:223 +#. type: Content of: <book><chapter><section><screen> +#: offline.dbk:229 #, no-wrap msgid "" " # cd /disc\n" " # sh -x ./wget-script\n" -" [ wait.. ]" +" [ wait.. ]\n" msgstr "" -#. type: </example><example> -#: offline.sgml:228 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:234 msgid "" "Once the archives are downloaded and the disc returned to the Debian machine " "installation can proceed using," msgstr "" -#. type: <example></example> -#: offline.sgml:230 +#. type: Content of: <book><chapter><section><screen> +#: offline.dbk:238 #, no-wrap -msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade" +msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade\n" msgstr "" -#. type: </example></p> -#: offline.sgml:234 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:241 msgid "Which will use the already fetched archives on the disc." msgstr "" |