/[ddp]/manuals/branches/release-notes/lenny/en/release-notes.dbk
ViewVC logotype

Contents of /manuals/branches/release-notes/lenny/en/release-notes.dbk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4288 - (show annotations) (download)
Sun Apr 1 13:55:08 2007 UTC (6 years, 1 month ago) by fjp
Original Path: manuals/trunk/release-notes/en/release-notes.en.sgml
File MIME type: text/x-sgml
File size: 127593 byte(s)
Fix typo
1 <!DOCTYPE debiandoc PUBLIC "-//DebianDoc//DTD DebianDoc//EN" [
2 <!entity % dynamicdata SYSTEM "../dynamic.ent" > %dynamicdata;
3 <!entity % shareddata SYSTEM "../release-notes.ent" > %shareddata;
4 <!entity docid "$Id: release-notes.en.sgml,v 1.217 2007-04-01 13:55:08 fjp Exp $">
5 ]>
6
7 <!-- Be careful with automatic reformatting. Please note that the indentation
8 in examples is used in the output (plus additional space) as well. -->
9
10 <debiandoc>
11 <book>
12 <titlepag>
13 <title>Release Notes for &debian; &release; ("&releasename;"), &arch-title;</title>
14 <author>
15 <name>Josip Rodin, Bob Hilliard, Adam Di Carlo, Anne Bezemer, Rob
16 Bradford (current), Frans Pop (current), Andreas Barth (current)</name><email></email>
17 </author>
18 <author>
19 <name></name><email>debian-doc@lists.debian.org</email>
20 </author>
21 <version>&docid;</version>
22 </titlepag>
23 <toc detail="sect1">
24 <chapt id="about"><heading>Introduction</heading>
25
26 <p>The primary goals of these Release Notes are to inform users
27 of major changes in this release of the &debian; distribution, to
28 provide information on how to upgrade safely from the previous
29 release to the current release and finally to inform users of known potential
30 issues users could encounter when upgrading to or using the
31 &releasename; release.</p>
32
33 <p>Note that it is impossible to list every known issue and that
34 therefore a selection has been made based on a combination of the
35 expected prevalence and impact of issues.</p>
36
37 <p>The most recent version of this document is always available at <url
38 id="&url-release-notes;">. If the version you are reading is more than a
39 month old<footnote>On front page of the PDF version and in the footer
40 of the online, HTML, version</footnote>, you might wish to obtain the
41 latest version.</p>
42
43 <p>Please note that we only support
44 and document upgrading from the previous release of Debian (in this case,
45 the upgrade from &oldreleasename;). If you need to upgrade from older
46 releases, we suggest you read previous editions of the release notes and
47 upgrade to &oldreleasename; first.</p>
48
49 <sect id="bug_reports"><heading>Reporting bugs on this document</heading>
50
51 <p>We have attempted to test all the different upgrade steps
52 described in this document and we have also tried to anticipate all
53 the possible issues our users might encounter.</p>
54
55 <p>Nevertheless, If you think you have found any bug in this
56 documentation (incorrect information or information that is missing),
57 please file a bug in the <url id="&url-bts;" name="bug tracking
58 system"> against the <package>release-notes</package> package.</p>
59
60 </sect>
61
62 <sect id="upgrade_reports"><heading>Contributing upgrade reports</heading>
63 <p>We welcome any information from users related to upgrades from
64 &oldreleasename; to &releasename;. If you are willing to share information
65 please file a bug in the <url id="&url-bts;" name="bug tracking system">
66 against the <package>upgrade-reports</package> package with your results.</p>
67
68 <p>Please provide the following information when submitting your upgrade report:
69
70 <list>
71
72 <!-- TODO: any more things to add here? -->
73 <item><p>Session logs using <package>script</package>, as described in
74 <ref id="record_session">.</p></item>
75
76 <item><p>The status of your package database before and after the
77 upgrade, using the backup procedure described at <ref
78 id="backup">.
79
80 <item><p>Your aptitude logs, available at <file>/var/log/aptitude</file>.</p></item>
81
82 </list></p>
83
84 <p>Note: you should take some time to review and remove any sensitive and/or confidential
85 information from the logs before including them in a bug report as the information
86 will be published in a public database.
87
88 </sect>
89
90 <sect id="sources"><heading>Sources for this document</heading>
91 <p>This document uses <package>debiandocsgml</package>. Its sources
92 are available in the <em>Debian Documentation Project</em>'s CVS.
93 You can use the <url id="&url-cvs-release-notes;" name="web
94 interface"> to access its files individually through the web and see
95 their changes. For more information on how to access the CVS please
96 consult the <url id="&url-ddp-cvs-info;" name="Debian Documentation Project CVS pages">.
97 </p>
98
99 </sect>
100 <!--
101 <sect id="changes"><heading>Changes in the Release Notes</heading>
102
103 <p>This section lists changes in the Release Notes since the original
104 version that was published with &debian; &release;r0. Minor textual
105 corrections are omitted.</p>
106
107 <p><list>
108
109 <item><p>Description of change.</p></item>
110
111 </list></p>
112
113 </sect>
114 -->
115
116 </chapt>
117
118 <chapt id="whats-new"><heading>What's new in &debian; &release;</heading>
119
120 <p>This release adds official support for the AMD64 architecture which
121 supports 64-bit processors from both Intel (EM64T) and AMD (AMD64).
122 During the previous release, &debian; 3.1 ('sarge'), an unofficial
123 version of this port was available.
124 <![ %amd64 [
125 Upgrading from this unofficial version should be possible using these
126 Release Notes, but is not supported.
127 ]]>
128 </p>
129
130 <p>Official support for the Motorola 680x0 ('m68k') architecture has been
131 dropped because it did not meet the criteria set by the Debian Release
132 Managers. The most important underlying reasons are performance and limited
133 upstream support for essential toolchain components. However, the m68k port
134 is expected to remain active and available for installation even if not a
135 part of this official stable release.</p>
136
137 <p>The following are the officially supported architectures for
138 &debian; &releasename;:</p>
139
140 <p>
141 <list>
142 <item><p>Intel x86 ('i386')</p></item>
143 <item><p>Alpha ('alpha')</p></item>
144 <item><p>SPARC ('sparc')</p></item>
145 <item><p>PowerPC ('powerpc')</p></item>
146 <item><p>ARM ('arm')</p></item>
147 <item><p>MIPS ('mips' (Big endian) and 'mipsel' (Little endian))</p></item>
148 <item><p>Intel Itanium ('ia64')</p></item>
149 <item><p>HP PA-RISC ('hppa')</p></item>
150 <item><p>S/390 ('s390')</p></item>
151 <item><p>AMD64 ('amd64')</p></item>
152 </list>
153 </p>
154
155 <p>You can read more about port status, and port-specific
156 information for your architecture at the <url id="&url-ports;"
157 name="Debian port web pages">.</p>
158
159 <![ %secondrelease [
160 <p>This is only the second official release of &debian; for the
161 &arch-title; architecture. We feel that it has proven itself
162 sufficiently to be released. However, because it has not had the
163 exposure (and hence testing by users) that our releases on
164 other architectures have had, you may encounter a few bugs. Please
165 use our <url id="&url-bts;" name="bug tracking system"> to report
166 any problems; make sure to mention the fact that the bug is on the
167 &architecture; platform.</p>
168 ]]>
169
170 <p>&debian; &release; for the &arch-title; architecture ships with
171 kernel version &kernelversion;.</p>
172
173
174 <sect id="newdistro"><heading>What's new in the distribution?</heading>
175
176 <!-- TODO (jfs): numbers could be entities so that updating them was easier, like
177 in the FAQ -->
178 <!-- TODO: Numbers need to be reviewed, these values have been obtained
179 using the changes-release script -->
180 <p>This new release of Debian again comes with a lot more software
181 than its predecessor &oldreleasename;; the distribution includes
182 over 6,200 new packages, for a total of over 18,000 packages. Most
183 of the software in the distribution has been updated: over 10,500
184 software packages (this is 67% of all packages in &oldreleasename;).
185 Also, a significant number of packages (over 3400, 22% of the
186 packages in &oldreleasename;) have for various reasons been removed
187 from the distribution. You will not see any updates for these
188 packages and they will be marked as 'obsolete' in package management
189 front-ends.</p>
190
191 <p>With this release &debian; switches from XFree86 to the 7.1
192 release of X.Org, which includes support for a greater range of
193 hardware and better autodetection. This allows the use of Compiz,
194 which is one of the first compositing window managers for the X
195 Window System, taking full advantage of hardware
196 OpenGL-acceleration for supported devices.</p>
197
198 <p>&debian; again ships with several desktop applications and environments. Amongst
199 others it now includes the desktop environments GNOME 2.14<footnote>With some modules from
200 GNOME 2.16.</footnote>, KDE 3.5.5a, and Xfce 4.4. Productivity applications
201 have also been upgraded, including the office suites OpenOffice.org 2.0.4a and
202 KOffice 1.6 as well as GNUcash 2.0.5, GNUmeric 1.6.3 and Abiword 2.4.6</p>
203
204 <p>Updates to other desktop applications include the upgrade of
205 Evolution 2.6.3 and Gaim 2.0. The Mozilla suite has also been updated,
206 but the main programs have been renamed: <prgn>iceweasel</prgn>
207 (version 2.0.0.2) is the unbranded <prgn>Firefox</prgn> web browser
208 and <prgn/icedove/ (version 1.5) is the unbranded <prgn/Thunderbird/
209 mail client.</p>
210
211 <p>This release also includes, amongst others, the following software updates:</p>
212
213 <p><list>
214
215 <item>the GNU C library, version 2.3.6.</item>
216
217 <item>the GNU Compiler Collection 4.1 as default compiler.</item>
218
219 <item>language interpreters: PHP 5.5, Python 2.4.</item>
220
221 <item>server software:
222
223 <p><list>
224 <item>e-mail servers: Exim 4.63 (default email server
225 for new installations), Postfix 2.3, Courier 0.53, Cyrus 2.2.</item>
226
227 <!-- TODO: Cherokee, lighttpd, and Tomcat 5 are NEW -->
228 <!-- Note: No significant changes for Roxen4, Boa, and thttpd -->
229 <item>web servers: Apache 2.2, fnord 1.10</item>
230
231 <item>database servers: MySQL 5.0.32, PostgreSQL 8.1</item>
232
233 <item>the OpenSSH server, version 4.3.</item>
234
235 <item>name servers: Bind 9.3, maradns 1.2.</item>
236
237 <item>directory server: OpenLDAP 2.3</item>
238
239 <!-- FIXME (JFS): List other server software? RADIUS? Streaming ? -->
240 </list></p>
241
242 </list></p>
243
244
245 <p><prgn/aptitude/ is the preferred program for package management
246 from console.
247 <prgn/aptitude/ supports most command line operations of <prgn/apt-get/
248 and has proven to be better at dependency resolution than <prgn/apt-get/.
249 If you are still using <prgn/dselect/, you should switch to
250 <package/aptitude/ as the official frontend for package management.</p>
251
252 <p>The official &debian; distribution now ships on 19 to 23
253 binary CDs (depending on the architecture) and a similar number of
254 source CDs. A DVD version of the distribution is also available.</p>
255
256 <!-- FIXME: Note on LSB support? (3.1?) -->
257
258 <sect1 id="secureapt"><heading>Secure APT</heading>
259
260 <!-- FIXME: More content needed here? -->
261 <p><prgn/apt-secure/ (also known as <em/Secure APT/) is now available
262 in &releasename;. This feature adds extra security to &debian;
263 systems by easily supporting strong cryptography and digital
264 signatures to validate downloaded packages. This release includes
265 the <prgn/apt-key/ tool for adding new keys to apt's keyring, which by
266 default includes only the current Debian archive signing key, provided
267 in the <package>debian-archive-keyring</package>.</p>
268
269 <p>In its default configuration, <prgn>apt-secure</prgn> will
270 warn if packages are downloaded from sources that are not authenticated.
271 Future releases might force all packages to be verified before downloading
272 them. Administrators of unofficial apt repositories are encouraged to
273 generate a cryptographic key and sign their Release files, as well
274 as providing a secure way to distribute their public keys.</p>
275
276 <p>For more information please read <prgn>apt-secure</prgn>'s manual
277 page, the <url
278 id="http://www.debian.org/doc/manuals/securing-debian-howto/ch7#s-deb-pack-sign"
279 name="Package signing in Debian"> chapter of the <em/Securing Debian
280 Manual/ and the <url id="http://wiki.debian.org/SecureApt"
281 name="wiki documentation">.</p>
282
283 </sect1>
284 <sect1 id="volatile"><heading>debian-volatile now an official service</heading>
285
286 <p>The <em/debian-volatile/ service that was introduced as an
287 unofficial service with the release of &oldreleasename;, has now
288 become an official &debian; service.</p>
289
290 <p>This means that it no longer has a <tt/.debian.net/ address,
291 but now uses a <tt/.debian.org/ address. Please make sure to update
292 your <file>/etc/apt/sources.list</file> accordingly if you were
293 already using this service.</p>
294
295 <p><em/debian-volatile/ allows users to easily
296 update stable packages that contain information that quickly goes out
297 of date. Examples are a virus scanner's signatures list or a spam
298 filter's pattern set. For more information and a list of mirrors,
299 please see the archive's <url id="&url-debian-volatile"
300 name="web page">.</p>
301
302 </sect1>
303 </sect>
304
305 <sect id="improves_in_etch"><heading>System improvements</heading>
306
307 <p>There have been a number of changes in the distribution that will
308 benefit new installations of &releasename;, but may not be automatically
309 applied on upgrades from &oldreleasename;. This section gives an
310 overview of the most relevant changes.
311 </p>
312
313 <p><taglist>
314
315 <!-- Bug #301138, fixed in etch -->
316 <tag>Priority for basic development packages lowered</tag>
317 <item><p>A number of development packages that used to be priority
318 <em/standard/ are now priority <em/optional/, which means they will
319 no longer be installed by default.
320 This includes the standard C/C++-compiler, <package>gcc</package>,
321 as well as some other software (<package>dpkg-dev</package>,
322 <package>flex</package>, <package>make</package>) and development
323 headers (<package>libc6-dev</package>,
324 <package>linux-kernel-headers</package>).</p>
325 <!-- TODO: Point to the bug report for the full list of packages in case
326 users want to remove them ? -->
327 <p>If you do wish to have these packages on your system, the easiest way
328 to install them is by installing <package/build-essential/, which will
329 pull in most of them.</p>
330 </item>
331
332 <!-- FIXME: Bug Manoj for a link to documentation on enabling SELinux -->
333 <tag>SELinux priority standard, but not enabled by default</tag>
334 <item><p>The packages needed for SELinux support have been
335 promoted to priority <em/standard/. This means that they will be
336 installed by default during new installations. For existing systems
337 you can install SELinux using:
338 <example>
339 # aptitude install selinux-basics
340 </example></p>
341
342 <p>Note that SELinux support is not enabled by default. If you want to
343 secure your system using SELinux, you will need to enable it by adding
344 the kernel boot parameter <tt/selinux=1/. Additional information
345 can be found on the <url id="&url-wiki-selinux" name="Debian Wiki">.
346 </p></item>
347
348 <tag>New default inet superdaemon</tag>
349 <item><p>The default inet superdaemon for &releasename; is
350 <package>openbsd-inetd</package> instead of <package>netkit-inetd</package>.
351 It will not be started if no services are configured, which is the
352 default. The new default will be installed automatically on upgrading.
353 </p></item>
354
355 <tag>Default <prgn/vi/ clone changed</tag>
356 <item><p>The <prgn/vi/ clone installed by default is now a compact version
357 of <prgn/vim/ (<package/vim-tiny/) instead of <package/nvi/.</p></item>
358
359 <tag>Changes in default features for <tt>ext2</tt>/<tt>ext3</tt></tag>
360 <item><p>New ext2 and ext3 filesystems will be created with features
361 <em/dir_index/ and <em/resize_inode/ enabled by default. The first
362 feature speeds up operations on directories with many files; the
363 second makes it possible to resize a file system on-line (i.e. while it
364 is mounted).</p>
365 <p>Users upgrading from &oldreleasename; could consider adding the
366 <em/dir_index/ flag manually using <prgn/tune2fs/<footnote>
367 The flag <em/filetype/ should already be set on most file systems, except
368 possibly on systems installed before &oldreleasename;.
369 </footnote>; the <em/reset_inode/ flag cannot be added to an existing
370 file system. It is possible to check which flags are set for a file
371 system using <tt/dumpe2fs -h/.</p></item>
372
373 <!-- TODO: Add for lenny, link to utf8-migration-tool, which is right now not
374 available for etch -->
375 <tag>Default encoding for &releasename; is UTF-8</tag>
376 <item><p>The default encoding for new &debian installations is UTF-8. A
377 number of applications will also be set up to use UTF-8 by default.</p>
378 <p>Users upgrading to &releasename; that wish to switch to UTF-8 will
379 need to reconfiguring their environment and locale definitions. The
380 system-wide default can be changed using <tt/dpkg-reconfigure locales/;
381 first select a UTF-8 locale for your language and country and then
382 set that as default. Note that switching to UTF-8 means that you will
383 probably also need to convert existing files from your previous
384 (legacy) encoding to UTF-8.</p>
385 <p>The package <package/utf8-migration-tool/ contains a tool that may
386 help the migration, however that package is only available in unstable
387 as it was not ready in time for &releasename;. Making a backup of
388 your data and configuration before using the tool is strongly
389 recommended.</p>
390 <p>Note that not some applications may not yet work correctly in a UTF-8
391 environment (mostly display issues).</p></item>
392
393 </taglist></p>
394
395 <p>The <url id="http://wiki.debian.org/Sarge2EtchUpgrade"
396 name="Debian Wiki"> has some additional information about changes between
397 &oldreleasename; and &releasename;.</p>
398
399 </sect>
400 </chapt>
401
402 <chapt id="installing"><heading>Installation System</heading>
403
404 <p>The Debian Installer is the official installation system for Debian.
405 It offers a variety of installation methods. Which methods
406 are available to install your system depends on your architecture.</p>
407
408 <p>Images of the installer for &releasename; and the Installation Guide
409 can be found on the <url id="&url-installer;" name="Debian website">.</p>
410
411 <p>The Installation Guide is also included on the first CD/DVD of the
412 official Debian CD/DVD sets, at:
413
414 <example>
415 /doc/install/manual/<var>language</var>/index.html
416 </example></p>
417
418 <p>You may also want to check the <url id="&url-installer;index#errata"
419 name="errata"> for debian-installer for a list of known issues.</p>
420
421 <![ %alpha [
422 <!-- TODO: Still true? -->
423 <p>The installer can only be used to install on alpha systems which
424 support the SRM console. Be sure to switch your system to SRM before
425 starting the installation. If your machine supports only the AlphaBIOS/ARC
426 console, you can still install &releasename; using a (minimal) &oldreleasename;
427 installation and a subsequent upgrade. For more information about the
428 different consoles please read the references on the
429 <url id="http://www.debian.org/ports/alpha" name="Debian alpha port web pages">.
430 </p>
431 ]]>
432
433 <![ %sparc [
434 <sect id="sparc_fb"><heading>Issues with framebuffer on &arch-title;</heading>
435
436 <p>Because of display problems on some systems, framebuffer support is
437 disabled by default for &arch-title; for most graphics cards. This can
438 result in ugly display on systems that do properly support the framebuffer.
439 If you see display problems in the installer, you can try booting the installer
440 with the parameter <tt>framebuffer=true</tt>.
441 Please let us know if the framebuffer is not used by default, but works for
442 your hardware.</p>
443
444 </sect>
445 ]]>
446
447 <sect id="inst-new"><heading>What's new in the installation system?</heading>
448
449 <p>There has been a lot of development on the Debian Installer
450 since its first official release with &oldreleasename; resulting
451 in both improved hardware support and some exciting new features.</p>
452
453 <p>In these Release Notes we'll only list the major changes in the
454 installer. If you are interested in an overview of the detailed
455 changes since &oldreleasename;, please check the release announcements
456 for the &releasename; beta and RC releases available from the
457 Debian Installer's <url id="&url-installer-news" name="news history">.</p>
458
459 <sect1 id="inst-changes"><heading>Major changes</heading>
460
461 <p><taglist>
462 <tag>No reboot during the installation</tag>
463 <item><p>The installation used to be split into two parts:
464 setting up the base system and making it bootable, followed
465 by a reboot and after that the execution of <prgn/base-config/
466 which would take care of things like user setup, setup of the
467 package management system and installation of additional
468 packages (using tasksel).</p>
469 <p>For &releasename; the second stage has been integrated into
470 Debian Installer itself. This has a number of advantages,
471 including increased security and the fact that after the reboot
472 at the end of the installation the new system should already have
473 the correct timezone and, if you installed the Desktop environment,
474 will at once start the graphical user interface.</p></item>
475
476 <tag>UTF-8 encoding default for new systems</tag>
477 <item><p>The installer will set up systems to use UTF-8 encoding
478 rather than the old language-specific encodings (like ISO-8859-1,
479 EUC-JP or KOI-8).</p></item>
480
481 <tag>More flexible partitioning</tag>
482 <item><p>It is now possible to set up filesystems on an LVM volume
483 using guided partitioning.</p>
484 <p>The installer is also able to set up encrypted filesystems.
485 Using manual partitioning you have the choice between <tt/dm-crypt/
486 and <tt/loop-aes/, using a passphrase or a random key, and you can
487 tune various other options. Using guided partitioning, the installer
488 will create an encrypted LVM partition that contains any other
489 filesystems (except <file>/boot</file>) as logical volumes.</p></item>
490
491 <![ %g-i [
492 <tag>Graphical user interface</tag>
493 <item>
494 <![ %i386-amd64 [
495 <p>If you prefer a graphical user interface, try booting
496 the installer with <tt/installgui/.</p>
497 ]]>
498
499 <![ %powerpc [
500 <p>For &arch-title; a separate installation image using a
501 graphical user interface is available on an experimental basis.
502 It is known to work on most CHRP systems that have an ATI graphics
503 card, but has been insufficiently tested on &arch-title; to include
504 it on the normal installation CDs.</p>
505 <p>If you'd like to try the graphical installer, look for the
506 "gtk-miniiso" image.</p>
507 ]]>
508
509 <p>The functionality of the graphical installer is almost identical
510 to the regular installer, only the presentation differs. There is one
511 exception: the graphical frontend does not support setting up
512 encrypted partitions using random keys.</p>
513 <p>The major advantage of the graphical user interface is that it
514 supports more languages than the regular user interface (newt).
515 Information about the graphical installer and the most important
516 differences between the graphical and regular installer are documented
517 in an appendix in the installation guide.</p>
518 <p>Note: the graphical user interface is not available for all
519 architectures.</p>
520 </item>
521 ]]>
522
523 <tag>Rescue mode</tag>
524 <item><p>You can use the installer to solve problems with your
525 system, for example when it refuses to boot. The first steps will
526 be just like a regular installation, but the installer will not
527 start the partitioner. Instead it will offer you a menu of rescue
528 options.</p>
529 <p>Activate the rescue mode by booting the installer with
530 <tt/rescue/, or by adding a boot parameter
531 <tt>rescue/enable=true</tt>.</p></item>
532
533 <tag>Using sudo instead of root account</tag>
534 <item><p>During expert installations you can choose to not
535 set up the root account (it will be locked), but instead set
536 up <prgn/sudo/ so that the first user can use that for
537 system administration.</p></item>
538
539 <tag>Cryptographic verification of downloaded packages</tag>
540 <item><p>Packages downloaded with the installer are
541 now cryptographically checked using <prgn/secure apt/
542 making it more difficult to compromise a system being
543 installed over the network.</p></item>
544
545 <tag>Simplified mail configuration</tag>
546 <item><p>The installation system sets up a basic configuration for
547 the system's mail server which will only provide for local e-mail
548 delivery, if the "standard system" is installed. The mail
549 server will be unavailable to other systems connected to the same
550 network. If you want to configure your system to handle e-mail not
551 local to the system (either to send e-mail or to receive it) you
552 will have to reconfigure the mail system after
553 installation.</p></item>
554
555 <tag>Desktop selection</tag>
556 <item><p>The installation system will install
557 a GNOME desktop as the default desktop if the user asks for one.</p>
558 <p>However, users wishing to install alternate desktop environments
559 can easily do so by adding boot parameters:
560 <tt>tasks="standard, kde-desktop"</tt> for KDE and
561 <tt>tasks="standard, xfce-desktop"</tt> for Xfce. Note that this
562 will not work when installing from a full CD image without using
563 a network mirror as an additional package source; it will work
564 when using a DVD image or any other installation method.</p>
565 <p>There are also separate CD images available that install the
566 KDE or Xfce desktop environment by default.</p></item>
567
568 <![ %not-s390 [
569 <tag>New languages</tag>
570 <item><p>Thanks to the huge efforts of translators, Debian can
571 now be installed in 47 languages using the text-based
572 installation user interface. This is six languages more
573 than in &oldreleasename;. Languages added in this release include
574 Belarusian, Esperanto, Estonian, Kurdish, Macedonian,
575 Tagalog, Vietnamese and Wolof.
576 Languages dropped in this release due to lack of translation
577 updates include Persian and Welsh.</p>
578 <![ %g-i [
579 <p>If the graphical user interface is used, an additional eleven
580 languages are supported. These languages can only be selected
581 using this installer as their character sets cannot be presented
582 in a non-graphical environment. The new languages are:
583 Bengali, Dzongkha, Gujarati, Hindi, Georgian, Khmer, Malayalam,
584 Nepali, Punjabi, Tamil and Thai.</p>
585 ]]>
586 <p>Users that do not wish to use any locale can now select
587 <em/C/ as their preferred locale in the installer's language
588 selection.
589 More information on language coverage is available at the
590 <url id="&url-d-i-i18n;" name="d-i languages list">.
591 </p></item>
592
593 <tag>Simplified localization and timezone selection</tag>
594 <item><p>Configuration of language, countries and timezones
595 have been simplified to reduce the amount of information
596 needed from the user. The installer will now guess
597 what the system's country and timezone is based on the
598 language selected, or will provide a limited selection
599 if it cannot. Users can still introduce obscure
600 combinations if need be.</p></item>
601
602 <tag>Improved system-wide localization</tag>
603 <item><p>Most of the internationalization and localization tasks that
604 were previously handled by the <package>localization-config</package> tool are now
605 included in the stock &debian; installer or in packages themselves. This
606 means that selection of a language will automatically install packages
607 necessary for that language (dictionaries, documentation, fonts...) both
608 in standard and desktop environments. Configuration that is no longer
609 handled automatically include the papersize configuration and some
610 advanced X Windows keyboard settings for some languages.</p>
611 <p>Note that language specific packages will only be installed
612 automatically if they are available during the installation.</p></item>
613
614 ]]> <!-- not-s390 -->
615
616 </taglist></p>
617 </sect1>
618
619 <sect1 id="inst-auto"><heading>Automated installation</heading>
620
621 <p>A lot of the changes mentioned in the previous section also
622 imply changes in the support in the installer for automated
623 installation using preconfiguration files. This means that if
624 you have existing preconfiguration files that worked with the
625 &oldreleasename; installer, you cannot expect these to work
626 with the new installer without modification.</p>
627
628 <p>The good news is that the <url id="&url-install-manual;"
629 name="Installation Guide"> now has a separate appendix with
630 extensive documentation on using preconfiguration.</p>
631
632 <p>The &releasename; installer introduces some exciting new
633 features that allow further and easier automation of installs.
634 It also adds support for advanced partitioning using RAID, LVM
635 and encrypted LVM. See the documentation for details.</p>
636
637 </sect1>
638 </sect>
639
640 <sect id="popcon"><heading>Popularity contest</heading>
641
642 <p>The installation system will again offer
643 to install the <package/popularity-contest/ package. This package was not
644 installed by default in &oldreleasename; but it was installed in older releases.</p>
645
646 <p><package/popularity-contest/ provides the Debian project with valuable information
647 on which packages in the distribution are actually used. This information
648 is used mainly to decide the order in which packages are included on
649 installation CD-ROMs, but is also often consulted by Debian developers
650 in deciding whether or not to adopt a package that no longer has a
651 maintainer.</p>
652
653 <p>Information from <package/popularity-contest/ is processed anonymously.
654 We would appreciate it if you would participate in this official survey;
655 you will thereby help improve Debian.</p>
656
657 </sect>
658
659 </chapt>
660
661
662 <chapt id="upgrading"><heading>Upgrades from previous releases</heading>
663
664 <!-- For doc-writers' convenience:
665 Debian Supported
666 release: architectures:
667
668 1.3.1 or less i386
669 2.0 i386,m68k
670 2.1 i386,m68k,alpha,sparc
671 2.2 i386,m68k,alpha,sparc,powerpc,arm
672 3.0 + hppa,s390,mips,mipsel,ia64
673 3.1 i386,m68k,alpha,sparc,powerpc,arm,hppa,s390,mips,mipsel,ia64 (no changes)
674 4.0 i386,alpha,sparc,powerpc,arm,hppa,s390,mips,mipsel,ia64,amd64
675 (+ amd64; - m68k)
676 -->
677
678 <sect id="backup"><heading>Preparing for the upgrade</heading>
679
680 <p>We suggest that before upgrading you also read the information in
681 <ref id="information">. That chapter covers potential issues not
682 directly related to the upgrade process but which could still be
683 relevant.</p>
684
685 <sect1><heading>Backup any data or configuration information</heading>
686
687 <p>Before upgrading your system, it is strongly recommended that
688 you make a full backup, or at least backup any data or
689 configuration information you can't afford to lose. The upgrade
690 tools and process are quite reliable, but a hardware failure in
691 the middle of an upgrade could result in a severely damaged
692 system.</p>
693
694 <p>The main things you'll want to back up are the contents of
695 <file>/etc</file>, <file>/var/lib/dpkg</file> and the output of
696 <tt>dpkg --get-selections "*"</tt> (the quotes are important).</p>
697
698 <p>The upgrade process in itself does not modify anything in the
699 <file>/home</file> directory. However, some applications (e.g.
700 parts of the Mozilla suite, and the GNOME and KDE desktop
701 environments) are known to overwrite existing user settings with new
702 defaults when a new version of the application is first started by a
703 user. As a precaution, you may want to make a backup of the hidden
704 files and directories ("dotfiles") in users' home directories. This
705 backup may help to restore or recreate the old settings. You may
706 also want to inform users about this.</p>
707
708 <p>Any package installation operation must be run with superuser
709 privileges, so either login as root or use <prgn/su/ or
710 <prgn/sudo/ to gain the necessary access rights.</p>
711
712 <p>The upgrade has a few preconditions; you should check them
713 before actually executing the upgrade.</p>
714
715 </sect1>
716
717 <sect1><heading>Inform users in advance</heading>
718
719 <p>It's wise to inform all users in advance of any upgrades you're
720 planning, although users accessing your system via an <prgn/ssh/
721 connection should notice little during the upgrade, and should be
722 able to continue working. </p>
723
724 <p>If you wish to take extra precautions, back up or
725 unmount users' partitions (<file>/home</file>) before upgrading.</p>
726
727 <!-- JFS: Not true in etch, maybe for lenny?
728 <p>A reboot will not normally be necessary, unless you also plan to
729 upgrade your kernel.</p>
730 -->
731 <p>You will probably have to do a kernel upgrade when upgrading to
732 &releasename;, so a reboot will normally be necessary. Typically,
733 this will be done after the upgrade is finished.</p>
734
735 </sect1>
736
737 <sect1><heading>Prepair a safe environment for the upgrade</heading>
738
739 <p>The distribution upgrade should be done either locally from a
740 textmode virtual console (or a directly connected serial
741 terminal), or remotely via an <prgn/ssh/ link.</p>
742
743 <p>In order to gain extra safety margin, we suggest you to run
744 upgrade processes in the virtual console provided by the
745 <prgn/screen/ program which enables the safe reconnection and ensures
746 the uninterrupted upgrade processes even if the remote connection
747 process fails by chance.</p>
748
749 <!-- JFS: probably can be removed for lenny -->
750 <p>If you are upgrading remotely via an <prgn/ssh/ link it is highly
751 recommended that you take the necessary precautions to be able to
752 access the server through a remote serial terminal. There are chances
753 that, after upgrading the kernel and rebooting, some devices will
754 be renamed (as described in <ref id="device-reorder">) and you will
755 have to fix the system configuration through a local console. Also,
756 if the system is rebooted accidentally in the middle of an upgrade
757 there are chances you will need to recover using a local console.</p>
758 <!-- END - remove for lenny -->
759
760 <p><strong/Important!/ You should <em/not/ upgrade using <prgn/telnet/,
761 <prgn/rlogin/, <prgn/rsh/, or from an X session managed by <prgn/xdm/,
762 <prgn/gdm/ or <prgn/kdm/ etc on the machine you are upgrading. That is
763 because each of those services may well be terminated during the
764 upgrade, which can result in an <em/inaccessible/ system that is only
765 half-upgraded.</p>
766
767 <!-- TODO: surely gdm/kdm are sane? -->
768 </sect1>
769
770 <sect1 id="glibc-kernel"><heading>Support for 2.2-kernels has been dropped</heading>
771 <p>In case you run a kernel prior to 2.4.1,
772 you need to upgrade to (at least) the
773 2.4-series before upgrading <package/glibc/.
774 This should preferably be done before starting the upgrade.
775 It is recommended you directly upgrade to the 2.6-kernel (available
776 in &oldreleasename;, instead of upgrading to a 2.4-kernel series.
777 </p>
778 </sect1>
779
780 </sect>
781
782 <sect id="system-status">
783 <heading>Checking system status</heading>
784
785 <p>The upgrade process described in this chapter has been designed for
786 upgrades from "pure" &oldreleasename; systems without 3rd party
787 packages. It may be wise to remove these packages first.</p>
788
789 <p>This procedure also assumes your system has been updated to the
790 latest point release of &oldreleasename;. If you have not done this
791 or are unsure, follow the instructions in <ref id="old-upgrade">.</p>
792
793 <sect1><heading>Review actions pending in package manager</heading>
794
795 <p>In some cases, the use of <prgn/apt-get/ for installing packages instead
796 of <prgn/aptitude/ might make <prgn/aptitude/ consider a package as
797 "unused" and schedule it for removal. In general, the system should be
798 fully up-to-date and "clean".</p>
799
800 <p>Because of this you should review if there are any pending actions
801 in the package manager <prgn/aptitude/. If a package is scheduled
802 for removal or update in the package manager, it might impact negatively
803 on the upgrade procedure. Note that this is only possible if your
804 <file/sources.list/ still points to <em/&oldreleasename/; and not to
805 <em/stable/ or <em/&releasename;/; see <ref id="old-sources">.</p>
806
807 <p>To do this, you have to run <prgn/aptitude/'s user interface and
808 press 'g' ("Go"). If it shows any actions, you should review them and
809 either fix them or implement the suggested actions. If no actions are
810 suggested you will be presented with a message saying "No packages are
811 scheduled to be installed, removed, or upgraded".</p>
812
813 </sect1>
814
815 <sect1><heading>Disabling APT pinning</heading>
816
817 <p>If you have configured APT to install certain packages from a
818 distribution other than stable (e.g. from testing), you may have to
819 change your APT pinning configuration (stored in
820 <file>/etc/apt/preferences</file>) to allow the upgrade of packages to
821 the versions in the new stable release. Further information on APT
822 pinning can be found in <manref name="apt_preferences" section="5">.</p>
823
824 </sect1>
825
826 <sect1><heading>Checking packages status</heading>
827
828 <p>Regardless of the method used for upgrading, it is recommended
829 that you check the status of all packages first, and verify that
830 all packages are in an upgradable state. The following command
831 will show any packages which have a status of Half-Installed or
832 Failed-Config, and those with any error status.
833
834 <example>
835 # dpkg --audit
836 </example></p>
837
838 <p>You could also inspect the state of all packages on your system
839 using <prgn/dselect/, <prgn/aptitude/, or with commands such as
840
841 <example>
842 # dpkg -l | pager
843 </example>
844
845 or
846
847 <example>
848 # dpkg --get-selections "*" &gt; ~/curr-pkgs.txt
849 </example></p>
850
851 <p>It is desirable to remove any holds before upgrading. If any
852 package that is essential for the upgrade is on hold, the upgrade
853 will fail.</p>
854
855 <p>Note that <prgn/aptitude/ uses a different method for registering
856 packages that are on hold than <prgn/apt-get/ and <prgn/dselect/.
857 You can identify packages on hold for <prgn/aptitude/ with
858
859 <example>
860 # aptitude search "~ahold" | grep "^.h"
861 </example></p>
862
863 <p>If you want to check which packages you had on hold for
864 <prgn/apt-get/, you should use
865 <example>
866 # dpkg --get-selections | grep hold
867 </example></p>
868
869 <p>If you changed and recompiled a package locally, and didn't rename
870 it or put an epoch in the version, you must put it on hold to prevent
871 it from being upgraded.</p>
872
873 <p>The "hold" package state for <prgn/aptitude/ can be changed using
874 (replace <tt/hold/ with <tt/unhold/ to unset the "hold" state):
875 <example>
876 # aptitude hold <var>package_name</var>
877 </example>
878 </p>
879
880 <p>If there is anything you need to fix, it is best to make sure your
881 <file/sources.list/ still refers to &oldreleasename; as explained in
882 <ref id="old-sources">.</p>
883 </sect1>
884
885 <sect1 id="backports"><heading>Unofficial sources and backports</heading>
886
887 <p>If you have any non-Debian packages on your system, you should be
888 aware that these may be removed during the upgrade because of
889 conflicting dependencies. If these packages were installed by adding
890 an extra package archive in your <file>/etc/apt/sources.list</file>,
891 you should check if that archive also offers packages compiled for
892 &releasename; and change the source line accordingly at the same time
893 as your source lines for Debian packages.</p>
894
895 <p>Some users may have unofficial backported "newer" versions of
896 packages that <em/are/ in Debian installed on their &oldreleasename;
897 system. Such packages are most likely to cause problems during an
898 upgrade as they may result in file conflicts<footnote>Debian's
899 package management system normally does not allow a package to remove
900 or replace a file owned by another package; not unless it has been
901 defined to replace that package.</footnote>. Section <ref id="trouble">
902 has some information on how to deal with file conflicts if they should
903 occur.</p>
904
905 </sect1>
906 </sect>
907
908 <!-- JFS: This section should be probably removed for lenny -->
909 <sect id="handle-conflict"><heading>Manually unmarking packages</heading>
910
911 <p>To prevent <prgn/aptitude/ from removing some packages that were pulled
912 in through dependencies, you need to manually unmark them as <em/auto/
913 packages. This includes OpenOffice and Vim for desktop installs:
914 <!-- This is a no-op if none of them are installed -->
915 <example>
916 # aptitude unmarkauto openoffice.org vim
917 </example></p>
918
919 <!-- JFS: This cannot be in the same line as above since it produces an ugly output if
920 you just have 2.4 kernels installed -->
921 <p>And 2.6 kernel images if you have installed them using a kernel metapackage:
922
923 <example>
924 # aptitude unmarkauto $(dpkg-query -W 'kernel-image-2.6*' | cut -f1)
925 </example></p>
926
927 <p>Note: You can review which packages are marked as <em/auto/ in aptitude running:
928
929 <example>
930 # aptitude search 'i~M &lt;package name&gt;'
931 </example></p>
932 </sect>
933
934 <sect id="upgrade-process"><heading>Preparing sources for APT</heading>
935
936 <p>Before starting the upgrade you must set up <package/apt/'s
937 configuration file for package lists,
938 <file>/etc/apt/sources.list</file>.</p>
939
940 <p><package/apt/ will consider all packages that can be found via
941 any "<tt>deb</tt>" line, and install the package with the highest
942 version number, giving priority to the first mentioned lines (that
943 way, in case of multiple mirror locations, you'd typically first
944 name a local harddisk, then CD-ROMs, and then HTTP/FTP
945 mirrors).</p>
946
947 <p>A release can often be referred to by both its codename (e.g.
948 &oldreleasename;, &releasename;) and by its status name (i.e.
949 oldstable, stable, testing, unstable). Referring to a release by its
950 codename has the advantage that you will never be surprised by a
951 new release and for this reason is the approach taken here. It
952 does of course mean that you will have to watch out for release
953 announcements yourself. If you use the status name instead, you
954 will just see loads of updates for packages available as soon as a
955 release has happened.</p>
956
957 <sect1 id="network"><heading>Adding APT Internet sources</heading>
958
959 <p>The default configuration is set up for installation from main
960 Debian Internet servers, but you may wish to modify
961 <file>/etc/apt/sources.list</file> to use other mirrors,
962 preferably a mirror that is network-wise closest to you.</p>
963
964 <!-- FJP: Why is 'default configuration' relevant here? We are talking about
965 upgrading existing installations; we really have no idea what
966 apt-sources users will have set up here (maybe just a Woody CD-set).
967 Note: D-I sets the default configuration to a mirror based on
968 the selected country and not the 'main' servers. -->
969
970 <p>Debian HTTP or FTP mirror addresses can be found at
971 <url id="&url-debian-mirrors;"> (look at the "Full list of
972 mirrors" section). HTTP mirrors are generally speedier than FTP
973 mirrors.</p>
974
975 <p>For example, suppose your closest Debian mirror is
976 <tt>&url-debian-mirror-eg;/</tt>. When inspecting that mirror
977 with a web browser or FTP program, you will notice that the main
978 directories are organized like this:
979
980 <example>
981 &url-debian-mirror-eg;/dists/&releasename;/main/binary-&architecture;/...
982 &url-debian-mirror-eg;/dists/&releasename;/contrib/binary-&architecture;/...
983 </example></p>
984
985 <p>To use this mirror with <prgn/apt/, you add this line to your
986 <file/sources.list/ file:
987
988 <example>
989 deb &url-debian-mirror-eg; &releasename; main contrib
990 </example></p>
991
992 <p>Note that the `<tt>dists</tt>' is added implicitly, and the
993 arguments after the release name are used to expand the path into
994 multiple directories.</p>
995
996 <p>After adding your new sources, disable the previously existing
997 "<tt/deb/" lines in <file/sources.list/, by placing a hash sign
998 (<tt/#/) in front of them.</p>
999
1000 <p>Any package needed for installation that is fetched from the
1001 network is stored in <file>/var/cache/apt/archives</file>
1002 (and the <file>partial/</file> subdirectory, during download), so
1003 you must make sure you have enough space before attempting to
1004 start the installation. With a reasonably extended Debian
1005 installation, you can expect at least 300 MB of downloaded
1006 data.</p>
1007
1008 </sect1>
1009
1010 <sect1 id="localmirror"><heading>Adding APT sources for a local mirror</heading>
1011
1012 <p>Instead of using HTTP or FTP packages mirrors, you may wish to
1013 modify <file>/etc/apt/sources.list</file> to use a mirror on a
1014 local disk (possibly mounted over NFS).</p>
1015
1016 <p>For example, your packages mirror may be under
1017 <file>/var/ftp/debian/</file>, and have main directories like
1018 this:
1019
1020 <example>
1021 /var/ftp/debian/dists/&releasename;/main/binary-&architecture;/...
1022 /var/ftp/debian/dists/&releasename;/contrib/binary-&architecture;/...
1023 </example></p>
1024
1025 <p>To use this with <prgn/apt/, add this line to your
1026 <file/sources.list/ file:
1027
1028 <example>
1029 deb file:/var/ftp/debian &releasename; main contrib
1030 </example></p>
1031
1032 <p>Note that the `<tt>dists</tt>' is added implicitly, and the
1033 arguments after the release name are used to expand the path into
1034 multiple directories.</p>
1035
1036 <p>After adding your new sources, disable the previously
1037 existing "<tt/deb/" lines in <file/sources.list/, by placing a
1038 hash sign (<tt/#/) in front of them.</p></sect1>
1039
1040 <sect1 id="cdroms"><heading>Adding APT source from CD-ROM or DVD</heading>
1041
1042 <p>If you want to use CDs <em/only/, comment out the existing
1043 "<tt/deb/" lines in <file>/etc/apt/sources.list</file> by placing
1044 a hash sign (<tt/#/) in front of them.</p>
1045
1046 <!-- Default cdrom mount point is /cdrom, not /media/cdrom and fixed!, see #282344
1047 (but the -d option of apt-cdrom allows scanning from somewhere else) -->
1048 <p>Make sure there is a line in <file>/etc/fstab</file> that
1049 enables mounting your CD-ROM drive at the <file>/cdrom</file>
1050 mount point (the exact <file>/cdrom</file> mount point is required
1051 for <prgn/apt-cdrom/). For example, if <file>/dev/hdc</file> is
1052 your CD-ROM drive, <file>/etc/fstab</file> should contain a line
1053 like:
1054
1055 <example>
1056 /dev/hdc /cdrom auto defaults,noauto,ro 0 0
1057 </example></p>
1058
1059 <p>Note that there must be <em/no spaces/ between the words
1060 <tt>defaults,noauto,ro</tt> in the fourth field.</p>
1061
1062 <p>To verify it works, insert a CD and try running
1063
1064 <example>
1065 # mount /cdrom # this will mount the CD to the mount point
1066 # ls -alF /cdrom # this should show the CD's root directory
1067 # umount /cdrom # this will unmount the CD
1068 </example></p>
1069
1070 <p>Next, run:
1071
1072 <example>
1073 # apt-cdrom add
1074 </example>
1075
1076 for each Debian Binary CD-ROM you have, to add the data about
1077 each CD to APT's database.</p>
1078 </sect1>
1079 </sect>
1080
1081 <sect id="upgradingpackages"><heading>Upgrading packages</heading>
1082
1083 <p>The recommended way to upgrade from previous &debian; releases is
1084 to use the package management tool <prgn>aptitude</prgn>. This program
1085 makes safer decisions about package installations than running
1086 <prgn>apt-get</prgn> directly.</p>
1087
1088 <p>Don't forget to mount all needed partitions (notably the root
1089 and <file>/usr</file> partitions) read-write, with a command
1090 like:
1091
1092 <example>
1093 # mount -o remount,rw /<var>mountpoint</var>
1094 </example></p>
1095
1096 <p>Next you should double check that the APT source entries (in
1097 <file>/etc/apt/sources.list</file>) refer either to
1098 "<tt/&releasename;/" or to "<tt>stable</tt>". There should not be
1099 any sources entries pointing to &oldreleasename;.
1100 Note: source lines for a CD-ROM will often refer to "<tt/unstable/";
1101 although this may be confusing, you should <em/not/ change it.</p>
1102
1103 <sect1 id="record_session"><heading>Recording the session</heading>
1104
1105 <p>It is strongly recommended that you use the
1106 <prgn>/usr/bin/script</prgn> program to record a transcript of the
1107 upgrade session. Then if a problem occurs, you will have a log of
1108 what happened, and if needed, can provide exact information in a bug
1109 report. To start the recording, type:
1110
1111 <example>
1112 # script -t -a ~/upgrade-&releasename;.script 2>~/upgrade-&releasename;.time
1113 </example>
1114
1115 or similar. Do not put the typescript file in a temporary
1116 directory such as <file>/tmp</file> or <file>/var/tmp</file> (files
1117 in those directories may be deleted during the upgrade or during any
1118 restart).</p>
1119
1120 <p>The typescript will also allow you to review information that has
1121 scrolled off-screen. Just switch to VT2 (using <tt/Alt-F2/) and, after
1122 logging in, use <tt>less -R ~root/upgrade-&releasename;.script</tt>
1123 to view the file.</p>
1124
1125
1126 <p>After you have completed the upgrade, you can stop <prgn/script/
1127 by typing <tt/exit/ at the prompt.</p>
1128
1129 <!-- TODO: Could mention the script I provided in 400725 which is useful if you
1130 have not dumped the timing file -->
1131 <p>If you have used the <em>-t</em> switch for <prgn/script/
1132 you can use the <prgn/scriptreplay/ program to replay the whole session:
1133
1134 <example>
1135 # scriptreplay ~/upgrade-&releasename;.time ~/upgrade-&releasename;.script
1136 </example>
1137
1138 </p>
1139 </sect1>
1140
1141 <sect1 id="updating_lists"><heading>Updating the package list</heading>
1142
1143 <p>First the list of available packages for the new release needs to
1144 be fetched. This is done by executing:</p>
1145
1146 <p><example>
1147 # aptitude update
1148 </example></p>
1149
1150 <!-- JFS: Hopefully this will be fixed in lenny -->
1151 <p>Running this the first time new sources are updated will print out
1152 some warnings related to the availability of the sources. These
1153 warnings are harmless and will not appear if you rerun the command again.
1154 </p>
1155
1156 </sect1>
1157
1158 <sect1><heading>Make sure you have sufficient space for the upgrade</heading>
1159
1160 <p>You have to make sure before upgrading your system that you have
1161 sufficient hard disk space when you start the full system upgrade
1162 described in <ref id="upgrading_other">. You will first need
1163 enough hard disk on the filesystem partition that holds <file>/var/</file>
1164 to temporarily download the packages that will be installed in your system.
1165 After the download, you will probably need more space in other
1166 filesystem partitions in order to both install upgraded packages (which
1167 might contain bigger binaries or more data) and new packages that will be pulled
1168 in for the upgrade. If your system does not have sufficient space you
1169 might end up with an incomplete upgrade that might be difficult to
1170 recover from.</p>
1171
1172 <!-- JFS: Apt will not always abort if you do not have enough disk space.
1173 For reference see: #247331, #214119, #192146, #185201, #40438 and #32919 -->
1174
1175 <p>Both <prgn/aptitude/ and <prgn/apt/ will show you detailed information
1176 of the disk space needed for the installation. Before executing the
1177 upgrade, you can see this estimate by running:
1178 </p>
1179
1180 <p><example>
1181 # aptitude -y -s -f --with-recommends dist-upgrade
1182 [ ... ]
1183 XXX upgraded, XXX newly installed, XXX to remove and XXX not upgraded.
1184 Need to get xx.xMB/yyyMB of archives. After unpacking AAAMB will be used.
1185 Would download/install/remove packages.
1186 </example></p>
1187
1188
1189 <p>If you do not have enough space for the upgrade, make sure you free up
1190 space beforehand. You can:
1191 </p>
1192
1193 <!-- JFS There are more tips at
1194 http://lists.debian.org/debian-user/2005/11/msg02078.html or
1195 http://www.debian-administration.org/articles/143
1196 but maybe that should be in the Debian Reference best and pointed from here -->
1197 <p>
1198 <list>
1199 <!-- JFS: Does aptitude to 'apt-get autoclean' by itself? -->
1200 <item>Remove packages that have been previously downloaded for
1201 installation (at <file>/var/cache/apt/archive</file>), cleaning up the
1202 package cache by running <prgn>apt-get autoclean</prgn> or
1203 <prgn>aptitude autoclean</prgn> will remove unused package files. If
1204 that does not give you enough space, you can clean up the package cache
1205 further by running <prgn>apt-get clean</prgn> or <prgn>aptitude
1206 clean</prgn>.
1207
1208 <!-- JFS Point to http://www.enricozini.org/blog/eng/pkgsizestat.html ?
1209 Enrico's script shows files that occupy space in a given partition
1210 which might be good for systems that are heavily partitioned -->
1211
1212 <item>Remove old packages you no longer use. If you have
1213 <prgn/popularity-contest/ installed, you can use
1214 <prgn/popcon-largest-unused/ to list the packages you do not use in the
1215 system that occupy the most space. You can also use <prgn/deborphan/
1216 or <prgn/debfoster/ to find obsolete packages (see
1217 <ref id="obsolete">).
1218 Alternatively you can start <prgn/aptitude/ into "visual mode" and find
1219 obsolete packages under "Obsolete and Locally Created Packages".
1220
1221 <item>Remove packages taking up too much space, which are not currently
1222 needed (you can always reinstall them after the
1223 upgrade). You can list the packages that take up most of the disk space
1224 with <prgn/dpigs/ (available in the <package/debian-goodies/ package)
1225 or with <prgn/wajig/ (running <tt>wajig size</tt>).
1226
1227 <!-- TODO: consider this for lenny
1228 You can list packages that take up most of the disk space with
1229 <prgn/aptitude/ . Start <prgn/aptitude/ into "visual mode", select
1230 "Views" and "New Flat Package List" (this menu entry is available only
1231 after etch version), press "l" and enter "~i", press "S" and enter
1232 "~installsize", then it will give you nice list to work with. Doing
1233 this after partial upgrade described in <ref id="upgrading_aptitude">
1234 should give you access to this new feature.
1235 -->
1236
1237 <item>Temporarily move to another system, or permanently remove, system
1238 logs residing under <file>/var/log/</file>.
1239
1240 </list></p>
1241
1242 <p>Note that in order to safely remove packages, it is advisable to
1243 switch your <file>sources.list</file> back to &oldreleasename; as
1244 described in <ref id="old-sources">.</p>
1245
1246 </sect1>
1247
1248 <sect1 id="minimal_upgrade"><heading>Minimal system upgrade</heading>
1249
1250 <p>Before you start the full upgrade you have to make a minimal system upgrade
1251 to ensure you have the basic system libraries upgraded.</p>
1252
1253 <p>First run:
1254 <example>
1255 # aptitude upgrade
1256 </example>
1257 </p>
1258
1259 <p>This will upgrade a number of packages, include <package/base-files/,
1260 <package/console-common/, and <package/debconf/. You will be asked information
1261 about your console keymap as well as the default level and frontend for
1262 package configuration questions.</p>
1263
1264 <p>You have to follow the minimal upgrade with:
1265
1266 <example>
1267 # aptitude install initrd-tools
1268 </example></p>
1269
1270 <p>This step will automatically upgrade <package/libc6/ and
1271 <package/locales/ and will pull in SE linux support libraries
1272 (<package/libselinux1/). At this point, some running services will be
1273 restarted, including <prgn/xdm/, <prgn/gdm/ and <prgn/kdm/, as a
1274 consequence local X11 sessions will be disconnected.</p>
1275
1276 <p>The following step depends on your system configuration:
1277
1278 <p><list>
1279 <item><p>If you are running a system with a Desktop environment, you first
1280 have to verify if you have <package/libfam0c102/ and <package/xlibmesa-glu/
1281 installed. You have them installed if you have selected &oldreleasename;'s
1282 Desktop task but if you have a custom-made environment you have to manually
1283 verify it:
1284 <example>
1285 # dpkg -l "libfam*" | grep ^ii
1286 # dpkg -l "xlibmesa-glu*" | grep ^ii
1287 </example>
1288
1289 if you have them installed then you have to install the latest
1290 versions from &releasename;. The following command will install both,
1291 if you have only one of them you should remove the other:
1292
1293 <example>
1294 # aptitude install libfam0 xlibmesa-glu
1295 </example></p>
1296
1297 <p>Note that doing this will also install the File Alteration Monitor
1298 (<package/fam/) as well as the RPC portmapper (<package/portmap/) if
1299 not already available in your system. Both packages will enable a new
1300 network service in the system although they can both be configured to
1301 be bound to the (internal) loopback network device.</p>
1302
1303 <item><p>For all other systems, verify if you have any
1304 X Window System packages installed by running the following command:
1305 <example>
1306 # dpkg -l "xfree86-common*" | grep ^ii
1307 </example>
1308
1309 Notice that if you selected some server tasks in &oldreleasename; you
1310 might have parts of it installed. If you have the X Window System
1311 installed you will need to upgrade to the latest version in
1312 &releasename;:
1313
1314 <example>
1315 # aptitude install x11-common
1316 </example>
1317
1318 <p>If you are running a server system, with no X packages
1319 installed, you do not need to do any additional installation steps.
1320 </p>
1321
1322 </list></p>
1323
1324 <p>Note: After this minimal upgrade has finished you might want to
1325 consider upgrading the kernel before upgrading the full system,
1326 as described in <ref id="newkernel">.
1327 Doing so reduces the timeframe in which the system will not
1328 properly boot if rebooted accidentally.
1329 This is because the full upgrade described in the next section will
1330 install a new version of <prgn/udev/ and will remove <prgn/hotplug/.
1331 This might not be an option for systems with a Desktop environment,
1332 as large parts of the system will be removed if you do the kernel
1333 upgrade here.</p>
1334
1335 </sect1>
1336
1337 <!-- TODO: For lenny, consider restoring the section 'Upgrade aptitude' -->
1338
1339 <sect1 id="upgrading_other"><heading>Upgrading the rest of the system</heading>
1340
1341 <p>You are now ready to continue with the main part of the
1342 upgrade. Execute:</p>
1343 <!-- NOTE (jfs): we have not tested with the -f and with-recommends option -->
1344 <p><example>
1345 # aptitude dist-upgrade
1346 </example></p>
1347
1348 <p>This will perform a complete upgrade of the system, i.e. install
1349 the newest available versions of all packages, and resolve all
1350 possible dependency changes between packages in different releases.
1351 If necessary, it will install some new packages (usually new library
1352 versions, or renamed packages), and remove any conflicting obsoleted
1353 packages.</p>
1354
1355 <p>When upgrading from a set of CD-ROMs, you will be asked to
1356 insert specific CDs at several points during the upgrade. You
1357 might have to insert the same CD multiple times; this is due to
1358 inter-related packages that have been spread out over the CDs.</p>
1359
1360 <p>New versions of currently installed packages that cannot be
1361 upgraded without changing the install status of another package will
1362 be left at their current version (displayed as "held back"). This can
1363 be resolved by either using <prgn>aptitude</prgn> to choose these
1364 packages for installation or by trying <tt>aptitude -f install
1365 <var>package</var></tt>.</p>
1366
1367 </sect1>
1368
1369 <sect1 id="trouble"><heading>Possible issues during upgrade</heading>
1370
1371 <p>If an operation using <prgn/aptitude/, <prgn/apt-get/ or
1372 <prgn/dpkg/ fails with the error
1373 <example>
1374 E: Dynamic MMap ran out of room
1375 </example>
1376 the default cache space is insufficient. You can solve this by either
1377 removing or commenting lines you don't need in
1378 <file>/etc/apt/sources.list</file> or by increasing the cache size.
1379 The cache size can be increased by setting <tt/APT::Cache-Limit/ in
1380 <file>/etc/apt/apt.conf</file>. The following command will set it
1381 to a value that should be sufficient for the upgrade:
1382 <example>
1383 # echo 'APT::Cache-Limit "12500000";' >> /etc/apt/apt.conf
1384 </example>
1385 This assumes that you do not yet have this variable set in that file.</p>
1386
1387 <p>Sometimes it's necessary to enable APT::Force-LoopBreak option
1388 in APT to be able to temporarily remove an essential package due
1389 to a Conflicts/Pre-Depends loop. <prgn/aptitude/ will alert you of
1390 this and abort the upgrade. You can work around that by specifying
1391 <tt>-o APT::Force-LoopBreak=1</tt> option on <prgn/aptitude/
1392 command line.</p>
1393 <!-- JFS: Shouldn't this mention also Apt's configuration file? -->
1394
1395 <p>It is possible that a system's dependency structure can be so
1396 corrupt as to require manual intervention. Usually this means
1397 using <prgn/aptitude/ or
1398
1399 <example>
1400 # dpkg --remove <var>package_name</var>
1401 </example>
1402
1403 to eliminate some of the offending packages, or
1404
1405 <example>
1406 # aptitude --fix-broken install
1407 # dpkg --configure --pending
1408 </example></p>
1409
1410 <p>In extreme cases you might have to force re-installation with a
1411 command like
1412
1413 <example>
1414 # dpkg --install <var>/path/to/package_name.deb</var>
1415 </example></p>
1416
1417 <p>File conflicts should not occur if you upgrade from a "pure"
1418 &oldreleasename; system, but can occur if you have unofficial
1419 backports installed. A file conflict will result in an error like:
1420
1421 <example>
1422 Unpacking <var>&lt;package-name&gt;</var> (from <var>&lt;package-foo&gt;</var>) ...
1423 dpkg: error processing <var>&lt;package-name-for-foo&gt;</var> (--install):
1424 trying to overwrite `<var>&lt;some-file-name&gt;</var>',
1425 which is also in package <var>&lt;package-bar&gt;</var>
1426 dpkg-deb: subprocess paste killed by signal (Broken pipe)
1427 Errors were encountered while processing:
1428 <var>&lt;package-foo&gt;</var>
1429 </example></p>
1430
1431 <p>You can try to solve a file conflict by forcibly removing the
1432 package mentioned on the <em/last/ line of the error message:
1433
1434 <example>
1435 # dpkg -r --force-depends <var>package_name</var>
1436 </example></p>
1437
1438 <p>After fixing things up, you should be able to resume the
1439 upgrade by repeating the previously described <tt/aptitude/
1440 commands.</p>
1441
1442 <p>During the upgrade, you will be asked questions regarding the
1443 configuration or re-configuration of several packages. When you are
1444 asked if any file in the <file>/etc/init.d</file> or
1445 <file>/etc/terminfo</file> directories, or the
1446 <file>/etc/manpath.config</file> file should be replaced by the
1447 package maintainer's version, it's usually necessary to answer `yes'
1448 to ensure system consistency. You can always revert to the old
1449 versions, since they will be saved with a <tt/.dpkg-old/
1450 extension.</p>
1451
1452 <p>If you're not sure what to do, write down the name of the
1453 package or file, and sort things out at a later time. You can
1454 search in the typescript file to review the information that
1455 was on the screen during the upgrade.</p>
1456
1457 </sect1>
1458 </sect>
1459
1460 <sect id="newkernel"><heading>Upgrading your kernel and related
1461 packages</heading>
1462
1463 <p>You should upgrade the Linux kernel separately from the rest of
1464 your packages.
1465 <!-- TODO: add something in "before you upgrade", and get the order right -->
1466 You may wish to do so yourself, either by installing one
1467 of the <package/linux-image-*/ packages or by compiling a customized
1468 kernel from sources.
1469 Please read the information in this section about potential issues
1470 with kernel upgrades.</p>
1471
1472 <p>All Linux kernel packages have been renamed from <package/kernel-*/ to
1473 <package/linux-*/ to clean up the namespace.</p>
1474
1475 <![ %defaulted-2.4 [
1476 <p>If you are currently using a kernel from the 2.4 series,
1477 the older stable Linux kernel series, you should upgrade to a 2.6
1478 series kernel, as 2.4 is no longer supported in &releasename;.
1479 If you are currently using a kernel from the 2.2 series, you
1480 must upgrade to (at least) the 2.4 series, preferably to a 2.6 series
1481 kernel, prior to upgrading your packages.
1482 <!-- TODO: incorporate this part in this section -->
1483 Some general issues associated with an upgrade to 2.6 are documented
1484 in <ref id="upgrade-to-2.6">.</p>
1485 ]]>
1486
1487 <sect1><heading>Installing the kernel metapackage</heading>
1488 <p>When you dist-upgrade from &oldreleasename; to &releasename;,
1489 it is strongly recommended that you install a new
1490 linux-image-2.6-* metapackage.
1491 This package may be installed automatically by the dist-upgrade
1492 process. You can verify this by running:
1493 <!-- NOTE (jfs): Users using apt/aptitude might not have their available file
1494 updated so '^ii' is really unnecessary, maybe dpkg -l 'linux-image*' would be
1495 better here? -->
1496 <example>
1497 # dpkg -l "linux-image*" | grep ^ii
1498 </example></p>
1499
1500 <p>If you do not see any output, then you will need to install a
1501 new linux-image package by hand. To see a list of available
1502 linux-image-2.6 metapackages, run:
1503 <example>
1504 # apt-cache search linux-image-2.6- | grep -v transition
1505 </example></p>
1506
1507 <p>If you are unsure about which package to select, run
1508 <tt>uname -r</tt> and look for a package with a similar name.
1509 For example, if you see '2.4.27-3-686', it is recommended that you
1510 install <package/linux-image-2.6-686/.
1511 You may also use <prgn>apt-cache</prgn> to see a long description of each
1512 package in order to help choose the best one available.
1513 For example:
1514 <example>
1515 # apt-cache show linux-image-2.6-686
1516 </example></p>
1517
1518 <p>You should then use <tt/aptitude install/ to install it. Once
1519 this new kernel is installed you should reboot at the next available
1520 opportunity to get the benefits provided by the new kernel version.</p>
1521
1522 <p>For the more adventurous there is an easy way to compile your
1523 own custom kernel on &debian;. Install the
1524 <package>kernel-package</package> tool and read the documentation
1525 in <file>/usr/share/doc/kernel-package</file>.</p>
1526
1527 </sect1>
1528
1529 <sect1 id="upgrade-from-2.6"><heading>Upgrading from a 2.6 kernel</heading>
1530
1531 <p>If you are currently running a 2.6 series kernel from
1532 &oldreleasename; this upgrade will take place automatically after you do a full upgrade
1533 of the system packages (as described in <ref id="upgradingpackages">).
1534 </p>
1535
1536 <p>Take into account that the <prgn/udev/ version in &releasename; does
1537 not support kernel versions earlier than 2.6.15 (which includes
1538 &oldreleasename; 2.6.8 kernels). Conversely the <prgn/udev/ version in
1539 &oldreleasename; will not work properly with the latest kernels.
1540 As a consequence, the previous kernel package will probably not boot
1541 properly after this upgrade. Similarly, there is a time window through
1542 the upgrade in which <prgn/udev/ has been upgraded but not the
1543 latest kernel. If the system were to be rebooted at this point,
1544 in the middle of the upgrade, it might not be bootable.</p>
1545
1546 <!-- JFS: Bug #413458, #413311, aka coreutils dependency
1547 not mentioned - fixed in 2.6.18.dfsg.1-12, entered testing already -->
1548 <p>Consequently, you might want to upgrade to the latest kernel
1549 before doing the full upgrade. Before you can upgrade to the 2.6
1550 series kernel available in &releasename; you will have to
1551 upgrade to the latest version of <package/initrd-tools/.
1552 To upgrade the kernel before the upgrade, take
1553 all the steps up to and including the steps related to the a minimal
1554 upgrade of the system, as described in <ref id="minimal_upgrade">.
1555 Once <package/initrd-tools/ have been upgraded after those steps
1556 you can then do the following (changing the kernel package name to the one most
1557 suited to your system by substituting <em>&lt;flavor&gt;</em>):
1558 <example>
1559 # aptitude install linux-image-2.6-&lt;flavor&gt;
1560 </example>
1561 </p>
1562
1563 <p>This step will also update <package/libc6/, install <prgn/udev/, and
1564 remove <package/base-config/ and <package/hotplug/.</p>
1565
1566 <p>You can also take this step if you are using your own custom
1567 kernel and want to use the kernel available in &releasename;.
1568 If your kernel version is not supported by <prgn/udev/ then
1569 it is recommended you upgrade after the minimal upgrade.
1570 If your version is supported by <prgn/udev/ you can safely wait
1571 until after the full system upgrade.</p>
1572
1573 <!--
1574 <p><em>TRY</em>: In aptitude, upgrade only 'required' 'important'
1575 'standard' packages limit by pressing 'l' and input
1576 !~v(~pextra|~poptional) keep with : for hold this time upgrade by
1577 pressing 'U" and 'g' (untested but ...) (You can do this in much
1578 finer steps.)
1579 -->
1580 </sect1>
1581
1582 <sect1 id="upgrade-from-2.4"><heading>Upgrading from a 2.4 kernel</heading>
1583
1584 <p>If you have a 2.4 kernel installed, and your system relies on
1585 <package/hotplug/ for its hardware detection you should first upgrade
1586 to a 2.6 series kernel from &oldreleasename; before attempting the upgrade. Make
1587 sure that the 2.6 series kernel boots your system and all your hardware is
1588 properly detected before you perform the upgrade. The <package/hotplug/ package
1589 is removed from the system (in favor of <package/udev/) when you do a full system
1590 upgrade. If you do not do the kernel upgrade before this your system might
1591 not boot up properly from this point on. Once you have done an upgrade
1592 to a the 2.6 series kernel in &oldreleasename; you can do a kernel upgrade
1593 as described in <ref id="upgrade-from-2.6">.</p>
1594
1595 <p>If your system does not rely on <package/hotplug/<footnote>You can
1596 have the kernel modules needed by your system loaded statically through proper configuration
1597 of <file>/etc/modules</file></footnote> you can delay the kernel upgrade
1598 to after you have done a full system upgrade, as described in <ref
1599 id="upgrading_other">. Once your system has been upgraded
1600 you can then do the following (changing the kernel package name to the one most
1601 suited to your system by substituting <em>&lt;flavor&gt;</em>):
1602 <example>
1603 # aptitude install linux-image-2.6-&lt;flavor&gt;
1604 </example>
1605 </p>
1606
1607 </sect1>
1608
1609 <sect1><heading>initrd-tools deprecated</heading>
1610 <p><package/initrd-tools/ is no longer supported and has been
1611 superseded by <package/initramfs-tools/ and <package/yaird/.
1612 Upgrading to an &releasename; kernel will cause
1613 <package/initramfs-tools/ to be installed by default.
1614 <![ %defaulted-2.4 [
1615 If you are upgrading from a 2.4 kernel to a 2.6 kernel for the
1616 first time, you must use <package/initramfs-tools/. Using
1617 <package/yaird/ will cause linux-image-2.6 installations to
1618 fail if you are running a 2.2 or 2.4 kernel.
1619 ]]>
1620 </p>
1621 </sect1>
1622
1623 <sect1><heading>devfs deprecated</heading>
1624 <p>&releasename; no longer provides support for <prgn>devfs</prgn>.
1625 It is recommended that users switch to <package>udev</package> for dynamic
1626 <file>/dev</file> management.
1627 Debian kernels no longer include support for <prgn>devfs</prgn>,
1628 so <prgn>devfs</prgn> users will need to convert their systems
1629 manually before upgrading to an &releasename; kernel.</p>
1630
1631 <p>If you see the string 'devfs' in <file>/proc/mounts</file>,
1632 you are most likely using <prgn>devfs</prgn>.
1633 Any config files that reference <prgn>devfs</prgn> style names will need to be
1634 adjusted to use <prgn>udev</prgn> style names. Files that are most likely to
1635 refer to <prgn>devfs</prgn> style device names are <file>/etc/fstab</file>,
1636 <file>/etc/lilo.conf</file>, <file>/boot/grub/menu.lst</file>, etc.</p>
1637
1638 <p>More information about potential issues is available in bug report
1639 <url id="http://bugs.debian.org/341152" name="#341152">.</p>
1640 </sect1>
1641
1642 <![ %i386-amd64-ia64 [
1643 <sect1><heading>Standard kernels have SMP abilities</heading>
1644 <p>Multiprocessor systems no longer require a *-smp flavor of the
1645 Linux kernel. For &arch-title;, linux-image packages without the -smp
1646 suffix support both uniprocessor and multiprocessor systems.</p>
1647 </sect1>
1648 ]]>
1649
1650 <![ %i386 [
1651 <sect1><heading>386 kernel flavor deprecated</heading>
1652 <p>Support for the 80386 sub-architecture for &arch-title; has been dropped
1653 in &releasename;. The 386 kernel flavor is no longer supported and has been
1654 replaced by the new 486 flavor.</p>
1655 </sect1>
1656 ]]>
1657
1658 <sect1 id="device-reorder"><heading>Device enumeration reordering</heading>
1659 <p>&releasename; features a more robust mechanism for hardware discovery
1660 than previous releases. However, this may cause changes in the
1661 order devices are discovered on your system, affecting the order
1662 in which device names are assigned.
1663 For example, if you have two network adapters that are associated
1664 with two different drivers, the devices eth0 and eth1 refer to
1665 may be swapped.
1666 Please note that the new mechanism means that if you e.g. exchange
1667 ethernet adapters in a running &releasename; system, the new adapter
1668 will also get a new interface name.</p>
1669
1670 <p>For network devices, you can avoid this reordering by using the
1671 <prgn>ifrename</prgn> utility to bind physical devices to
1672 specific names at boot time.
1673 <!-- TODO: add ifupdown-scripts-zg2 as well here? -->
1674 See <manref name="ifrename" section="8"> and <manref name="iftab"
1675 section="5"> for more information. You can also avoid this by
1676 using <prgn>udev</prgn> rules, more specifically, through the
1677 definitions at
1678 <file>/etc/udev/rules.d/z25_persistent-net.rules</file><footnote>
1679 The rules there are automatically generated to have persistent names for network
1680 interfaces.</footnote>. Both alternatives (<prgn>ifrename</prgn>
1681 and <prgn>udev</prgn>) should not be used at the same time.
1682 </p>
1683
1684 <!-- TODO:
1685 *** maks: please review the initramfs stuff for accuracy - I'm going
1686 *** by what I remember, and haven't tested this recently
1687 -->
1688 <p>For storage devices, you can avoid this reordering by using
1689 <package/initramfs-tools/ and configuring it to load storage device
1690 driver modules in the same order they are currently loaded.
1691 To do this, identify the order the storage modules on your system
1692 were loaded by looking at the output of <prgn/lsmod/.
1693 <prgn/lsmod/ lists modules in the reverse order that they were loaded
1694 in, i.e., the first module in the list was the last one
1695 loaded.</p>
1696
1697 <p>However, removing and reloading modules after initial boot
1698 will affect this order. Also, your kernel may have some drivers
1699 linked statically, and these names will not appear in the output
1700 of <prgn>lsmod</prgn>. You may be able to decipher these driver
1701 names and load order from looking at
1702 <file>/var/log/kern.log</file>, or the output of
1703 <prgn>dmesg</prgn>.</p>
1704
1705 <p>Add these module names to <file>/etc/initramfs-tools/modules</file>
1706 in the order they should be loaded at boot time. Some module names may
1707 have changed between &oldreleasename; and &releasename;. For
1708 example, sym53c8xx_2 has become sym53c8xx.</p>
1709
1710 <p>You will then need to regenerate your initramfs image(s) by
1711 executing <tt>update-initramfs -k all</tt>.</p>
1712
1713 <p>Once you are running an &releasename; kernel and <prgn/udev/, you may
1714 reconfigure your system to access disks by an alias that is not
1715 dependent upon driver load order. These aliases reside in the
1716 <file>/dev/disk/</file> hierarchy.</p>
1717 </sect1>
1718
1719 <![ %ia64 [
1720 <sect1><heading>Serial device reordering</heading>
1721 <p>If you have an HP machine and you're using the MP serial
1722 console port (the connector labelled "console" on the 3-headed
1723 cable), this kernel upgrade will break your console!</p>
1724
1725 <p>Upon reboot, the system will show up the message "Loading
1726 initrd...." but it will stop there. Notice that systems with
1727 outdated firmware will show similar symptoms, although the issue is
1728 related to kernel incompatibilities (see <ref
1729 id="upgrade-to-2.6">).</p>
1730
1731 <p>Please read the following information before upgrading.</p>
1732
1733 <p><list>
1734 <item><p>The console device will change from <file>ttyS0</file> to
1735 <file>ttyS1</file>, <file>ttyS2</file>, or <file>ttyS3</file> so
1736 <list>
1737 <item><p>Edit <file>/etc/inittab</file> to add a getty entry for
1738 <file>/dev/ttyS1</file> (rx4640, rx5670, rx7620, rx8620, Superdome),
1739 <file>/dev/ttyS2</file> (rx1600), or
1740 <file>/dev/ttyS3</file> (rx2600).</p></item>
1741 <item><p>Edit <file>/etc/securetty</file> to add
1742 <file>ttyS1</file>, <file>ttyS2</file>, or
1743 <file>ttyS3</file>.</p></item>
1744 <item><p>Leave the existing <file>ttyS0</file> entries in
1745 <file>/etc/inittab</file> and <file>/etc/securetty</file> so
1746 you can still boot old kernels.</p></item>
1747 </list>
1748 </p></item>
1749
1750 <item><p>Edit <file>/etc/elilo.conf</file> to remove any "console="
1751 arguments.</p></item>
1752
1753 <item><p>Run <prgn/elilo/ to install the bootloader with new
1754 configuration.</p></item>
1755
1756 <item><p>Reboot and use the EFI boot option maintenance menu to
1757 select exactly one device for console output, input, and standard
1758 error. Then do a cold reset so the changes take
1759 effect.</p>
1760
1761 <p>For the MP console, be careful to select the device with
1762 "Acpi(HWP0002,700)/Pci(...)/Uart" in the path.</p></item>
1763 </list></p>
1764
1765 <p>More details about these changes and troubleshooting hints are
1766 available at
1767 <url id="http://lists.debian.org/debian-ia64/2005/01/msg00008.html">.</p>
1768
1769 </sect1>
1770 ]]>
1771
1772 </sect>
1773
1774 <sect id="nownownow"><heading>Things to do before rebooting</heading>
1775
1776 <p>When <tt>aptitude dist-upgrade</tt> has finished, the
1777 "formal" upgrade is complete, but there are some other things
1778 that should be taken care of <em/before/ the next reboot.</p>
1779
1780 <![ %sparc [
1781 <sect1 id="missingdrivers"><heading>Possible missing drivers in initrd</heading>
1782 <p>The &releasename; kernels do not yet have full sysfs support for
1783 the native sparc sbus. <package/initramfs-tools/ relies on this to
1784 include drivers for disk controllers in the initrd. If a driver is
1785 not included in the initrd, your system may fail to boot.
1786 <p>If your system uses the <tt/esp/ or <tt/qlogicpti/ module to
1787 access your hard disks, you will need that module in
1788 <file>/etc/initramfs-tools/modules</file> and regenerate the initrd
1789 before you reboot your system. The initrd can be regenerated using:
1790 <example>
1791 # update-initramfs -u -k all
1792 </example></p>
1793 ]]>
1794
1795 <![ %hppa [
1796 <sect1 id="missingdrivers"><heading>Possible missing drivers in initrd</heading>
1797 <p>The &releasename; kernels do not yet have full sysfs support for
1798 the native HP bus. <package/initramfs-tools/ relies on this to
1799 include drivers for disk controllers in the initrd. If a driver is
1800 not included in the initrd, your system may fail to boot.
1801 <p>If your system uses the <tt/lasi700/ or <tt/zalon7xx/ module to
1802 access your hard disks, you will need that module in
1803 <file>/etc/initramfs-tools/modules</file> and regenerate the initrd
1804 before you reboot your system. The initrd can be regenerated using:
1805 <example>
1806 # update-initramfs -u -k all
1807 </example></p>
1808 ]]>
1809
1810 <![ %i386-amd64 [
1811 <sect1 id="rerunlilo"><heading>Rerun lilo</heading>
1812
1813 <p>If you are using <package/lilo/ as your bootloader (it is the
1814 default bootloader for some installations of &oldreleasename;) it is strongly recommended
1815 that you rerun lilo after the upgrade:
1816 <example>
1817 # /sbin/lilo
1818 </example></p>
1819
1820 <p>Notice this is needed even if you did not upgrade your system's kernel, as
1821 lilo's second stage will change due to the package upgrade.</p>
1822
1823 <p>Also, review the contents of your <file>/etc/kernel-img.conf</file> and
1824 make sure that you have <em>do_bootloader = Yes</em> in it. That way the
1825 bootloader will always be rerun after a kernel upgrade.
1826 </p>
1827
1828 <p>If you encounter any issues when running <prgn/lilo/ review the
1829 symbolic links in <file>/</file> to <file>vmlinuz</file> and
1830 <file>initrd</file>, as well as the contents of your
1831 <file>/etc/lilo.conf</file> for discrepancies.</p>
1832
1833 <p>If you forgot to rerun <prgn/lilo/ before the reboot or the system
1834 is accidentally rebooted before you could do this manually, your
1835 system might fail to boot. Instead of the lilo prompt, you will only
1836 see <em/LI/ when booting the system<footnote>For more information on
1837 <prgn/lilo/'s boot error codes please see <url
1838 id="http://tldp.org/HOWTO/Bootdisk-HOWTO/a1483.html" name="The Linux
1839 Bootdisk HOWTO">.</footnote>. In order to
1840 recover from this you will have to start up a media installation disk
1841 in <em/rescue/ mode. For
1842 more information on how to do this please review the <url
1843 id="http://wiki.debian.org/DebianInstaller/FAQ" name="DebianInstaller
1844 FAQ">.</p>
1845
1846 </sect1>
1847 ]]>
1848
1849 <sect1 id="mdadm"><heading>Upgrading mdadm</heading>
1850
1851 <p>mdadm now needs a configuration file to assemble MD arrays (RAID)
1852 from the initial ramdisk and during the system initialisation
1853 sequence. Please make sure to read and act upon the instructions in
1854 <file>/usr/share/doc/mdadm/README.upgrading-2.5.3.gz</file> after
1855 the package has been upgraded <strong>and before you reboot</strong>.
1856 The latest version of this file is available at
1857 <url id="http://svn.debian.org/wsvn/pkg-mdadm/mdadm/trunk/debian/README.upgrading-2.5.3?op=file">;
1858 please consult it in case of problems.</p>
1859
1860 </sect1>
1861 </sect>
1862
1863 <sect id="for_next"><heading>Preparing for the next release</heading>
1864
1865 <p>After the upgrade there are several things you can do
1866 to prepare for the next release.</p>
1867
1868 <p><list>
1869
1870 <item><p>If using <prgn/grub/, edit <file>/etc/kernel-img.conf</file>
1871 and adjust the location of the <prgn/update-grub/ program changing
1872 <file>/sbin/update-grub</file> to <file>/usr/sbin/update-grub</file>.</p>
1873
1874 <!-- TODO: (jfs) Is this needed? aptitude-0.4.4-1 "fixed" this, see #386307 -->
1875 <item><p>Unmark the 2.6 kernel image installed as not an automatic
1876 package, so that <prgn/aptitude/ never considers it unused:
1877 <example>
1878 # aptitude unmarkauto linux-image-2.6-&lt;flavor&gt;
1879 </example>
1880 </p>
1881 <item><p>Remove &oldreleasename;'s kernel metapackages by running:
1882 <example>
1883 # aptitude purge kernel-image-2.6-&lt;flavor&gt;
1884 </example>
1885 </p>
1886
1887 <item><p>Move any kernel configuration values at
1888 <file>/etc/network/options</file> to <file>/etc/sysctl.conf</file>.</p>
1889
1890 <item><p>Remove obsolete and unused packages as described in <ref
1891 id="obsolete">. You should review which configuration files they use
1892 and consider purging the packages to remove their configuration files</p>
1893
1894 </list></p>
1895
1896 </sect>
1897
1898 <sect id="obsolete"><heading>Obsolete packages</heading>
1899
1900 <!-- JFS: Providing a full listing might be useful, especially if we can
1901 point to the Bug that was opened when the bug was removed. This list should
1902 be moved to an appendix, instead of adding it inline as we did in the
1903 potato to woody RN -->
1904
1905 <p>Introducing several thousand new packages, &releasename; also
1906 retires and omits more than two thousand old packages that were in
1907 &oldreleasename;. It provides no upgrade path for these obsolete
1908 packages. While nothing prevents you from continuing to use an
1909 obsolete package where desired, the Debian project will usually
1910 discontinue security support for it a year after &releasename;'s
1911 release<footnote>Or for as long as there is not another release in
1912 that time frame. Typically only two stable releases are supported
1913 at any given time.</footnote>, and will not normally provide other
1914 support in the meantime. Replacing them with available
1915 alternatives, if any, is recommended.</p>
1916
1917 <p>There are many reasons why packages might have been removed from
1918 the distribution: they are no longer maintained upstream; there is
1919 no longer a Debian Developer interested in maintaining the packages;
1920 the functionality they provide has been superseded by different
1921 software (or a new version); or they are no longer considered
1922 suitable for &releasename; due to bugs in them. In the latter case,
1923 packages might still be present in the "unstable" distribution.</p>
1924
1925 <p>Detecting which packages in an updated system are "obsolete" is
1926 easy since the package management front-ends will mark them as
1927 such. If you are using <prgn>aptitude</prgn>, you will see a
1928 listing of these packages in the "Obsolete and Locally Created
1929 Packages" entry. <prgn>dselect</prgn> provides a similar section
1930 but the listing it presents might differ. Also, if you have used
1931 <prgn>aptitude</prgn> to manually install packages in
1932 &oldreleasename; it will have kept track of those packages you
1933 manually installed and will be able to mark as obsolete those
1934 packages pulled in by dependencies alone which are no longer
1935 needed if a package has been removed. Also, <prgn>aptitude</prgn>,
1936 unlike <prgn>deborphan</prgn> will not mark as obsolete packages
1937 that you manually installed, as opposed to those that were
1938 automatically installed through dependencies.</p>
1939
1940 <p>There are additional tools you can use to find obsolete packages
1941 such as <prgn>deborphan</prgn>, <prgn>debfoster</prgn> or
1942 <prgn>cruft</prgn>. <prgn>deborphan</prgn> is highly recommended,
1943 although it will (in default mode) only report obsolete libraries:
1944 packages in the "libs" or "oldlibs" sections that are not used by
1945 any other packages. Do not blindly remove the packages these tools
1946 present, especially if you are using aggressive non-default
1947 options that are prone to produce false positives. It is highly
1948 recommended that you manually review the packages suggested for
1949 removal (i.e. their contents, size and description) before you
1950 remove them.</p>
1951
1952 <!-- JFS: Should we recommend purging old packages? This might be
1953 dangerous since the maintainer scripts might try to remove stuff that
1954 didn't belong to them... -->
1955
1956 <p>The <url id="&url-bts;" name="Debian Bug Tracking System">
1957 often provides additional information on why the package was
1958 removed. You should review both the archived bug reports for the
1959 package itself and the archived bug reports for the <url
1960 id="&url-bts;cgi-bin/pkgreport.cgi?pkg=ftp.debian.org&#38;archive=yes"
1961 name="ftp.debian.org pseudo-package">.</p>
1962
1963 <sect1 id="dummy"><heading>Dummy packages</heading>
1964
1965 <!-- JFS: If the appendix is kept this section should point there and the packages described here should be moved to that section -->
1966
1967 <p>Some packages from &oldreleasename; have been split into several
1968 packages in &releasename;, often to improve system maintainability. To
1969 ease the upgrade path in such cases, &releasename; often provides
1970 "dummy" packages: empty packages that have the same name as the old
1971 package in &oldreleasename; with dependencies that cause the new
1972 packages to be installed. These "dummy" packages are considered
1973 obsolete packages after the upgrade and can be safely removed.
1974
1975 <p>Most (but not all) dummy packages' descriptions indicate their
1976 purpose. Package descriptions for dummy packages are not uniform,
1977 however, so you might also find <prgn>deborphan</prgn> with the
1978 <tt>--guess</tt> options useful to detect them in your system.
1979 Note that some dummy packages are not intended to be removed after
1980 an upgrade but are, instead, used to keep track of the current
1981 available version of a program over time.</p>
1982
1983 </sect1>
1984 </sect>
1985 </chapt>
1986
1987 <!-- FJP: Add more info here on dealing with obsolete packages?
1988 Also how to purge packages that were deleted but still have conffiles
1989 (use "limit" command in aptitude and search for ~c) -->
1990
1991 <chapt id="information">
1992 <heading>Issues to be aware of for &releasename;</heading>
1993
1994 <sect id="problems"><heading>Potential problems</heading>
1995 <p>Sometimes, changes have side-issues we cannot reasonably avoid,
1996 or we expose bugs somewhere else.
1997 We document here the issues we are aware of.
1998 Please also read the errata, the relevant packages' documentation,
1999 bug reports and other information mentioned in <ref id="morereading">.
2000 </p>
2001
2002 <sect1 id="window-scaling"><heading>Certain networking site cannot be reached by TCP</heading>
2003 <p>
2004 Since 2.6.17, Linux aggressively uses TCP window scaling which is specified in RFC 1323.
2005 Some servers have a broken behavior, and announce wrong
2006 window sizes for themselves. Please see the bugs
2007 <url id="http://bugs.debian.org/381262" name="#381262"> and
2008 <url id="http://bugs.debian.org/395066" name="#395066">
2009 for more information.
2010 </p>
2011 </sect1>
2012
2013 <![ %i386 [
2014 <sect1 id="poweroff"><heading>Automatic poweroff stops working</heading>
2015 <p>
2016 On some older systems, <tt>shutdown -h</tt> may not power off the system
2017 anymore (but just stop it). This happens because apm needs to be used there.
2018 Adding <tt>acpi=off apm=power_off</tt> to the kernel's command line, e.g.
2019 in <package/grub/ or <package/lilo/ configuration files should fix this issue.
2020 Please see bug
2021 <url id="http://bugs.debian.org/390547" name="#390547">
2022 for additional information.
2023 </p>
2024 </sect1>
2025 ]]>
2026
2027 <sect1 id="apt-pdiff"><heading>Apt downloads small files with update</heading>
2028 <p>
2029 Support has been added to <prgn>apt</prgn> to download only the difference
2030 between packages files. This is handy for people with bad network connections,
2031 but people having a very nearby mirror may want to disable this feature.
2032 One can disable it by adding <tt>Acquire::Pdiffs "false";</tt> to
2033 <file>/etc/apt/apt.conf</file>.
2034 </p>
2035 </sect1>
2036
2037 <![ %i386 [
2038 <sect1 id="hp-acpi"><heading>ACPI support disabled for some HP laptop models in &releasename; kernel</heading>
2039 <p>
2040 Certain models of HP laptops have an ACPI BIOS that is incompatible with the
2041 Linux 2.6.18 kernel shipped in &releasename;, which would prevent the fans from
2042 spinning up leading to unnecessary heat stress. Also, fans might not work after
2043 the system is suspended. The kernel therefore disables ACPI support
2044 internally when it detects certain ACPI BIOS versions. Models known
2045 to be affected by this change include the HP nx6125, nx6120, nx6325,
2046 nc6120 and nc6000 models.
2047 </p>
2048 <p>
2049 Users who require ACPI support on these systems may install a Linux 2.6.19 or
2050 later kernel. Please see Debian bug
2051 <url id="http://bugs.debian.org/404143" name="#404143"> and
2052 <url id="http://bugs.debian.org/400488" name="#400488">,
2053 and Linux Kernel's bugs
2054 <url id="http://bugzilla.kernel.org/show_bug.cgi?id=5534" name="#5534">
2055 and
2056 <url id="http://bugzilla.kernel.org/show_bug.cgi?id=7122" name="#7122">
2057 for additional information.
2058 </p>
2059 </sect1>
2060 ]]>
2061
2062 </sect>
2063
2064
2065 <!-- Controversial, disabled for now, please translate though
2066 <sect id="german-quotes"><heading>Problems with German Quotes</heading>
2067
2068 <p>The locales for German style languages (e.g. de_DE@euro)
2069 unfortunately use an aesthetically unpleasing way of representing
2070 open quotation marks. We have retained it this way in order to
2071 preserve compatibility with other Linux distributions, and we hope
2072 that in the future it will be fixed. We suggest that you switch to a
2073 UTF-8 locale (e.g. de_DE@euro.UTF-8), which fully supports German with
2074 the correct quotation marks, and, using Unicode encoding, has better
2075 support for other languages as well.</p>
2076
2077 <p>To change the system wide locale choice, use:
2078 <example>dpkg-reconfigure locales</example></p>
2079 </sect>
2080 -->
2081 <!-- Will be added if relevant information is written here
2082 <sect id="syntax"><heading>Important program syntax changes</heading>
2083
2084 <p>Debian attempts to avoid changing upstream packages, therefore
2085 any changes in the upstream package will be present in the version in
2086 &debian;. This can mean that program behavior may change between
2087 releases of &debian;. </p>
2088
2089 <p><em>No changes yet reported.</em></p>
2090
2091 </sect>
2092 -->
2093
2094 <![ %defaulted-2.4 [
2095 <sect id="upgrade-to-2.6">
2096 <heading>Upgrading to a 2.6 kernel</heading>
2097
2098 <p>The 2.6 kernel series contains major changes from the 2.4 series.
2099 Modules have been renamed and a lot of drivers have been partially
2100 or sometimes almost completely rewritten. Upgrading to a 2.6 kernel
2101 from an earlier version is therefore not a process to be undertaken
2102 lightly. This section aims to make you aware of some of the issues
2103 you may face.</p>
2104
2105 <!-- TODO - needs to be changed for etch, not TRUE -->
2106 <p>You are therefore strongly advised not to upgrade to a 2.6 kernel
2107 as part of the upgrade from &oldreleasename; to &releasename;.
2108 Instead, you should first make sure your system works correctly
2109 with either the old kernel or with a 2.4 kernel from &releasename;
2110 and do the upgrade to a 2.6 kernel later as a separate project.</p>
2111
2112 <p>If you compile your own kernel from source, make sure you install
2113 <package/module-init-tools/ before you reboot with the 2.6 kernel.
2114 This package replaces <package/modutils/ for 2.6 kernels. If you
2115 install one of the Debian <package/linux-image/ packages, this
2116 package will be installed automatically because of dependencies.</p>
2117
2118 <p>If you use <em/LVM/, you should also install <package/lvm2/
2119 before you reboot as the 2.6 kernel does not directly support LVM1.
2120 To access LVM1 volumes, the compatibility layer of <package/lvm2/
2121 (the dm-mod module) is used. You can leave <package/lvm10/ installed;
2122 the init scripts will detect which kernel is used and execute the
2123 appropriate version.</p>
2124
2125 <p>If you have entries in the <file>/etc/modules</file> file (the
2126 list of modules to be loaded during system boot), be aware that some
2127 module names may have changed. If this happens you will have to update
2128 this file with the new module names.</p>
2129
2130 <!-- JFS: Can't this device name change even for some other disk controllers? I've found
2131 references in debian-user posts talking about some strange chipsets and BIOS
2132 which are seen in sarge' 2.4 as hda and in etch's 2.6 as hdf... -->
2133 <![ %i386-amd64 [
2134 <p>For some SATA disk controllers, the device assigned to a drive and
2135 its partitions may change from <file>/dev/hdX</file> to
2136 <file>/dev/sdX</file>. If this happens, you will have to modify your
2137 <file>/etc/fstab</file> and bootloader configuration accordingly.
2138 Unless these changes are made correctly, your system may not boot
2139 correctly<footnote>It will boot the kernel but will fail when trying
2140 to mount the root filesystem and will abort with an error <em>waiting for root filesystem</em>
2141 followed by <em>unable to mount /dev/hdX ..not found</em>.
2142 You can use the <prgn/initramfs/ shell to fix this issue, after you
2143 identify the names newly assigned devices in the kernel boot messages or by reviewing
2144 the contents of <file>/dev/disk</file>.</footnote>.</p>
2145 ]]>
2146
2147 <!-- Bug: #416720 -->
2148 <![ %ia64 [
2149 <p>HP Itanium systems running older firmware are incompatible with the
2150 2.6 kernel in &releasename;. That means you should upgrade your
2151 system to the latest firmware before upgrading your kernel. It is
2152 recommended you do this before the system upgrade, as if you are
2153 already running a 2.6 kernel you will automatically retrieve the
2154 latest kernel when upgrading the rest of the system (see <ref
2155 id="upgrading_other">). Failing to do this will result in an system
2156 that does not boot,
2157 </p>
2158 ]]>
2159
2160 <p>Once you have installed your 2.6 kernel, but before you reboot,
2161 make sure you have a recovery method. First, make sure that the
2162 bootloader configuration has entries for both the new kernel and
2163 the old, working 2.4 kernel. You should also ensure you have a "rescue"
2164 floppy or CD-ROM to hand, in case misconfiguration of the bootloader
2165 prevents you booting the old kernel.</p>
2166
2167 <![ %not-s390 [
2168 <![ %not-amd64 [
2169 <sect1 id="2.6-keyboard">
2170 <heading>Keyboard configuration</heading>
2171
2172 <p>The most invasive change in the 2.6 kernels is a fundamental
2173 change of the input layer. This change makes all keyboards look
2174 like "normal" PC keyboards. This means that if you currently have
2175 a different type of keyboard selected (e.g. a USB-MAC or Sun
2176 keyboard), you will very likely end up with a non-working keyboard
2177 after rebooting with the new 2.6 kernel.</p>
2178
2179 <p>If you can SSH into the box from another system, you can resolve
2180 this issue by running <tt>dpkg-reconfigure console-data</tt>, choosing
2181 the option "Select keymap from full list" and selecting a "pc"
2182 keyboard.</p>
2183
2184 <p>If your console keyboard is affected, you will probably also need to
2185 reconfigure your keyboard for the X Window System. You can do this
2186 either by running <tt>dpkg-reconfigure xserver-xorg</tt> or by
2187 editing <file>/etc/X11/xorg.conf</file> directly. Don't forget
2188 to read the documentation referred to in <ref id="nownownow">.</p>
2189
2190 <![ %i386 [
2191 <p>This issue is unlikely to affect the &arch-title; architecture
2192 as all PS/2 and most USB keyboards will already be configured as
2193 a "normal" PC keyboard.</p>
2194 ]]>
2195 <![ %not-i386 [
2196 <p>Note that if you are using a USB keyboard, this may be configured
2197 as either a "normal" PC keyboard or as a USB-MAC keyboard. In the
2198 first case you will not be affected by this issue.</p>
2199 ]]>
2200 </sect1>
2201 ]]> <!-- %not-amd64 -->
2202
2203 <sect1 id="2.6-mouse">
2204 <heading>Mouse configuration</heading>
2205
2206 <p>Again because of the changes in the input layer, you may have to
2207 reconfigure the X Window System and <package/gpm/ if your mouse is
2208 not working after upgrading to a 2.6 kernel. The most likely cause is
2209 that the device which gets the data from the mouse has changed.
2210 You may also need to load different modules.</p>
2211
2212 <![ %sparc [
2213 <p>If you currently have X configured for <file>/dev/sunmouse</file>,
2214 you probably need to change this to <file>/dev/psaux</file>.</p>
2215 ]]>
2216
2217 </sect1>
2218
2219 <sect1 id="2.6-sound">
2220 <heading>Sound configuration</heading>
2221
2222 <p>For the 2.6 kernel series the ALSA sound drivers are recommended
2223 over the older OSS sound drivers. ALSA sound drivers are provided
2224 as modules by default. In order for sound to work, the ALSA modules
2225 appropriate for your sound hardware need to be loaded. In general
2226 this will happen automatically if you have, in addition to the
2227 <package>alsa-base</package> package, either the
2228 <package>hotplug</package> package or the <package>discover</package>
2229 package installed. The <package>alsa-base</package> package also
2230 "blacklists" OSS modules to prevent <prgn>hotplug</prgn> and
2231 <prgn>discover</prgn> from loading them. If you have OSS modules
2232 listed in <file>/etc/modules</file>, you should remove them.</p>
2233
2234 </sect1>
2235 ]]> <!-- %not-s390 -->
2236
2237 <!-- FJP: May already be covered by kernel team text
2238 Etch Debian kernels depend on udev via initramfs-tools -->
2239 <sect1 id="2.6-udev">
2240 <heading>Switching to 2.6 may activate udev</heading>
2241
2242 <p><package/udev/ is a userspace implementation of devfs. It is mounted
2243 over the <file>/dev</file> directory and will populate that directory
2244 with devices supported by the kernel. It will also dynamically add and
2245 remove devices as kernel modules are loaded or unloaded respectively,
2246 working together with <package/hotplug/ to detect new devices.
2247 <package/udev/ works only with 2.6 kernels.</p>
2248
2249 <p>As <package/udev/ is automatically installed as a dependency of the new
2250 default initrd generator used with the 2.6 kernels
2251 (<package/initramfs-tools/), upgrading to a 2.6 kernel will normally result
2252 in <package/udev/ being activated. You can avoid installing <package/udev/
2253 if you install an alternate initrd generator, such as <package/yaird/.
2254 <package/initramfs-tools/ is the recommended initrd generator.</p>
2255
2256 <p>Although <package/udev/ has been tested extensively, you may experience
2257 minor problems with some devices that will need to be fixed. The most
2258 common problems are changed permission and/or ownership of a device.
2259 In some cases a device may not be created by default (e.g.
2260 <file>/dev/video</file> and <file>/dev/radio</file>).</p>
2261
2262 <p><package/udev/ provides configuration mechanisms to deal with these
2263 issues. See <manref name="udev" section="8"> and <file>/etc/udev</file>
2264 for further information.</p>
2265
2266 </sect1>
2267 </sect>
2268 ]]> <!-- %defaulted-2.4 -->
2269
2270
2271 <sect id="xorg"> <heading>XFree86 to X.Org transition</heading>
2272 <p>The transition to X.Org involves some structural changes. In case
2273 all installed packages are from Debian and also included in &releasename;,
2274 the upgrade should work without problems.
2275 However, experience has shown that there are a few changes to be aware
2276 of, as they can potentially cause issues during the upgrade.</p>
2277
2278 <p>The most important change is that <file>/usr/X11R6/bin</file> has
2279 been dropped and only remains as a symlink to <file>/usr/bin</file>.
2280 This means the directory has to be empty at the time the new packages
2281 are installed. The new packages conflict with most packages that used
2282 <file>/usr/X11R6/bin</file>,
2283 but in some cases manual intervention may be needed.
2284 Please remember to not run the distribution upgrade from within an
2285 X session.</p>
2286
2287 <p>In case the upgrade aborts during X.Org installation, you should
2288 check if any files are still left in <file>/usr/X11R6/bin</file>.
2289 You can then use <tt>dpkg -S</tt> to find out which Debian package
2290 installed that file (if any), and remove such packages with
2291 <tt>dpkg --remove</tt>. Please make a note which packages you
2292 remove, so that you can install substitute packages later on.
2293 Before continuing with the upgrade, all files in
2294 <file>/usr/X11R6/bin</file> need to be removed.</p>
2295
2296 <p>Please read <url id="http://wiki.debian.org/Xorg69To7">
2297 for more details and other issues.</p>
2298
2299 </sect>
2300
2301 <sect id="exim"> <heading>Upgrading from exim to exim4</heading>
2302 <p>One of the packages that has been obsoleted by the &releasename;
2303 release is the Mail Transfer Agent (MTA) <package/exim/, which has been replaced
2304 by the completely new package <package/exim4/.</p>
2305
2306 <p><prgn/exim/ (version 3.xx) has been unmaintained upstream for years, and
2307 Debian has dropped support for that version as well. If you are still using
2308 <prgn/exim/ 3.xx, please upgrade your <package/exim/ installation to <package/exim4/ manually.
2309 Since <package/exim4/ is already part of &oldreleasename;, you can choose to do the
2310 upgrade on your &oldreleasename; system before the upgrade to &releasename;,
2311 or after the &releasename; upgrade at your convenience. Just remember that
2312 your old <package/exim/ package is not going to be upgraded and that it won't get
2313 security support after support for &oldreleasename; has been discontinued.</p>
2314
2315 <p>The <package/exim4/ packages in Debian are extensively documented. The package's
2316 home page is <url id="http://wiki.debian.org/PkgExim4"> on the Debian Wiki, and
2317 the README file can be found at
2318 <url id="http://pkg-exim4.alioth.debian.org/README/README.Debian.html"> and
2319 inside the packages as well.</p>
2320
2321 <p>The README file has a chapter about Packaging, which explains the
2322 different package variations we offer, and it has a chapter about
2323 Updating from <prgn/Exim/ 3, which will help you in doing the actual
2324 transition.</p>
2325 <!-- FIXME: update with decisions of (S)RMs might be needed -->
2326 </sect>
2327
2328 <sect id="apache2"> <heading>Upgrading apache2</heading>
2329 <p>Apache has been upgraded to the new version 2.2.
2330 Although this shouldn't impact the average user,
2331 there are some potential issues to be aware of.</p>
2332
2333 <p><url id="http://httpd.apache.org/docs/2.2/upgrading.html"> contains
2334 the upstream changes. Please read this page, and remember that especially:
2335 <list>
2336 <item><p>all modules need to be recompiled</p></item>
2337 <item><p>authorization modules have been resorted and renamed</p></item>
2338 <item><p>some configuration options have been renamed</p></item>
2339 </list></p>
2340
2341 <p>Debian-specific changes include that the string SSL is no longer defined,
2342 as ssl is now supported by the default package.</p>
2343
2344 </sect>
2345
2346 <sect id="php-globals"> <heading>Deprecated insecure php configurations</heading>
2347 <p>For many years, turning on the <tt/register_globals/ settings in PHP
2348 has been known to be insecure and dangerous, and this option has defaulted to
2349 off for some time now. This configuration is
2350 now finally deprecated on Debian systems as too dangerous.
2351 The same applies to flaws in <tt/safe_mode/ and <tt/open_basedir/, which
2352 have also been unmaintained for some time.</p>
2353
2354 <p>Starting with this release, the Debian security team does not provide
2355 security support for a number of PHP configurations which are known to
2356 be insecure. Most importantly, issues resulting from
2357 <tt/register_globals/ being turned on will no longer be addressed.</p>
2358
2359 <p>If you run legacy applications that require <tt/register_globals/,
2360 enable it for the respective paths only, e.g. through the Apache
2361 configuration file. More information is available in the
2362 <file>README.Debian.security</file> file in the PHP
2363 documentation directory (<file>/usr/share/doc/php4</file>,
2364 <file>/usr/share/doc/php5</file>).</p>
2365 </sect>
2366
2367 <!-- JFS: Bug #400311 -->
2368 <sect id="mozilla-security"> <heading>Security status of Mozilla products</heading>
2369 <p>The Mozilla programs <package>firefox</package> and <package>thunderbird</package>
2370 (rebranded in Debian to <package>iceweasel</package> and <package>icedove</package>, respectively),
2371 are important tools for many users.
2372 Unfortunately the upstream security policy is to urge users to update to
2373 new upstream versions, which conflicts with Debian's policy of not shipping
2374 large functional changes in security updates.
2375 We cannot predict it today, but during the lifetime of &releasename; the
2376 Debian Security Team may come to a point where supporting
2377 Mozilla products is no longer feasible and announce
2378 the end of security support for Mozilla products.
2379 You should take this into account when deploying Mozilla and consider
2380 alternatives available in Debian if the absence of security support would
2381 pose a problem for you.</p>
2382 </sect>
2383
2384 <!-- JFS: Bug #400838 -->
2385 <sect id="kde-desktop-changes"> <heading>KDE desktop</heading>
2386 <p>KDE media handling has changed in the version available in
2387 &releasename; from using <file>device:/</file> to <file>media:/</file>.
2388 Some user configuration files might have stored <file>device:/</file>
2389 links in them which should be adapted. Notably,
2390 <file>~/.kde/share/apps/konqsidebartng/virtual_folders/services</file>
2391 contains this reference and can be safely deleted as it will not be
2392 created when setting up new users.
2393
2394 <p>There have been many changes in the KDE desktop environment from
2395 the version shipped in &oldreleasename; to the version in
2396 &releasename;, you can find more information in the <url
2397 id="http://www.kde.org/announcements/announce-3.5.php" name="KDE
2398 3.5 Release Notes">.</p>
2399 </sect>
2400
2401 <!-- JFS: Bug #387921 -->
2402 <sect id="gnome-desktop-changes"> <heading>GNOME desktop changes and support</heading>
2403 <p>If you used the GNOME desktop in &oldreleasename; you will not benefit
2404 of some of the changes introduced in the default configuration in
2405 Debian for &releasename;. In some extreme cases the GNOME desktop might
2406 not properly handle your old configuration and might not behave properly.</p>
2407
2408 <p>If you have not heavily invested in configuring your GNOME desktop
2409 you might want to move the the <file>.gconf</file> directory in user's
2410 home directories to a different name (such as <file>.gconf.old</file>)
2411 so that it gets recreated, with the default configuration for
2412 &releasename;, upon starting a new session.</p>
2413
2414 <p>With the release of &releasename;, Debian no longer contains packages for
2415 most of the obsolete version 1 release of GNOME. Although some packages
2416 remain in order to support some Debian packages which have not yet
2417 been updated to GNOME 2. Packages for GTK1.2 remain fully maintained.</p>
2418
2419 <p>There have been many changes in the GNOME desktop environment from
2420 the version shipped in &oldreleasename; to the version in
2421 &releasename;, you can find more information in the <url
2422 id="http://www.gnome.org/start/2.14/notes/en/" name="GNOME
2423 2.14 Release Notes">.</p>
2424 </sect>
2425
2426 <!-- FJP: Bug #398887 -->
2427 <sect id="default-editor"> <heading>Default editor</heading>
2428 <p>If you were using <prgn/vim/ as your default editor, this may
2429 be changed to <prgn/nano/ during the upgrade.</p>
2430
2431 <p>Administrators who wish to change the default editor for all users
2432 will have to update the alternatives system using:
2433
2434 <example>
2435 # update-alternatives --config editor
2436 </example>
2437 </p>
2438
2439 <p>Users wishing to change the default editor can define the
2440 environment variable <em>EDITOR</em> by introducing the following lines
2441 in their own profiles:
2442
2443 <example>
2444 EDITOR=vi
2445 export EDITOR
2446 alias editor=$EDITOR
2447 </example>
2448 </p>
2449
2450 </sect>
2451
2452 </chapt>
2453
2454 <chapt id="moreinfo">
2455
2456 <heading>More information on &debian;</heading>
2457
2458 <sect id="morereading"> <heading>Further reading</heading>
2459 <p>Beyond these release notes and the installation guide, further
2460 documentation on &debian; is available from the Debian
2461 Documentation Project (DDP), whose goal is to create high quality
2462 documentation for Debian users and developers. Documentation,
2463 including the Debian Reference, Debian New Maintainers Guide, and Debian
2464 FAQ are available, and many more. For full details of the existing resources
2465 see the <url id="&url-ddp;" name="DDP website">.</p>
2466
2467 <p>Documentation for individual packages is installed into
2468 <file>/usr/share/doc/<var>package</var></file>, this may include
2469 copyright information, Debian specific details and any upstream
2470 documentation.</p>
2471
2472 </sect>
2473
2474 <sect id="gethelp">
2475 <heading>Getting help</heading>
2476
2477 <p>There are many sources of help, advice and support for Debian
2478 users, but these should only be considered if research into
2479 documentation of the issue has exhausted all sources. This section
2480 provides a short introduction into these which may be helpful for
2481 new Debian users.</p>
2482
2483 <sect1 id="lists">
2484 <heading>Mailing lists</heading>
2485 <p>The mailing lists of most interest to Debian users are the
2486 debian-user list (English) and other debian-user-<var/language/ lists
2487 (for other languages). For information on these lists and details of
2488 how to subscribe see <url id="&url-debian-list-archives;">. Please
2489 check the archives for answers to your question prior to posting and
2490 also adhere to standard list etiquette.</p>
2491 </sect1>
2492 <!-- TODO: Changed to OFTC -->
2493 <sect1 id="irc">
2494 <heading>Internet Relay Chat</heading>
2495
2496 <p>Debian has an IRC channel dedicated to the support and aid of
2497 Debian users located on the OFTC IRC network which exists to
2498 provide interactive services to peer-directed project communities.
2499 To access the channel, point your favorite IRC client at
2500 &debian-irc-server; and join #debian.</p>
2501
2502 <p>Please follow the channel guidelines, respecting other users
2503 fully. For more information on OFTC please visit the <url
2504 id="&url-irc-host;" name="website">.</p>
2505
2506 </sect1>
2507 </sect>
2508
2509 <sect id="bugs">
2510 <heading>Reporting bugs</heading>
2511
2512 <p>We strive to make Debian GNU/Linux a high quality operating
2513 system, however that does not mean that the packages we provide are
2514 totally free of bugs.
2515 Consistent with Debian's "open development" philosophy and as a
2516 service to our users, we provide all the information on reported bugs
2517 at our own Bug Tracking System (BTS). The BTS is browseable at
2518 <url id="&url-bts;" name="bugs.debian.org">.</p>
2519
2520 <p>If you find a bug in the distribution or in packaged software
2521 that is part of it, please report it so that it can be properly
2522 fixed for future releases. Reporting bugs requires a valid email
2523 address. We ask for this so that we can trace bugs and developers
2524 can get in contact with submitters should additional information be
2525 needed.</p>
2526
2527 <p>You can submit a bug report using the program
2528 <package>reportbug</package> or manually using email.
2529 You can read more about the Bug Tracking System and how to use it by
2530 reading the reference cards (available at
2531 <file>/usr/share/doc/debian</file> if you have
2532 <package>doc-debian</package> installed) or online at the
2533 <url id="&url-bts;" name="Bug Tracking System">.</p>
2534
2535 </sect>
2536
2537 <sect id="contributing">
2538 <heading>Contributing to Debian</heading>
2539
2540 <p>You do not need to be an expert to contribute to Debian. By
2541 assisting users with problems on the various user support <url
2542 id="&url-debian-list-archives;" name="lists"> you are contributing to
2543 the community. Identifying (and also solving) problems
2544 related to the development of the distribution by participating on
2545 the development <url id="&url-debian-list-archives;" name="lists"> is
2546 also extremely helpful. To maintain Debian's high quality
2547 distribution, <url id="&url-bts;" name="submit bugs">
2548 and help developers track them down and fix them. If you have a way
2549 with words then you may want to contribute more actively by helping
2550 to write <url id="&url-ddp;"
2551 name="documentation"> or <url
2552 id="&url-debian-i18n;" name="translate"> existing
2553 documentation into your own language.</p>
2554
2555 <p>If you can dedicate more time, you could manage a piece of the
2556 Free Software collection within Debian. Especially helpful is if
2557 people adopt or maintain items that people have requested for
2558 inclusion within Debian, the <url id="&url-wnpp;" name="Work Needing
2559 and Prospective Packages database"> details this information. If you
2560 have an interest in specific groups then you may find enjoyment in
2561 contributing to some of Debian's subprojects which include ports to
2562 particular architectures, <url id="&url-debian-jr;" name="Debian
2563 Jr."> and <url id="&url-debian-med;" name="Debian Med">.</p>
2564
2565 <p>In any case, if you are working in the free software community in
2566 any way, as a user, programmer, writer or translator you are already
2567 helping the free software effort. Contributing is rewarding and fun,
2568 and as well as allowing you to meet new people it gives you that
2569 warm fuzzy feeling inside.</p></sect>
2570
2571 </chapt>
2572
2573 <!-- This may or may not still be useful -->
2574 <appendix id="old-stuff">
2575 <heading>Managing your &oldreleasename; system</heading>
2576
2577 <p>This appendix contains information on how to make sure you can install
2578 or upgrade &oldreleasename; packages before you upgrade to &releasename;.
2579 This should only be necessary in specific situations.</p>
2580
2581 <sect id="old-upgrade">
2582 <heading>Upgrading your &oldreleasename; system</heading>
2583
2584 <p>Basically this is no different than any other upgrade of
2585 &oldreleasename; you've been doing. The only difference is that you
2586 first need to make sure your package list still contains
2587 &oldreleasename; packages as explained in <ref id="old-sources">.</p>
2588
2589 <p>You should upgrade to the latest &oldreleasename; point release:
2590 r5, published February 2007.</p>
2591
2592 </sect>
2593
2594 <sect id="old-sources">
2595 <heading>Checking your sources list</heading>
2596
2597 <p>If any of the lines in your <file>/etc/apt/sources.list</file>
2598 refer to 'stable', you are effectively already "using" &releasename;.
2599 If you have already run <tt>apt-get update</tt>, you can still get
2600 back without problems following the procedure below.</p>
2601
2602 <p>If you have also already installed packages from &releasename;,
2603 there probably is not much point in installing packages from
2604 &oldreleasename; anymore. In that case you will have to decide for
2605 yourself whether you want to continue or not. It is possible to
2606 downgrade packages, but that is not covered here.</p>
2607
2608 <p>Open the file <file>/etc/apt/sources.list</file> with your favorite
2609 editor (as root) and check all lines beginning with <tt>deb http:</tt>
2610 or <tt>deb ftp:</tt> for a reference to "<tt/stable/". If you find any,
2611 change <tt/stable/ to <tt/&oldreleasename;/.</p>
2612
2613 <p>If you have any lines starting with <tt>deb file:</tt>, you will
2614 have to check for yourself if the location they refer to contains
2615 a &oldreleasename; or a &releasename; archive.</p>
2616
2617 <p><strong/Important!/ Do not change any lines that begin with
2618 <tt>deb cdrom:</tt>. Doing so would invalidate the line and you would
2619 have to run <prgn/apt-cdrom/ again. Do not be alarmed if a 'cdrom' source
2620 line refers to "<tt/unstable/". Although confusing, this is normal.</p>
2621
2622 <p>If you've made any changes, save the file and execute
2623
2624 <example>
2625 # apt-get update
2626 </example>
2627
2628 to refresh the package list.</p>
2629
2630 </sect>
2631
2632 </appendix>
2633
2634 </book>
2635 </debiandoc>
2636
2637 <!-- Keep this comment at the end of the file
2638 Local Variables:
2639 mode: sgml
2640 sgml-omittag:t
2641 sgml-shorttag:t
2642 sgml-namecase-general:t
2643 sgml-general-insert-case:lower
2644 sgml-minimize-attributes:nil
2645 sgml-always-quote-attributes:t
2646 sgml-indent-step:2
2647 sgml-indent-data:nil
2648 sgml-declaration:nil
2649 sgml-parent-document:nil
2650 sgml-exposed-tags:nil
2651 sgml-local-catalogs:nil
2652 sgml-local-ecat-files:nil
2653 fill-column: 75
2654 End:
2655 -->

  ViewVC Help
Powered by ViewVC 1.1.5