/[ddp]/manuals/trunk/release-notes/en/release-notes.en.sgml
ViewVC logotype

Contents of /manuals/trunk/release-notes/en/release-notes.en.sgml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4193 - (show annotations) (download) (as text)
Tue Mar 20 01:09:54 2007 UTC (6 years, 3 months ago) by jfs
File MIME type: text/x-sgml
File size: 98199 byte(s)
Add KDE specific information
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.144 2007-03-20 01:09:54 jfs 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 to the this release and finally to inform users of known potential
30 issues users could encounter when upgrading to or using the
31 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
38 <url id="&url-release-notes;">. If your version is more than a month
39 old, you might wish to download the latest version.</p>
40
41 <p>Please note that we only support
42 and document upgrading from the previous release of Debian (in this case,
43 the upgrade from &oldreleasename;). If you need to upgrade from older
44 releases, we suggest you read previous editions of the release notes.</p>
45
46 <!--
47 <sect id="changes"><heading>Changes in the Release Notes</heading>
48
49 <p>This section lists changes in the Release Notes since the original
50 version that was published with &debian; &release;r0. Minor textual
51 corrections are omitted.</p>
52
53 <p><list>
54
55 <item><p>Description of change.</p></item>
56
57 </list></p>
58
59 </sect>
60 -->
61
62 </chapt>
63
64 <chapt id="whats-new"><heading>What's new in &debian; &release;</heading>
65
66 <p>This release adds official support for the AMD64 architecture which
67 supports 64-bit processors from both Intel (EM64T) and AMD (AMD64).
68 During the previous release, &debian; 3.1 ('sarge'), an unofficial
69 version of this port was available. Upgrading from this unofficial
70 version should be possible using these Release Notes, but is not
71 supported.</p>
72
73 <p>Official support for the Motorola 680x0 ('m68k') architecture has been
74 dropped because it did not meet the criteria set by the Debian Release
75 Managers. The most important underlying reasons are performance and limited
76 upstream support for essential toolchain components. However, the m68k port
77 is expected to remain active and available for installation even if not a
78 part of this official stable release.</p>
79
80 <p>The following are the officially supported architectures for
81 &debian; &releasename;:</p>
82
83 <p>
84 <list>
85 <item><p>Intel x86 ('i386')</p></item>
86 <item><p>Alpha ('alpha')</p></item>
87 <item><p>SPARC ('sparc')</p></item>
88 <item><p>PowerPC ('powerpc')</p></item>
89 <item><p>ARM ('arm')</p></item>
90 <item><p>MIPS ('mips' (Big endian) and 'mipsel' (Little endian))</p></item>
91 <item><p>Intel Itanium ('ia64')</p></item>
92 <item><p>HP PA-RISC ('hppa')</p></item>
93 <item><p>S/390 ('s390')</p></item>
94 <item><p>AMD64 ('amd64')</p></item>
95 </list>
96 </p>
97
98 <p>You can read more about port status, and port-specific
99 information for your architecture at the <url id="&url-ports;"
100 name="Debian port web pages">.</p>
101
102 <![ %secondrelease [
103 <p>This is only the second official release of &debian; for the
104 &arch-title; architecture. We feel that it has proven itself
105 sufficiently to be released. However, because it has not had the
106 exposure (and hence testing by users) that our releases on
107 other architectures have had, you may encounter a few bugs. Please
108 use our <url id="&url-bts;" name="bug tracking system"> to report
109 any problems; make sure to mention the fact that the bug is on the
110 &architecture; platform.</p>
111 ]]>
112
113 <p>&debian; &release; for the &arch-title; architecture ships with
114 kernel version &kernelversion;.</p>
115
116
117 <sect id="newdistro"><heading>What's new in the distribution?</heading>
118
119 <!-- TODO: Numbers need to be reviewed, these values have been obtained
120 using the changes-release script -->
121 <p>This new release of Debian again comes with a lot more software
122 than its predecessor &oldreleasename;; the distribution includes
123 over 6200 new packages. Most of the software in the distribution
124 has been updated: over 10500 software packages (this is 67% of
125 all packages in &oldreleasename;). Also, a significant number
126 of packages (over 3400, 22% of the packages in &oldreleasename;) have for various reasons been removed from the distribution.
127 You will not see any updates for these packages and they will be
128 marked as 'obsolete' in package management front-ends.</p>
129
130 <p>With this release &debian; switches from XFree86 to the 7.1
131 release of X.Org, which includes support for a greater range of
132 hardware and better autodetection. This allows the use of Compiz,
133 which is one of the first compositing window managers for the X
134 Window System, taking full advantage of hardware
135 OpenGL-acceleration for supported devices.</p>
136
137 <p>&debian; again ships with several desktop applications. Amongst
138 others it now includes GNOME 2.14, KDE 3.5, OpenOffice.org 2.0 and
139 KOffice 1.6.</p>
140
141 <p><prgn/aptitude/ is the preferred program for package management
142 from console.
143 <prgn/aptitude/ supports most command line operations of <prgn/apt-get/
144 and has proven to be better at dependency resolution than <prgn/apt-get/.
145 If you are still using <prgn/dselect/, you should switch to
146 <package/aptitude/ as the official frontend for package management.</p>
147
148 <p>The official &debian; distribution now ships on thirteen to fifteen
149 binary CDs (depending on the architecture) and a similar number of
150 source CDs. A DVD version of the distribution is also available.</p>
151
152 <sect1 id="volatile"><heading>debian-volatile now an official service</heading>
153
154 <p>The <em/debian-volatile/ service that was introduced as an
155 unofficial service with the release of &oldreleasename;, has now
156 become an official &debian; service.</p>
157
158 <p>This means that it no longer has a <tt/.debian.net/ address,
159 but now uses a <tt/.debian.org/ address. Please make sure to update
160 your <file>/etc/apt/sources.list</file> accordingly if you were
161 already using this service.</p>
162
163 <p><em/debian-volatile/ allows users to easily
164 update stable packages that contain information that quickly goes out
165 of date. Examples are a virus scanner's signatures list or a spam
166 filter's pattern set. For more information and a list of mirrors,
167 please see the archive's <url id="&url-debian-volatile"
168 name="web page">.</p>
169
170 </sect1>
171 </sect>
172
173 <sect id="inst-new"><heading>What's new in the installation system?</heading>
174
175 <!-- TODO: Hhhm. Whats new in the installer ? -->
176 <p>There has been a lot of development on the Debian Installer
177 since its first official release with &oldreleasename; resulting
178 in both improved hardware support and some exciting new features.</p>
179
180 <p>In these Release Notes we'll only list the major changes in the
181 installer. If you are interested in an overview of the detailed
182 changes since &oldreleasename;, please check the release announcements
183 for the &releasename; beta and RC releases available from the
184 Debian Installer's <url id="&url-installer-news" name="news history">.</p>
185
186 <sect1 id="inst-changes"><heading>Major changes</heading>
187
188 <p><taglist>
189 <tag>No reboot during the installation</tag>
190 <item><p>The installation used to be split into two parts:
191 setting up the base system and making it bootable, followed
192 by a reboot and after that the execution of <prgn/base-config/
193 which would take care of things like user setup, setup of the
194 package management system and installation of additional
195 packages (using tasksel).</p>
196 <p>For &releasename; the second stage has been integrated into
197 Debian Installer itself. This has a number of advantages,
198 including increased security and the fact that after the reboot
199 at the end of the installation the new system should already have
200 the correct timezone and, if you installed the Desktop environment,
201 will at once start the graphical user interface.</p></item>
202
203 <tag>UTF-8 encoding default for new systems</tag>
204 <item><p>The installer will set up systems to use UTF-8 encoding
205 rather than the old language-specific encodings (like ISO-8859-1,
206 EUC-JP or KOI-8).</p></item>
207
208 <tag>More flexible partitioning</tag>
209 <item><p>It is now possible to set up filesystems on an LVM volume
210 using guided partitioning.</p>
211 <p>The installer is also able to set up encrypted filesystems.
212 Using manual partitioning you have the choice between <tt/dm-crypt/
213 and <tt/loop-aes/, using a passphrase or a random key, and you can
214 tune various other options. Using guided partitioning, the installer
215 will create an encrypted LVM partition that contains any other
216 filesystems (except <file>/boot</file>) as logical volumes.</p></item>
217
218 <![ %i386-amd64 [
219 <tag>Graphical user interface</tag>
220 <item><p>If you prefer a graphical user interface, try booting
221 the installer with <tt/installgui/.</p>
222 <p>The functionality of the graphical installer is almost identical
223 to the regular installer, only the presentation differs. There is one
224 exception: the graphical frontend does not support setting up
225 encrypted partitions using random keys.</p>
226 <p>Note: the graphical user interface is not available for all
227 architectures.</p></item>
228 ]]>
229
230 <![ %powerpc [
231 <tag>Graphical user interface</tag>
232 <item><p>For &arch-title; a separate installation image using a
233 graphical user interface is available on an experimental basis.
234 It is known to work on most CHRP systems that have an ATI graphics
235 card, but has been insufficiently tested on &arch-title; to include
236 it on the normal installation CDs.</p>
237 <p>If you'd like to try the graphical installer, look for the
238 "gtk-miniiso" image.</p></item>
239 ]]>
240
241 <tag>Rescue mode</tag>
242 <item><p>You can use the installer to solve problems with your
243 system, for example when it refuses to boot. The first steps will
244 be just like a regular installation, but the installer will not
245 start the partitioner. Instead it will offer you a menu of rescue
246 options.</p>
247 <p>Activate the rescue mode by booting the installer with
248 <tt/rescue/, or by adding a boot parameter
249 <tt>rescue/enable=true</tt>.</p></item>
250
251 <tag>Using sudo instead of root account</tag>
252 <item><p>During expert installations you can choose to not
253 set up the root account (it will be locked), but instead set
254 up <prgn/sudo/ so that the first user can use that for
255 system administration.</p></item>
256
257 <!-- FIXME: Bug Manoj for a link to documentation on enabling SELinux -->
258 <tag>SELinux</tag>
259 <item><p>The packages needed for SELinux support have been
260 promoted to priority "standard". This means that they will be
261 installed by default if you select the Standard task during
262 installation. However, SELinux support is not enabled by default.
263 If you want to secure your system using SELinux, you will need
264 to enable it manually after the installation.</p></item>
265
266 <![ %not-s390 [
267 <tag>New languages</tag>
268 <item><p>Thanks to the huge efforts of translators, Debian can
269 now be installed in 47 languages using the text-based
270 installation user interface. This is six languages more
271 than in &oldreleasename;. Languages added in this release include
272 Belarusian, Esperanto, Estonian, Kurdish, Macedonian,
273 Tagalog, Vietnamese and Wolof.
274 Languages dropped in this relase due to lack of translation
275 updates include Persian and Welsh.
276 <![ %g-i [
277 If the graphical user interface is used, an additional 11
278 languages are supported. These languages can only be selected
279 using this installer as their fonts cannot be presented
280 in non-graphical environments.
281 ]]>
282 Users that do not wish to use any local can now select
283 <em/C/ as their preferred local in the installer's language
284 selection.
285 More information on
286 language coverage is available at the
287 <url id="&url-d-i-i18n;" name="d-i languages list">.
288 </p></item>
289 ]]> <!-- not-s390 -->
290
291 </taglist></p>
292 </sect1>
293
294 <sect1 id="inst-auto"><heading>Automated installation</heading>
295
296 <p>A lot of the changes mentioned in the previous section also
297 imply changes in the support in the installer for automated
298 installation using preconfiguration files. This means that if
299 you have existing preconfiguration files that worked with the
300 &oldreleasename; installer, you cannot expect these to work
301 with the new installer without modification.</p>
302
303 <p>The good news is that the <url id="&url-install-manual;"
304 name="Installation Guide"> now has a separate appendix with
305 extensive documentation on using preconfiguration.</p>
306
307 <p>The &releasename; installer introduces some exciting new
308 features that allow further and easier automation of installs.
309 It also adds support for advanced partitioning using RAID, LVM
310 and encrypted LVM. See the documentation for details.</p>
311
312 </sect1>
313 </sect>
314
315 </chapt>
316
317 <!-- TODO: Mention default usage of UTF-8 for new installs -->
318 <chapt id="installing"><heading>New installations</heading>
319
320 <p>The Debian Installer is the official installation system for Debian.
321 It offers a variety of installation methods. Which methods
322 are available to install your system depends on your architecture.</p>
323
324 <p>Images of the installer for &releasename; and the Installation Guide
325 can be found on the <url id="&url-installer;" name="Debian website">.</p>
326
327 <p>The Installation Guide is also included on the first CD/DVD of the
328 official Debian CD/DVD sets, at:
329
330 <example>
331 /doc/install/manual/<var>language</var>/index.html
332 </example></p>
333
334 <p>You may also want to check the <url id="&url-installer;index#errata"
335 name="errata"> for debian-installer.</p>
336
337 <![ %alpha [
338 <!-- TODO: Still true? -->
339 <p>The installer can only be used to install on alpha systems which
340 support the SRM console. Be sure to switch your system to SRM before
341 starting the installation. If your machine supports only the AlphaBIOS/ARC
342 console, you can still install &releasename; using a (minimal) &oldreleasename;
343 installation and a subsequent upgrade. For more information about the
344 different consoles please read the references on the
345 <url id="http://www.debian.org/ports/alpha" name="Debian alpha port web pages">.
346 </p>
347 ]]>
348
349 <![ %sparc [
350 <sect id="sparc_fb"><heading>Issues with framebuffer on &arch-title;</heading>
351
352 <p>Because of display problems on some systems, framebuffer support is
353 disabled by default for &arch-title; for most graphics cards. This can
354 result in ugly display on systems that do properly support the framebuffer.
355 If you see display problems in the installer, you can try booting the installer
356 with the parameter <tt>framebuffer=true</tt>.
357 Please let us know if the framebuffer is not used by default, but works for
358 your hardware.</p>
359
360 </sect>
361 ]]>
362
363 <sect id="popcon"><heading>Popularity contest</heading>
364
365 <p>The installation system will again offer
366 to install the <package/popularity-contest/ package. This package was not
367 installed by default in &oldreleasename; but it was installed in older releases.</p>
368
369 <p><package/popularity-contest/ provides the Debian project with valuable information
370 on which packages in the distribution are actually used. This information
371 is used mainly to decide the order in which packages are included on
372 installation CD-ROMs, but is also often consulted by Debian developers
373 in deciding whether or not to adopt a package that no longer has a
374 maintainer.</p>
375
376 <p>Information from <package/popularity-contest/ is processed anonymously.
377 We would appreciate it if you would participate in this official survey;
378 you will thereby help improve Debian.</p>
379
380 </sect>
381 </chapt>
382
383
384 <chapt id="upgrading"><heading>Upgrades from previous releases</heading>
385
386 <!-- For doc-writers' convenience:
387 Debian Supported
388 release: architectures:
389
390 1.3.1 or less i386
391 2.0 i386,m68k
392 2.1 i386,m68k,alpha,sparc
393 2.2 i386,m68k,alpha,sparc,powerpc,arm
394 3.0 + hppa,s390,mips,mipsel,ia64
395 3.1 i386,m68k,alpha,sparc,powerpc,arm,hppa,s390,mips,mipsel,ia64 (no changes)
396 4.0 i386,alpha,sparc,powerpc,arm,hppa,s390,mips,mipsel,ia64,amd64
397 (+ amd64; - m68k)
398 -->
399
400 <sect id="backup"><heading>Preparing for the upgrade</heading>
401
402 <p>We suggest that before upgrading you also read the information in
403 <ref id="information">. That chapter covers potential issues not
404 directly related to the upgrade process but which could still be
405 relevant.</p>
406
407 <p>Before upgrading your system, it is strongly recommended that
408 you make a full backup, or at least backup any data or
409 configuration information you can't afford to lose. The upgrade
410 tools and process are quite reliable, but a hardware failure in
411 the middle of an upgrade could result in a severely damaged
412 system.</p>
413
414 <p>The main things you'll want to back up are the contents of
415 <file>/etc</file>, <file>/var/lib/dpkg</file> and the output of
416 <tt>dpkg --get-selections "*"</tt> (the quotes are important).</p>
417
418 <p>The upgrade process in itself does not modify anything in the
419 <file>/home</file> directory. However, some applications (e.g.
420 parts of the Mozilla suite, and the GNOME and KDE desktop
421 environments) are known to overwrite existing user settings with new
422 defaults when a new version of the application is first started by a
423 user. As a precaution, you may want to make a backup of the hidden
424 files and directories ("dotfiles") in users' home directories. This
425 backup may help to restore or recreate the old settings. You may
426 also want to inform users about this.</p>
427
428 <p>It's wise to inform all users in advance of any upgrades you're
429 planning, although users accessing your system via an <prgn/ssh/
430 connection should notice little during the upgrade, and should be
431 able to continue working. If you wish to take extra precautions, back up or
432 unmount users' partitions (<file>/home</file>) before upgrading. A
433 reboot will not normally be necessary, unless you also plan to
434 upgrade your kernel.</p>
435
436 <!-- TODO: Is not necessary to change the kernel? e.g. udev ? -->
437
438 <p>Distribution upgrade should be done either locally from a
439 textmode virtual console (or a directly connected serial
440 terminal), or remotely via an <prgn/ssh/ link.</p>
441
442 <p><strong/Important!/ You should <em/not/ upgrade using <prgn/telnet/,
443 <prgn/rlogin/, <prgn/rsh/, or from an X session managed by <prgn/xdm/,
444 <prgn/gdm/ or <prgn/kdm/ etc on the machine you are upgrading. That is
445 because each of those services may well be terminated during the
446 upgrade, which can result in an <em/inaccessible/ system that is only
447 half-upgraded.</p>
448
449 <!-- TODO: surely gdm/kdm are sane? -->
450
451 <p>Any package installation operation must be run with superuser
452 privileges, so either login as root or use <prgn/su/ or
453 <prgn/sudo/ to gain the necessary access rights.</p>
454
455 <p>The upgrade has a few preconditions; you should check them
456 before actually executing the upgrade.</p>
457
458 <sect1><heading>Make sure you have sufficient space for the upgrade</heading>
459
460 <p>You have to make sure before upgrading your system that you have
461 sufficient hard disk space when you start the full system upgrade
462 described in <ref id="upgrading_other">. You will first need
463 enough hard disk on the filesystem partition that holds <file>/var/</file>
464 to temporarily download the packages that will be installed in your system.
465 After the download, you will probably need more space in other
466 filesystem partitions in order to both install upgraded packages (which
467 might contain bigger binaries or more data) and new packages that will be pulled
468 in for the upgrade. If your system does not have sufficient space you
469 might end up with an incomplete upgrade that might be difficult to
470 recover from.</p>
471
472 <!-- JFS: Apt will not always abort if you do not have enough disk space.
473 For reference see: #247331, #214119, #192146, #185201, #40438 and #32919 -->
474
475 <p>Both <prgn/aptitude/ and <prgn/apt/ will show you detailed information
476 of the disk space needed for the installation. Before executing the
477 upgrade, you can see this estimate by running:
478 </p>
479
480 <p><example>
481 # aptitude -y -s -f --with-recommends dist-upgrade
482 [ ... ]
483 XXX upgraded, XXX newly installed, XXX to remove and XXX not upgraded.
484 Need to get xx.xMB/yyyMB of archives. After unpacking AAAMB will be used.
485 Would download/install/remove packages.
486 </example></p>
487
488
489 <p>If you do not have enough space for the upgrade, make sure you free up
490 space beforehand. You can:
491 </p>
492
493 <!-- JFS There are more tips at
494 http://lists.debian.org/debian-user/2005/11/msg02078.html
495 or
496 http://www.debian-administration.org/articles/143
497 but maybe that should be in the Debian Reference best and pointed from here -->
498 <p>
499 <list>
500 <!-- JFS: Does aptitude to 'apt-get autoclean' by itself? -->
501 <item>Remove packages that have been previously downloaded for
502 installation (at <file>/var/cache/apt/archive</file>), cleaning up the
503 package cache by running <prgn>apt-get clean</prgn>.
504
505 <!-- JFS Point to http://www.enricozini.org/blog/eng/pkgsizestat.html ?
506 Enrico's script shows files that occupy space in a given partition
507 which might be good for systems that are heavily partitioned -->
508
509 <item>Remove old packages you no longer use. If you have
510 <prgn/popularity-contest/ installed, you can use
511 <prgn/popcon-largest-unused/ to list the packages you do not use in the
512 system that occupy the most space. You can also use <prgn/deborphan/
513 or <prgn/debfoster/ to find obsolete packages (see
514 <ref id="obsolete">).
515
516 <item>Remove packages taking up too much space, which are not currently
517 needed (you can always reinstall them after the
518 upgrade). You can list the packages that take up most of the disk space
519 with <prgn/dpigs/ (available in the <package/debian-goodies/ package)
520 or with <prgn/wajig/ (running <tt>wajig size</tt>).
521
522 <item>Temporarily move to another system, or permanently remove, system
523 logs residing under <file>/var/log/</file>.
524
525 </list></p>
526 </sect1>
527
528 <sect1 id="glibc-kernel"><heading>Support for 2.2-kernels has been dropped</heading>
529 <p>In case you run a kernel prior to 2.4.1,
530 you need to upgrade to (at least) the
531 2.4-series before upgrading <package/glibc/.
532 This should preferable be done before starting the upgrade.
533 It is recommended you directly upgrade to the 2.6-kernel (available
534 in &oldreleasename;, instead of upgrading to a 2.4-kernel series.
535 </p>
536 </sect1>
537
538 </sect>
539
540 <sect id="system-status">
541 <heading>Checking system status</heading>
542
543 <p>The upgrade process described in this chapter has been designed for
544 upgrades from "pure" &oldreleasename; systems without 3rd party
545 packages. It may be wise to remove these packages first.</p>
546
547 <p>This procedure also assumes your system has been updated to the
548 latest point release of &oldreleasename;. If you have not done this
549 or are unsure, follow the instructions in <ref id="old-upgrade">.</p>
550
551 <sect1><heading>Disabling APT pinning</heading>
552
553 <p>If you have configured APT to install certain packages from a
554 distribution other than stable (e.g. from testing), you may have to
555 change your APT pinning configuration (stored in
556 <file>/etc/apt/preferences</file>) to allow the upgrade of packages to
557 the versions in the new stable release. Further information on APT
558 pinning can be found in <manref name="apt_preferences" section="5">.</p>
559
560 </sect1>
561
562 <sect1><heading>Checking packages status</heading>
563
564 <p>Regardless of the method used for upgrading, it is recommended
565 that you check the status of all packages first, and verify that
566 all packages are in an upgradable state. The following command
567 will show any packages which have a status of Half-Installed or
568 Failed-Config, and those with any error status.
569
570 <example>
571 # dpkg --audit
572 </example></p>
573
574 <p>You could also inspect the state of all packages on your system
575 using <prgn/dselect/, <prgn/aptitude/, or with commands such as
576
577 <example>
578 # dpkg -l | pager
579 </example>
580
581 or
582
583 <example>
584 # dpkg --get-selections &gt; ~/curr-pkgs.txt
585 </example></p>
586
587 <p>It is desirable to remove any holds before upgrading. If any
588 package that is essential for the upgrade is on hold, the upgrade
589 will fail.</p>
590
591 <p>Note that <prgn/aptitude/ uses a different method for registering
592 packages that are on hold than <prgn/apt-get/ and <prgn/dselect/.
593 You can identify packages on hold for <prgn/aptitude/ with
594
595 <example>
596 # aptitude search "~ahold" | grep "^.h"
597 </example></p>
598
599 <p>If you want to check which packages you had on hold for
600 <prgn/apt-get/, you should use
601 <example>
602 # dpkg --get-selections | grep hold
603 </example></p>
604
605 <p>If you changed and recompiled a package locally, and didn't rename
606 it or put an epoch in the version, you must put it on hold to prevent
607 it from being upgraded.</p>
608
609 <p>The "hold" package state for <prgn/aptitude/ can be changed using
610 (replace <tt/hold/ with <tt/unhold/ to unset the "hold" state):
611 <example>
612 # aptitude hold <var>package_name</var>
613 </example>
614 </p>
615
616 <p>If there is anything you need to fix, it is best to make sure your
617 <file/sources.list/ still refers to &oldreleasename; as explained in
618 <ref id="old-sources">.</p>
619 </sect1>
620
621 <sect1 id="backports"><heading>Unofficial sources and backports</heading>
622
623 <p>If you have any non-Debian packages on your system, you should be
624 aware that these may be removed during the upgrade because of
625 conflicting dependencies. If these packages were installed by adding
626 an extra package archive in your <file>/etc/apt/sources.list</file>,
627 you should check if that archive also offers packages compiled for
628 &releasename; and change the source line accordingly at the same time
629 as your source lines for Debian packages.</p>
630
631 <p>Some users may have unofficial backported "newer" versions of
632 packages that <em/are/ in Debian installed on their &oldreleasename;
633 system. Such packages are most likely to cause problems during an
634 upgrade as they may result in file conflicts<footnote>Debian's
635 package management system normally does not allow a package to remove
636 or replace a file owned by another package; not unless it has been
637 defined to replace that package.</footnote>. Section <ref id="trouble">
638 has some information on how to deal with file conflicts if they should
639 occur.</p>
640
641 </sect1>
642 </sect>
643
644 <sect id="upgrade-process"><heading>Preparing sources for APT</heading>
645
646 <p>Before starting the upgrade you must set up <package/apt/'s
647 configuration file for package lists,
648 <file>/etc/apt/sources.list</file>.</p>
649
650 <p><package/apt/ will consider all packages that can be found via
651 any "<tt>deb</tt>" line, and install the package with the highest
652 version number, giving priority to the first mentioned lines (that
653 way, in case of multiple mirror locations, you'd typically first
654 name a local harddisk, then CD-ROMs, and then HTTP/FTP
655 mirrors).</p>
656
657 <p>A release can often be referred to by both its codename (e.g.
658 &oldreleasename;, &releasename;) and by its status name (i.e.
659 oldstable, stable, testing, unstable). Referring to a release by its
660 codename has the advantage that you will never be surprised by a
661 new release and for this reason is the approach taken here. It
662 does of course mean that you will have to watch out for release
663 announcements yourself. If you use the status name instead, you
664 will just see loads of updates for packages available as soon as a
665 release has happened.</p>
666
667 <sect1 id="network"><heading>Adding APT Internet sources</heading>
668
669 <p>The default configuration is set up for installation from main
670 Debian Internet servers, but you may wish to modify
671 <file>/etc/apt/sources.list</file> to use other mirrors,
672 preferably a mirror that is network-wise closest to you.</p>
673
674 <!-- FJP: Why is 'default configuration' relevant here? We are talking about
675 upgrading existing installations; we really have no idea what
676 apt-sources users will have set up here (maybe just a Woody CD-set).
677 Note: D-I sets the default configuration to a mirror based on
678 the selected country and not the 'main' servers. -->
679
680 <p>Debian HTTP or FTP mirror addresses can be found at
681 <url id="&url-debian-mirrors;"> (look at the "Full list of
682 mirrors" section). HTTP mirrors are generally speedier than FTP
683 mirrors.</p>
684
685 <p>For example, suppose your closest Debian mirror is
686 <tt>&url-debian-mirror-eg;/</tt>. When inspecting that mirror
687 with a web browser or FTP program, you will notice that the main
688 directories are organized like this:
689
690 <example>
691 &url-debian-mirror-eg;/dists/&releasename;/main/binary-&architecture;/...
692 &url-debian-mirror-eg;/dists/&releasename;/contrib/binary-&architecture;/...
693 </example></p>
694
695 <p>To use this mirror with <prgn/apt/, you add this line to your
696 <file/sources.list/ file:
697
698 <example>
699 deb &url-debian-mirror-eg; &releasename; main contrib
700 </example></p>
701
702 <p>Note that the `<tt>dists</tt>' is added implicitly, and the
703 arguments after the release name are used to expand the path into
704 multiple directories.</p>
705
706 <p>After adding your new sources, disable the previously existing
707 "<tt/deb/" lines in <file/sources.list/, by placing a hash sign
708 (<tt/#/) in front of them.</p>
709
710 <p>Any package needed for installation that is fetched from the
711 network is stored in <file>/var/cache/apt/archives</file>
712 (and the <file>partial/</file> subdirectory, during download), so
713 you must make sure you have enough space before attempting to
714 start the installation. With a reasonably extended Debian
715 installation, you can expect at least 300 MB of downloaded
716 data.</p>
717
718 </sect1>
719
720 <sect1 id="localmirror"><heading>Adding APT sources for a local mirror</heading>
721
722 <p>Instead of using HTTP or FTP packages mirrors, you may wish to
723 modify <file>/etc/apt/sources.list</file> to use a mirror on a
724 local disk (possibly mounted over NFS).</p>
725
726 <p>For example, your packages mirror may be under
727 <file>/var/ftp/debian/</file>, and have main directories like
728 this:
729
730 <example>
731 /var/ftp/debian/dists/&releasename;/main/binary-&architecture;/...
732 /var/ftp/debian/dists/&releasename;/contrib/binary-&architecture;/...
733 </example></p>
734
735 <p>To use this with <prgn/apt/, add this line to your
736 <file/sources.list/ file:
737
738 <example>
739 deb file:/var/ftp/debian &releasename; main contrib
740 </example></p>
741
742 <p>Note that the `<tt>dists</tt>' is added implicitly, and the
743 arguments after the release name are used to expand the path into
744 multiple directories.</p>
745
746 <p>After adding your new sources, disable the previously
747 existing "<tt/deb/" lines in <file/sources.list/, by placing a
748 hash sign (<tt/#/) in front of them.</p></sect1>
749
750 <sect1 id="cdroms"><heading>Adding APT source from CD-ROM or DVD</heading>
751
752 <p>If you want to use CDs <em/only/, comment out the existing
753 "<tt/deb/" lines in <file>/etc/apt/sources.list</file> by placing
754 a hash sign (<tt/#/) in front of them.</p>
755
756 <!-- Default cdrom mount point is /cdrom, not /media/cdrom and fixed!, see #282344
757 (but the -d option of apt-cdrom allows scanning from somewhere else) -->
758 <p>Make sure there is a line in <file>/etc/fstab</file> that
759 enables mounting your CD-ROM drive at the <file>/cdrom</file>
760 mount point (the exact <file>/cdrom</file> mount point is required
761 for <prgn/apt-cdrom/). For example, if <file>/dev/hdc</file> is
762 your CD-ROM drive, <file>/etc/fstab</file> should contain a line
763 like:
764
765 <example>
766 /dev/hdc /cdrom auto defaults,noauto,ro 0 0
767 </example></p>
768
769 <p>Note that there must be <em/no spaces/ between the words
770 <tt>defaults,noauto,ro</tt> in the fourth field.</p>
771
772 <p>To verify it works, insert a CD and try running
773
774 <example>
775 # mount /cdrom # this will mount the CD to the mount point
776 # ls -alF /cdrom # this should show the CD's root directory
777 # umount /cdrom # this will unmount the CD
778 </example></p>
779
780 <p>Next, run:
781
782 <example>
783 # apt-cdrom add
784 </example>
785
786 for each Debian Binary CD-ROM you have, to add the data about
787 each CD to APT's database.</p>
788 </sect1>
789 </sect>
790
791 <sect id="upgradingpackages"><heading>Upgrading packages</heading>
792
793 <p>The recommended way to upgrade from previous &debian; releases is
794 to use the package management tool <prgn>aptitude</prgn>. This program
795 makes safer decisions about package installations than running
796 <prgn>apt-get</prgn> directly.</p>
797
798 <p>Don't forget to mount all needed partitions (notably the root
799 and <file>/usr</file> partitions) read-write, with a command
800 like:
801
802 <example>
803 # mount -o remount,rw /<var>mountpoint</var>
804 </example></p>
805
806 <p>Next you should double check that the APT source entries (in
807 <file>/etc/apt/sources.list</file>) refer either to
808 "<tt/&releasename;/" or to "<tt>stable</tt>". Note: source
809 lines for a CD-ROM will often refer to "<tt/unstable/";
810 although this may be confusing, you should <em/not/ change it.</p>
811
812 <p>It is strongly recommended that you use the
813 <prgn>/usr/bin/script</prgn> program to record a transcript of the
814 upgrade session. Then if a problem occurs, you will have a log of
815 what happened, and if needed, can provide exact information in a bug
816 report. To start the recording, type:
817
818 <example>
819 # script -t -a ~/upgrade-to-&releasename;.typescript 2>~/upgrade-to-&releasename;.timing
820 </example>
821
822 or similar. Do not put the typescript file in a temporary
823 directory such as <file>/tmp</file> or <file>/var/tmp</file> (files
824 in those directories may be deleted during the upgrade or during any
825 restart).</p>
826
827 <p>The typescript will also allow you to review information that has
828 scrolled off-screen. Just switch to VT2 (using <tt/Alt-F2/) and, after
829 logging in, use <tt>less -R ~root/upgrade-to-&releasename;.typescript</tt>
830 to view the file.</p>
831
832
833 <p>After you have completed the upgrade, you can stop <prgn/script/
834 by typing <tt/exit/ at the prompt.</p>
835
836 <!-- TODO: Could mention the script I provided in 400725 which is useful if you
837 have not dumped the timing file -->
838 <p>If you have used the <em>-t</em> switch for <prgn/script/
839 you can use the <prgn/scriptreplay/ program to replay the whole session:
840
841 <example>
842 # scriptreplay ~/upgrade-to-&releasename;.timing 2>~/upgrade-to-&releasename;.typescript
843 </example>
844
845 </p>
846
847 <sect1 id="updating_lists"><heading>Updating the package list</heading>
848
849 <p>First the list of available packages for the new release needs to
850 be fetched. This is done by executing<footnote>We use <prgn/apt-get/
851 for this because the &oldreleasename; version <prgn/aptitude/ may fail
852 when new sources have been added to <file/sources.list/.</footnote>:</p>
853
854 <p><example>
855 # apt-get update
856 </example></p>
857
858 </sect1>
859
860
861 <!-- FJP: This next section can probably be dropped for etch -->
862 <!-- JFS: Actually, this caused issues if done, as documented in 396331, such as
863 removing the current *running* kernel does this still apply with the
864 latest aptitude 0.4.4-1 -->
865 <sect1 id="upgrading_aptitude"><heading>Upgrading aptitude</heading>
866
867 <p>Upgrade tests have shown that &releasename;'s version of
868 <prgn/aptitude/ is better at solving the complex dependencies during
869 an upgrade than either <prgn/apt-get/ or &oldreleasename;'s
870 <prgn/aptitude/.
871
872 It should therefore be upgraded first using:
873 <example>
874 # aptitude install aptitude
875 </example></p>
876
877 <p>You will be shown a list of the changes that will be
878 made and asked you to confirm them. You should take a careful look at
879 the proposed changes, especially packages that will be removed by the
880 upgrade, before you confirm.</p>
881
882 <p>In some cases if a large number of packages is listed for removal,
883 you may be able to reduce this list by "pre-upgrading" selected other
884 packages alongside <package/aptitude/. An example may clarify this.
885 During upgrade tests for systems having KDE installed, we have seen
886 that this step would cause removal of a large number of KDE packages
887 and/or perl. The solution proved to be to <tt>install aptitude perl</tt>
888 instead of <tt>install aptitude</tt>.</p>
889
890 </sect1>
891
892 <sect1 id="upgrading_other"><heading>Upgrading the rest of the system</heading>
893
894 <p>You are now ready to continue with the main part of the
895 upgrade. Execute:</p>
896 <p><example>
897 # aptitude -f --with-recommends dist-upgrade
898 </example></p>
899
900 <p>This will perform a complete upgrade of the system, i.e. install
901 the newest available versions of all packages, and resolve all
902 possible dependency changes between packages in different releases.
903 If necessary, it will install some new packages (usually new library
904 versions, or renamed packages), and remove any conflicting obsoleted
905 packages (such as <package>console-tools-libs</package>).</p>
906
907 <p>When upgrading from a set of CD-ROMs, you will be asked to
908 insert specific CDs at several points during the upgrade. You
909 might have to insert the same CD multiple times; this is due to
910 inter-related packages that have been spread out over the CDs.</p>
911
912 <p>New versions of currently installed packages that cannot be
913 upgraded without changing the install status of another package will
914 be left at their current version (displayed as "held back"). This can
915 be resolved by either using <prgn>aptitude</prgn> to choose these
916 packages for installation or by trying <tt>aptitude -f install
917 <var>package</var></tt>.</p>
918
919 <p>The <tt/--fix-broken/ (or just <tt/-f/) option causes
920 <package/apt/ to attempt to correct a system with broken
921 dependencies in place. <package/apt/ does not allow broken package
922 dependencies to exist on a system.</p>
923
924 </sect1>
925
926 <sect1 id="trouble"><heading>Possible issues during upgrade</heading>
927
928 <p>If an operation using <prgn/aptitude/, <prgn/apt-get/ or
929 <prgn/dpkg/ fails with the error
930 <example>
931 E: Dynamic MMap ran out of room
932 </example>
933 the default cache space is insufficient. You can solve this by either
934 removing or commenting lines you don't need in
935 <file>/etc/apt/sources.list</file> or by increasing the cache size.
936 The cache size can be increased by setting <tt/APT::Cache-Limit/ in
937 <file>/etc/apt/apt.conf</file>. The following command will set it
938 to a value that should be sufficient for the upgrade:
939 <example>
940 # echo 'APT::Cache-Limit "12500000";' >> /etc/apt/apt.conf
941 </example>
942 This assumes that you do not yet have this variable set in that file.</p>
943
944 <p>Sometimes it's necessary to enable APT::Force-LoopBreak option
945 in APT to be able to temporarily remove an essential package due
946 to a Conflicts/Pre-Depends loop. <prgn/aptitude/ will alert you of
947 this and abort the upgrade. You can work around that by specifying
948 <tt>-o APT::Force-LoopBreak=1</tt> option on <prgn/aptitude/
949 command line.</p>
950 <!-- JFS: Shouldn't this mention also Apt's configuration file? -->
951
952 <p>It is possible that a system's dependency structure can be so
953 corrupt as to require manual intervention. Usually this means
954 using <prgn/aptitude/ or
955
956 <example>
957 # dpkg --remove <var>package_name</var>
958 </example>
959
960 to eliminate some of the offending packages, or
961
962 <example>
963 # aptitude --fix-broken install
964 # dpkg --configure --pending
965 </example></p>
966
967 <p>In extreme cases you might have to force re-installation with a
968 command like
969
970 <example>
971 # dpkg --install <var>/path/to/package_name.deb</var>
972 </example></p>
973
974 <p>File conflicts should not occur if you upgrade from a "pure"
975 &oldreleasename; system, but can occur if you have unofficial
976 backports installed. A file conflict will result in an error like:
977
978 <example>
979 Unpacking replacement <var>&lt;package-foo&gt;</var> ...
980 dpkg: error processing <var>&lt;package-name-for-foo&gt;</var> (--unpack):
981 trying to overwrite `<var>&lt;some-file-name&gt;</var>',
982 which is also in package <var>&lt;package-bar&gt;</var>
983 </example></p>
984
985 <p>You can try to solve a file conflict by forcibly removing the
986 package mentioned on the <em/last/ line of the error message:
987
988 <example>
989 # dpkg -r --force-depends <var>package_name</var>
990 </example></p>
991
992 <p>After fixing things up, you should be able to resume the
993 upgrade by repeating the previously described <tt/aptitude/
994 commands.</p>
995
996 <p>During the upgrade, you will be asked questions regarding the
997 configuration or re-configuration of several packages. When you are
998 asked if any file in the <file>/etc/init.d</file> or
999 <file>/etc/terminfo</file> directories, or the
1000 <file>/etc/manpath.config</file> file should be replaced by the
1001 package maintainer's version, it's usually necessary to answer `yes'
1002 to ensure system consistency. You can always revert to the old
1003 versions, since they will be saved with a <tt/.dpkg-old/
1004 extension.</p>
1005
1006 <p>If you're not sure what to do, write down the name of the
1007 package or file, and sort things out at a later time. You can
1008 search in the typescript file to review the information that
1009 was on the screen during the upgrade.</p>
1010
1011 </sect1>
1012 </sect>
1013
1014 <sect id="newkernel"><heading>Upgrading your kernel and related
1015 packages</heading>
1016
1017 <p>You should upgrade the Linux kernel separately from the rest of
1018 your packages.
1019 <!-- TODO: add something in "before you upgrade", and get the order right -->
1020 You may wish to do so yourself, either by installing one
1021 of the <package/linux-image-*/ packages or by compiling a customized
1022 kernel from sources.
1023 Please read the information in this section about potential issues
1024 with kernel upgrades.</p>
1025
1026 <p>All Linux kernel packages have been renamed from <package/kernel-*/ to
1027 <package/linux-*/ to clean up the namespace.</p>
1028
1029 <![ %defaulted-2.4 [
1030 <p>If you are currently using a kernel from the 2.4 series,
1031 the older stable Linux kernel series, you should upgrade to a 2.6
1032 series kernel, as 2.4 is no longer supported in &releasename;.
1033 If you are currently using a kernel from the 2.2 series, you
1034 must upgrade to (at least) the 2.4 series, preferably to a 2.6 series
1035 kernel, prior to upgrading your packages.
1036 <!-- TODO: incorporate this part in this section -->
1037 Some general issues associated with an upgrade to 2.6 are documented
1038 in <ref id="upgrade-to-2.6">.</p>
1039 ]]>
1040
1041 <sect1><heading>Upgrading from a 2.6 kernel</heading>
1042
1043 <!-- JFS: Bug #413458, undeclared linux depency on coreutils' readlink's -m option -->
1044 <p>If you are currently running a 2.6 series kernel from &oldreleasename;
1045 you will have to upgrade to the latest version of <package/coreutils/ before
1046 you upgrade to the 2.6 series kernel available in &releasename;.
1047 <!-- JFS: Bug #325568 -->
1048 In order to do this you first have to do a minimal upgrade of the
1049 system, a full upgrade of the system packages (as described in <ref
1050 id="upgradingpackages">) is not an option since the <prgn/udev/
1051 version in &releasename; does not support 2.6.8 kernels, conversely
1052 the <prgn/udev/ version in &oldreleasename; will not work properly with the
1053 latest kernels.</p>
1054
1055 <p><em>TODO</em>: Describe the steps for this minimal upgrade, should take care
1056 of glibc, initrd-tools and udev + linux-image 2.6.</p>
1057
1058 <!--
1059 <p><em>TRY</em>: In aptitude, upgrade only 'required' 'important'
1060 'standard' packages limit by pressing 'l' and input
1061 !~v(~pextra|~poptional) keep with : for hold this time upgrade by
1062 pressing 'U" and 'g' (untested but ...) (You can do this in much
1063 finer steps.)
1064 -->
1065 </sect1>
1066
1067 <sect1><heading>initrd-tools deprecated</heading>
1068 <p><package/initrd-tools/ is no longer supported and has been
1069 superseded by <package/initramfs-tools/ and <package/yaird/.
1070 Upgrading to an &releasename; kernel will cause
1071 <package/initramfs-tools/ to be installed by default.
1072 <![ %defaulted-2.4 [
1073 If you are upgrading from a 2.4 kernel to a 2.6 kernel for the
1074 first time, you must use <package/initramfs-tools/. Using
1075 <package/yaird/ will cause linux-image-2.6 installations to
1076 fail if you are running a 2.2 or 2.4 kernel.
1077 ]]>
1078 </p>
1079 </sect1>
1080
1081 <sect1><heading>devfs deprecated</heading>
1082 <p>&releasename; no longer provides support for <prgn>devfs</prgn>.
1083 It is recommended that users switch to <package>udev</package> for dynamic
1084 <file>/dev</file> management.
1085 Debian kernels no longer include support for <prgn>devfs</prgn>,
1086 so <prgn>devfs</prgn> users will need to convert their systems
1087 manually before upgrading to an &releasename; kernel.</p>
1088
1089 <p>If you see the string 'devfs' in <file>/proc/mounts</file>,
1090 you are most likely using <prgn>devfs</prgn>.
1091 Any config files that reference <prgn>devfs</prgn> style names will need to be
1092 adjusted to use <prgn>udev</prgn> style names. Files that are most likely to
1093 refer to <prgn>devfs</prgn> style device names are <file>/etc/fstab</file>,
1094 <file>/etc/lilo.conf</file>, <file>/boot/grub/menu.lst</file>, etc.</p>
1095
1096 <p>More information about potential issues is available in bug report
1097 <url id="http://bugs.debian.org/341152" name="#341152">.</p>
1098 </sect1>
1099
1100 <![ %i386-amd64-ia64 [
1101 <sect1><heading>Standard kernels have SMP abilities</heading>
1102 <p>Multiprocessor systems no longer require a *-smp flavour of the
1103 Linux kernel. For &arch-title; linux-image packages without the -smp
1104 suffix support both uniprocessor and multiprocessor systems.</p>
1105 </sect1>
1106 ]]>
1107
1108 <![ %i386 [
1109 <sect1><heading>386 kernel flavour deprecated</heading>
1110 <p>Support for the 80386 sub-archicture for &arch-title; has been dropped
1111 in &releasename;. The 386 kernel flavor is no longer supported and has been
1112 replaced by the new 486 flavour.</p>
1113 </sect1>
1114 ]]>
1115
1116 <sect1><heading>Device enumeration reordering</heading>
1117 <p>&releasename; features a more robust mechanism for hardware discovery
1118 than previous releases. However, this may cause changes in the
1119 order devices are discovered on your system affecting the order
1120 in which device names are assigned.
1121 For example, if you have two network adapters that are associated
1122 with two different drivers, the devices eth0 and eth1 refer to
1123 may be swapped.
1124 Please note that the new mechanism means that if you e.g. exchange
1125 ethernet adapters in a running &releasename; system, the new adapter
1126 will also get a new interface name.</p>
1127
1128 <p>For network devices, you can avoid this reordering by using the
1129 <prgn>ifrename</prgn> utility to bind physical devices to
1130 specific names at boot time.
1131 <!-- TODO: add ifupdown-scripts-zg2 as well here? -->
1132 See <manref name="ifrename" section="8"> and <manref name="iftab"
1133 section="5"> for more information.</p>
1134
1135 <!-- TODO:
1136 *** maks: please review the initramfs stuff for accuracy - I'm going
1137 *** by what I remember, and haven't tested this recently
1138 -->
1139 <p>For storage devices, you can avoid this reordering by using
1140 <package/initramfs-tools/ and configuring it to load storage device
1141 driver modules in the same order they are currently loaded.
1142 To do this, identify the order the storage modules on your system
1143 were loaded by looking at the output of <prgn/lsmod/.
1144 <prgn/lsmod/ lists modules in the reverse order that they were loaded
1145 in, i.e., the first module in the list was the last one
1146 loaded.</p>
1147
1148 <p>However, removing and reloading modules after initial boot
1149 will affect this order. Also, your kernel may have some drivers
1150 linked statically, and these names will not appear in the output
1151 of <prgn>lsmod</prgn>. You may be able to decipher these driver
1152 names and load order from looking at
1153 <file>/var/log/kern.log</file>, or the output of
1154 <prgn>dmesg</prgn>.</p>
1155
1156 <p>Add these module names to <file>/etc/initramfs-tools/modules</file>
1157 in the order they should be loaded at boot time. Some module names may
1158 have changed between &oldreleasename; and &releasename;. For
1159 example, sym53c8xx_2 has become sym53c8xx.</p>
1160
1161 <p>You will then need to regenerate your initramfs image(s) by
1162 executing <tt>update-initramfs -k all</tt>.</p>
1163
1164 <p>Once you are running an &releasename; kernel and <prgn/udev/, you may
1165 reconfigure your system to access disks by an alias that is not
1166 dependent upon driver load order. These aliases reside in the
1167 <file>/dev/disk/</file> hierarchy.</p>
1168 </sect1>
1169
1170 <![ %ia64 [
1171 <sect1><heading>Serial device reordering</heading>
1172 <p>If you have an HP machine and you're using the MP serial
1173 console port (the connector labelled "console" on the 3-headed
1174 cable), this kernel upgrade will break your console!</p>
1175
1176 <p>Please read the following information before upgrading.</p>
1177
1178 <p><list>
1179 <item><p>The console device will change from <file>ttyS0</file> to
1180 <file>ttyS1</file>, <file>ttyS2</file>, or <file>ttyS3</file> so
1181 <list>
1182 <item><p>Edit <file>/etc/inittab</file> to add a getty entry for
1183 <file>/dev/ttyS1</file> (rx4640, rx5670, rx7620, rx8620, Superdome),
1184 <file>/dev/ttyS2</file> (rx1600), or
1185 <file>/dev/ttyS3</file> (rx2600).</p></item>
1186 <item><p>Edit <file>/etc/securetty</file> to add
1187 <file>ttyS1</file>, <file>ttyS2</file>, or
1188 <file>ttyS3</file>.</p></item>
1189 <item><p>Leave the existing <file>ttyS0</file> entries in
1190 <file>/etc/inittab</file> and <file>/etc/securetty</file> so
1191 you can still boot old kernels.</p></item>
1192 </list>
1193 </p></item>
1194
1195 <item><p>Edit <file>/etc/elilo.conf</file> to remove any "console="
1196 arguments.</p></item>
1197
1198 <item><p>Run <prgn/elilo/ to install the bootloader with new
1199 configuration.</p></item>
1200
1201 <item><p>Reboot and use the EFI boot option maintenance menu to
1202 select exactly one device for console output, input, and standard
1203 error. Then do a cold reset so the changes take
1204 effect.</p>
1205
1206 <p>For the MP console, be careful to select the device with
1207 "Acpi(HWP0002,700)/Pci(...)/Uart" in the path.</p></item>
1208 </list></p>
1209
1210 <p>More details about these changes and troubleshooting hints are
1211 available at
1212 <url id="http://lists.debian.org/debian-ia64/2005/01/msg00008.html">.</p>
1213
1214 </sect1>
1215 ]]>
1216
1217 <sect1><heading>Upgrading the kernel</heading>
1218 <p>When you dist-upgrade from &oldreleasename; to &releasename;,
1219 it is strongly recommended that you install a new
1220 linux-image-2.6-* metapackage.
1221 This package may be installed automatically by the dist-upgrade
1222 process. You can verify this by running:
1223 <example>
1224 # dpkg -l | grep '^ii linux-image'
1225 </example></p>
1226
1227 <p>If you do not see any output, then you will need to install a
1228 new linux-image package by hand. To see a list of available
1229 linux-image-2.6 metapackages, run:
1230 <example>
1231 # apt-cache search linux-image-2.6- | grep -v transition
1232 </example></p>
1233
1234 <p>If you are unsure about which package to select, run
1235 <tt>uname -r</tt> and look for a package with a similar name.
1236 For example, if you see '2.4.27-3-686', it is recommended that you
1237 install <package/linux-image-2.6-686/.
1238 You may also use <prgn>apt-cache</prgn> to see a long description of each
1239 package in order to help choose the best one available.
1240 For example:
1241 <example>
1242 # apt-cache show linux-image-2.6-686
1243 </example></p>
1244
1245 <p>You should then use <tt/aptitude install/ to install it. Once
1246 this new kernel is installed you should reboot at the next available
1247 opportunity to get the benefits provided by the new kernel version.</p>
1248
1249 <p>For the more adventurous there is an easy way to compile your
1250 own custom kernel on &debian;. Install the
1251 <package>kernel-package</package> tool and read the documentation
1252 in <file>/usr/share/doc/kernel-package</file>.</p>
1253
1254 </sect1>
1255 </sect>
1256
1257 <sect id="nownownow"><heading>Things to do before rebooting</heading>
1258
1259 <p>When <tt>aptitude dist-upgrade</tt> has finished, the
1260 "formal" upgrade is complete, but there are some other things
1261 that should be taken care of <em/before/ the next reboot.</p>
1262
1263 <sect1 id="rerunlilo"><heading>Rerun lilo</heading>
1264
1265 <p>If you are using <package/lilo/ as your bootloader (it is the
1266 default bootloader for &oldreleasename;) it is strongly recommended
1267 that you rerun lilo after the upgrade:
1268 <example>
1269 # /sbin/lilo
1270 </example></p>
1271
1272 <p>Notice this is needed even if you did not upgrade your system's kernel, as
1273 lilo's second stage will change due to the package upgrade.</p>
1274
1275 <p>Also, review the contents of your <file>/etc/kernel-img.conf</file> and
1276 make sure that you have <em>do_bootloader = Yes</em> in it. That way the
1277 bootloader will always be rerun after a kernel upgrade.
1278 </p>
1279
1280 <p>If you encounter any issues when running <prgn/lilo/ review the
1281 symbolic links in <file>/</file> to <file>vmlinuz</file> and
1282 <file>initrd</file>, as well as the contents of your
1283 <file>/etc/lilo.conf</file> for discrepancies.</p>
1284
1285 <p>If you forgot to rerun <prgn/lilo/ before the reboot or the system
1286 is accidentally rebooted before you could do this manually, your
1287 system might fail to boot. Instead of the lilo prompt, you will only
1288 see <em/LI/ when booting the system<footnote>For more information on
1289 <prgn/lilo/'s boot error codes please see <url
1290 id="http://tldp.org/HOWTO/Bootdisk-HOWTO/a1483.html" name="The Linux
1291 Bootdisk HOWTO">.</footnote>. In order to
1292 recover from this you will have to start up a media installation disk
1293 in <em/rescue/ mode. For
1294 more information on how to do this please review the <url
1295 id="http://wiki.debian.org/DebianInstaller/FAQ" name="DebianInstaller
1296 FAQ">.</p>
1297
1298 </sect1>
1299
1300 <sect1 id="mdadm"><heading>Upgrading mdadm</heading>
1301
1302 <p>mdadm now needs a configuration file to assemble MD arrays (RAID)
1303 from the initial ramdisk and during the system initialisation
1304 sequence. Please make sure to read and act upon the instructions in
1305 <file>/usr/share/doc/mdadm/README.upgrading-2.5.3.gz</file> after
1306 the package has been upgraded <strong>and before you reboot</strong>.
1307 The latest version of this file is available at
1308 <url id="http://svn.debian.org/wsvn/pkg-mdadm/mdadm/trunk/debian/README.upgrading-2.5.3?op=file">;
1309 please consult it in case of problems.</p>
1310
1311 </sect1>
1312 </sect>
1313
1314 <sect id="obsolete"><heading>Obsolete packages</heading>
1315
1316 <!-- JFS: Providing a full listing might be useful, especially if we can
1317 point to the Bug that was opened when the bug was removed. This list should
1318 be moved to an appendix, instead of adding it inline as we did in the
1319 potato to woody RN -->
1320
1321 <p>Introducing several thousand new packages, &releasename; also
1322 retires and omits more than two thousand old packages that were in
1323 &oldreleasename;. It provides no upgrade path for these obsolete
1324 packages. While nothing prevents you from continuing to use an
1325 obsolete package where desired, the Debian project will usually
1326 discontinue security support for it a year after &releasename;'s
1327 release<footnote>Or for as long as there is not another release in
1328 that time frame. Typically only two stable releases are supported
1329 at any given time.</footnote>, and will not normally provide other
1330 support in the meantime. Replacing them with available
1331 alternatives, if any, is recommended.</p>
1332
1333 <p>There are many reasons why packages might have been removed from
1334 the distribution: they are no longer maintained upstream; there is
1335 no longer a Debian Developer interested in maintaining the packages;
1336 the functionality they provide has been superseded by different
1337 software (or a new version); or they are no longer considered
1338 suitable for &releasename; due to bugs in them. In the later case,
1339 packages might still be present in the "unstable" distribution.</p>
1340
1341 <p>Detecting which packages in an updated system are "obsolete" is
1342 easy since the package management front-ends will mark them as
1343 such. If you are using <prgn>aptitude</prgn>, you will see a
1344 listing of these packages in the "Obsolete and Locally Created
1345 Packages" entry. <prgn>dselect</prgn> provides a similar section
1346 but the listing it presents might differ. Also, if you have used
1347 <prgn>aptitude</prgn> to manually install packages in
1348 &oldreleasename; it will have kept track of those packages you
1349 manually installed and will be able to mark as obsolete those
1350 packages pulled in by dependencies alone which are no longer
1351 needed if a package has been removed. Also, <prgn>aptitude</prgn>,
1352 unlike <prgn>deborphan</prgn> will not mark as obsolete packages
1353 that you manually installed, as opposed to those that were
1354 automatically installed through dependencies.</p>
1355
1356 <p>There are additional tools you can use to find obsolete packages
1357 such as <prgn>deborphan</prgn>, <prgn>debfoster</prgn> or
1358 <prgn>cruft</prgn>. <prgn>deborphan</prgn> is highly recommended,
1359 although it will (in default mode) only report obsolete libraries:
1360 packages in the "libs" or "oldlibs" sections that are not used by
1361 any other packages. Do not blindly remove the packages these tools
1362 present, especially if you are using aggressive non-default
1363 options that are prone to produce false positives. It is highly
1364 recommended that you manually review the packages suggested for
1365 removal (i.e. their contents, size and description) before you
1366 remove them.</p>
1367
1368 <!-- JFS: Should we recommend purging old packages? This might be
1369 dangerous since the maintainer scripts might try to remove stuff that
1370 didn't belong to them... -->
1371
1372 <p>The <url id="&url-bts;" name="Debian Bug Tracking System">
1373 often provides additional information on why the package was
1374 removed. You should review both the archived bug reports for the
1375 package itself and the archived bug reports for the <url
1376 id="&url-bts;cgi-bin/pkgreport.cgi?pkg=ftp.debian.org&#38;archive=yes"
1377 name="ftp.debian.org pseudo-package">.</p>
1378
1379 <sect1 id="dummy"><heading>Dummy packages</heading>
1380
1381 <!-- JFS: If the appendix is kept this section should point there and the packages described here should be moved to that section -->
1382
1383 <p>Some packages from &oldreleasename; have been split into several
1384 packages in &releasename;, often to improve system maintainability. To
1385 ease the upgrade path in such cases, &releasename; often provides
1386 "dummy" packages: empty packages that have the same name as the old
1387 package in &oldreleasename; with dependencies that cause the new
1388 packages to be installed. These "dummy" packages are considered
1389 obsolete packages after the upgrade and can be safely removed.
1390
1391 <p>Most (but not all) dummy packages' descriptions indicate their
1392 purpose. Package descriptions for dummy packages are not uniform,
1393 however, so you might also find <prgn>deborphan</prgn> with the
1394 <tt>--guess</tt> options useful to detect them in your system.
1395 Note that some dummy packages are not intended to be removed after
1396 an upgrade but are, instead, used to keep track of the current
1397 available version of a program over time.</p>
1398
1399 </sect1>
1400 </sect>
1401 </chapt>
1402
1403 <!-- FJP: Add more info here on dealing with obsolete packages?
1404 Also how to purge packages that were deleted but still have conffiles
1405 (use "limit" command in aptitude and search for ~c) -->
1406
1407 <chapt id="information">
1408 <heading>Issues to be aware of for &releasename;</heading>
1409
1410 <sect id="problems"><heading>Potential problems</heading>
1411 <p>Sometimes, changes have side-issues we cannot reasonably avoid,
1412 or we expose bugs somewhere else.
1413 We document here the issues we are aware of.
1414 Please also read the errata, the relevant packages' documentation,
1415 bug reports and other information mentioned in <ref id="morereading">.
1416 </p>
1417
1418 <sect1 id="window-scaling"><heading>Certain networking site cannot be reached by TCP</heading>
1419 <p>
1420 Since 2.6.17, Linux aggresively uses TCP window scaling which is specified in RFC 1323.
1421 Some servers have a broken behaviour, and announce wrong
1422 window sizes for themselves. Please see the bugs
1423 <url id="http://bugs.debian.org/381262" name="#381262"> and
1424 <url id="http://bugs.debian.org/395066" name="#395066">
1425 for more information.
1426 </p>
1427 </sect1>
1428
1429 <![ %i386 [
1430 <sect1 id="poweroff"><heading>Automatic poweroff stops working</heading>
1431 <p>
1432 On some older systems, <tt>shutdown -h</tt> may not power off the system
1433 anymore (but just stop it). This happens because apm needs to be used there.
1434 Adding <tt>acpi=off apm=power_off</tt> to the kernel's command line, e.g.
1435 in <package/grub/ or <package/lilo/ configuration files should fix this issue.
1436 Please see bug
1437 <url id="http://bugs.debian.org/390547" name="#390547">
1438 for additional information.
1439 </p>
1440 </sect1>
1441 ]]>
1442
1443 <sect1 id="apt-pdiff"><heading>Apt downloads small files with update</heading>
1444 <p>
1445 Support has been added to <prgn>apt</prgn> to download only the difference
1446 between packages files. This is handy for people with bad network connections,
1447 but people having a very nearby mirror may want to disable this feature.
1448 One can disable it by adding <tt>Acquire::Pdiffs "false";</tt> to
1449 <file>/etc/apt/apt.conf</file>.
1450 </p>
1451 </sect1>
1452
1453 <![ %i386 [
1454 <sect1 id="hp-acpi"><heading>ACPI support disabled for some HP laptop models in &releasename; kernel</heading>
1455 <p>
1456 Certain models of HP laptops have an ACPI BIOS that is incompatible with the
1457 Linux 2.6.18 kernel shipped in &releasename;, which would prevent the fans from
1458 spinning up leading to unnecessary heat stress. Also, fans might not work after
1459 the system is suspedend. The kernel therefore disables ACPI support
1460 internally when it detects certain ACPI BIOS versions. Models known
1461 to be affected by this change include the HP nx6125, nx6120, nx6325,
1462 nc6120 and nc6000 models.
1463 </p>
1464 <p>
1465 Users who require ACPI support on these systems may install a Linux 2.6.19 or
1466 later kernel. Please see Debian bug
1467 <url id="http://bugs.debian.org/404143" name="#404143"> and
1468 <url id="http://bugs.debian.org/400488" name="#400488">,
1469 and Linux Kernel's bugs
1470 <url id="http://bugzilla.kernel.org/show_bug.cgi?id=5534" name="#5534">
1471 and
1472 <url id="http://bugzilla.kernel.org/show_bug.cgi?id=7122" name="#7122">
1473 for additional information.
1474 </p>
1475 </sect1>
1476 ]]>
1477
1478 </sect>
1479
1480
1481 <!-- Controversial, disabled for now, please translate though
1482 <sect id="german-quotes"><heading>Problems with German Quotes</heading>
1483
1484 <p>The locales for German style languages (e.g. de_DE@euro)
1485 unfortunately use an aesthetically unpleasing way of representing
1486 open quotation marks. We have retained it this way in order to
1487 preserve compatibility with other Linux distributions, and we hope
1488 that in the future it will be fixed. We suggest that you switch to a
1489 UTF-8 locale (e.g. de_DE@euro.UTF-8), which fully supports German with
1490 the correct quotation marks, and, using Unicode encoding, has better
1491 support for other languages as well.</p>
1492
1493 <p>To change the system wide locale choice, use:
1494 <example>dpkg-reconfigure locales</example></p>
1495 </sect>
1496 -->
1497 <!-- Will be added if relevant information is written here
1498 <sect id="syntax"><heading>Important program syntax changes</heading>
1499
1500 <p>Debian attempts to avoid changing upstream packages, therefore
1501 any changes in the upstream package will be present in the version in
1502 &debian;. This can mean that program behaviour may change between
1503 releases of &debian;. </p>
1504
1505 <p><em>No changes yet reported.</em></p>
1506
1507 </sect>
1508 -->
1509
1510 <![ %defaulted-2.4 [
1511 <sect id="upgrade-to-2.6">
1512 <heading>Upgrading to a 2.6 kernel</heading>
1513
1514 <p>The 2.6 kernel series contains major changes from the 2.4 series.
1515 Modules have been renamed and a lot of drivers have been partially
1516 or sometimes almost completely rewritten. Upgrading to a 2.6 kernel
1517 from an earlier version is therefore not a process to be undertaken
1518 lightly. This section aims to make you aware of some of the issues
1519 you may face.</p>
1520
1521 <p>You are therefore strongly advised not to upgrade to a 2.6 kernel
1522 as part of the upgrade from &oldreleasename; to &releasename;.
1523 Instead, you should first make sure your system works correctly
1524 with either the old kernel or with a 2.4 kernel from &releasename;
1525 and do the upgrade to a 2.6 kernel later as a separate project.</p>
1526
1527 <p>If you compile your own kernel from source, make sure you install
1528 <package/module-init-tools/ before you reboot with the 2.6 kernel.
1529 This package replaces <package/modutils/ for 2.6 kernels. If you
1530 install one of the Debian <package/linux-image/ packages, this
1531 package will be installed automatically because of dependencies.</p>
1532
1533 <p>If you use <em/LVM/, you should also install <package/lvm2/
1534 before you reboot as the 2.6 kernel does not directly support LVM1.
1535 To access LVM1 volumes, the compatibility layer of <package/lvm2/
1536 (the dm-mod module) is used. You can leave <package/lvm10/ installed;
1537 the init scripts will detect which kernel is used and execute the
1538 appropriate version.</p>
1539
1540 <p>If you have entries in the <file>/etc/modules</file> file (the
1541 list of modules to be loaded during system boot), be aware that some
1542 module names may have changed. If this happens you will have to update
1543 this file with the new module names.</p>
1544
1545 <!-- JFS: Can't this device name change even for some other disk controllers? I've found
1546 references in debian-user posts talking about some strange chipsets and BIOS
1547 which are seen in sarge' 2.4 as hda and in etch's 2.6 as hdf... -->
1548 <![ %i386-amd64 [
1549 <p>For some SATA disk controllers, the device assigned to a drive and
1550 its partitions may change from <file>/dev/hdX</file> to
1551 <file>/dev/sdX</file>. If this happens, you will have to modify your
1552 <file>/etc/fstab</file> and bootloader configuration accordingly.
1553 Unless these changes are made correctly, your system may not boot
1554 correctly<footnote>It will boot the kernel but will fail when trying
1555 to mount the root filesystem and will abort with an error <em>waiting for root filesystem</em>
1556 followed by <em>unable to mount /dev/hdX ..not found</em>.
1557 You can use the <prgn/initramfs/ shell to fix this issue, after you
1558 identify the names newly assigned devices in the kernel boot messages or by reviewing
1559 the contents of <file>/dev/disk</file>.</footnote>.</p>
1560 ]]>
1561
1562 <p>Once you have installed your 2.6 kernel, but before you reboot,
1563 make sure you have a recovery method. First, make sure that the
1564 bootloader configuration has entries for both the new kernel and
1565 the old, working 2.4 kernel. You should also ensure you have a "rescue"
1566 floppy or cdrom to hand, in case misconfiguration of the bootloader
1567 prevents you booting the old kernel.</p>
1568
1569 <![ %not-s390 [
1570 <![ %not-amd64 [
1571 <sect1 id="2.6-keyboard">
1572 <heading>Keyboard configuration</heading>
1573
1574 <p>The most invasive change in the 2.6 kernels is a fundamental
1575 change of the input layer. This change makes all keyboards look
1576 like "normal" PC keyboards. This means that if you currently have
1577 a different type of keyboard selected (e.g. a USB-MAC or Sun
1578 keyboard), you will very likely end up with a non-working keyboard
1579 after rebooting with the new 2.6 kernel.</p>
1580
1581 <p>If you can SSH into the box from another system, you can resolve
1582 this issue by running <tt>dpkg-reconfigure console-data</tt>, choosing
1583 the option "Select keymap from full list" and selecting a "pc"
1584 keyboard.</p>
1585
1586 <p>If your console keyboard is affected, you will probably also need to
1587 reconfigure your keyboard for the X Window System. You can do this
1588 either by running <tt>dpkg-reconfigure xserver-xorg</tt> or by
1589 editing <file>/etc/X11/xorg.conf</file> directly. Don't forget
1590 to read the documentation referred to in <ref id="nownownow">.</p>
1591
1592 <![ %i386 [
1593 <p>This issue is unlikely to affect the &arch-title; architecture
1594 as all PS/2 and most USB keyboards will already be configured as
1595 a "normal" PC keyboard.</p>
1596 ]]>
1597 <![ %not-i386 [
1598 <p>Note that if you are using a USB keyboard, this may be configured
1599 as either a "normal" PC keyboard or as a USB-MAC keyboard. In the
1600 first case you will not be affected by this issue.</p>
1601 ]]>
1602 </sect1>
1603 ]]> <!-- %not-amd64 -->
1604
1605 <sect1 id="2.6-mouse">
1606 <heading>Mouse configuration</heading>
1607
1608 <p>Again because of the changes in the input layer, you may have to
1609 reconfigure the X Window System and <package/gpm/ if your mouse is
1610 not working after upgrading to a 2.6 kernel. The most likely cause is
1611 that the device which gets the data from the mouse has changed.
1612 You may also need to load different modules.</p>
1613
1614 <![ %sparc [
1615 <p>If you currently have X configured for <file>/dev/sunmouse</file>,
1616 you probably need to change this to <file>/dev/psaux</file>.</p>
1617 ]]>
1618
1619 </sect1>
1620
1621 <sect1 id="2.6-sound">
1622 <heading>Sound configuration</heading>
1623
1624 <p>For the 2.6 kernel series the ALSA sound drivers are recommended
1625 over the older OSS sound drivers. ALSA sound drivers are provided
1626 as modules by default. In order for sound to work, the ALSA modules
1627 appropriate for your sound hardware need to be loaded. In general
1628 this will happen automatically if you have, in addition to the
1629 <package>alsa-base</package> package, either the
1630 <package>hotplug</package> package or the <package>discover</package>
1631 package installed. The <package>alsa-base</package> package also
1632 "blacklists" OSS modules to prevent <prgn>hotplug</prgn> and
1633 <prgn>discover</prgn> from loading them. If you have OSS modules
1634 listed in <file>/etc/modules</file>, you should remove them.</p>
1635
1636 </sect1>
1637 ]]> <!-- %not-s390 -->
1638
1639 <!-- FJP: May already be covered by kernel team text
1640 Etch Debian kernels depend on udev via initramfs-tools -->
1641 <sect1 id="2.6-udev">
1642 <heading>Switching to 2.6 may activate udev</heading>
1643
1644 <p><package/udev/ is a userspace implementation of devfs. It is mounted
1645 over the <file>/dev</file> directory and will populate that directory
1646 with devices supported by the kernel. It will also dynamically add and
1647 remove devices as kernel modules are loaded or unloaded respectively,
1648 working together with <package/hotplug/ to detect new devices.
1649 <package/udev/ works only with 2.6 kernels.</p>
1650
1651 <p>As <package/udev/ is automatically installed as a dependency of the new
1652 default initrd generator used with the 2.6 kernels
1653 (<package/initramfs-tools/), upgrading to a 2.6 kernel will normally result
1654 in <package/udev/ being activated. You can avoid installing <package/udev/
1655 if you install an alternate initrd generator, such as <package/yaird/.
1656 <package/initramfs-tools/ is the recommended initrd generator.</p>
1657
1658 <p>Although <package/udev/ has been tested extensively, you may experience
1659 minor problems with some devices that will need to be fixed. The most
1660 common problems are changed permission and/or ownership of a device.
1661 In some cases a device may not be created by default (e.g.
1662 <file>/dev/video</file> and <file>/dev/radio</file>).</p>
1663
1664 <p><package/udev/ provides configuration mechanisms to deal with these
1665 issues. See <manref name="udev" section="8"> and <file>/etc/udev</file>
1666 for further information.</p>
1667
1668 </sect1>
1669 </sect>
1670 ]]> <!-- %defaulted-2.4 -->
1671
1672
1673 <sect id="xorg"> <heading>XFree86 to X.Org transition</heading>
1674 <p>The transition to X.Org involves some structural changes. In case
1675 all installed packages are from Debian and also included in &releasename;,
1676 the upgrade should work without problems.
1677 Experience has however shown there are a few changes to be aware of as
1678 they can potentially cause issues during the upgrade.</p>
1679
1680 <p>The most important change is that <file>/usr/X11R6/bin</file> has
1681 been dropped and only remains as a symlink to <file>/usr/bin</file>.
1682 This means this directory has to be empty at the time the new packages
1683 are installed. The new packages conflict with most packages that used
1684 <file>/usr/X11R6/bin</file>,
1685 but in some cases manual intervention may be needed.
1686 Please remember to not run upgrades within an X session.</p>
1687
1688 <p>In case the upgrade aborts during X.Org installation, you should
1689 check if any files are still left in <file>/usr/X11R6/bin</file>.
1690 You can then use <tt>dpkg -S</tt> to find out which Debian package
1691 installed that file (if any), and remove such packages with
1692 <tt>dpkg --remove</tt>. Please make a note which packages you
1693 remove, so that you can install substitute packages later on.
1694 Before continuing with the upgrade, all files in
1695 <file>/usr/X11R6/bin</file> need to be removed.</p>
1696
1697 <p>Please read <url id="http://wiki.debian.org/Xorg69To7">
1698 for more details and other issues.</p>
1699
1700 </sect>
1701
1702 <sect id="exim"> <heading>Upgrading from exim to exim4</heading>
1703 <p>One of the packages that has been obsoleted by the &releasename;
1704 release is the Mail Transfer Agent (MTA) <package/exim/, which has been replaced
1705 by the completely new package <package/exim4/.</p>
1706
1707 <p><prgn/exim/ (version 3.xx) has been unmaintained upstream for years, and
1708 Debian has dropped support for that version as well. If you are still using
1709 <prgn/exim/ 3.xx, please upgrade your <package/exim/ installation to <package/exim4/ manually.
1710 Since <package/exim4/ is already part of &oldreleasename;, you can choose to do the
1711 upgrade on your &oldreleasename; system before the upgrade to &releasename;,
1712 or after the &releasename; upgrade at your convenience. Just remember that
1713 your old <package/exim/ package is not going to be upgraded and that it won't get
1714 security support after support for &oldreleasename; has been discontinued.</p>
1715
1716 <p>The <package/exim4/ packages in Debian are extensively documented. The package's
1717 home page is <url id="http://wiki.debian.org/PkgExim4"> on the Debian Wiki, and
1718 the README file can be found at
1719 <url id="http://pkg-exim4.alioth.debian.org/README/README.Debian.html"> and
1720 inside the packages as well.</p>
1721
1722 <p>The README file has a chapter about Packaging, which explains the
1723 different package variations we offer, and it has a chapter about
1724 Updating from <prgn/Exim/ 3, which will help you in doing the actual
1725 transition.</p>
1726 <!-- FIXME: update with decisions of (S)RMs might be needed -->
1727 </sect>
1728
1729 <sect id="apache2"> <heading>Upgrading apache2</heading>
1730 <p>Apache has been upgraded to the new version 2.2.
1731 Although this shouldn't impact the average user,
1732 there are some potential issues to be aware of.</p>
1733
1734 <p><url id="http://httpd.apache.org/docs/2.2/upgrading.html"> contains
1735 the upstream changes. Please read this page, and remember that especially:
1736 <list>
1737 <item><p>all modules need to be recompiled</p></item>
1738 <item><p>authorization modules have been resorted and renamed</p></item>
1739 <item><p>some configuration options have been renamed</p></item>
1740 </list></p>
1741
1742 <p>Debian-specific changes include that the string SSL is no longer defined,
1743 as ssl is now supported by the default package.</p>
1744
1745 </sect>
1746
1747 <sect id="php-globals"> <heading>Deprecated insecure php configurations</heading>
1748 <p>For many years, turning on the <tt/register_globals/ settings in PHP
1749 has been known to be insecure and dangerous, and this option has defaulted to
1750 off for some time now. This configuration is
1751 now finally deprecated on Debian systems as too dangerous.
1752 The same applies to flaws in <tt/safe_mode/ and <tt/open_basedir/, which
1753 have also been unmaintained for some time.</p>
1754
1755 <p>Starting with this release, the Debian security team does not provide
1756 security support for a number of PHP configurations which are known to
1757 be insecure. Most importantly, issues resulting from
1758 <tt/register_globals/ being turned on will no longer be addressed.</p>
1759
1760 <p>If you run legacy applications that require <tt/register_globals/,
1761 enable it for the respective paths only, e.g. through the Apache
1762 configuration file. More information is available in the
1763 <file>README.Debian.security</file> file in the PHP
1764 documentation directory (<file>/usr/share/doc/php4</file>,
1765 <file>/usr/share/doc/php5</file>).</p>
1766 </sect>
1767
1768 <sect id="mozilla-security"> <heading>Security status of Mozilla products</heading>
1769 <p>The Mozilla programs are important tools for many users.
1770 Unfortunately the upstream security policy is to urge users to update to
1771 new upstream versions, which conflicts with Debian's policy not to ship
1772 large functional changes in security updates.
1773 We cannot predict it today, but during lifetime of &releasename; the
1774 Debian Security Team may come to a point where supporting
1775 Mozilla products is no longer feasible and announce
1776 the end of security support for Mozilla products.
1777 You should take this into account when deploying Mozilla and consider
1778 alternatives available in Debian if the absence of security support would
1779 pose a problem for you.</p>
1780 </sect>
1781
1782 <--! JFS: Bug #400838 -->
1783 <sect id="kde-desktop-changes"> <heading>KDE desktop</heading>
1784 <p>KDE media handling has changed in the version available in
1785 &releasename; from using <file>device:/</file> to <file>media:/</file>.
1786 Some user configuration files might have stored <file>device:/</file>
1787 links in them which should be adapted. Notably,
1788 <file>~/.kde/share/apps/konqsidebartng/virtual_folders/services</file>
1789 contains this reference and can be safely deleted as it will not be
1790 created when setting up new users.
1791
1792 <p>There have been many changes in the KDE desktop environment from
1793 the version shipped in &oldreleasename; to the version in
1794 &releasename;, you can find more information in the <url
1795 id="http://www.kde.org/announcements/announce-3.5.php" name="KDE
1796 3.5 Release Notes">.</p>
1797 </sect>
1798
1799 <--! JFS: Bug #387921 -->
1800 <sect id="gnome-desktop-changes"> <heading>GNOME desktop changes and support</heading>
1801 <p>If you used the GNOME desktop in &oldreleasename; you will not benefit
1802 of some of the changes introduced in the default configuration in
1803 Debian for &releasename;. In some extreme cases the GNOME desktop might
1804 not properly handle your old configuration and might not behave properly.</p>
1805
1806 <p>If you have not heavily invested in configuring your GNOME desktop
1807 you might want to move the the <file>.gconf</file> directory in user's
1808 home directories to a different name (such as <file>.gconf.old</file>)
1809 so that it gets recreated, with the default configuration for
1810 &releasename;, upon starting a new session.</p>
1811
1812 <p>With the release of &releasename;, Debian no longer contains packages for
1813 most of the obsolete version 1 release of GNOME. Although some packages
1814 remain in order to support some Debian packages which have not yet
1815 been updated to GNOME 2. Packages for GTK1.2 remain fully maintained.</p>
1816
1817 <p>There have been many changes in the GNOME desktop environment from
1818 the version shipped in &oldreleasename; to the version in
1819 &releasename;, you can find more information in the <url
1820 id="http://www.gnome.org/start/2.14/notes/en/" name="GNOME
1821 2.14 Release Notes">.</p>
1822 </sect>
1823
1824 <sect id="nano"> <heading>Default editor changed to nano</heading>
1825 <p>The default editor for default installations in &releasename; is <package/nano/.
1826 Previous Debian releases set the default editor for all users to
1827 <package/vim/, in this release the default behaviour has changed and users
1828 will get a more user-friendly editor.</p>
1829
1830 <p>Users wishing to retain the previous behaviour can either define the
1831 environment variable <em>EDITOR</em> by introducing the following lines
1832 in their own profiles:
1833
1834 <example>
1835 EDITOR=vi
1836 export EDITOR
1837 alias editor=$EDITOR
1838 </example>
1839 </p>
1840
1841 <p>Administrators that wish to change the behaviour for all users will have
1842 to update the alternatives system using:
1843
1844 <example>
1845 # update-alternatives --config editor
1846 </example>
1847 </p>
1848
1849 </sect>
1850
1851 </chapt>
1852
1853 <chapt id="moreinfo">
1854
1855 <heading>More information on &debian;</heading>
1856
1857 <sect id="morereading"> <heading>Further reading</heading>
1858 <p>Beyond these release notes and the installation guide, further
1859 documentation on &debian; is available from the Debian
1860 Documentation Project (DDP), whose goal is to create high quality
1861 documentation for Debian users and developers. Documentation
1862 including the Debian Reference, Debian New Maintainers Guide, and Debian
1863 FAQ are available, and many more. For full details of the existing resources
1864 see the <url id="&url-ddp;" name="DDP website">.</p>
1865
1866 <p>Documentation for individual packages is installed into
1867 <file>/usr/share/doc/<var>package</var></file>, this may include
1868 copyright information, Debian specific details and any upstream
1869 documentation.</p>
1870
1871 </sect>
1872
1873 <sect id="gethelp">
1874 <heading>Getting help</heading>
1875
1876 <p>There are many sources of help, advice and support for Debian
1877 users, but these should only be considered if research into
1878 documentation of the issue has exhausted all sources. This section
1879 provides a short introduction into these which may be helpful for
1880 new Debian users.</p>
1881
1882 <sect1 id="lists">
1883 <heading>Mailing lists</heading>
1884 <p>The mailing lists of most interest to Debian users are the
1885 debian-user list (English) and other debian-user-<var/language/ lists
1886 (for other languages). For information on these lists and details of
1887 how to subscribe see <url id="&url-debian-list-archives;">. Please
1888 check the archives for answers to your question prior to posting and
1889 also adhere to standard list etiquette.</p>
1890 </sect1>
1891 <!-- TODO: Changed to OFTC -->
1892 <sect1 id="irc">
1893 <heading>Internet Relay Chat</heading>
1894
1895 <p>Debian has an IRC channel dedicated to the support and aid of
1896 Debian users located on the OFTC IRC network which exists to
1897 provide interactive services to peer-directed project communities.
1898 To access the channel, point your favourite IRC client at
1899 &debian-irc-server; and join #debian.</p>
1900
1901 <p>Please follow the channel guidelines, respecting other users
1902 fully. For more information on OFTC please visit the <url
1903 id="&url-irc-host;" name="website">.</p>
1904
1905 </sect1>
1906 </sect>
1907
1908 <sect id="bugs">
1909 <heading>Reporting bugs</heading>
1910
1911 <p>We strive to make Debian GNU/Linux a high quality operating
1912 system, however that does not mean that the packages we provide are
1913 totally free of bugs.
1914 Consistent with Debian's "open development" philosophy and as a
1915 service to our users, we provide all the information on reported bugs
1916 at our own Bug Tracking System (BTS). The BTS is browseable at
1917 <url id="&url-bts;" name="bugs.debian.org">.</p>
1918
1919 <p>If you find a bug in the distribution or in packaged software
1920 that is part of it, please report it so that it can be properly
1921 fixed for next releases. Reporting bugs requires a valid email
1922 address, we ask for this so that we can trace bugs and developers
1923 can get in contact with submitters should they need more
1924 information.</p>
1925
1926 <p>You can submit a bug report using the program
1927 <package>reportbug</package> or manually using email.
1928 You can read more about the Bug Tracking System and how to use it by
1929 reading the reference cards (available at
1930 <file>/usr/share/doc/debian</file> if you have
1931 <package>doc-debian</package> installed) or online at the
1932 <url id="&url-bts;" name="Bug Tracking System">.</p>
1933
1934 </sect>
1935
1936 <sect id="contributing">
1937 <heading>Contributing to Debian</heading>
1938
1939 <p>You do not need to be an expert to contribute to Debian. By
1940 assisting users with problems on the various user support <url
1941 id="&url-debian-list-archives;" name="lists"> you are contributing to
1942 the community. Identifying (and importantly solving) problems
1943 related to the development of the distribution by participating on
1944 the development <url id="&url-debian-list-archives;" name="lists"> is
1945 also extremely helpful. To maintain Debian's high quality
1946 distribution <url id="&url-bts;" name="submit bugs">
1947 and help developers track them down and fix them. If you have a way
1948 with words then you may want to contribute more actively by helping
1949 to write <url id="&url-ddp;"
1950 name="documentation"> or <url
1951 id="&url-debian-i18n;" name="translate"> existing
1952 documentation into your own language.</p>
1953
1954 <p>If you can dedicate more time, you could manage a piece of the
1955 Free Software collection within Debian. Especially helpful is if
1956 people adopt or maintain items that people have requested for
1957 inclusion within Debian, the <url id="&url-wnpp;" name="Work Needing
1958 and Prospective Packages database"> details this information. If you
1959 have an interest in specific groups then you may find enjoyment in
1960 contributing to some of Debian's subprojects which include ports to
1961 particular architectures, <url id="&url-debian-jr;" name="Debian
1962 Jr."> and <url id="&url-debian-med;" name="Debian Med">.</p>
1963
1964 <p>In any case, if you are working in the free software community in
1965 any way, as a user, programmer, writer or translator you are already
1966 helping the free software effort. Contributing is rewarding and fun,
1967 and as well as allowing you to meet new people it gives you that
1968 warm fuzzy feeling inside.</p></sect>
1969
1970 </chapt>
1971
1972 <!-- This may or may not still be useful -->
1973 <appendix id="old-stuff">
1974 <heading>Managing your &oldreleasename; system</heading>
1975
1976 <p>This appendix contains information on how to make sure you can install
1977 or upgrade &oldreleasename; packages before you upgrade to &releasename;.
1978 This should only be necessary in specific situations.</p>
1979
1980 <sect id="old-upgrade">
1981 <heading>Upgrading your &oldreleasename; system</heading>
1982
1983 <p>Basically this is no different than any other upgrade of
1984 &oldreleasename; you've been doing. The only difference is that you
1985 first need to make sure your package list still contains
1986 &oldreleasename; packages as explained in <ref id="old-sources">.</p>
1987
1988 </sect>
1989
1990 <sect id="old-sources">
1991 <heading>Checking your sources list</heading>
1992
1993 <p>If any of the lines in your <file>/etc/apt/sources.list</file>
1994 refer to 'stable', you are effectively already "using" &releasename;.
1995 If you have already run <tt>apt-get update</tt>, you can still get
1996 back without problems following the procedure below.</p>
1997
1998 <p>If you have also already installed packages from &releasename;,
1999 there probably is not much point in installing packages from
2000 &oldreleasename; anymore. In that case you will have to decide for
2001 yourself whether you want to continue or not. It is possible to
2002 downgrade packages, but that is not covered here.</p>
2003
2004 <p>Open the file <file>/etc/apt/sources.list</file> with your favorite
2005 editor (as root) and check all lines beginning with <tt>deb http:</tt>
2006 or <tt>deb ftp:</tt> for a reference to "<tt/stable/". If you find any,
2007 change <tt/stable/ to <tt/&oldreleasename;/.</p>
2008
2009 <p>If you have any lines starting with <tt>deb file:</tt>, you will
2010 have to check for yourself if the location they refer to contains
2011 a &oldreleasename; or a &releasename; archive.</p>
2012
2013 <p><strong/Important!/ Do not change any lines that begin with
2014 <tt>deb cdrom:</tt>. Doing so would invalidate the line and you would
2015 have to run <prgn/apt-cdrom/ again. Do not be alarmed if a 'cdrom' source
2016 line refers to "<tt/unstable/". Although confusing, this is normal.</p>
2017
2018 <p>If you've made any changes, save the file and execute
2019
2020 <example>
2021 # apt-get update
2022 </example>
2023
2024 to refresh the package list.</p>
2025
2026 </sect>
2027
2028 </appendix>
2029
2030 </book>
2031 </debiandoc>
2032
2033 <!-- Keep this comment at the end of the file
2034 Local Variables:
2035 mode: sgml
2036 sgml-omittag:t
2037 sgml-shorttag:t
2038 sgml-namecase-general:t
2039 sgml-general-insert-case:lower
2040 sgml-minimize-attributes:nil
2041 sgml-always-quote-attributes:t
2042 sgml-indent-step:2
2043 sgml-indent-data:nil
2044 sgml-declaration:nil
2045 sgml-parent-document:nil
2046 sgml-exposed-tags:nil
2047 sgml-local-catalogs:nil
2048 sgml-local-ecat-files:nil
2049 fill-column: 75
2050 End:
2051 -->

  ViewVC Help
Powered by ViewVC 1.1.5