/[ddp]/manuals/branches/release-notes/lenny/pt_PT/upgrading.po
ViewVC logotype

Contents of /manuals/branches/release-notes/lenny/pt_PT/upgrading.po

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5329 - (show annotations) (download)
Thu Aug 7 16:11:22 2008 UTC (4 years, 9 months ago) by debacle
File size: 84297 byte(s)
Add po files (empty so far).
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: release-notes 5.0\n"
10 "POT-Creation-Date: 2008-08-07 07:57+0300\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=utf-8\n"
16 "Content-Transfer-Encoding: ENCODING"
17
18 # type: Content of: <chapter><title>
19 #: en/upgrading.dbk:9
20 msgid "Upgrades from previous releases"
21 msgstr ""
22
23 # type: Content of: <chapter><section><title>
24 #: en/upgrading.dbk:11
25 msgid "Preparing for the upgrade"
26 msgstr ""
27
28 # type: Content of: <chapter><section><para>
29 #: en/upgrading.dbk:13
30 msgid ""
31 "We suggest that before upgrading you also read the information in <xref "
32 "linkend=\"information\"/> . That chapter covers potential issues not "
33 "directly related to the upgrade process but which could still be important "
34 "to know about before you begin."
35 msgstr ""
36
37 # type: Content of: <chapter><section><section><title>
38 #: en/upgrading.dbk:19
39 msgid "Back up any data or configuration information"
40 msgstr ""
41
42 # type: Content of: <chapter><section><section><para>
43 #: en/upgrading.dbk:21
44 msgid ""
45 "Before upgrading your system, it is strongly recommended that you make a "
46 "full backup, or at least back up any data or configuration information you "
47 "can't afford to lose. The upgrade tools and process are quite reliable, but "
48 "a hardware failure in the middle of an upgrade could result in a severely "
49 "damaged system."
50 msgstr ""
51
52 # type: Content of: <chapter><section><section><para>
53 #: en/upgrading.dbk:28
54 msgid ""
55 "The main things you'll want to back up are the contents of "
56 "<filename>/etc</filename>, <filename>/var/lib/dpkg</filename>, "
57 "<filename>/var/lib/aptitude/pkgstates</filename> and the output of "
58 "<literal>dpkg --get-selections *</literal> (the quotes are important)."
59 msgstr ""
60
61 # type: Content of: <chapter><section><section><para>
62 #: en/upgrading.dbk:34
63 msgid ""
64 "The upgrade process itself does not modify anything in the "
65 "<filename>/home</filename> directory. However, some applications (e.g. "
66 "parts of the Mozilla suite, and the GNOME and KDE desktop environments) are "
67 "known to overwrite existing user settings with new defaults when a new "
68 "version of the application is first started by a user. As a precaution, you "
69 "may want to make a backup of the hidden files and directories (dotfiles) in "
70 "users' home directories. This backup may help to restore or recreate the "
71 "old settings. You may also want to inform users about this."
72 msgstr ""
73
74 # type: Content of: <chapter><section><section><para>
75 #: en/upgrading.dbk:44
76 msgid ""
77 "Any package installation operation must be run with superuser privileges, so "
78 "either login as root or use <command>su</command> or <command>sudo</command> "
79 "to gain the necessary access rights."
80 msgstr ""
81
82 # type: Content of: <chapter><section><section><para>
83 #: en/upgrading.dbk:49
84 msgid ""
85 "The upgrade has a few preconditions; you should check them before actually "
86 "executing the upgrade."
87 msgstr ""
88
89 # type: Content of: <chapter><section><section><title>
90 #: en/upgrading.dbk:55
91 msgid "Inform users in advance"
92 msgstr ""
93
94 # type: Content of: <chapter><section><section><para>
95 #: en/upgrading.dbk:57
96 msgid ""
97 "It's wise to inform all users in advance of any upgrades you're planning, "
98 "although users accessing your system via an <command>ssh</command> "
99 "connection should notice little during the upgrade, and should be able to "
100 "continue working."
101 msgstr ""
102
103 # type: Content of: <chapter><section><section><para>
104 #: en/upgrading.dbk:63
105 msgid ""
106 "If you wish to take extra precautions, back up or unmount users' partitions "
107 "(<filename>/home</filename>) before upgrading."
108 msgstr ""
109
110 # type: Content of: <chapter><section><section><para>
111 #: en/upgrading.dbk:67
112 msgid ""
113 "You will probably have to do a kernel upgrade when upgrading to "
114 "&releasename;, so a reboot will normally be necessary. Typically, this will "
115 "be done after the upgrade is finished."
116 msgstr ""
117
118 # type: Content of: <chapter><section><section><title>
119 #: en/upgrading.dbk:74
120 msgid "Prepare for recovery"
121 msgstr ""
122
123 # type: Content of: <chapter><section><section><para>
124 #: en/upgrading.dbk:76
125 msgid ""
126 "Because of the many changes in the kernel between &oldreleasename; and "
127 "&releasename; regarding drivers, hardware discovery and the naming and "
128 "ordering of device files, there is a real risk that you may experience "
129 "problems rebooting your system after the upgrade. A lot of known potential "
130 "issues are documented in this and the next chapters of these Release Notes."
131 msgstr ""
132
133 # type: Content of: <chapter><section><section><para>
134 #: en/upgrading.dbk:83
135 msgid ""
136 "For that reason it makes sense to ensure that you will be able to recover if "
137 "your system should fail to reboot or, for remotely managed systems, fail to "
138 "bring up networking."
139 msgstr ""
140
141 # type: Content of: <chapter><section><section><para>
142 #: en/upgrading.dbk:88
143 msgid ""
144 "If you are upgrading remotely via an <command>ssh</command> link it is "
145 "highly recommended that you take the necessary precautions to be able to "
146 "access the server through a remote serial terminal. There is a chance that, "
147 "after upgrading the kernel and rebooting, some devices will be renamed (as "
148 "described in <xref linkend=\"device-reorder\"/> ) and you will have to fix "
149 "the system configuration through a local console. Also, if the system is "
150 "rebooted accidentally in the middle of an upgrade there is a chance you will "
151 "need to recover using a local console."
152 msgstr ""
153
154 # type: Content of: <chapter><section><section><para>
155 #: en/upgrading.dbk:98
156 msgid ""
157 "The most obvious thing to try first is to reboot with your old kernel. "
158 "However, for various reasons documented elsewhere in this document, this is "
159 "not guaranteed to work."
160 msgstr ""
161
162 # type: Content of: <chapter><section><section><para>
163 #: en/upgrading.dbk:103
164 msgid ""
165 "If that fails, you will need an alternative way to boot your system so you "
166 "can access and repair it. One option is to use a special rescue image or a "
167 "Linux live CD. After booting from that, you should be able to mount your "
168 "root file system and <literal>chroot</literal> into it to investigate and "
169 "fix the problem."
170 msgstr ""
171
172 # type: Content of: <chapter><section><section><para>
173 #: en/upgrading.dbk:110
174 msgid ""
175 "Another option we'd like to recommend is to use the <emphasis>rescue "
176 "mode</emphasis> of the &releasename; Debian Installer. The advantage of "
177 "using the installer is that you can choose between its many installation "
178 "methods for one that best suits your situation. For more information, "
179 "please consult the section Recovering a Broken System in chapter 8 of the "
180 "<ulink "
181 "url=\"http://www.debian.org/releases/stable/installmanual\">Installation "
182 "Guide</ulink> and the <ulink "
183 "url=\"http://wiki.debian.org/DebianInstaller/FAQ\">Debian Installer "
184 "FAQ</ulink>."
185 msgstr ""
186
187 # type: Content of: <chapter><section><section><section><title>
188 #: en/upgrading.dbk:120
189 msgid "Debug shell during boot using initrd"
190 msgstr ""
191
192 # type: Content of: <chapter><section><section><section><para><footnote>
193 #: en/upgrading.dbk:122
194 msgid ""
195 "The <systemitem role=\"package\">initramfs-tools</systemitem> includes a "
196 "debug shell<footnote>"
197 msgstr ""
198
199 # type: Content of: <chapter><section><section><section><para><footnote><para>
200 #: en/upgrading.dbk:123
201 msgid ""
202 "This feature can be disabled by adding the parameter "
203 "<literal>panic=0</literal> to your boot parameters."
204 msgstr ""
205
206 # type: Content of: <chapter><section><section><section><para>
207 #: en/upgrading.dbk:124
208 msgid ""
209 "</footnote> in the initrds it generates. If for example the initrd is "
210 "unable to mount your root file system, you will be dropped into this debug "
211 "shell which has basic commands available to help trace the problem and "
212 "possibly fix it."
213 msgstr ""
214
215 # type: Content of: <chapter><section><section><section><para>
216 #: en/upgrading.dbk:130
217 msgid ""
218 "Basic things to check are: presence of correct device files in "
219 "<filename>/dev</filename>; what modules are loaded (<literal>cat "
220 "/proc/modules</literal>); output of <command>dmesg</command> for errors "
221 "loading drivers. The output of <command>dmesg</command> will also show what "
222 "device files have been assigned to which disks; you should check that "
223 "against the output of <literal>echo $ROOT</literal> to make sure that the "
224 "root file system is on the expected device."
225 msgstr ""
226
227 # type: Content of: <chapter><section><section><section><para>
228 #: en/upgrading.dbk:139
229 msgid ""
230 "If you do manage to fix the problem, typing <literal>exit</literal> will "
231 "quit the debug shell and continue the boot process at the point it failed. "
232 "Of course you will also need to fix the underlying problem and regenerate "
233 "the initrd so the next boot won't fail again."
234 msgstr ""
235
236 # type: Content of: <chapter><section><section><title>
237 #: en/upgrading.dbk:149
238 msgid "Prepare a safe environment for the upgrade"
239 msgstr ""
240
241 # type: Content of: <chapter><section><section><para>
242 #: en/upgrading.dbk:151
243 msgid ""
244 "The distribution upgrade should be done either locally from a textmode "
245 "virtual console (or a directly connected serial terminal), or remotely via "
246 "an <command>ssh</command> link."
247 msgstr ""
248
249 # type: Content of: <chapter><section><section><para>
250 #: en/upgrading.dbk:156
251 msgid ""
252 "In order to gain extra safety margin when upgrading remotely, we suggest "
253 "that you run upgrade processes in the virtual console provided by the "
254 "<command>screen</command> program, which enables safe reconnection and "
255 "ensures the upgrade process is not interrupted even if the remote connection "
256 "process fails."
257 msgstr ""
258
259 # type: Content of: <chapter><section><section><para>
260 #: en/upgrading.dbk:163
261 msgid ""
262 "<emphasis role=\"strong\">Important!</emphasis> You should "
263 "<emphasis>not</emphasis> upgrade using <command>telnet</command>, "
264 "<command>rlogin</command>, <command>rsh</command>, or from an X session "
265 "managed by <command>xdm</command>, <command>gdm</command> or "
266 "<command>kdm</command> etc on the machine you are upgrading. That is "
267 "because each of those services may well be terminated during the upgrade, "
268 "which can result in an <emphasis>inaccessible</emphasis> system that is only "
269 "half-upgraded."
270 msgstr ""
271
272 # type: Content of: <chapter><section><section><title>
273 #: en/upgrading.dbk:177
274 msgid "Support for 2.2-kernels has been dropped"
275 msgstr ""
276
277 # type: Content of: <chapter><section><section><para>
278 #: en/upgrading.dbk:179
279 msgid ""
280 "In case you run a kernel prior to 2.4.1, you need to upgrade to (at least) "
281 "the 2.4-series before upgrading <systemitem "
282 "role=\"package\">glibc</systemitem>. This should be done before starting "
283 "the upgrade. It is recommended that you directly upgrade to the 2.6.8 "
284 "kernel available in &oldreleasename;, instead of upgrading to a 2.4 kernel."
285 msgstr ""
286
287 # type: Content of: <chapter><section><title>
288 #: en/upgrading.dbk:190
289 msgid "Checking system status"
290 msgstr ""
291
292 # type: Content of: <chapter><section><para>
293 #: en/upgrading.dbk:192
294 msgid ""
295 "The upgrade process described in this chapter has been designed for upgrades "
296 "from pure &oldreleasename; systems without third-party packages. In "
297 "particular, there are known problems with third-party packages which install "
298 "programs under <filename>/usr/X11R6/bin/</filename> causing problems with "
299 "upgrades due to the X.Org transition (<xref linkend=\"xorg\"/> ). For "
300 "greatest reliability of the upgrade process, you may wish to remove "
301 "third-party packages from your system before you begin upgrading."
302 msgstr ""
303
304 # type: Content of: <chapter><section><para>
305 #: en/upgrading.dbk:201
306 msgid ""
307 "This procedure also assumes your system has been updated to the latest point "
308 "release of &oldreleasename;. If you have not done this or are unsure, "
309 "follow the instructions in <xref linkend=\"old-upgrade\"/> ."
310 msgstr ""
311
312 # type: Content of: <chapter><section><section><title>
313 #: en/upgrading.dbk:206
314 msgid "Review actions pending in package manager"
315 msgstr ""
316
317 # type: Content of: <chapter><section><section><para>
318 #: en/upgrading.dbk:208
319 msgid ""
320 "In some cases, the use of <command>apt-get</command> for installing packages "
321 "instead of <command>aptitude</command> might make "
322 "<command>aptitude</command> consider a package as unused and schedule it for "
323 "removal. In general, you should make sure the system is fully up-to-date "
324 "and clean before proceeding with the upgrade."
325 msgstr ""
326
327 # type: Content of: <chapter><section><section><para>
328 #: en/upgrading.dbk:215
329 msgid ""
330 "Because of this you should review if there are any pending actions in the "
331 "package manager <command>aptitude</command>. If a package is scheduled for "
332 "removal or update in the package manager, it might negatively impact the "
333 "upgrade procedure. Note that correcting this is only possible if your "
334 "<filename>sources.list</filename> still points to "
335 "<emphasis>&oldreleasename;</emphasis>; and not to "
336 "<emphasis>stable</emphasis> or <emphasis>&releasename;</emphasis>; see <xref "
337 "linkend=\"old-sources\"/> ."
338 msgstr ""
339
340 # type: Content of: <chapter><section><section><para>
341 #: en/upgrading.dbk:224
342 msgid ""
343 "To do this, you have to run <command>aptitude</command>'s user interface and "
344 "press 'g' (Go). If it shows any actions, you should review them and either "
345 "fix them or implement the suggested actions. If no actions are suggested "
346 "you will be presented with a message saying No packages are scheduled to be "
347 "installed, removed, or upgraded."
348 msgstr ""
349
350 # type: Content of: <chapter><section><section><title>
351 #: en/upgrading.dbk:233
352 msgid "Disabling APT pinning"
353 msgstr ""
354
355 # type: Content of: <chapter><section><section><para>
356 #: en/upgrading.dbk:235
357 msgid ""
358 "If you have configured APT to install certain packages from a distribution "
359 "other than stable (e.g. from testing), you may have to change your APT "
360 "pinning configuration (stored in <filename>/etc/apt/preferences</filename>) "
361 "to allow the upgrade of packages to the versions in the new stable release. "
362 "Further information on APT pinning can be found in <citerefentry> "
363 "<refentrytitle>apt_preferences</refentrytitle> <manvolnum>5</manvolnum> "
364 "</citerefentry>."
365 msgstr ""
366
367 # type: Content of: <chapter><section><section><title>
368 #: en/upgrading.dbk:246
369 msgid "Checking packages status"
370 msgstr ""
371
372 # type: Content of: <chapter><section><section><para>
373 #: en/upgrading.dbk:248
374 msgid ""
375 "Regardless of the method used for upgrading, it is recommended that you "
376 "check the status of all packages first, and verify that all packages are in "
377 "an upgradable state. The following command will show any packages which "
378 "have a status of Half-Installed or Failed-Config, and those with any error "
379 "status."
380 msgstr ""
381
382 # type: Content of: <chapter><section><section><screen>
383 #: en/upgrading.dbk:253
384 #, no-wrap
385 msgid ""
386 "\n"
387 "# dpkg --audit\n"
388 msgstr ""
389
390 # type: Content of: <chapter><section><section><para>
391 #: en/upgrading.dbk:257
392 msgid ""
393 "You could also inspect the state of all packages on your system using "
394 "<command>dselect</command>, <command>aptitude</command>, or with commands "
395 "such as"
396 msgstr ""
397
398 # type: Content of: <chapter><section><section><screen>
399 #: en/upgrading.dbk:261
400 #, no-wrap
401 msgid ""
402 "\n"
403 "# dpkg -l | pager\n"
404 msgstr ""
405
406 # type: Content of: <chapter><section><section><para>
407 #: en/upgrading.dbk:265
408 msgid "or"
409 msgstr ""
410
411 # type: Content of: <chapter><section><section><screen>
412 #: en/upgrading.dbk:267
413 #, no-wrap
414 msgid ""
415 "\n"
416 "# dpkg --get-selections * &gt; ~/curr-pkgs.txt\n"
417 msgstr ""
418
419 # type: Content of: <chapter><section><section><para>
420 #: en/upgrading.dbk:271
421 msgid ""
422 "It is desirable to remove any holds before upgrading. If any package that "
423 "is essential for the upgrade is on hold, the upgrade will fail."
424 msgstr ""
425
426 # type: Content of: <chapter><section><section><para>
427 #: en/upgrading.dbk:275
428 msgid ""
429 "Note that <command>aptitude</command> uses a different method for "
430 "registering packages that are on hold than <command>apt-get</command> and "
431 "<command>dselect</command>. You can identify packages on hold for "
432 "<command>aptitude</command> with"
433 msgstr ""
434
435 # type: Content of: <chapter><section><section><screen>
436 #: en/upgrading.dbk:280
437 #, no-wrap
438 msgid ""
439 "\n"
440 "# aptitude search ~ahold | grep ^.h\n"
441 msgstr ""
442
443 # type: Content of: <chapter><section><section><para>
444 #: en/upgrading.dbk:284
445 msgid ""
446 "If you want to check which packages you had on hold for "
447 "<command>apt-get</command>, you should use"
448 msgstr ""
449
450 # type: Content of: <chapter><section><section><screen>
451 #: en/upgrading.dbk:287
452 #, no-wrap
453 msgid ""
454 "\n"
455 "# dpkg --get-selections | grep hold\n"
456 msgstr ""
457
458 # type: Content of: <chapter><section><section><para>
459 #: en/upgrading.dbk:291
460 msgid ""
461 "If you changed and recompiled a package locally, and didn't rename it or put "
462 "an epoch in the version, you must put it on hold to prevent it from being "
463 "upgraded."
464 msgstr ""
465
466 # type: Content of: <chapter><section><section><para>
467 #: en/upgrading.dbk:296
468 msgid "The hold package state for <command>aptitude</command> can be changed using:"
469 msgstr ""
470
471 # type: Content of: <chapter><section><section><screen>
472 #: en/upgrading.dbk:298
473 #, no-wrap
474 msgid ""
475 "\n"
476 "# aptitude hold <replaceable>package_name</replaceable>\n"
477 msgstr ""
478
479 # type: Content of: <chapter><section><section><para>
480 #: en/upgrading.dbk:302
481 msgid ""
482 "Replace <literal>hold</literal> with <literal>unhold</literal> to unset the "
483 "hold state."
484 msgstr ""
485
486 # type: Content of: <chapter><section><section><para>
487 #: en/upgrading.dbk:306
488 msgid ""
489 "If there is anything you need to fix, it is best to make sure your "
490 "<filename>sources.list</filename> still refers to &oldreleasename; as "
491 "explained in <xref linkend=\"old-sources\"/> ."
492 msgstr ""
493
494 # type: Content of: <chapter><section><section><title>
495 #: en/upgrading.dbk:313
496 msgid "Unofficial sources and backports"
497 msgstr ""
498
499 # type: Content of: <chapter><section><section><para>
500 #: en/upgrading.dbk:315
501 msgid ""
502 "If you have any non-Debian packages on your system, you should be aware that "
503 "these may be removed during the upgrade because of conflicting "
504 "dependencies. If these packages were installed by adding an extra package "
505 "archive in your <filename>/etc/apt/sources.list</filename>, you should check "
506 "if that archive also offers packages compiled for &releasename; and change "
507 "the source line accordingly at the same time as your source lines for Debian "
508 "packages."
509 msgstr ""
510
511 # type: Content of: <chapter><section><section><para><footnote>
512 #: en/upgrading.dbk:323
513 msgid ""
514 "Some users may have unofficial backported newer versions of packages that "
515 "<emphasis>are</emphasis> in Debian installed on their &oldreleasename; "
516 "system. Such packages are most likely to cause problems during an upgrade "
517 "as they may result in file conflicts<footnote>"
518 msgstr ""
519
520 # type: Content of: <chapter><section><section><para><footnote><para>
521 #: en/upgrading.dbk:326
522 msgid ""
523 "Debian's package management system normally does not allow a package to "
524 "remove or replace a file owned by another package unless it has been defined "
525 "to replace that package."
526 msgstr ""
527
528 # type: Content of: <chapter><section><section><para>
529 #: en/upgrading.dbk:328
530 msgid ""
531 "</footnote>. Section <xref linkend=\"trouble\"/> has some information on "
532 "how to deal with file conflicts if they should occur."
533 msgstr ""
534
535 # type: Content of: <chapter><section><title>
536 #: en/upgrading.dbk:337
537 msgid "Manually unmarking packages"
538 msgstr ""
539
540 # type: Content of: <chapter><section><para>
541 #: en/upgrading.dbk:339
542 msgid ""
543 "To prevent <command>aptitude</command> from removing some packages that were "
544 "pulled in through dependencies, you need to manually unmark them as "
545 "<emphasis>auto</emphasis> packages. This includes OpenOffice and Vim for "
546 "desktop installs:"
547 msgstr ""
548
549 # type: Content of: <chapter><section><screen>
550 #: en/upgrading.dbk:344
551 #, no-wrap
552 msgid ""
553 "\n"
554 "# aptitude unmarkauto openoffice.org vim\n"
555 msgstr ""
556
557 # type: Content of: <chapter><section><para>
558 #: en/upgrading.dbk:348
559 msgid "And 2.6 kernel images if you have installed them using a kernel metapackage:"
560 msgstr ""
561
562 # type: Content of: <chapter><section><screen>
563 #: en/upgrading.dbk:350
564 #, no-wrap
565 msgid ""
566 "\n"
567 "# aptitude unmarkauto $(dpkg-query -W 'kernel-image-2.6.*' | cut -f1)\n"
568 msgstr ""
569
570 # type: Content of: <chapter><section><para>
571 #: en/upgrading.dbk:354
572 msgid ""
573 "Note: You can review which packages are marked as <emphasis>auto</emphasis> "
574 "in aptitude by running:"
575 msgstr ""
576
577 # type: Content of: <chapter><section><screen>
578 #: en/upgrading.dbk:357
579 #, no-wrap
580 msgid ""
581 "\n"
582 "# aptitude search 'i~M &lt;package name&gt;'\n"
583 msgstr ""
584
585 # type: Content of: <chapter><section><title>
586 #: en/upgrading.dbk:363
587 msgid "Preparing sources for APT"
588 msgstr ""
589
590 # type: Content of: <chapter><section><para>
591 #: en/upgrading.dbk:365
592 msgid ""
593 "Before starting the upgrade you must set up <systemitem "
594 "role=\"package\">apt</systemitem>'s configuration file for package lists, "
595 "<filename>/etc/apt/sources.list</filename>."
596 msgstr ""
597
598 # type: Content of: <chapter><section><para>
599 #: en/upgrading.dbk:370
600 msgid ""
601 "<systemitem role=\"package\">apt</systemitem> will consider all packages "
602 "that can be found via any <literal>deb</literal> line, and install the "
603 "package with the highest version number, giving priority to the first "
604 "mentioned lines (that way, in case of multiple mirror locations, you'd "
605 "typically first name a local harddisk, then CD-ROMs, and then HTTP/FTP "
606 "mirrors)."
607 msgstr ""
608
609 # type: Content of: <chapter><section><para>
610 #: en/upgrading.dbk:377
611 msgid ""
612 "A release can often be referred to by both its codename (e.g. "
613 "&oldreleasename;, &releasename;) and by its status name (i.e. oldstable, "
614 "stable, testing, unstable). Referring to a release by its codename has the "
615 "advantage that you will never be surprised by a new release and for this "
616 "reason is the approach taken here. It does of course mean that you will "
617 "have to watch out for release announcements yourself. If you use the status "
618 "name instead, you will just see loads of updates for packages available as "
619 "soon as a release has happened."
620 msgstr ""
621
622 # type: Content of: <chapter><section><section><title>
623 #: en/upgrading.dbk:386
624 msgid "Adding APT Internet sources"
625 msgstr ""
626
627 # type: Content of: <chapter><section><section><para>
628 #: en/upgrading.dbk:388
629 msgid ""
630 "The default configuration is set up for installation from main Debian "
631 "Internet servers, but you may wish to modify "
632 "<filename>/etc/apt/sources.list</filename> to use other mirrors, preferably "
633 "a mirror that is network-wise closest to you."
634 msgstr ""
635
636 # type: Content of: <chapter><section><section><para>
637 #: en/upgrading.dbk:393
638 msgid ""
639 "Debian HTTP or FTP mirror addresses can be found at <ulink "
640 "url=\"http://www.debian.org/distrib/ftplist\"></ulink> (look at the Full "
641 "list of mirrors section). HTTP mirrors are generally speedier than FTP "
642 "mirrors."
643 msgstr ""
644
645 # type: Content of: <chapter><section><section><para>
646 #: en/upgrading.dbk:398
647 msgid ""
648 "For example, suppose your closest Debian mirror is "
649 "<literal>http://mirrors.kernel.org/debian/</literal>. When inspecting that "
650 "mirror with a web browser or FTP program, you will notice that the main "
651 "directories are organized like this:"
652 msgstr ""
653
654 # type: Content of: <chapter><section><section><screen>
655 #: en/upgrading.dbk:403
656 #, no-wrap
657 msgid ""
658 "\n"
659 "http://mirrors.kernel.org/debian/dists/&releasename;/main/binary-i386/...\n"
660 "http://mirrors.kernel.org/debian/dists/&releasename;/contrib/binary-i386/...\n"
661 msgstr ""
662
663 # type: Content of: <chapter><section><section><para>
664 #: en/upgrading.dbk:408
665 msgid ""
666 "To use this mirror with <command>apt</command>, you add this line to your "
667 "<filename>sources.list</filename> file:"
668 msgstr ""
669
670 # type: Content of: <chapter><section><section><screen>
671 #: en/upgrading.dbk:411
672 #, no-wrap
673 msgid ""
674 "\n"
675 "deb http://mirrors.kernel.org/debian &releasename; main contrib\n"
676 msgstr ""
677
678 # type: Content of: <chapter><section><section><para>
679 #: en/upgrading.dbk:415 en/upgrading.dbk:448
680 msgid ""
681 "Note that the `<literal>dists</literal>' is added implicitly, and the "
682 "arguments after the release name are used to expand the path into multiple "
683 "directories."
684 msgstr ""
685
686 # type: Content of: <chapter><section><section><para>
687 #: en/upgrading.dbk:419 en/upgrading.dbk:452
688 msgid ""
689 "After adding your new sources, disable the previously existing "
690 "<literal>deb</literal> lines in <filename>sources.list</filename> by placing "
691 "a hash sign (<literal>#</literal>) in front of them."
692 msgstr ""
693
694 # type: Content of: <chapter><section><section><title>
695 #: en/upgrading.dbk:426
696 msgid "Adding APT sources for a local mirror"
697 msgstr ""
698
699 # type: Content of: <chapter><section><section><para>
700 #: en/upgrading.dbk:428
701 msgid ""
702 "Instead of using HTTP or FTP packages mirrors, you may wish to modify "
703 "<filename>/etc/apt/sources.list</filename> to use a mirror on a local disk "
704 "(possibly mounted over NFS)."
705 msgstr ""
706
707 # type: Content of: <chapter><section><section><para>
708 #: en/upgrading.dbk:433
709 msgid ""
710 "For example, your packages mirror may be under "
711 "<filename>/var/ftp/debian/</filename>, and have main directories like this:"
712 msgstr ""
713
714 # type: Content of: <chapter><section><section><screen>
715 #: en/upgrading.dbk:436
716 #, no-wrap
717 msgid ""
718 "\n"
719 "/var/ftp/debian/dists/&releasename;/main/binary-i386/...\n"
720 "/var/ftp/debian/dists/&releasename;/contrib/binary-i386/...\n"
721 msgstr ""
722
723 # type: Content of: <chapter><section><section><para>
724 #: en/upgrading.dbk:441
725 msgid ""
726 "To use this with <command>apt</command>, add this line to your "
727 "<filename>sources.list</filename> file:"
728 msgstr ""
729
730 # type: Content of: <chapter><section><section><screen>
731 #: en/upgrading.dbk:444
732 #, no-wrap
733 msgid ""
734 "\n"
735 "deb file:/var/ftp/debian &releasename; main contrib\n"
736 msgstr ""
737
738 # type: Content of: <chapter><section><section><title>
739 #: en/upgrading.dbk:459
740 msgid "Adding APT source from CD-ROM or DVD"
741 msgstr ""
742
743 # type: Content of: <chapter><section><section><para>
744 #: en/upgrading.dbk:461
745 msgid ""
746 "If you want to use CDs <emphasis>only</emphasis>, comment out the existing "
747 "<literal>deb</literal> lines in <filename>/etc/apt/sources.list</filename> "
748 "by placing a hash sign (<literal>#</literal>) in front of them."
749 msgstr ""
750
751 # type: Content of: <chapter><section><section><para>
752 #: en/upgrading.dbk:466
753 msgid ""
754 "Make sure there is a line in <filename>/etc/fstab</filename> that enables "
755 "mounting your CD-ROM drive at the <filename>/cdrom</filename> mount point "
756 "(the exact <filename>/cdrom</filename> mount point is required for "
757 "<command>apt-cdrom</command>). For example, if "
758 "<filename>/dev/hdc</filename> is your CD-ROM drive, "
759 "<filename>/etc/fstab</filename> should contain a line like:"
760 msgstr ""
761
762 # type: Content of: <chapter><section><section><screen>
763 #: en/upgrading.dbk:473
764 #, no-wrap
765 msgid ""
766 "\n"
767 "/dev/hdc /cdrom auto defaults,noauto,ro 0 0\n"
768 msgstr ""
769
770 # type: Content of: <chapter><section><section><para>
771 #: en/upgrading.dbk:477
772 msgid ""
773 "Note that there must be <emphasis>no spaces</emphasis> between the words "
774 "<literal>defaults,noauto,ro</literal> in the fourth field."
775 msgstr ""
776
777 # type: Content of: <chapter><section><section><para>
778 #: en/upgrading.dbk:481
779 msgid "To verify it works, insert a CD and try running"
780 msgstr ""
781
782 # type: Content of: <chapter><section><section><screen>
783 #: en/upgrading.dbk:483
784 #, no-wrap
785 msgid ""
786 "\n"
787 "# mount /cdrom # this will mount the CD to the mount point\n"
788 "# ls -alF /cdrom # this should show the CD's root directory\n"
789 "# umount /cdrom # this will unmount the CD\n"
790 msgstr ""
791
792 # type: Content of: <chapter><section><section><para>
793 #: en/upgrading.dbk:489
794 msgid "Next, run:"
795 msgstr ""
796
797 # type: Content of: <chapter><section><section><screen>
798 #: en/upgrading.dbk:491
799 #, no-wrap
800 msgid ""
801 "\n"
802 "# apt-cdrom add\n"
803 msgstr ""
804
805 # type: Content of: <chapter><section><section><para>
806 #: en/upgrading.dbk:495
807 msgid ""
808 "for each Debian Binary CD-ROM you have, to add the data about each CD to "
809 "APT's database."
810 msgstr ""
811
812 # type: Content of: <chapter><section><title>
813 #: en/upgrading.dbk:503
814 msgid "Upgrading packages"
815 msgstr ""
816
817 # type: Content of: <chapter><section><para>
818 #: en/upgrading.dbk:505
819 msgid ""
820 "The recommended way to upgrade from previous &debian; releases is to use the "
821 "package management tool <command>aptitude</command>. This program makes "
822 "safer decisions about package installations than running "
823 "<command>apt-get</command> directly."
824 msgstr ""
825
826 # type: Content of: <chapter><section><para>
827 #: en/upgrading.dbk:511
828 msgid ""
829 "Don't forget to mount all needed partitions (notably the root and "
830 "<filename>/usr</filename> partitions) read-write, with a command like:"
831 msgstr ""
832
833 # type: Content of: <chapter><section><screen>
834 #: en/upgrading.dbk:514
835 #, no-wrap
836 msgid ""
837 "\n"
838 "# mount -o remount,rw /<replaceable>mountpoint</replaceable>\n"
839 msgstr ""
840
841 # type: Content of: <chapter><section><para>
842 #: en/upgrading.dbk:518
843 msgid ""
844 "Next you should double-check that the APT source entries (in "
845 "<filename>/etc/apt/sources.list</filename>) refer either to "
846 "<literal>&releasename;</literal> or to <literal>stable</literal>. There "
847 "should not be any sources entries pointing to &oldreleasename;. Note: "
848 "source lines for a CD-ROM will often refer to <literal>unstable</literal>; "
849 "although this may be confusing, you should <emphasis>not</emphasis> change "
850 "it."
851 msgstr ""
852
853 # type: Content of: <chapter><section><section><title>
854 #: en/upgrading.dbk:526
855 msgid "Recording the session"
856 msgstr ""
857
858 # type: Content of: <chapter><section><section><para>
859 #: en/upgrading.dbk:528
860 msgid ""
861 "It is strongly recommended that you use the "
862 "<command>/usr/bin/script</command> program to record a transcript of the "
863 "upgrade session. Then if a problem occurs, you will have a log of what "
864 "happened, and if needed, can provide exact information in a bug report. To "
865 "start the recording, type:"
866 msgstr ""
867
868 # type: Content of: <chapter><section><section><screen>
869 #: en/upgrading.dbk:533
870 #, no-wrap
871 msgid ""
872 "\n"
873 "# script -t 2&gt;~/upgrade-&releasename;.time -a "
874 "~/upgrade-&releasename;.script\n"
875 msgstr ""
876
877 # type: Content of: <chapter><section><section><para>
878 #: en/upgrading.dbk:537
879 msgid ""
880 "or similar. Do not put the typescript file in a temporary directory such as "
881 "<filename>/tmp</filename> or <filename>/var/tmp</filename> (files in those "
882 "directories may be deleted during the upgrade or during any restart)."
883 msgstr ""
884
885 # type: Content of: <chapter><section><section><para>
886 #: en/upgrading.dbk:542
887 msgid ""
888 "The typescript will also allow you to review information that has scrolled "
889 "off-screen. Just switch to VT2 (using <literal>Alt-F2</literal>) and, after "
890 "logging in, use <literal>less -R "
891 "~root/upgrade-&releasename;.script</literal> to view the file."
892 msgstr ""
893
894 # type: Content of: <chapter><section><section><para>
895 #: en/upgrading.dbk:548
896 msgid ""
897 "After you have completed the upgrade, you can stop <command>script</command> "
898 "by typing <literal>exit</literal> at the prompt."
899 msgstr ""
900
901 # type: Content of: <chapter><section><section><para>
902 #: en/upgrading.dbk:554
903 msgid ""
904 "If you have used the <emphasis>-t</emphasis> switch for "
905 "<command>script</command> you can use the <command>scriptreplay</command> "
906 "program to replay the whole session:"
907 msgstr ""
908
909 # type: Content of: <chapter><section><section><screen>
910 #: en/upgrading.dbk:558
911 #, no-wrap
912 msgid ""
913 "\n"
914 "# scriptreplay ~/upgrade-&releasename;.time ~/upgrade-&releasename;.script\n"
915 msgstr ""
916
917 # type: Content of: <chapter><section><section><title>
918 #: en/upgrading.dbk:564
919 msgid "Updating the package list"
920 msgstr ""
921
922 # type: Content of: <chapter><section><section><para>
923 #: en/upgrading.dbk:566
924 msgid ""
925 "First the list of available packages for the new release needs to be "
926 "fetched. This is done by executing:"
927 msgstr ""
928
929 # type: Content of: <chapter><section><section><screen>
930 #: en/upgrading.dbk:569 en/upgrading.dbk:893
931 #, no-wrap
932 msgid ""
933 "\n"
934 "# aptitude update\n"
935 msgstr ""
936
937 # type: Content of: <chapter><section><section><para>
938 #: en/upgrading.dbk:573
939 msgid ""
940 "Running this the first time new sources are updated will print out some "
941 "warnings related to the availability of the sources. These warnings are "
942 "harmless and will not appear if you rerun the command again."
943 msgstr ""
944
945 # type: Content of: <chapter><section><section><title>
946 #: en/upgrading.dbk:580
947 msgid "Make sure you have sufficient space for the upgrade"
948 msgstr ""
949
950 # type: Content of: <chapter><section><section><para>
951 #: en/upgrading.dbk:582
952 msgid ""
953 "You have to make sure before upgrading your system that you have sufficient "
954 "hard disk space when you start the full system upgrade described in <xref "
955 "linkend=\"upgrading-other\"/> . First, any package needed for installation "
956 "that is fetched from the network is stored in "
957 "<filename>/var/cache/apt/archives</filename> (and the "
958 "<filename>partial/</filename> subdirectory, during download), so you must "
959 "make sure you have enough space on the file system partition that holds "
960 "<filename>/var/</filename> to temporarily download the packages that will be "
961 "installed in your system. After the download, you will probably need more "
962 "space in other file system partitions in order to both install upgraded "
963 "packages (which might contain bigger binaries or more data) and new packages "
964 "that will be pulled in for the upgrade. If your system does not have "
965 "sufficient space you might end up with an incomplete upgrade that might be "
966 "difficult to recover from."
967 msgstr ""
968
969 # type: Content of: <chapter><section><section><para>
970 #: en/upgrading.dbk:598
971 msgid ""
972 "Both <command>aptitude</command> and <command>apt</command> will show you "
973 "detailed information of the disk space needed for the installation. Before "
974 "executing the upgrade, you can see this estimate by running:"
975 msgstr ""
976
977 # type: Content of: <chapter><section><section><screen>
978 #: en/upgrading.dbk:602
979 #, no-wrap
980 msgid ""
981 "\n"
982 "# aptitude -y -s -f --with-recommends dist-upgrade\n"
983 "[ ... ]\n"
984 "XXX upgraded, XXX newly installed, XXX to remove and XXX not upgraded.\n"
985 "Need to get xx.xMB/yyyMB of archives. After unpacking AAAMB will be used.\n"
986 "Would download/install/remove packages.\n"
987 msgstr ""
988
989 # type: Content of: <chapter><section><section><para><footnote>
990 #: en/upgrading.dbk:610
991 msgid "<footnote>"
992 msgstr ""
993
994 # type: Content of: <chapter><section><section><para><footnote><para>
995 #: en/upgrading.dbk:610
996 msgid ""
997 "Running this command at the beginning of the upgrade process may give an "
998 "error, for the reasons described in the next sections. In that case you "
999 "will need to wait until you've done the minimal system upgrade as in <xref "
1000 "linkend=\"minimal-upgrade\"/> and upgraded your kernel as in <xref "
1001 "linkend=\"upgrading-kernel\"/> before running this command to estimate the "
1002 "disk space."
1003 msgstr ""
1004
1005 # type: Content of: <chapter><section><section><section><para>
1006 #: en/upgrading.dbk:615 en/upgrading.dbk:784
1007 msgid "</footnote>"
1008 msgstr ""
1009
1010 # type: Content of: <chapter><section><section><para>
1011 #: en/upgrading.dbk:618
1012 msgid ""
1013 "If you do not have enough space for the upgrade, make sure you free up space "
1014 "beforehand. You can:"
1015 msgstr ""
1016
1017 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1018 #: en/upgrading.dbk:624
1019 msgid ""
1020 "Remove packages that have been previously downloaded for installation (at "
1021 "<filename>/var/cache/apt/archive</filename>). Cleaning up the package cache "
1022 "by running <command>apt-get clean</command> or <command>aptitude "
1023 "clean</command> will remove all previously downloaded package files."
1024 msgstr ""
1025
1026 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1027 #: en/upgrading.dbk:632
1028 msgid ""
1029 "Remove old packages you no longer use. If you have "
1030 "<command>popularity-contest</command> installed, you can use "
1031 "<command>popcon-largest-unused</command> to list the packages you do not use "
1032 "in the system that occupy the most space. You can also use "
1033 "<command>deborphan</command> or <command>debfoster</command> to find "
1034 "obsolete packages (see <xref linkend=\"obsolete\"/> ). Alternatively you "
1035 "can start <command>aptitude</command> in visual mode and find obsolete "
1036 "packages under Obsolete and Locally Created Packages."
1037 msgstr ""
1038
1039 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1040 #: en/upgrading.dbk:644
1041 msgid ""
1042 "Remove packages taking up too much space, which are not currently needed "
1043 "(you can always reinstall them after the upgrade). You can list the "
1044 "packages that take up most of the disk space with <command>dpigs</command> "
1045 "(available in the <systemitem role=\"package\">debian-goodies</systemitem> "
1046 "package) or with <command>wajig</command> (running <literal>wajig "
1047 "size</literal>)."
1048 msgstr ""
1049
1050 # type: Content of: <chapter><section><section><itemizedlist><listitem><para>
1051 #: en/upgrading.dbk:662
1052 msgid ""
1053 "Temporarily move to another system, or permanently remove, system logs "
1054 "residing under <filename>/var/log/</filename>."
1055 msgstr ""
1056
1057 # type: Content of: <chapter><section><section><para>
1058 #: en/upgrading.dbk:668
1059 msgid ""
1060 "Note that in order to safely remove packages, it is advisable to switch your "
1061 "<filename>sources.list</filename> back to &oldreleasename; as described in "
1062 "<xref linkend=\"old-sources\"/> ."
1063 msgstr ""
1064
1065 # type: Content of: <chapter><section><section><title>
1066 #: en/upgrading.dbk:675
1067 msgid "Minimal system upgrade"
1068 msgstr ""
1069
1070 # type: Content of: <chapter><section><section><para>
1071 #: en/upgrading.dbk:677
1072 msgid ""
1073 "Because of certain necessary package conflicts between &oldreleasename; and "
1074 "&releasename;, running <literal>aptitude dist-upgrade</literal> directly "
1075 "will often remove large numbers of packages that you will want to keep. We "
1076 "therefore recommend a two-part upgrade process, first a minimal upgrade to "
1077 "overcome these conflicts, then a full <literal>dist-upgrade</literal>."
1078 msgstr ""
1079
1080 # type: Content of: <chapter><section><section><para>
1081 #: en/upgrading.dbk:684
1082 msgid "First, run:"
1083 msgstr ""
1084
1085 # type: Content of: <chapter><section><section><screen>
1086 #: en/upgrading.dbk:686
1087 #, no-wrap
1088 msgid ""
1089 "\n"
1090 "# aptitude upgrade\n"
1091 msgstr ""
1092
1093 # type: Content of: <chapter><section><section><para>
1094 #: en/upgrading.dbk:690
1095 msgid ""
1096 "This has the effect of upgrading those packages which can be upgraded "
1097 "without requiring any other packages to be removed or installed."
1098 msgstr ""
1099
1100 # type: Content of: <chapter><section><section><para>
1101 #: en/upgrading.dbk:694
1102 msgid "Follow the minimal upgrade with:"
1103 msgstr ""
1104
1105 # type: Content of: <chapter><section><section><screen>
1106 #: en/upgrading.dbk:696
1107 #, no-wrap
1108 msgid ""
1109 "\n"
1110 "# aptitude install initrd-tools\n"
1111 msgstr ""
1112
1113 # type: Content of: <chapter><section><section><para>
1114 #: en/upgrading.dbk:700
1115 msgid ""
1116 "This step will automatically upgrade <systemitem "
1117 "role=\"package\">libc6</systemitem> and <systemitem "
1118 "role=\"package\">locales</systemitem> and will pull in SELinux support "
1119 "libraries (<systemitem role=\"package\">libselinux1</systemitem>). At this "
1120 "point, some running services will be restarted, including "
1121 "<command>xdm</command>, <command>gdm</command> and <command>kdm</command>. "
1122 "As a consequence, local X11 sessions will be disconnected."
1123 msgstr ""
1124
1125 # type: Content of: <chapter><section><section><para>
1126 #: en/upgrading.dbk:709
1127 msgid ""
1128 "The next step will vary depending on the set of packages that you have "
1129 "installed. These release notes give general advice about which method "
1130 "should be used, but if in doubt, it is recommended that you examine the "
1131 "package removals proposed by each method before proceeding."
1132 msgstr ""
1133
1134 # type: Content of: <chapter><section><section><para>
1135 #: en/upgrading.dbk:715
1136 msgid ""
1137 "Some common packages that are expected to be removed include <systemitem "
1138 "role=\"package\">base-config</systemitem>, <systemitem "
1139 "role=\"package\">hotplug</systemitem>, <systemitem "
1140 "role=\"package\">xlibs</systemitem>, <systemitem "
1141 "role=\"package\">netkit-inetd</systemitem>, <systemitem "
1142 "role=\"package\">python2.3</systemitem>, <systemitem "
1143 "role=\"package\">xfree86-common</systemitem>, and <systemitem "
1144 "role=\"package\">xserver-common</systemitem>. For a more complete list of "
1145 "packages obsoleted in &releasename;, see <xref linkend=\"obsolete\"/> ."
1146 msgstr ""
1147
1148 # type: Content of: <chapter><section><section><section><title>
1149 #: en/upgrading.dbk:726
1150 msgid "Upgrading a desktop system"
1151 msgstr ""
1152
1153 # type: Content of: <chapter><section><section><section><para>
1154 #: en/upgrading.dbk:728
1155 msgid ""
1156 "This upgrade path has been verified to work on systems with the "
1157 "&oldreleasename; <literal>desktop</literal> task installed. It is probably "
1158 "the method that will give the best results on systems with the "
1159 "<literal>desktop</literal> task installed, or with the "
1160 "<literal>gnome</literal> or <literal>kde</literal> packages installed."
1161 msgstr ""
1162
1163 # type: Content of: <chapter><section><section><section><para>
1164 #: en/upgrading.dbk:735
1165 msgid ""
1166 "It is probably <emphasis>not</emphasis> the correct method to use if you do "
1167 "not already have the <systemitem role=\"package\">libfam0c102</systemitem> "
1168 "and <systemitem role=\"package\">xlibmesa-glu</systemitem> packages "
1169 "installed:"
1170 msgstr ""
1171
1172 # type: Content of: <chapter><section><section><section><screen>
1173 #: en/upgrading.dbk:739 en/upgrading.dbk:771
1174 #, no-wrap
1175 msgid ""
1176 "\n"
1177 "# dpkg -l libfam0c102 | grep ^ii\n"
1178 "# dpkg -l xlibmesa-glu | grep ^ii\n"
1179 msgstr ""
1180
1181 # type: Content of: <chapter><section><section><section><para>
1182 #: en/upgrading.dbk:744
1183 msgid "If you do have a full desktop system installed, run:"
1184 msgstr ""
1185
1186 # type: Content of: <chapter><section><section><section><screen>
1187 #: en/upgrading.dbk:746
1188 #, no-wrap
1189 msgid ""
1190 "\n"
1191 "# aptitude install libfam0 xlibmesa-glu\n"
1192 msgstr ""
1193
1194 # type: Content of: <chapter><section><section><section><title>
1195 #: en/upgrading.dbk:752
1196 msgid "Upgrading a system with some X packages installed"
1197 msgstr ""
1198
1199 # type: Content of: <chapter><section><section><section><para>
1200 #: en/upgrading.dbk:754
1201 msgid ""
1202 "Systems with some X packages installed, but not the full "
1203 "<literal>desktop</literal> task, require a different method. This method "
1204 "applies in general to systems with <systemitem "
1205 "role=\"package\">xfree86-common</systemitem> installed, including some "
1206 "server systems which have <systemitem role=\"package\">tasksel</systemitem> "
1207 "server tasks installed as some of these tasks include graphical management "
1208 "tools. It is likely the correct method to use on systems which run X, but "
1209 "do not have the full <literal>desktop</literal> task installed."
1210 msgstr ""
1211
1212 # type: Content of: <chapter><section><section><section><screen>
1213 #: en/upgrading.dbk:763
1214 #, no-wrap
1215 msgid ""
1216 "\n"
1217 "# dpkg -l xfree86-common | grep ^ii\n"
1218 msgstr ""
1219
1220 # type: Content of: <chapter><section><section><section><para>
1221 #: en/upgrading.dbk:767
1222 msgid ""
1223 "First, check whether you have the <systemitem "
1224 "role=\"package\">libfam0c102</systemitem> and <systemitem "
1225 "role=\"package\">xlibmesa-glu</systemitem> packages installed."
1226 msgstr ""
1227
1228 # type: Content of: <chapter><section><section><section><para><footnote>
1229 #: en/upgrading.dbk:776
1230 msgid ""
1231 "If you do not have <systemitem role=\"package\">libfam0c102</systemitem> "
1232 "installed, do not include <systemitem role=\"package\">libfam0</systemitem> "
1233 "in the following commandline. If you do not have <systemitem "
1234 "role=\"package\">xlibmesa-glu</systemitem> installed, do not include it in "
1235 "the following commandline. <footnote>"
1236 msgstr ""
1237
1238 # type: Content of: <chapter><section><section><section><para><footnote><para>
1239 #: en/upgrading.dbk:780
1240 msgid ""
1241 "This command will determine whether you need libfam0 and xlibmesa-glu "
1242 "installed, and auto-select them for you:"
1243 msgstr ""
1244
1245 # type: Content of: <chapter><section><section><section><para><footnote><screen>
1246 #: en/upgrading.dbk:782
1247 #, no-wrap
1248 msgid ""
1249 " # aptitude install x11-common \\ $(dpkg-query --showformat\n"
1250 "'${Package} ${Status}\\n' -W libfam0c102 xlibmesa-glu \\ | grep 'ok "
1251 "installed$' |\n"
1252 "sed -e's/ .*//; s/c102//') "
1253 msgstr ""
1254
1255 # type: Content of: <chapter><section><section><section><screen>
1256 #: en/upgrading.dbk:786
1257 #, no-wrap
1258 msgid ""
1259 "\n"
1260 "# aptitude install x11-common <replaceable>libfam0</replaceable> "
1261 "<replaceable>xlibmesa-glu</replaceable>\n"
1262 msgstr ""
1263
1264 # type: Content of: <chapter><section><section><section><para>
1265 #: en/upgrading.dbk:790
1266 msgid ""
1267 "Note that installing <systemitem role=\"package\">libfam0</systemitem> will "
1268 "also install the File Alteration Monitor (<systemitem "
1269 "role=\"package\">fam</systemitem>) as well as the RPC portmapper "
1270 "(<systemitem role=\"package\">portmap</systemitem>) if not already available "
1271 "in your system. Both packages will enable a new network service in the "
1272 "system although they can both be configured to be bound to the (internal) "
1273 "loopback network device."
1274 msgstr ""
1275
1276 # type: Content of: <chapter><section><section><section><title>
1277 #: en/upgrading.dbk:800
1278 msgid "Upgrading a system with no X support installed"
1279 msgstr ""
1280
1281 # type: Content of: <chapter><section><section><section><para>
1282 #: en/upgrading.dbk:802
1283 msgid ""
1284 "On a system with no X, no additional <literal>aptitude install</literal> "
1285 "command should be required, and you can move on to the next step."
1286 msgstr ""
1287
1288 # type: Content of: <chapter><section><section><title>
1289 #: en/upgrading.dbk:810
1290 msgid "Upgrading the kernel"
1291 msgstr ""
1292
1293 # type: Content of: <chapter><section><section><para>
1294 #: en/upgrading.dbk:812
1295 msgid ""
1296 "The <systemitem role=\"package\">udev</systemitem> version in &releasename; "
1297 "does not support kernel versions earlier than 2.6.15 (which includes "
1298 "&oldreleasename; 2.6.8 kernels), and the <systemitem "
1299 "role=\"package\">udev</systemitem> version in &oldreleasename; will not work "
1300 "properly with the latest kernels. In addition, installing the &releasename; "
1301 "version of <systemitem role=\"package\">udev</systemitem> will force the "
1302 "removal of <systemitem role=\"package\">hotplug</systemitem>, used by Linux "
1303 "2.4 kernels."
1304 msgstr ""
1305
1306 # type: Content of: <chapter><section><section><para>
1307 #: en/upgrading.dbk:821
1308 msgid ""
1309 "As a consequence, the previous kernel package will probably not boot "
1310 "properly after this upgrade. Similarly, there is a time window during the "
1311 "upgrade in which <systemitem role=\"package\">udev</systemitem> has been "
1312 "upgraded but the latest kernel has not been installed. If the system were "
1313 "to be rebooted at this point, in the middle of the upgrade, it might not be "
1314 "bootable because of drivers not being properly detected and loaded. (See "
1315 "<xref linkend=\"upgrade-preparations\"/> for recommendations on preparing "
1316 "for this possibility if you are upgrading remotely.)"
1317 msgstr ""
1318
1319 # type: Content of: <chapter><section><section><para>
1320 #: en/upgrading.dbk:831
1321 msgid ""
1322 "Unless your system has the <literal>desktop</literal> task installed, or "
1323 "other packages that would cause an unacceptable number of package removals, "
1324 "it is therefore recommended that you upgrade the kernel on its own at this "
1325 "point."
1326 msgstr ""
1327
1328 # type: Content of: <chapter><section><section><para>
1329 #: en/upgrading.dbk:836
1330 msgid "To proceed with this kernel upgrade, run:"
1331 msgstr ""
1332
1333 # type: Content of: <chapter><section><section><screen>
1334 #: en/upgrading.dbk:838
1335 #, no-wrap
1336 msgid ""
1337 "\n"
1338 "# aptitude install linux-image-2.6-<replaceable>flavor</replaceable>\n"
1339 msgstr ""
1340
1341 # type: Content of: <chapter><section><section><para>
1342 #: en/upgrading.dbk:842
1343 msgid ""
1344 "See <xref linkend=\"kernel-metapackage\"/> for help in determining which "
1345 "flavor of kernel package you should install."
1346 msgstr ""
1347
1348 # type: Content of: <chapter><section><section><para>
1349 #: en/upgrading.dbk:846
1350 msgid ""
1351 "In the desktop case, it is unfortunately not possible to ensure the new "
1352 "kernel package is installed immediately after the new <systemitem "
1353 "role=\"package\">udev</systemitem> is installed, so there is a window of "
1354 "unknown length when your system will have no kernel installed with full "
1355 "hotplug support. See <xref linkend=\"newkernel\"/> for information on "
1356 "configuring your system to not depend on hotplug for booting."
1357 msgstr ""
1358
1359 # type: Content of: <chapter><section><section><title>
1360 #: en/upgrading.dbk:856
1361 msgid "Upgrading the rest of the system"
1362 msgstr ""
1363
1364 # type: Content of: <chapter><section><section><para>
1365 #: en/upgrading.dbk:858
1366 msgid "You are now ready to continue with the main part of the upgrade. Execute:"
1367 msgstr ""
1368
1369 # type: Content of: <chapter><section><section><screen>
1370 #: en/upgrading.dbk:860
1371 #, no-wrap
1372 msgid ""
1373 "\n"
1374 "# aptitude dist-upgrade\n"
1375 msgstr ""
1376
1377 # type: Content of: <chapter><section><section><para>
1378 #: en/upgrading.dbk:864
1379 msgid ""
1380 "This will perform a complete upgrade of the system, i.e. install the newest "
1381 "available versions of all packages, and resolve all possible dependency "
1382 "changes between packages in different releases. If necessary, it will "
1383 "install some new packages (usually new library versions, or renamed "
1384 "packages), and remove any conflicting obsoleted packages."
1385 msgstr ""
1386
1387 # type: Content of: <chapter><section><section><para>
1388 #: en/upgrading.dbk:871
1389 msgid ""
1390 "When upgrading from a set of CD-ROMs, you will be asked to insert specific "
1391 "CDs at several points during the upgrade. You might have to insert the same "
1392 "CD multiple times; this is due to inter-related packages that have been "
1393 "spread out over the CDs."
1394 msgstr ""
1395
1396 # type: Content of: <chapter><section><section><para>
1397 #: en/upgrading.dbk:877
1398 msgid ""
1399 "New versions of currently installed packages that cannot be upgraded without "
1400 "changing the install status of another package will be left at their current "
1401 "version (displayed as held back). This can be resolved by either using "
1402 "<command>aptitude</command> to choose these packages for installation or by "
1403 "trying <literal>aptitude -f install "
1404 "<replaceable>package</replaceable></literal>."
1405 msgstr ""
1406
1407 # type: Content of: <chapter><section><section><title>
1408 #: en/upgrading.dbk:887
1409 msgid "Getting package signatures"
1410 msgstr ""
1411
1412 # type: Content of: <chapter><section><section><para>
1413 #: en/upgrading.dbk:889
1414 msgid ""
1415 "After the upgrade, with the new version of <command>apt</command> you can "
1416 "now update your package information, which will include the new package "
1417 "signature checking mechanism:"
1418 msgstr ""
1419
1420 # type: Content of: <chapter><section><section><para>
1421 #: en/upgrading.dbk:897
1422 msgid ""
1423 "The upgrade will have already retrieved and enabled the signing keys for "
1424 "Debian's package archives. If you add other (unofficial) package sources, "
1425 "<command>apt</command> will print warnings related to its inability to "
1426 "confirm that packages downloaded from them are legitimate and have not been "
1427 "tampered with. For more information please see <xref linkend=\"pkgmgmt\"/> "
1428 "."
1429 msgstr ""
1430
1431 # type: Content of: <chapter><section><section><para>
1432 #: en/upgrading.dbk:904
1433 msgid ""
1434 "You will notice that, since you are using the new version of "
1435 "<command>apt</command>, it will download package differences files "
1436 "(<literal>pdiff</literal>) instead of the full package index list. For more "
1437 "information on this feature please read <xref linkend=\"apt-pdiff\"/> ."
1438 msgstr ""
1439
1440 # type: Content of: <chapter><section><section><title>
1441 #: en/upgrading.dbk:912
1442 msgid "Possible issues during upgrade"
1443 msgstr ""
1444
1445 # type: Content of: <chapter><section><section><para>
1446 #: en/upgrading.dbk:914
1447 msgid ""
1448 "If an operation using <command>aptitude</command>, "
1449 "<command>apt-get</command>, or <command>dpkg</command> fails with the error"
1450 msgstr ""
1451
1452 # type: Content of: <chapter><section><section><screen>
1453 #: en/upgrading.dbk:917
1454 #, no-wrap
1455 msgid ""
1456 "\n"
1457 "E: Dynamic MMap ran out of room\n"
1458 msgstr ""
1459
1460 # type: Content of: <chapter><section><section><para>
1461 #: en/upgrading.dbk:921
1462 msgid ""
1463 "the default cache space is insufficient. You can solve this by either "
1464 "removing or commenting lines you don't need in "
1465 "<filename>/etc/apt/sources.list</filename> or by increasing the cache size. "
1466 "The cache size can be increased by setting "
1467 "<literal>APT::Cache-Limit</literal> in "
1468 "<filename>/etc/apt/apt.conf</filename>. The following command will set it "
1469 "to a value that should be sufficient for the upgrade:"
1470 msgstr ""
1471
1472 # type: Content of: <chapter><section><section><screen>
1473 #: en/upgrading.dbk:928
1474 #, no-wrap
1475 msgid ""
1476 "\n"
1477 "# echo 'APT::Cache-Limit 12500000;' &gt;&gt; /etc/apt/apt.conf\n"
1478 msgstr ""
1479
1480 # type: Content of: <chapter><section><section><para>
1481 #: en/upgrading.dbk:932
1482 msgid "This assumes that you do not yet have this variable set in that file."
1483 msgstr ""
1484
1485 # type: Content of: <chapter><section><section><para>
1486 #: en/upgrading.dbk:935
1487 msgid ""
1488 "Sometimes it's necessary to enable the "
1489 "<literal>APT::Force-LoopBreak</literal> option in APT to be able to "
1490 "temporarily remove an essential package due to a Conflicts/Pre-Depends "
1491 "loop. <command>aptitude</command> will alert you of this and abort the "
1492 "upgrade. You can work around that by specifying <literal>-o "
1493 "APT::Force-LoopBreak=1</literal> option on <command>aptitude</command> "
1494 "command line."
1495 msgstr ""
1496
1497 # type: Content of: <chapter><section><section><para>
1498 #: en/upgrading.dbk:943
1499 msgid ""
1500 "It is possible that a system's dependency structure can be so corrupt as to "
1501 "require manual intervention. Usually this means using "
1502 "<command>aptitude</command> or"
1503 msgstr ""
1504
1505 # type: Content of: <chapter><section><section><screen>
1506 #: en/upgrading.dbk:947
1507 #, no-wrap
1508 msgid ""
1509 "\n"
1510 "# dpkg --remove <replaceable>package_name</replaceable>\n"
1511 msgstr ""
1512
1513 # type: Content of: <chapter><section><section><para>
1514 #: en/upgrading.dbk:951
1515 msgid "to eliminate some of the offending packages, or"
1516 msgstr ""
1517
1518 # type: Content of: <chapter><section><section><screen>
1519 #: en/upgrading.dbk:953
1520 #, no-wrap
1521 msgid ""
1522 "\n"
1523 "# aptitude -f install\n"
1524 "# dpkg --configure --pending\n"
1525 msgstr ""
1526
1527 # type: Content of: <chapter><section><section><para>
1528 #: en/upgrading.dbk:958
1529 msgid "In extreme cases you might have to force re-installation with a command like"
1530 msgstr ""
1531
1532 # type: Content of: <chapter><section><section><screen>
1533 #: en/upgrading.dbk:960
1534 #, no-wrap
1535 msgid ""
1536 "\n"
1537 "# dpkg --install <replaceable>/path/to/package_name.deb</replaceable>\n"
1538 msgstr ""
1539
1540 # type: Content of: <chapter><section><section><para>
1541 #: en/upgrading.dbk:964
1542 msgid ""
1543 "File conflicts should not occur if you upgrade from a pure &oldreleasename; "
1544 "system, but can occur if you have unofficial backports installed. A file "
1545 "conflict will result in an error like:"
1546 msgstr ""
1547
1548 # type: Content of: <chapter><section><section><screen>
1549 #: en/upgrading.dbk:968
1550 #, no-wrap
1551 msgid ""
1552 "\n"
1553 "Unpacking <replaceable>&lt;package-foo&gt;</replaceable> (from "
1554 "<replaceable>&lt;package-foo-file&gt;</replaceable>) ...\n"
1555 "dpkg: error processing <replaceable>&lt;package-foo&gt;</replaceable> "
1556 "(--install):\n"
1557 " trying to overwrite `<replaceable>&lt;some-file-name&gt;</replaceable>',\n"
1558 " which is also in package <replaceable>&lt;package-bar&gt;</replaceable>\n"
1559 "dpkg-deb: subprocess paste killed by signal (Broken pipe)\n"
1560 " Errors were encountered while processing:\n"
1561 " <replaceable>&lt;package-foo&gt;</replaceable>\n"
1562 msgstr ""
1563
1564 # type: Content of: <chapter><section><section><para>
1565 #: en/upgrading.dbk:978
1566 msgid ""
1567 "You can try to solve a file conflict by forcibly removing the package "
1568 "mentioned on the <emphasis>last</emphasis> line of the error message:"
1569 msgstr ""
1570
1571 # type: Content of: <chapter><section><section><screen>
1572 #: en/upgrading.dbk:981
1573 #, no-wrap
1574 msgid ""
1575 "\n"
1576 "# dpkg -r --force-depends <replaceable>package_name</replaceable>\n"
1577 msgstr ""
1578
1579 # type: Content of: <chapter><section><section><para>
1580 #: en/upgrading.dbk:985
1581 msgid ""
1582 "After fixing things up, you should be able to resume the upgrade by "
1583 "repeating the previously described <literal>aptitude</literal> commands."
1584 msgstr ""
1585
1586 # type: Content of: <chapter><section><section><para>
1587 #: en/upgrading.dbk:989
1588 msgid ""
1589 "During the upgrade, you will be asked questions regarding the configuration "
1590 "or re-configuration of several packages. When you are asked if any file in "
1591 "the <filename>/etc/init.d</filename> or <filename>/etc/terminfo</filename> "
1592 "directories, or the <filename>/etc/manpath.config</filename> file should be "
1593 "replaced by the package maintainer's version, it's usually necessary to "
1594 "answer `yes' to ensure system consistency. You can always revert to the old "
1595 "versions, since they will be saved with a <literal>.dpkg-old</literal> "
1596 "extension."
1597 msgstr ""
1598
1599 # type: Content of: <chapter><section><section><para>
1600 #: en/upgrading.dbk:998
1601 msgid ""
1602 "If you're not sure what to do, write down the name of the package or file "
1603 "and sort things out at a later time. You can search in the typescript file "
1604 "to review the information that was on the screen during the upgrade."
1605 msgstr ""
1606
1607 # type: Content of: <chapter><section><title>
1608 #: en/upgrading.dbk:1007
1609 msgid "Upgrading your kernel and related packages"
1610 msgstr ""
1611
1612 # type: Content of: <chapter><section><para>
1613 #: en/upgrading.dbk:1009
1614 msgid ""
1615 "This section explains how to upgrade your kernel and identifies potential "
1616 "issues related to this upgrade. You can either install one of the "
1617 "<systemitem role=\"package\">linux-image-*</systemitem> packages provided by "
1618 "Debian, or compile a customized kernel from source."
1619 msgstr ""
1620
1621 # type: Content of: <chapter><section><para>
1622 #: en/upgrading.dbk:1015
1623 msgid ""
1624 "Note that a lot of information in this section is based on the assumption "
1625 "that you will be using one of the modular Debian kernels, together with "
1626 "<systemitem role=\"package\">initramfs-tools</systemitem> and <systemitem "
1627 "role=\"package\">udev</systemitem>. If you choose to use a custom kernel "
1628 "that does not require an initrd or if you use a different initrd generator, "
1629 "some of the information may not be relevant for you."
1630 msgstr ""
1631
1632 # type: Content of: <chapter><section><para>
1633 #: en/upgrading.dbk:1023
1634 msgid ""
1635 "Note also that if <systemitem role=\"package\">udev</systemitem> is "
1636 "<emphasis>not</emphasis> installed on your system, it is still possible to "
1637 "use <systemitem role=\"package\">hotplug</systemitem> for hardware "
1638 "discovery."
1639 msgstr ""
1640
1641 # type: Content of: <chapter><section><para>
1642 #: en/upgrading.dbk:1028
1643 msgid ""
1644 "If you are currently using a 2.4 kernel, you should also read <xref "
1645 "linkend=\"upgrade-to-2.6\"/> carefully."
1646 msgstr ""
1647
1648 # type: Content of: <chapter><section><section><title>
1649 #: en/upgrading.dbk:1032
1650 msgid "Installing the kernel metapackage"
1651 msgstr ""
1652
1653 # type: Content of: <chapter><section><section><para>
1654 #: en/upgrading.dbk:1034
1655 msgid ""
1656 "When you dist-upgrade from &oldreleasename; to &releasename;, it is strongly "
1657 "recommended that you install a new linux-image-2.6-* metapackage. This "
1658 "package may be installed automatically by the dist-upgrade process. You can "
1659 "verify this by running:"
1660 msgstr ""
1661
1662 # type: Content of: <chapter><section><section><screen>
1663 #: en/upgrading.dbk:1038
1664 #, no-wrap
1665 msgid ""
1666 "\n"
1667 "# dpkg -l linux-image* | grep ^ii\n"
1668 msgstr ""
1669
1670 # type: Content of: <chapter><section><section><para>
1671 #: en/upgrading.dbk:1042
1672 msgid ""
1673 "If you do not see any output, then you will need to install a new "
1674 "linux-image package by hand. To see a list of available linux-image-2.6 "
1675 "metapackages, run:"
1676 msgstr ""
1677
1678 # type: Content of: <chapter><section><section><screen>
1679 #: en/upgrading.dbk:1045
1680 #, no-wrap
1681 msgid ""
1682 "\n"
1683 "# apt-cache search linux-image-2.6- | grep -v transition\n"
1684 msgstr ""
1685
1686 # type: Content of: <chapter><section><section><para>
1687 #: en/upgrading.dbk:1049
1688 msgid ""
1689 "If you are unsure about which package to select, run <literal>uname "
1690 "-r</literal> and look for a package with a similar name. For example, if "
1691 "you see '2.4.27-3-686', it is recommended that you install <systemitem "
1692 "role=\"package\">linux-image-2.6-686</systemitem>. (Note that the 386 "
1693 "flavor no longer exists; if you are currently using the 386 kernel flavor, "
1694 "you should install the 486 flavor instead.) You may also use "
1695 "<command>apt-cache</command> to see a long description of each package in "
1696 "order to help choose the best one available. For example:"
1697 msgstr ""
1698
1699 # type: Content of: <chapter><section><section><screen>
1700 #: en/upgrading.dbk:1058
1701 #, no-wrap
1702 msgid ""
1703 "\n"
1704 "# apt-cache show linux-image-2.6-686\n"
1705 msgstr ""
1706
1707 # type: Content of: <chapter><section><section><para>
1708 #: en/upgrading.dbk:1062
1709 msgid ""
1710 "You should then use <literal>aptitude install</literal> to install it. Once "
1711 "this new kernel is installed you should reboot at the next available "
1712 "opportunity to get the benefits provided by the new kernel version."
1713 msgstr ""
1714
1715 # type: Content of: <chapter><section><section><para>
1716 #: en/upgrading.dbk:1067
1717 msgid ""
1718 "For the more adventurous there is an easy way to compile your own custom "
1719 "kernel on &debian;. Install the <systemitem "
1720 "role=\"package\">kernel-package</systemitem> tool and read the documentation "
1721 "in <filename>/usr/share/doc/kernel-package</filename>."
1722 msgstr ""
1723
1724 # type: Content of: <chapter><section><section><title>
1725 #: en/upgrading.dbk:1075
1726 msgid "Upgrading from a 2.6 kernel"
1727 msgstr ""
1728
1729 # type: Content of: <chapter><section><section><para>
1730 #: en/upgrading.dbk:1077
1731 msgid ""
1732 "If you are currently running a 2.6 series kernel from &oldreleasename; this "
1733 "upgrade will take place automatically after you do a full upgrade of the "
1734 "system packages (as described in <xref linkend=\"upgradingpackages\"/> )."
1735 msgstr ""
1736
1737 # type: Content of: <chapter><section><section><para>
1738 #: en/upgrading.dbk:1082
1739 msgid ""
1740 "If possible, it is to your advantage to upgrade the kernel package "
1741 "separately from the main <literal>dist-upgrade</literal> to reduce the "
1742 "chances of a temporarily non-bootable system. See <xref "
1743 "linkend=\"upgrading-kernel\"/> for a description of this process. Note that "
1744 "this should only be done after the minimal upgrade process described in "
1745 "<xref linkend=\"minimal-upgrade\"/> ."
1746 msgstr ""
1747
1748 # type: Content of: <chapter><section><section><para>
1749 #: en/upgrading.dbk:1089
1750 msgid ""
1751 "You can also take this step if you are using your own custom kernel and want "
1752 "to use the kernel available in &releasename;. If your kernel version is not "
1753 "supported by <systemitem role=\"package\">udev</systemitem> then it is "
1754 "recommended that you upgrade after the minimal upgrade. If your version is "
1755 "supported by <systemitem role=\"package\">udev</systemitem> you can safely "
1756 "wait until after the full system upgrade."
1757 msgstr ""
1758
1759 # type: Content of: <chapter><section><section><title>
1760 #: en/upgrading.dbk:1099
1761 msgid "Upgrading from a 2.4 kernel"
1762 msgstr ""
1763
1764 # type: Content of: <chapter><section><section><para>
1765 #: en/upgrading.dbk:1101
1766 msgid ""
1767 "If you have a 2.4 kernel installed, and your system relies on <systemitem "
1768 "role=\"package\">hotplug</systemitem> for its hardware detection you should "
1769 "first upgrade to a 2.6 series kernel from &oldreleasename; before attempting "
1770 "the upgrade. Make sure that the 2.6 series kernel boots your system and all "
1771 "your hardware is properly detected before you perform the upgrade. The "
1772 "<systemitem role=\"package\">hotplug</systemitem> package is removed from "
1773 "the system (in favor of <systemitem role=\"package\">udev</systemitem>) when "
1774 "you do a full system upgrade. If you do not do the kernel upgrade before "
1775 "this your system might not boot up properly from this point on. Once you "
1776 "have done an upgrade to a 2.6 series kernel in &oldreleasename; you can do a "
1777 "kernel upgrade as described in <xref linkend=\"upgrade-from-2.6\"/> ."
1778 msgstr ""
1779
1780 # type: Content of: <chapter><section><section><para><footnote>
1781 #: en/upgrading.dbk:1114
1782 msgid ""
1783 "If your system does not rely on <systemitem "
1784 "role=\"package\">hotplug</systemitem><footnote>"
1785 msgstr ""
1786
1787 # type: Content of: <chapter><section><section><para><footnote><para>
1788 #: en/upgrading.dbk:1115
1789 msgid ""
1790 "You can have the kernel modules needed by your system loaded statically "
1791 "through proper configuration of <filename>/etc/modules</filename>"
1792 msgstr ""
1793
1794 # type: Content of: <chapter><section><section><para>
1795 #: en/upgrading.dbk:1117
1796 msgid ""
1797 "</footnote> you can delay the kernel upgrade to after you have done a full "
1798 "system upgrade, as described in <xref linkend=\"upgrading-other\"/> . Once "
1799 "your system has been upgraded you can then do the following (changing the "
1800 "kernel package name to the one most suited to your system by substituting "
1801 "<emphasis>&lt;flavor&gt;</emphasis>):"
1802 msgstr ""
1803
1804 # type: Content of: <chapter><section><section><screen>
1805 #: en/upgrading.dbk:1123
1806 #, no-wrap
1807 msgid ""
1808 "\n"
1809 "# aptitude install linux-image-2.6-&lt;flavor&gt;\n"
1810 msgstr ""
1811
1812 # type: Content of: <chapter><section><section><title>
1813 #: en/upgrading.dbk:1129
1814 msgid "Device enumeration reordering"
1815 msgstr ""
1816
1817 # type: Content of: <chapter><section><section><para>
1818 #: en/upgrading.dbk:1131
1819 msgid ""
1820 "&releasename; features a more robust mechanism for hardware discovery than "
1821 "previous releases. However, this may cause changes in the order devices are "
1822 "discovered on your system, affecting the order in which device names are "
1823 "assigned. For example, if you have two network adapters that are associated "
1824 "with two different drivers, the devices eth0 and eth1 refer to may be "
1825 "swapped. Please note that the new mechanism means that if you e.g. "
1826 "exchange ethernet adapters in a running &releasename; system, the new "
1827 "adapter will also get a new interface name."
1828 msgstr ""
1829
1830 # type: Content of: <chapter><section><section><para><footnote>
1831 #: en/upgrading.dbk:1140
1832 msgid ""
1833 "For network devices, you can avoid this reordering by using <systemitem "
1834 "role=\"package\">udev</systemitem> rules, more specifically, through the "
1835 "definitions at "
1836 "<filename>/etc/udev/rules.d/z25_persistent-net.rules</filename><footnote>"
1837 msgstr ""
1838
1839 # type: Content of: <chapter><section><section><para><footnote><para>
1840 #: en/upgrading.dbk:1144
1841 msgid ""
1842 "The rules there are automatically generated by the script "
1843 "<filename>/etc/udev/rules.d/z45_persistent-net-generator.rules</filename> to "
1844 "have persistent names for network interfaces. Delete this symlink to "
1845 "disable persistent device naming for NICs by <systemitem "
1846 "role=\"package\">udev</systemitem>."
1847 msgstr ""
1848
1849 # type: Content of: <chapter><section><section><para>
1850 #: en/upgrading.dbk:1148
1851 msgid ""
1852 "</footnote>. Alternatively you can use the <command>ifrename</command> "
1853 "utility to bind physical devices to specific names at boot time. See "
1854 "<citerefentry> <refentrytitle>ifrename</refentrytitle> "
1855 "<manvolnum>8</manvolnum> </citerefentry> and <citerefentry> "
1856 "<refentrytitle>iftab</refentrytitle> <manvolnum>5</manvolnum> "
1857 "</citerefentry> for more information. The two alternatives (<systemitem "
1858 "role=\"package\">udev</systemitem> and <command>ifrename</command>) should "
1859 "not be used at the same time."
1860 msgstr ""
1861
1862 # type: Content of: <chapter><section><section><para>
1863 #: en/upgrading.dbk:1158
1864 msgid ""
1865 "For storage devices, you can avoid this reordering by using <systemitem "
1866 "role=\"package\">initramfs-tools</systemitem> and configuring it to load "
1867 "storage device driver modules in the same order they are currently loaded. "
1868 "To do this, identify the order the storage modules on your system were "
1869 "loaded by looking at the output of <command>lsmod</command>. "
1870 "<command>lsmod</command> lists modules in the reverse order that they were "
1871 "loaded in, i.e., the first module in the list was the last one loaded. Note "
1872 "that this will only work for devices which the kernel enumerates in a stable "
1873 "order (like PCI devices)."
1874 msgstr ""
1875
1876 # type: Content of: <chapter><section><section><para>
1877 #: en/upgrading.dbk:1168
1878 msgid ""
1879 "However, removing and reloading modules after initial boot will affect this "
1880 "order. Also, your kernel may have some drivers linked statically, and these "
1881 "names will not appear in the output of <command>lsmod</command>. You may be "
1882 "able to decipher these driver names and load order from looking at "
1883 "<filename>/var/log/kern.log</filename>, or the output of "
1884 "<command>dmesg</command>."
1885 msgstr ""
1886
1887 # type: Content of: <chapter><section><section><para>
1888 #: en/upgrading.dbk:1176
1889 msgid ""
1890 "Add these module names to <filename>/etc/initramfs-tools/modules</filename> "
1891 "in the order they should be loaded at boot time. Some module names may have "
1892 "changed between &oldreleasename; and &releasename;. For example, "
1893 "sym53c8xx_2 has become sym53c8xx."
1894 msgstr ""
1895
1896 # type: Content of: <chapter><section><section><para>
1897 #: en/upgrading.dbk:1181
1898 msgid ""
1899 "You will then need to regenerate your initramfs image(s) by executing "
1900 "<literal>update-initramfs -u -k all</literal>."
1901 msgstr ""
1902
1903 # type: Content of: <chapter><section><section><para>
1904 #: en/upgrading.dbk:1185
1905 msgid ""
1906 "Once you are running a &releasename; kernel and <systemitem "
1907 "role=\"package\">udev</systemitem>, you may reconfigure your system to "
1908 "access disks by an alias that is not dependent upon driver load order. "
1909 "These aliases reside in the <filename>/dev/disk/</filename> hierarchy."
1910 msgstr ""
1911
1912 # type: Content of: <chapter><section><section><title>
1913 #: en/upgrading.dbk:1193
1914 msgid "Boot timing issues"
1915 msgstr ""
1916
1917 # type: Content of: <chapter><section><section><para>
1918 #: en/upgrading.dbk:1195
1919 msgid ""
1920 "If an initrd created with <systemitem "
1921 "role=\"package\">initramfs-tools</systemitem> is used to boot the system, in "
1922 "some cases the creation of device files by <systemitem "
1923 "role=\"package\">udev</systemitem> can happen too late for the boot scripts "
1924 "to act on."
1925 msgstr ""
1926
1927 # type: Content of: <chapter><section><section><para>
1928 #: en/upgrading.dbk:1202
1929 msgid ""
1930 "The usual symptoms are that the boot will fail because the root file system "
1931 "cannot be mounted and you are dropped into a debug shell, but that when you "
1932 "check afterwards, all devices that are needed are present in "
1933 "<filename>/dev</filename>. This has been observed in cases where the root "
1934 "file system is on a USB disk or on RAID, especially if lilo is used."
1935 msgstr ""
1936
1937 # type: Content of: <chapter><section><section><para>
1938 #: en/upgrading.dbk:1209
1939 msgid ""
1940 "A workaround for this issue is to use the boot parameter "
1941 "<literal>rootdelay=<replaceable>9</replaceable></literal>. The value for "
1942 "the timeout (in seconds) may need to be adjusted."
1943 msgstr ""
1944
1945 # type: Content of: <chapter><section><title>
1946 #: en/upgrading.dbk:1218
1947 msgid "Things to do before rebooting"
1948 msgstr ""
1949
1950 # type: Content of: <chapter><section><para>
1951 #: en/upgrading.dbk:1220
1952 msgid ""
1953 "When <literal>aptitude dist-upgrade</literal> has finished, the formal "
1954 "upgrade is complete, but there are some other things that should be taken "
1955 "care of <emphasis>before</emphasis> the next reboot."
1956 msgstr ""
1957
1958 # type: Content of: <chapter><section><section><title>
1959 #: en/upgrading.dbk:1225
1960 msgid "Converting from devfs"
1961 msgstr ""
1962
1963 # type: Content of: <chapter><section><section><para>
1964 #: en/upgrading.dbk:1227
1965 msgid ""
1966 "Debian kernels no longer include support for <literal>devfs</literal>, so "
1967 "<literal>devfs</literal> users will need to convert their systems manually "
1968 "before booting an &releasename; kernel."
1969 msgstr ""
1970
1971 # type: Content of: <chapter><section><section><para>
1972 #: en/upgrading.dbk:1232
1973 msgid ""
1974 "If you see the string 'devfs' in <filename>/proc/mounts</filename>, you are "
1975 "most likely using <literal>devfs</literal>. Any configuration files that "
1976 "reference <literal>devfs</literal>-style names will need to be adjusted to "
1977 "use <systemitem role=\"package\">udev</systemitem>-style names. Files that "
1978 "are likely to refer to <literal>devfs</literal>-style device names include "
1979 "<filename>/etc/fstab</filename>, <filename>/etc/lilo.conf</filename>, "
1980 "<filename>/boot/grub/menu.lst</filename>, and "
1981 "<filename>/etc/inittab</filename>."
1982 msgstr ""
1983
1984 # type: Content of: <chapter><section><section><para>
1985 #: en/upgrading.dbk:1242
1986 msgid ""
1987 "More information about potential issues is available in bug report <ulink "
1988 "url=\"http://bugs.debian.org/341152\">#341152</ulink>."
1989 msgstr ""
1990
1991 # type: Content of: <chapter><section><section><title>
1992 #: en/upgrading.dbk:1248
1993 msgid "Rerun lilo"
1994 msgstr ""
1995
1996 # type: Content of: <chapter><section><section><para>
1997 #: en/upgrading.dbk:1250
1998 msgid ""
1999 "If you are using <systemitem role=\"package\">lilo</systemitem> as your "
2000 "bootloader (it is the default bootloader for some installations of "
2001 "&oldreleasename;) it is strongly recommended that you rerun "
2002 "<command>lilo</command> after the upgrade:"
2003 msgstr ""
2004
2005 # type: Content of: <chapter><section><section><screen>
2006 #: en/upgrading.dbk:1254
2007 #, no-wrap
2008 msgid ""
2009 "\n"
2010 "# /sbin/lilo\n"
2011 msgstr ""
2012
2013 # type: Content of: <chapter><section><section><para>
2014 #: en/upgrading.dbk:1258
2015 msgid ""
2016 "Notice this is needed even if you did not upgrade your system's kernel, as "
2017 "<command>lilo</command>'s second stage will change due to the package "
2018 "upgrade."
2019 msgstr ""
2020
2021 # type: Content of: <chapter><section><section><para>
2022 #: en/upgrading.dbk:1262
2023 msgid ""
2024 "Also, review the contents of your <filename>/etc/kernel-img.conf</filename> "
2025 "and make sure that you have <emphasis>do_bootloader = Yes</emphasis> in it. "
2026 "That way the bootloader will always be rerun after a kernel upgrade."
2027 msgstr ""
2028
2029 # type: Content of: <chapter><section><section><para>
2030 #: en/upgrading.dbk:1267
2031 msgid ""
2032 "If you encounter any issues when running <command>lilo</command>, review the "
2033 "symbolic links in <filename>/</filename> to <filename>vmlinuz</filename> and "
2034 "<filename>initrd</filename> and the contents of your "
2035 "<filename>/etc/lilo.conf</filename> for discrepancies."
2036 msgstr ""
2037
2038 # type: Content of: <chapter><section><section><para><footnote>
2039 #: en/upgrading.dbk:1273
2040 msgid ""
2041 "If you forgot to rerun <command>lilo</command> before the reboot or the "
2042 "system is accidentally rebooted before you could do this manually, your "
2043 "system might fail to boot. Instead of the lilo prompt, you will only see "
2044 "<emphasis>LI</emphasis> when booting the system<footnote>"
2045 msgstr ""
2046
2047 # type: Content of: <chapter><section><section><para><footnote><para>
2048 #: en/upgrading.dbk:1276
2049 msgid ""
2050 "For more information on <command>lilo</command>'s boot error codes please "
2051 "see <ulink url=\"http://tldp.org/HOWTO/Bootdisk-HOWTO/a1483.html\">The Linux "
2052 "Bootdisk HOWTO</ulink>."
2053 msgstr ""
2054
2055 # type: Content of: <chapter><section><section><para>
2056 #: en/upgrading.dbk:1279
2057 msgid ""
2058 "</footnote>. See <xref linkend=\"recovery\"/> for information on how to "
2059 "recover from this."
2060 msgstr ""
2061
2062 # type: Content of: <chapter><section><section><title>
2063 #: en/upgrading.dbk:1285
2064 msgid "Upgrading mdadm"
2065 msgstr ""
2066
2067 # type: Content of: <chapter><section><section><para>
2068 #: en/upgrading.dbk:1287
2069 msgid ""
2070 "mdadm now needs a configuration file to assemble MD arrays (RAID) from the "
2071 "initial ramdisk and during the system initialisation sequence. Please make "
2072 "sure to read and act upon the instructions in "
2073 "<filename>/usr/share/doc/mdadm/README.upgrading-2.5.3.gz</filename> after "
2074 "the package has been upgraded <emphasis role=\"strong\">and before you "
2075 "reboot</emphasis>. The latest version of this file is available at <ulink "
2076 "url=\"http://svn.debian.org/wsvn/pkg-mdadm/mdadm/trunk/debian/README.upgrading-2.5.3?op=file\"></ulink>; "
2077 "please consult it in case of problems."
2078 msgstr ""
2079
2080 # type: Content of: <chapter><section><title>
2081 #: en/upgrading.dbk:1301
2082 msgid "Preparing for the next release"
2083 msgstr ""
2084
2085 # type: Content of: <chapter><section><para>
2086 #: en/upgrading.dbk:1303
2087 msgid ""
2088 "After the upgrade there are several things you can do to prepare for the "
2089 "next release."
2090 msgstr ""
2091
2092 # type: Content of: <chapter><section><itemizedlist><listitem><para>
2093 #: en/upgrading.dbk:1309
2094 msgid ""
2095 "If using <command>grub</command>, edit "
2096 "<filename>/etc/kernel-img.conf</filename> and adjust the location of the "
2097 "<command>update-grub</command> program changing "
2098 "<filename>/sbin/update-grub</filename> to "
2099 "<filename>/usr/sbin/update-grub</filename>."
2100 msgstr ""
2101
2102 # type: Content of: <chapter><section><itemizedlist><listitem><para>
2103 #: en/upgrading.dbk:1318
2104 msgid ""
2105 "If the new kernel image metapackage was pulled in as a dependency of the old "
2106 "one, it will be marked as automatically installed, which should be "
2107 "corrected:"
2108 msgstr ""
2109
2110 # type: Content of: <chapter><section><itemizedlist><listitem><screen>
2111 #: en/upgrading.dbk:1321
2112 #, no-wrap
2113 msgid ""
2114 "\n"
2115 "# aptitude unmarkauto $(dpkg-query -W 'linux-image-2.6-*' | cut -f1)\n"
2116 msgstr ""
2117
2118 # type: Content of: <chapter><section><itemizedlist><listitem><para>
2119 #: en/upgrading.dbk:1327
2120 msgid "Remove &oldreleasename;'s kernel metapackages by running:"
2121 msgstr ""
2122
2123 # type: Content of: <chapter><section><itemizedlist><listitem><screen>
2124 #: en/upgrading.dbk:1329
2125 #, no-wrap
2126 msgid ""
2127 "\n"
2128 "# aptitude purge kernel-image-2.6-&lt;flavor&gt;\n"
2129 msgstr ""
2130
2131 # type: Content of: <chapter><section><itemizedlist><listitem><para>
2132 #: en/upgrading.dbk:1335
2133 msgid ""
2134 "Move any configuration options from "
2135 "<filename>/etc/network/options</filename> to "
2136 "<filename>/etc/sysctl.conf</filename>. Please see "
2137 "<filename>/usr/share/doc/netbase/README.Debian</filename> for details."
2138 msgstr ""
2139
2140 # type: Content of: <chapter><section><itemizedlist><listitem><para>
2141 #: en/upgrading.dbk:1342
2142 msgid ""
2143 "Remove obsolete and unused packages as described in <xref "
2144 "linkend=\"obsolete\"/> . You should review which configuration files they "
2145 "use and consider purging the packages to remove their configuration files"
2146 msgstr ""
2147
2148 # type: Content of: <chapter><section><title>
2149 #: en/upgrading.dbk:1351
2150 msgid "Deprecated packages"
2151 msgstr ""
2152
2153 # type: Content of: <chapter><section><para>
2154 #: en/upgrading.dbk:1353
2155 msgid ""
2156 "With the release of <literal>Lenny</literal> a bigger number of server "
2157 "packages will be deprecated, thus updating to newer versions of those now "
2158 "will save you from trouble when updating to <literal>Lenny</literal>."
2159 msgstr ""
2160
2161 # type: Content of: <chapter><section><para>
2162 #: en/upgrading.dbk:1358
2163 msgid "This includes the following packages:"
2164 msgstr ""
2165
2166 # type: Content of: <chapter><section><itemizedlist><listitem><para>
2167 #: en/upgrading.dbk:1363
2168 msgid "apache (1.x), successor is apache2"
2169 msgstr ""
2170
2171 # type: Content of: <chapter><section><itemizedlist><listitem><para>
2172 #: en/upgrading.dbk:1368
2173 msgid "bind8, successor is bind9"
2174 msgstr ""
2175
2176 # type: Content of: <chapter><section><itemizedlist><listitem><para>
2177 #: en/upgrading.dbk:1373
2178 msgid "php4, successor is php5"
2179 msgstr ""
2180
2181 # type: Content of: <chapter><section><itemizedlist><listitem><para>
2182 #: en/upgrading.dbk:1378
2183 msgid "postgresql-7.4, successor is postgresql-8.1"
2184 msgstr ""
2185
2186 # type: Content of: <chapter><section><itemizedlist><listitem><para>
2187 #: en/upgrading.dbk:1383
2188 msgid "exim 3, successor is exim4"
2189 msgstr ""
2190
2191 # type: Content of: <chapter><section><title>
2192 #: en/upgrading.dbk:1390
2193 msgid "Obsolete packages"
2194 msgstr ""
2195
2196 # type: Content of: <chapter><section><para><footnote>
2197 #: en/upgrading.dbk:1392
2198 msgid ""
2199 "Introducing several thousand new packages, &releasename; also retires and "
2200 "omits more than two thousand old packages that were in &oldreleasename;. It "
2201 "provides no upgrade path for these obsolete packages. While nothing "
2202 "prevents you from continuing to use an obsolete package where desired, the "
2203 "Debian project will usually discontinue security support for it a year after "
2204 "&releasename;'s release<footnote>"
2205 msgstr ""
2206
2207 # type: Content of: <chapter><section><para><footnote><para>
2208 #: en/upgrading.dbk:1396
2209 msgid ""
2210 "Or for as long as there is not another release in that time frame. "
2211 "Typically only two stable releases are supported at any given time."
2212 msgstr ""
2213
2214 # type: Content of: <chapter><section><para>
2215 #: en/upgrading.dbk:1398
2216 msgid ""
2217 "</footnote>, and will not normally provide other support in the meantime. "
2218 "Replacing them with available alternatives, if any, is recommended."
2219 msgstr ""
2220
2221 # type: Content of: <chapter><section><para>
2222 #: en/upgrading.dbk:1403
2223 msgid ""
2224 "There are many reasons why packages might have been removed from the "
2225 "distribution: they are no longer maintained upstream; there is no longer a "
2226 "Debian Developer interested in maintaining the packages; the functionality "
2227 "they provide has been superseded by different software (or a new version); "
2228 "or they are no longer considered suitable for &releasename; due to bugs in "
2229 "them. In the latter case, packages might still be present in the unstable "
2230 "distribution."
2231 msgstr ""
2232
2233 # type: Content of: <chapter><section><para>
2234 #: en/upgrading.dbk:1411
2235 msgid ""
2236 "Detecting which packages in an updated system are obsolete is easy since the "
2237 "package management front-ends will mark them as such. If you are using "
2238 "<command>aptitude</command>, you will see a listing of these packages in the "
2239 "Obsolete and Locally Created Packages entry. <command>dselect</command> "
2240 "provides a similar section but the listing it presents might differ. Also, "
2241 "if you have used <command>aptitude</command> to manually install packages in "
2242 "&oldreleasename; it will have kept track of those packages you manually "
2243 "installed and will be able to mark as obsolete those packages pulled in by "
2244 "dependencies alone which are no longer needed if a package has been "
2245 "removed. Also, <command>aptitude</command>, unlike "
2246 "<command>deborphan</command> will not mark as obsolete packages that you "
2247 "manually installed, as opposed to those that were automatically installed "
2248 "through dependencies."
2249 msgstr ""
2250
2251 # type: Content of: <chapter><section><para>
2252 #: en/upgrading.dbk:1425
2253 msgid ""
2254 "There are additional tools you can use to find obsolete packages such as "
2255 "<command>deborphan</command>, <command>debfoster</command> or "
2256 "<command>cruft</command>. <command>deborphan</command> is highly "
2257 "recommended, although it will (in default mode) only report obsolete "
2258 "libraries: packages in the libs or oldlibs sections that are not used by any "
2259 "other packages. Do not blindly remove the packages these tools present, "
2260 "especially if you are using aggressive non-default options that are prone to "
2261 "produce false positives. It is highly recommended that you manually review "
2262 "the packages suggested for removal (i.e. their contents, size and "
2263 "description) before you remove them."
2264 msgstr ""
2265
2266 # type: Content of: <chapter><section><para>
2267 #: en/upgrading.dbk:1436
2268 msgid ""
2269 "The <ulink url=\"http://bugs.debian.org/\">Debian Bug Tracking "
2270 "System</ulink> often provides additional information on why the package was "
2271 "removed. You should review both the archived bug reports for the package "
2272 "itself and the archived bug reports for the <ulink "
2273 "url=\"http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=ftp.debian.org&amp;archive=yes\">ftp.debian.org "
2274 "pseudo-package</ulink>."
2275 msgstr ""
2276
2277 # type: Content of: <chapter><section><section><title>
2278 #: en/upgrading.dbk:1444
2279 msgid "Dummy packages"
2280 msgstr ""
2281
2282 # type: Content of: <chapter><section><section><para>
2283 #: en/upgrading.dbk:1446
2284 msgid ""
2285 "Some packages from &oldreleasename; have been split into several packages in "
2286 "&releasename;, often to improve system maintainability. To ease the upgrade "
2287 "path in such cases, &releasename; often provides dummy packages: empty "
2288 "packages that have the same name as the old package in &oldreleasename; with "
2289 "dependencies that cause the new packages to be installed. These dummy "
2290 "packages are considered obsolete packages after the upgrade and can be "
2291 "safely removed."
2292 msgstr ""
2293
2294 # type: Content of: <chapter><section><section><para>
2295 #: en/upgrading.dbk:1454
2296 msgid ""
2297 "Most (but not all) dummy packages' descriptions indicate their purpose. "
2298 "Package descriptions for dummy packages are not uniform, however, so you "
2299 "might also find <command>deborphan</command> with the "
2300 "<literal>--guess</literal> options useful to detect them in your system. "
2301 "Note that some dummy packages are not intended to be removed after an "
2302 "upgrade but are, instead, used to keep track of the current available "
2303 "version of a program over time."
2304 msgstr ""

  ViewVC Help
Powered by ViewVC 1.1.5