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

  ViewVC Help
Powered by ViewVC 1.1.5