/[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 4016 - (show annotations) (download) (as text)
Thu Nov 30 01:25:19 2006 UTC (6 years, 5 months ago) by fjp
File MIME type: text/x-sgml
File size: 88221 byte(s)
Fix typo
1 <!DOCTYPE debiandoc PUBLIC "-//DebianDoc//DTD DebianDoc//EN" [
2 <!entity % dynamicdata SYSTEM "../dynamic.ent" > %dynamicdata;
3 <!entity % shareddata SYSTEM "../release-notes.ent" > %shareddata;
4 <!entity docid "$Id: release-notes.en.sgml,v 1.110 2006-11-30 01:25:19 fjp Exp $">
5 ]>
6
7 <!-- Be careful with automatic reformatting. Please note that the indentation
8 in examples is used in the output (plus additional space) as well. -->
9
10 <debiandoc>
11 <book>
12 <titlepag>
13 <title>Release Notes for &debian; &release; ("&releasename"), &arch-title;</title>
14 <author>
15 <name>Josip Rodin, Bob Hilliard, Adam Di Carlo, Anne Bezemer, Rob
16 Bradford (current), Frans Pop (current), Andreas Barth (current)</name><email></email>
17 </author>
18 <author>
19 <name></name><email>debian-doc@lists.debian.org</email>
20 </author>
21 <version>&docid;</version>
22 </titlepag>
23 <toc detail="sect1">
24 <chapt id="about"><heading>Introduction</heading>
25
26 <p>The primairy 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 XOrg, 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 It has proven to be better at dependency resolution than <prgn/apt-get/
143 <prgn/aptitude/ supports most command line operations of <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 avaiable from the project's
183 <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 KIO-8).</p></item>
206
207 <tag>More flexible partitioning</tag>
208 <item><p>It is now possible to set up file systems 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 the
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 up to $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 futher 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. You can see this estimate
461 before executing the actual upgrade 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 that take up too much space and you do not
501 have an immediate need for (you can always reinstall them after the
502 upgrade). You can list packages that take up most of the disk space
503 with <prgn/dpigs/ (available in the <prgn/debian-goodies/ package)
504 or with <prgn/wajig/ (running <prgn>wajig size</prgn>).
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 the <package/glibc/, which means:
516 best before starting with the upgrade.
517 It is recommended to upgrade to the 2.6-kernel series.
518 </sect1>
519
520 <sect1 id="kernelorder"><heading>Upgrade your kernel or userland first?</heading>
521 <!-- TODO: remove this section, it is just that one can see "needs to be done" on the normal output -->
522 <p>[FIXME: Needs decision/documentation whether to upgrade userland or kernel first.]</p>
523 </sect1>
524
525 </sect>
526
527 <sect id="system-status">
528 <heading>Checking system status</heading>
529
530 <p>The upgrade process described in this chapter has been designed for
531 upgrades from "pure" &oldreleasename; systems without 3rd party
532 packages. It may be wise to remove these packages first.</p>
533
534 <p>This procedure also assumes your system has been updated to the
535 latest point release of &oldreleasename;. If you have not done this
536 or are unsure, follow the instructions in <ref id="old-upgrade">.</p>
537
538 <sect1><heading>Disabling APT pinning</heading>
539
540 <p>If you have configured APT to install certain packages from a
541 distribution other than stable (e.g. from testing), you may have to
542 change your APT pinning configuration (stored in
543 <file>/etc/apt/preferences</file>) to allow the upgrade of packages to
544 the versions in the new stable release. Further information on APT
545 pinning can be found in <manref name="apt_preferences" section="5">.</p>
546
547 </sect1>
548
549 <sect1><heading>Checking packages status</heading>
550
551 <p>Regardless of the method used for upgrading, it is recommended
552 that you check the status of all packages first, and verify that
553 all packages are in an upgradable state. The following command
554 will show any packages which have a status of Half-Installed or
555 Failed-Config, and those with any error status.
556
557 <example>
558 # dpkg --audit
559 </example></p>
560
561 <p>You could also inspect the state of all packages on your system
562 using <prgn/dselect/, <prgn/aptitude/, or with commands such as
563
564 <example>
565 # dpkg -l | pager
566 </example>
567
568 or
569
570 <example>
571 # dpkg --get-selections &gt; ~/curr-pkgs.txt
572 </example></p>
573
574 <p>It is desirable to remove any holds before upgrading. If any
575 package that is essential for the upgrade is on hold, the upgrade
576 will fail.</p>
577
578 <p>Note that <prgn/aptitude/ uses a different method for registering
579 packages that are on hold than <prgn/apt-get/ and <prgn/dselect/.
580 You can identify packages on hold for <prgn/aptitude/ with
581
582 <example>
583 # aptitude search "~ahold" | grep "^.h"
584 </example></p>
585
586 <p>If you want to check which packages you had on hold for
587 <prgn/apt-get/, you should use
588 <example>
589 # dpkg --get-selections | grep hold
590 </example></p>
591
592 <p>If you changed and recompiled a package locally, and didn't rename
593 it or put an epoch in the version, you must put it on hold to prevent
594 it from being upgraded.</p>
595
596 <p>The "hold" package state for <prgn/aptitude/ can be changed using
597 (replace <tt/hold/ with <tt/unhold/ to unset the "hold" state):
598 <example>
599 # aptitude hold <var>package_name</var>
600 </example>
601 </p>
602
603 <p>If there is anything you need to fix, it is best to make sure your
604 <file/sources.list/ still refers to &oldreleasename; as explained in
605 <ref id="old-sources">.</p>
606 </sect1>
607
608 <sect1 id="backports"><heading>Unofficial sources and backports</heading>
609
610 <p>If you have any non-Debian packages on your system, you should be
611 aware that these may be removed during the upgrade because of
612 conflicting dependencies. If these packages were installed by adding
613 an extra package archive in your <file>/etc/apt/sources.list</file>,
614 you should check if that archive also offers packages compiled for
615 &releasename; and change the source line accordingly at the same time
616 as your source lines for Debian packages.</p>
617
618 <p>Some users may have unofficial backported "newer" versions of
619 packages that <em/are/ in Debian installed on their &oldreleasename;
620 system. Such packages are most likely to cause problems during an
621 upgrade as they may result in file conflicts<footnote>Debian's
622 package management system normally does not allow a package to remove
623 or replace a file owned by another package; not unless it has been
624 defined to replace that package.</footnote>. Section <ref id="trouble">
625 has some information on how to deal with file conflicts if they should
626 occur.</p>
627
628 </sect1>
629 </sect>
630
631 <sect id="upgrade-process"><heading>Preparing sources for APT</heading>
632
633 <p>Before starting the upgrade you must set up <package/apt/'s
634 configuration file for package lists,
635 <file>/etc/apt/sources.list</file>.</p>
636
637 <p><package/apt/ will consider all packages that can be found via
638 any "<tt>deb</tt>" line, and install the package with the highest
639 version number, giving priority to the first mentioned lines (that
640 way, in case of multiple mirror locations, you'd typically first
641 name a local harddisk, then CD-ROMs, and then HTTP/FTP
642 mirrors).</p>
643
644 <p>A release can often be referred to by both its codename (e.g.
645 &oldreleasename;, &releasename;) and by its status name (i.e.
646 oldstable, stable, testing, unstable). Referring to a release by its
647 codename has the advantage that you will never be surprised by a
648 new release and for this reason is the approach taken here. It
649 does of course mean that you will have to watch out for release
650 announcements yourself. If you use the status name instead, you
651 will just see loads of updates for packages available as soon as a
652 release has happened.</p>
653
654 <sect1 id="network"><heading>Adding APT Internet sources</heading>
655
656 <p>The default configuration is set up for installation from main
657 Debian Internet servers, but you may wish to modify
658 <file>/etc/apt/sources.list</file> to use other mirrors,
659 preferably a mirror that is network-wise closest to you.</p>
660
661 <!-- FJP: Why is 'default configuration' relevant here? We are talking about
662 upgrading existing installations; we really have no idea what
663 apt-sources users will have set up here (maybe just a Woody CD-set).
664 Note: D-I sets the default configuration to a mirror based on
665 the selected country and not the 'main' servers. -->
666
667 <p>Debian HTTP or FTP mirror addresses can be found at
668 <url id="&url-debian-mirrors;"> (look at the "Full list of
669 mirrors" section). HTTP mirrors are generally speedier than FTP
670 mirrors.</p>
671
672 <p>For example, suppose your closest Debian mirror is
673 <tt>&url-debian-mirror-eg;/</tt>. When inspecting that mirror
674 with a web browser or FTP program, you will notice that the main
675 directories are organized like this:
676
677 <example>
678 &url-debian-mirror-eg;/dists/&releasename;/main/binary-&architecture;/...
679 &url-debian-mirror-eg;/dists/&releasename;/contrib/binary-&architecture;/...
680 </example></p>
681
682 <p>To use this mirror with <prgn/apt/, you add this line to your
683 <file/sources.list/ file:
684
685 <example>
686 deb &url-debian-mirror-eg; &releasename; main contrib
687 </example></p>
688
689 <p>Note that the `<tt>dists</tt>' is added implicitly, and the
690 arguments after the release name are used to expand the path into
691 multiple directories.</p>
692
693 <p>After adding your new sources, disable the previously existing
694 "<tt/deb/" lines in <file/sources.list/, by placing a hash sign
695 (<tt/#/) in front of them.</p>
696
697 <p>Any package needed for installation that is fetched from the
698 network is stored in <file>/var/cache/apt/archives</file>
699 (and the <file>partial/</file> subdirectory, during download), so
700 you must make sure you have enough space before attempting to
701 start the installation. With a reasonably extended Debian
702 installation, you can expect at least 300 MB of downloaded
703 data.</p>
704
705 </sect1>
706
707 <sect1 id="localmirror"><heading>Adding APT sources for a local mirror</heading>
708
709 <p>Instead of using HTTP or FTP packages mirrors, you may wish to
710 modify <file>/etc/apt/sources.list</file> to use a mirror on a
711 local disk (possibly mounted over NFS).</p>
712
713 <p>For example, your packages mirror may be under
714 <file>/var/ftp/debian/</file>, and have main directories like
715 this:
716
717 <example>
718 /var/ftp/debian/dists/&releasename;/main/binary-&architecture;/...
719 /var/ftp/debian/dists/&releasename;/contrib/binary-&architecture;/...
720 </example></p>
721
722 <p>To use this with <prgn/apt/, add this line to your
723 <file/sources.list/ file:
724
725 <example>
726 deb file:/var/ftp/debian &releasename; main contrib
727 </example></p>
728
729 <p>Note that the `<tt>dists</tt>' is added implicitly, and the
730 arguments after the release name are used to expand the path into
731 multiple directories.</p>
732
733 <p>After adding your new sources, disable the previously
734 existing "<tt/deb/" lines in <file/sources.list/, by placing a
735 hash sign (<tt/#/) in front of them.</p></sect1>
736
737 <sect1 id="cdroms"><heading>Adding APT source from CD-ROM or DVD</heading>
738
739 <p>If you want to use CDs <em/only/, comment out the existing
740 "<tt/deb/" lines in <file>/etc/apt/sources.list</file> by placing
741 a hash sign (<tt/#/) in front of them.</p>
742
743 <!-- Default cdrom mount point is /cdrom, not /media/cdrom and fixed!, see #282344
744 (but the -d option of apt-cdrom allows scanning from somewhere else) -->
745 <p>Make sure there is a line in <file>/etc/fstab</file> that
746 enables mounting your CD-ROM drive at the <file>/cdrom</file>
747 mount point (the exact <file>/cdrom</file> mount point is required
748 for <prgn/apt-cdrom/). For example, if <file>/dev/hdc</file> is
749 your CD-ROM drive, <file>/etc/fstab</file> should contain a line
750 like:
751
752 <example>
753 /dev/hdc /cdrom auto defaults,noauto,ro 0 0
754 </example></p>
755
756 <p>Note that there must be <em/no spaces/ between the words
757 <tt>defaults,noauto,ro</tt> in the fourth field.</p>
758
759 <p>To verify it works, insert a CD and try running
760
761 <example>
762 # mount /cdrom # this will mount the CD to the mount point
763 # ls -alF /cdrom # this should show the CD's root directory
764 # umount /cdrom # this will unmount the CD
765 </example></p>
766
767 <p>Next, run:
768
769 <example>
770 # apt-cdrom add
771 </example>
772
773 for each Debian Binary CD-ROM you have, to add the data about
774 each CD to APT's database.</p>
775 </sect1>
776 </sect>
777
778 <sect id="upgradingpackages"><heading>Upgrading packages</heading>
779
780 <p>The recommended way to upgrade from previous &debian; releases is
781 to use the package management tool <prgn>aptitude</prgn>. This program
782 makes safer decisions about package installations than running
783 <prgn>apt-get</prgn> directly.</p>
784
785 <p>Don't forget to mount all needed partitions (notably the root
786 and <file>/usr</file> partitions) read-write, with a command
787 like:
788
789 <example>
790 # mount -o remount,rw /<var>mountpoint</var>
791 </example></p>
792
793 <p>Next you should double check that the APT source entries (in
794 <file>/etc/apt/sources.list</file>) refer either to
795 "<tt/&releasename;/" or to "<tt>stable</tt>". Note: source
796 lines for a CD-ROM will often refer to "<tt/unstable/";
797 although this may be confusing, you should <em/not/ change it.</p>
798
799 <p>It is strongly recommended that you use the
800 <prgn>/usr/bin/script</prgn> program to record a transcript of the
801 upgrade session. Then if a problem occurs, you will have a log of
802 what happened, and if needed, can provide exact information in a bug
803 report. To start the recording, type:
804
805 <example>
806 # script -a ~/upgrade-to-&releasename;.typescript
807 </example>
808
809 or similar. Do not put the typescript file in a temporary
810 directory such as <file>/tmp</file> or <file>/var/tmp</file> (files
811 in those directories may be deleted during the upgrade or during any
812 restart).</p>
813
814 <p>The typescript will also allow you to review information that has
815 scrolled off-screen. Just switch to VT2 (using <tt/Alt-F2/) and, after
816 logging in, use <tt>less ~root/upgrade-to-&releasename;.typescript</tt>
817 to view the file.</p>
818
819 <p>After you have completed the upgrade, you can stop <prgn/script/
820 by typing <tt/exit/ at the prompt.</p>
821
822 <sect1 id="updating_lists"><heading>Updating the package list</heading>
823
824 <p>First the list of available packages for the new release needs to
825 be fetched. This is done by executing<footnote>We use <prgn/apt-get/
826 for this because the &oldreleasename; version <prgn/aptitude/ may fail
827 when new sources have been added to <file/sources.list/.</footnote>:</p>
828
829 <p><example>
830 # apt-get update
831 </example></p>
832
833 </sect1>
834
835
836 <!-- FJP: This next section can probably be dropped for etch -->
837 <sect1 id="upgrading_aptitude"><heading>Upgrading aptitude</heading>
838
839 <p>Upgrade tests have shown that &releasename;'s version of
840 <prgn/aptitude/ is better at solving the complex dependencies during
841 an upgrade than either <prgn/apt-get/ or &oldreleasename;'s
842 <prgn/aptitude/.
843
844 It should therefore be upgraded first using:
845 <example>
846 # aptitude install aptitude
847 </example></p>
848
849 <p>You will be shown a list of the changes that will be
850 made and asked you to confirm them. You should take a careful look at
851 the proposed changes, especially packages that will be removed by the
852 upgrade, before you confirm.</p>
853
854 <p>In some cases if a large number of packages is listed for removal,
855 you may be able to reduce this list by "pre-upgrading" selected other
856 packages alongside <package/aptitude/. An example may clarify this.
857 During upgrade tests for systems having KDE installed, we have seen
858 that this step would cause removal of a large number of KDE packages
859 and/or perl. The solution proved to be to <tt>install aptitude perl</tt>
860 instead of <tt>install aptitude</tt>.</p>
861
862 </sect1>
863
864 <sect1 id="upgrading_other"><heading>Upgrading the rest of the system</heading>
865
866 <p>You are now ready to continue with the main part of the
867 upgrade. Execute:</p>
868 <p><example>
869 # aptitude -f --with-recommends dist-upgrade
870 </example></p>
871
872 <p>This will perform a complete upgrade of the system, i.e. install
873 the newest available versions of all packages, and resolve all
874 possible dependency changes between packages in different releases.
875 If necessary, it will install some new packages (usually new library
876 versions, or renamed packages), and remove any conflicting obsoleted
877 packages (such as <package>console-tools-libs</package>).</p>
878
879 <p>When upgrading from a set of CD-ROMs, you will be asked to
880 insert specific CDs at several points during the upgrade. You
881 might have to insert the same CD multiple times; this is due to
882 inter-related packages that have been spread out over the CDs.</p>
883
884 <p>New versions of currently installed packages that cannot be
885 upgraded without changing the install status of another package will
886 be left at their current version (displayed as "held back"). This can
887 be resolved by either using <prgn>aptitude</prgn> to choose these
888 packages for installation or by trying <tt>aptitude -f install
889 <var>package</var></tt>.</p>
890
891 <p>The <tt/--fix-broken/ (or just <tt/-f/) option causes
892 <package/apt/ to attempt to correct a system with broken
893 dependencies in place. <package/apt/ does not allow broken package
894 dependencies to exist on a system.</p>
895
896 </sect1>
897
898 <sect1 id="trouble"><heading>Possible issues during upgrade</heading>
899
900 <p>If an operation using <prgn/aptitude/, <prgn/apt-get/ or
901 <prgn/dpkg/ fails with the error
902 <example>
903 E: Dynamic MMap ran out of room
904 </example>
905 the default cache space is insufficient. You can solve this by either
906 removing or commenting lines you don't need in
907 <file>/etc/apt/sources.list</file> or by increasing the cache size.
908 The cache size can be increased by setting <tt/APT::Cache-Limit/ in
909 <file>/etc/apt/apt.conf</file>. The following command will set it
910 to a value that should be sufficient for the upgrade:
911 <example>
912 # echo 'APT::Cache-Limit "12500000";' >> /etc/apt/apt.conf
913 </example>
914 This assumes that you do not yet have this variable set in that file.</p>
915
916 <p>Sometimes it's necessary to enable APT::Force-LoopBreak option
917 in APT to be able to temporarily remove an essential package due
918 to a Conflicts/Pre-Depends loop. <prgn/aptitude/ will alert you of
919 this and abort the upgrade. You can work around that by specifying
920 <tt>-o APT::Force-LoopBreak=1</tt> option on <prgn/aptitude/
921 command line.</p>
922 <!-- JFS: Shouldn't this mention also Apt's configuration file? -->
923
924 <p>It is possible that a system's dependency structure can be so
925 corrupt as to require manual intervention. Usually this means
926 using <prgn/aptitude/ or
927
928 <example>
929 # dpkg --remove <var>package_name</var>
930 </example>
931
932 to eliminate some of the offending packages, or
933
934 <example>
935 # aptitude --fix-broken install
936 # dpkg --configure --pending
937 </example></p>
938
939 <p>In extreme cases you might have to force re-installation with a
940 command like
941
942 <example>
943 # dpkg --install <var>/path/to/package_name.deb</var>
944 </example></p>
945
946 <p>File conflicts should not occur if you upgrade from a "pure"
947 &oldreleasename; system, but can occur if you have unofficial
948 backports installed. A file conflict will result in an error like:
949
950 <example>
951 Unpacking replacement <var>&lt;package-foo&gt;</var> ...
952 dpkg: error processing <var>&lt;package-name-for-foo&gt;</var> (--unpack):
953 trying to overwrite `<var>&lt;some-file-name&gt;</var>',
954 which is also in package <var>&lt;package-bar&gt;</var>
955 </example></p>
956
957 <p>You can try to solve a file conflict by forcibly removing the
958 package mentioned on the <em/last/ line of the error message:
959
960 <example>
961 # dpkg -r --force-depends <var>package_name</var>
962 </example></p>
963
964 <p>After fixing things up, you should be able to resume the
965 upgrade by repeating the previously described <tt/aptitude/
966 commands.</p>
967
968 <p>During the upgrade, you will be asked questions regarding the
969 configuration or re-configuration of several packages. When you are
970 asked if any file in the <file>/etc/init.d</file> or
971 <file>/etc/terminfo</file> directories, or the
972 <file>/etc/manpath.config</file> file should be replaced by the
973 package maintainer's version, it's usually necessary to answer `yes'
974 to ensure system consistency. You can always revert to the old
975 versions, since they will be saved with a <tt/.dpkg-old/
976 extension.</p>
977
978 <p>If you're not sure what to do, write down the name of the
979 package or file, and sort things out at a later time. You can
980 search in the typescript file to review the information that
981 was on the screen during the upgrade.</p>
982
983 </sect1>
984 </sect>
985
986 <sect id="newkernel"><heading>Upgrading your kernel and related
987 packages</heading>
988
989 <p>You should upgrade the Linux kernel separately from the rest of
990 your packages.
991 <!-- TODO: add something in "before you upgrade", and get the order right -->
992 You may wish to do so yourself, either by installing one
993 of the <package/linux-image-*/ packages or by compiling a customized
994 kernel from sources.
995 Please read the information in this section about potential issues
996 with kernel upgrades.</p>
997
998 <p>All Linux kernel packages have been renamed from <tt/kernel-*/ to
999 <tt/linux-*/ to clean up the namespace.</p>
1000
1001 <![ %defaulted-2.4 [
1002 <p>If you are currently using a kernel from the 2.4 series,
1003 the older stable Linux kernel series, you should upgrade to a 2.6
1004 series kernel, as 2.4 is no longer supported in %releasename;.
1005 If you are currently using a kernel from the 2.2 series, you
1006 must upgrade to (at least) the 2.4 series, better to a 2.6 series
1007 kernel prior to upgrading your packages.
1008 <!-- TODO: incoporate this part in this section -->
1009 Some general issues associated with an upgrade to 2.6 are documented
1010 in <ref id="upgrade-to-2.6">.</p>
1011 ]]>
1012
1013 <sect1><heading>initrd-tools deprecated</heading>
1014 <p><package/initrd-tools/ is no longer supported and has been
1015 superseded by <package/initramfs-tools/ and <package/yaird/.
1016 Upgrading to an &releasename; kernel will cause
1017 <package/initramfs-tools/ to be installed by default.
1018 <![ %defaulted-2.4 [
1019 If you are upgrading from a 2.4 kernel to a 2.6 kernel for the
1020 first time, you must use <package/initramfs-tools/. Using
1021 <package/yaird/ will cause linux-image-2.6 installations to
1022 fail if you are running a 2.2 or 2.4 kernel.
1023 ]]>
1024 </p>
1025 </sect1>
1026
1027 <sect1><heading>devfs deprecated</heading>
1028 <p>&releasename; no longer provides support for <prgn>devfs</prgn>.
1029 It is recommended that users switch to udev for dynamic
1030 <file>/dev</file> management.
1031 Debian kernels no longer include support for <prgn>devfs</prgn>,
1032 so <prgn>devfs</prgn> users will need to manually convert their
1033 systems before upgrading to an &releasename; kernel.</p>
1034
1035 <p>If you see the string 'devfs' in <file>/proc/mounts</file>,
1036 you are likely using devfs.
1037 Any config files that reference devfs style names will need to be
1038 adjusted to use udev style names. Files that are most likely to
1039 refer to devfs style device names include <file>/etc/fstab</file>,
1040 <file>/etc/lilo.conf</file>, <file>/boot/grub/menu.lst</file>, etc.</p>
1041
1042 <p>More information about potential issues is available in bug report
1043 <url id="http://bugs.debian.org/341152" name="#351152">.</p>
1044 </sect1>
1045
1046 <![ %i386-amd64-ia64 [
1047 <sect1><heading>Standard kernels contain SMP abilities</heading>
1048 <p>Multiprocessor systems no longer require a *-smp flavour of the
1049 Linux kernel. For &arch-title; linux-image packages without the -smp
1050 suffix support both uniprocessor and multiprocessor systems.</p>
1051 </sect1>
1052 ]]>
1053
1054 <![ %i386 [
1055 <sect1><heading>386 kernel flavour deprecated</heading>
1056 <p>Support for the 80386 sub-archicture for &arch-title; has been dropped
1057 in &releasename;. The 386 kernel flavor is no longer supported and has been
1058 replaced by the new 486 flavour.</p>
1059 </sect1>
1060 ]]>
1061
1062 <sect1><heading>Device enumeration reordering</heading>
1063 <p>&releasename; features a more robust mechanism for hardware discovery
1064 than previous releases. However, this may cause changes in the
1065 order devices are discovered on your system affecting the order
1066 in which device names are assigned.
1067 For example, if you have two network adapters that are associated
1068 with two different drivers, the devices eth0 and eth1 refer to
1069 may be swapped.
1070 Please note that the new mechanism means that if you e.g. exchange
1071 ethernet adapters in a running &releasename; system, the new adapter
1072 will also get a new interface name.</p>
1073
1074 <p>For network devices, you can avoid this reordering by using the
1075 <prgn>ifrename</prgn> utility to bind physical devices to
1076 specific names at boot time.
1077 <!-- TODO: add ifupdown-scripts-zg2 as well here? -->
1078 See <manref name="ifrename" section="8"> and <manref name="iftab"
1079 section="5"> for more information.</p>
1080
1081 <!-- TODO:
1082 *** maks: please review the initramfs stuff for accuracy - I'm going
1083 *** by what I remember, and haven't tested this recently
1084 -->
1085 <p>For storage devices, you can avoid this reordering by using
1086 <package/initramfs-tools/ and configuring it to load storage device
1087 driver modules in the same order they are currently loaded.
1088 To do this, identify the order the storage modules on your system
1089 were loaded by looking at the output of <prgn/lsmod/.
1090 <prgn/lsmod/ lists modules in the reverse order that they were loaded
1091 in, i.e., the first module in the list was the last one
1092 loaded.</p>
1093
1094 <p>However, removing and reloading modules after initial boot
1095 will affect this order. Also, your kernel may have some drivers
1096 linked statically, and these names will not appear in the output
1097 of <prgn>lsmod</prgn>. You may be able to decipher these driver
1098 names and load order from looking at
1099 <file>/var/log/kern.log</file>, or the output of
1100 <prgn>dmesg</prgn>.</p>
1101
1102 <p>Add these module names to <file>/etc/initramfs-tools/modules</file>
1103 in the order they should be loaded at boottime. Some module names may
1104 have changed between &oldreleasename; and &releasename;. For
1105 example, sym53c8xx_2 has become sym53c8xx.</p>
1106
1107 <p>You will then need to regenerate your initramfs image(s) by
1108 executing <tt>update-initramfs -k all</tt>.</p>
1109
1110 <p>Once you are running an &releasename; kernel and <prgn/udev/, you may
1111 reconfigure your system to access disks by an alias that is not
1112 dependent upon driver load order. These aliases reside in the
1113 <file>/dev/disk/</file> hierarchy.</p>
1114 </sect1>
1115
1116 <![ %ia64 [
1117 <sect1><heading>Serial device reordering</heading>
1118 <p>If you have an HP machine and you're using the MP serial
1119 console port (the connector labelled "console" on the 3-headed
1120 cable), this kernel upgrade will break your console!</p>
1121
1122 <p>Please read the following information before upgrading.</p>
1123
1124 <p><list>
1125 <item><p>The console device will change from <file>ttyS0</file> to
1126 <file>ttyS1</file>, <file>ttyS2</file>, or <file>ttyS3</file> so
1127 <list>
1128 <item><p>Edit <file>/etc/inittab</file> to add a getty entry for
1129 <file>/dev/ttyS1</file> (rx4640, rx5670, rx7620, rx8620, Superdome),
1130 <file>/dev/ttyS2</file> (rx1600), or
1131 <file>/dev/ttyS3</file> (rx2600).</p></item>
1132 <item><p>Edit <file>/etc/securetty</file> to add
1133 <file>ttyS1</file>, <file>ttyS2</file>, or
1134 <file>ttyS3</file>.</p></item>
1135 <item><p>Leave the existing <file>ttyS0</file> entries in
1136 <file>/etc/inittab</file> and <file>/etc/securetty</file> so
1137 you can still boot old kernels.</p></item>
1138 </list>
1139 </p></item>
1140
1141 <item><p>Edit <file>/etc/elilo.conf</file> to remove any "console="
1142 arguments.</p></item>
1143
1144 <item><p>Run <prgn/elilo/ to install the bootloader with new
1145 configuration.</p></item>
1146
1147 <item><p>Reboot and use the EFI boot option maintenance menu to
1148 select exactly one device for console output, input, and standard
1149 error. Then do a cold reset so the changes take
1150 effect.</p>
1151
1152 <p>For the MP console, be careful to select the device with
1153 "Acpi(HWP0002,700)/Pci(...)/Uart" in the path.</p></item>
1154 </list></p>
1155
1156 <p>More details about these changes and troubleshooting hints are
1157 available at
1158 <url id="http://lists.debian.org/debian-ia64/2005/01/msg00008.html">.</p>
1159
1160 </sect1>
1161 ]]>
1162
1163 <sect1><heading>Upgrading the kernel</heading>
1164 <p>When you dist-upgrade from &oldreleasename; to &releasename;,
1165 it is strongly recommended that you install a new
1166 linux-image-2.6-* metapackage.
1167 This package may be installed automatically by the dist-upgrade
1168 process. You can verify this by running:
1169 <example>
1170 # dpkg -l | grep '^ii linux-image'
1171 </example></p>
1172
1173 <p>If you do not see any output, then you will need to install a
1174 new linux-image package by hand. To see a list of available
1175 linux-image-2.6 metapackages, run:
1176 <example>
1177 # apt-cache search linux-image-2.6- | grep -v transition
1178 </example></p>
1179
1180 <p>If you are unsure about which package to select, run
1181 <tt>uname -r</tt> and look for a package with a similar name.
1182 For example, if you see '2.4.27-3-686', it is recommended that you
1183 install <package/linux-image-2.6-686/.
1184 You may also use apt-cache to see a long description of each
1185 package in order to help choose the best one available.
1186 For example:
1187 <example>
1188 # apt-cache show linux-image-2.6-686
1189 </example></p>
1190
1191 <p>You should then use <tt/aptitude install/ to install it. Once
1192 this new kernel is installed you should reboot at the next available
1193 opportunity to get the benefit.</p>
1194
1195 <p>For the more adventurous there is an easy way to compile your
1196 own custom kernel on &debian;. Install the
1197 <package>kernel-package</package> tool and read the documentation
1198 in <file>/usr/share/doc/kernel-package</file>.</p>
1199
1200 </sect1>
1201 </sect>
1202
1203 <sect id="nownownow"><heading>Things to do before rebooting</heading>
1204
1205 <p>When <tt>aptitude dist-upgrade</tt> has finished, the
1206 "formal" upgrade is complete, but there are some other things
1207 that should be taken care of <em/before/ the next reboot.</p>
1208
1209 <!-- TODO: Needs update; we probably need a section about upgrading to XOrg -->
1210 <p>Read
1211 <file>/usr/share/doc/xfree86-common/README.Debian-upgrade.gz</file> for
1212 more info on the upgrade of the X window system packages. This is
1213 relevant for users of all previous Debian releases. In short, you
1214 need to read it.</p>
1215
1216 <sect1 id="mdadm"><heading>Upgrading mdadm</heading>
1217
1218 <p>mdadm now needs a configuration file to assemble MD arrays (RAID)
1219 from the initial ramdisk and during the system initialisation
1220 sequence. Please make sure to read and act upon the instructions in
1221 <file>/usr/share/doc/mdadm/README.upgrading-2.5.3.gz</file> after
1222 the package has been upgraded <strong>and before you reboot</strong>.
1223 The latest version of this file is available at
1224 <url id="http://svn.debian.org/wsvn/pkg-mdadm/mdadm/trunk/debian/README.upgrading-2.5.3?op=file">;
1225 please consult it in case of problems.</p>
1226
1227 </sect1>
1228 </sect>
1229
1230 <sect id="obsolete"><heading>Obsolete packages</heading>
1231
1232 <!-- JFS: Providing a full listing might be useful, especially if we can
1233 point to the Bug that was opened when the bug was removed. This list should
1234 be moved to an appendix, instead of adding it inline as we did in the
1235 potato to woody RN -->
1236
1237 <p>Introducing several thousand new packages, &releasename; also
1238 retires and omits more than two thousand old packages that were in
1239 &oldreleasename;. It provides no upgrade path for these obsolete
1240 packages. While nothing prevents you from continuing to use an
1241 obsolete package where desired, the Debian project will usually
1242 discontinue security support for it a year after &releasename;'s
1243 release<footnote>Or for as long as there is not another release in
1244 that time frame. Typically only two stable releases are supported
1245 at any given time.</footnote>, and will not normally provide other
1246 support in the meantime. Replacing them with available
1247 alternatives, if any, is recommended.</p>
1248
1249 <p>There are many reasons why packages might have been removed from
1250 the distribution: they are no longer maintained upstream; there is
1251 no longer a Debian Developer interested in maintaining the packages;
1252 the functionality they provide has been superseded by different
1253 software (or a new version); or they are no longer considered
1254 suitable for &releasename; due to bugs in them. In the later case,
1255 packages might still be present in the "unstable" distribution.</p>
1256
1257 <p>Detecting which packages in an updated system are "obsolete" is
1258 easy since the package management front-ends will mark them as
1259 such. If you are using <prgn>aptitude</prgn>, you will see a
1260 listing of these packages in the "Obsolete and Locally Created
1261 Packages" entry. <prgn>dselect</prgn> provides a similar section
1262 but the listing it presents might differ. Also, if you have used
1263 <prgn>aptitude</prgn> to manually install packages in
1264 &oldreleasename; it will have kept track of those packages you
1265 manually installed and will be able to mark as obsolete those
1266 packages pulled in by dependencies alone which are no longer
1267 needed if a package has been removed. Also, <prgn>aptitude</prgn>,
1268 unlike <prgn>deborphan</prgn> will not mark as obsolete packages
1269 that you manually installed, as opposed to those that were
1270 automatically installed through dependencies.</p>
1271
1272 <p>There are additional tools you can use to find obsolete packages
1273 such as <prgn>deborphan</prgn>, <prgn>debfoster</prgn> or
1274 <prgn>cruft</prgn>. <prgn>deborphan</prgn> is highly recommended,
1275 although it will (in default mode) only report obsolete libraries:
1276 packages in the "libs" or "oldlibs" sections that are not used by
1277 any other packages. Do not blindly remove the packages these tools
1278 present, especially if you are using aggressive non-default
1279 options that are prone to produce false positives. It is highly
1280 recommended that you manually review the packages suggested for
1281 removal (i.e. their contents, size and description) before you
1282 remove them.</p>
1283
1284 <!-- JFS: Should we recommend purging old packages? This might be
1285 dangerous since the maintainer scripts might try to remove stuff that
1286 didn't belong to them... -->
1287
1288 <p>The <url id="&url-bts;" name="Debian Bug Tracking System">
1289 often provides additional information on why the package was
1290 removed. You should review both the archived bug reports for the
1291 package itself and the archived bug reports for the <url
1292 id="&url-bts;cgi-bin/pkgreport.cgi?pkg=ftp.debian.org&#38;archive=yes"
1293 name="ftp.debian.org pseudo-package">.</p>
1294
1295 <sect1 id="dummy"><heading>Dummy packages</heading>
1296
1297 <!-- JFS: If the appendix is kept this section should point there and the packages described here should be moved to that section -->
1298
1299 <p>Some packages from &oldreleasename; have been split into several
1300 packages in &releasename;, often to improve system maintainability. To
1301 ease the upgrade path in such cases, &releasename; often provides
1302 "dummy" packages: empty packages that have the same name as the old
1303 package in &oldreleasename; with dependencies that cause the new
1304 packages to be installed. These "dummy" packages are considered
1305 obsolete packages after the upgrade and can be safely removed.
1306
1307 <p>Most (but not all) dummy packages' descriptions indicate their
1308 purpose. Package descriptions for dummy packages are not uniform,
1309 however, so you might also find <prgn>deborphan</prgn> with the
1310 <tt>--guess</tt> options useful to detect them in your system.
1311 Note that some dummy packages are not intended to be removed after
1312 an upgrade but are, instead, used to keep track of the current
1313 available version of a program over time.</p>
1314
1315 </sect1>
1316 </sect>
1317 </chapt>
1318
1319 <!-- FJP: Add more info here on dealing with obsolete packages?
1320 Also how to purge packages that were deleted but still have conffiles
1321 (use "limit" command in aptitude and search for ~c) -->
1322
1323 <chapt id="information">
1324 <heading>Issues to be aware of for &releasename;</heading>
1325
1326 <sect id="problems"><heading>Potential problems</heading>
1327 <p>Sometimes, changes have side-issues we cannot reasonably avoid,
1328 or we expose bugs somewhere else.
1329 We document here the issues we are aware of.
1330 Please also read the errata, the relevant packages' documentation,
1331 bug reports and other information mentioned in <ref id="morereading">.
1332 </p>
1333
1334 <sect1 id="window-scaling"><heading>Certain networking site cannot be reached by TCP</heading>
1335 <p>
1336 Since 2.6.17, Linux uses TCP window scaling which is specified in RFC 1323 in
1337 an aggressive way. Some servers have a broken behaviour, and announce wrong
1338 window sizes for themselves. Please see the bugs
1339 <url id="http://bugs.debian.org/381262" name="#381262"> and
1340 <url id="http://bugs.debian.org/395066" name="#395066">
1341 for more information.
1342 </p>
1343 </sect1>
1344
1345 <sect1 id="poweroff"><heading>Automatic poweroff stops working</heading>
1346 <p>
1347 On some older systems, <prgn>shutdown -h</prgn> may not power off the system
1348 anymore (but just stop it). This happens because apm needs to be used there.
1349 Adding <tt>acpi=off apm=power_off</tt> to the kernel's command line, e.g.
1350 in <package/grub/ or <package/lilo/ configuration files should fix this issue.
1351 Please see bug
1352 <url id="http://bugs.debian.org/390547" name="#390547">
1353 for additional information.
1354 </p>
1355 </sect1>
1356
1357 <sect1 id="apt-pdiff"><heading>Apt downloads small files with update</heading>
1358 <p>
1359 There has been support added to <prgn>apt</prgn> to download only the difference
1360 between packages files. This is handy for people with bad network connections,
1361 but people having a very nearby mirror may want to disable this feature.
1362 One can disable it by adding <tt>Acquire::Pdiffs "false";</tt> to
1363 <file>/etc/apt/apt.conf</file>.
1364 </p>
1365 </sect1>
1366 </sect>
1367
1368
1369 <!-- Controversial, disabled for now, please translate though
1370 <sect id="german-quotes"><heading>Problems with German Quotes</heading>
1371
1372 <p>The locales for German style languages (e.g. de_DE@euro)
1373 unfortunately use an aesthetically unpleasing way of representing
1374 open quotation marks. We have retained it this way in order to
1375 preserve compatibility with other Linux distributions, and we hope
1376 that in the future it will be fixed. We suggest that you switch to a
1377 UTF-8 locale (e.g. de_DE@euro.UTF-8), which fully supports German with
1378 the correct quotation marks, and, using Unicode encoding, has better
1379 support for other languages as well.</p>
1380
1381 <p>To change the system wide locale choice, use:
1382 <example>dpkg-reconfigure locales</example></p>
1383 </sect>
1384 -->
1385 <!-- Will be added if relevant information is written here
1386 <sect id="syntax"><heading>Important program syntax changes</heading>
1387
1388 <p>Debian attempts to avoid changing upstream packages, therefore
1389 any changes in the upstream package will be present in the version in
1390 &debian;. This can mean that program behaviour may change between
1391 releases of &debian;. </p>
1392
1393 <p><em>No changes yet reported.</em></p>
1394
1395 </sect>
1396 -->
1397
1398 <![ %defaulted-2.4 [
1399 <sect id="upgrade-to-2.6">
1400 <heading>Upgrading to a 2.6 kernel</heading>
1401
1402 <p>The 2.6 kernel series contains major changes from the 2.4 series.
1403 Modules have been renamed and a lot of drivers have been partially
1404 or sometimes almost completely rewritten. Upgrading to a 2.6 kernel
1405 from an earlier version is therefore not a process to be undertaken
1406 lightly. This section aims to make you aware of some of the issues
1407 you may face.</p>
1408
1409 <p>You are therefore strongly advised not to upgrade to a 2.6 kernel
1410 as part of the upgrade from &oldreleasename; to &releasename;.
1411 Instead, you should first make sure your system works correctly
1412 with either the old kernel or with a 2.4 kernel from &releasename;
1413 and do the upgrade to a 2.6 kernel later as a separate project.</p>
1414
1415 <p>If you compile your own kernel from source, make sure you install
1416 <package/module-init-tools/ before you reboot with the 2.6 kernel.
1417 This package replaces <package/modutils/ for 2.6 kernels. If you
1418 install one of the Debian <package/linux-image/ packages, this
1419 package will be installed automatically because of dependencies.</p>
1420
1421 <p>If you use <em/LVM/, you should also install <package/lvm2/
1422 before you reboot as the 2.6 kernel does not directly support LVM1.
1423 To access LVM1 volumes, the compatibility layer of <package/lvm2/
1424 (the dm-mod module) is used. You can leave <package/lvm10/ installed;
1425 the init scripts will detect which kernel is used and execute the
1426 appropriate version.</p>
1427
1428 <p>If you have entries in the <file>/etc/modules</file> file (the
1429 list of modules to be loaded during system boot), be aware that some
1430 module names may have changed. If this happens you will have to update
1431 this file with the new module names.</p>
1432
1433 <![ %i386-amd64 [
1434 <p>For some SATA disk controllers, the device assigned to a drive and
1435 its partitions may change from <file>/dev/hdX</file> to
1436 <file>/dev/sdX</file>. If this happens, you will have to modify your
1437 <file>/etc/fstab</file> and bootloader configuration accordingly.
1438 Unless these changes are made correctly, your system may not boot
1439 correctly.</p>
1440 ]]>
1441
1442 <p>Once you have installed your 2.6 kernel, but before you reboot,
1443 make sure you have a recovery method. First, make sure that the
1444 bootloader configuration has entries for both the new kernel and
1445 the old, working 2.4 kernel. You should also ensure you have a "rescue"
1446 floppy or cdrom to hand, in case misconfiguration of the bootloader
1447 prevents you booting the old kernel.</p>
1448
1449 <![ %not-s390 [
1450 <![ %not-amd64 [
1451 <sect1 id="2.6-keyboard">
1452 <heading>Keyboard configuration</heading>
1453
1454 <p>The most invasive change in the 2.6 kernels is a fundamental
1455 change of the input layer. This change makes all keyboards look
1456 like "normal" PC keyboards. This means that if you currently have
1457 a different type of keyboard selected (e.g. a USB-MAC or Sun
1458 keyboard), you will very likely end up with a non-working keyboard
1459 after rebooting with the new 2.6 kernel.</p>
1460
1461 <p>If you can SSH into the box from another system, you can resolve
1462 this issue by running <tt>dpkg-reconfigure console-data</tt>, choosing
1463 the option "Select keymap from full list" and selecting a "pc"
1464 keyboard.</p>
1465
1466 <p>If your console keyboard is affected, you will probably also need to
1467 reconfigure your keyboard for the X Window System. You can do this
1468 either by running <tt>dpkg-reconfigure xserver-xfree86</tt> or by
1469 editing <file>/etc/X11/XF86Config-4</file> directly. Don't forget
1470 to read the documentation referred to in <ref id="nownownow">.</p>
1471
1472 <![ %i386 [
1473 <p>This issue is unlikely to affect the &arch-title; architecture
1474 as all PS/2 and most USB keyboards will already be configured as
1475 a "normal" PC keyboard.</p>
1476 ]]>
1477 <![ %not-i386 [
1478 <p>Note that if you are using a USB keyboard, this may be configured
1479 as either a "normal" PC keyboard or as a USB-MAC keyboard. In the
1480 first case you will not be affected by this issue.</p>
1481 ]]>
1482 </sect1>
1483 ]]> <!-- %not-amd64 -->
1484
1485 <sect1 id="2.6-mouse">
1486 <heading>Mouse configuration</heading>
1487
1488 <p>Again because of the changes in the input layer, you may have to
1489 reconfigure the X Window System and <package/gpm/ if your mouse is
1490 not working after upgrading to a 2.6 kernel. The most likely cause is
1491 that the device which gets the data from the mouse has changed.
1492 You may also need to load different modules.</p>
1493
1494 <![ %sparc [
1495 <p>If you currently have X configured for <file>/dev/sunmouse</file>,
1496 you probably need to change this to <file>/dev/psaux</file>.</p>
1497 ]]>
1498
1499 </sect1>
1500
1501 <sect1 id="2.6-sound">
1502 <heading>Sound configuration</heading>
1503
1504 <p>For the 2.6 kernel series the ALSA sound drivers are recommended
1505 over the older OSS sound drivers. ALSA sound drivers are provided
1506 as modules by default. In order for sound to work, the ALSA modules
1507 appropriate for your sound hardware need to be loaded. In general
1508 this will happen automatically if you have, in addition to the
1509 <package>alsa-base</package> package, either the
1510 <package>hotplug</package> package or the <package>discover</package>
1511 package installed. The <package>alsa-base</package> package also
1512 "blacklists" OSS modules to prevent <prgn>hotplug</prgn> and
1513 <prgn>discover</prgn> from loading them. If you have OSS modules
1514 listed in <file>/etc/modules</file>, you should remove them.</p>
1515
1516 </sect1>
1517 ]]> <!-- %not-s390 -->
1518
1519 <!-- FJP: May already be covered by kernel team text
1520 Etch Debian kernels depend on udev via initramfs-tools -->
1521 <sect1 id="2.6-udev">
1522 <heading>Switching to 2.6 may activate udev</heading>
1523
1524 <p><package/udev/ is a userspace implementation of devfs. It is mounted
1525 over the <file>/dev</file> directory and will populate that directory
1526 with devices supported by the kernel. It will also dynamically add and
1527 remove devices as kernel modules are loaded or unloaded respectively,
1528 working together with <package/hotplug/ to detect new devices.
1529 <package/udev/ works only with 2.6 kernels.</p>
1530
1531 <p>As <package/udev/ is automatically installed as a dependency of the new
1532 default initrd generator used with the 2.6 kernels
1533 (<package/initramfs-tools/), upgrading to a 2.6 kernel will normally result
1534 in <package/udev/ being activated.</p>
1535
1536 <p>Although <package/udev/ has been tested extensively, you may experience
1537 minor problems with some devices that will need to be fixed. The most
1538 common problems are changed permission and/or ownership of a device.
1539 In some cases a device may not be created by default (e.g.
1540 <file>/dev/video</file> and <file>/dev/radio</file>).</p>
1541
1542 <p><package/udev/ provides configuration mechanisms to deal with these
1543 issues. See <manref name="udev" section="8"> and <file>/etc/udev</file>
1544 for further information.</p>
1545
1546 </sect1>
1547 </sect>
1548 ]]> <!-- %defaulted-2.4 -->
1549
1550
1551 <sect id="xorg"> <heading>XFree86 to X.Org transition</heading>
1552 <p>The transition to X.Org involves some structural changes. In case
1553 all installed packages are from Debian and also included in &releasename;,
1554 the upgrade should work without problems.
1555 Experience has however shown there are a few changes to be aware of as
1556 they can potentially cause issues during the upgrade.</p>
1557
1558 <p>The most important change is that <file>/usr/X11R6/bin</file> has
1559 been dropped and only remains as a symlink to <file>/usr/bin</file>.
1560 This means this directory has to be empty at the time the new packages
1561 are installed. The new packages conflict with most packages that used
1562 <file>/usr/X11R6/bin</file>,
1563 but in some cases manual intervention may be needed.
1564 Please remember to not run upgrades within an X session.</p>
1565
1566 <p>In case the upgrade aborts during X.Org installation, you should
1567 check if any files are still left in <file>/usr/X11R6/bin</file>.
1568 You can then use <tt>dpkg -S</tt> to find out which Debian package
1569 installed that file (if any), and remove such packages with
1570 <tt>dpkg --remove</tt>. Please make a note which packages you
1571 remove, so that you can install substitute packages later on.
1572 Before continuing with the upgrade, all files in
1573 <file>/usr/X11R6/bin</file> need to be removed.
1574
1575 <p>Please read <url id="http://wiki.debian.org/Xorg69To7">
1576 for more details and other issues.</p>
1577
1578 </sect>
1579
1580 <sect id="exim"> <heading>Upgrading from exim to exim4</heading>
1581 <p>One of the packages that has been obsoleted by the &releasename;
1582 release is the Mail Transfer Agent (MTA) exim, which has been replaced
1583 by the completely new package exim4.</p>
1584
1585 <p>exim (version 3.xx) has been unmaintained upstream for years, and
1586 Debian has dropped support for that version as well. If you are still using
1587 exim 3.xx, please upgrade your exim installation to exim4 manually.
1588 Since exim4 is already part of &oldreleasename, you can choose to do the
1589 upgrade on your &oldreleasename; system before the upgrade to &releasename;,
1590 or after the &releasename; upgrade at your convenience. Just remember that
1591 your old exim package is not going to be upgraded and that it won't get
1592 security support after support for &oldreleasename; will be discontinued.</p>
1593
1594 <p>The exim4 packages in Debian are extensively documented. The package's
1595 home page is <url id="http://wiki.debian.org/PkgExim4"> on the Debian Wiki, and
1596 the README file can be found at
1597 <url id="http://pkg-exim4.alioth.debian.org/README/etch/README.Debian.html"> and
1598 inside the packages as well.</p>
1599
1600 <p>The README file has a chapter about Packaging, which explains the
1601 different package variations we offer, and it has a chapter about
1602 Updating from Exim 3, which will help you in doing the actual
1603 transition.</p>
1604 <!-- FIXME: update with decisions of (S)RMs might be needed -->
1605 </sect>
1606
1607 <sect id="apache2"> <heading>Upgrading apache2</heading>
1608 <p>Apache has been upgraded to the new version 2.2.
1609 Although this shouldn't impact the average user,
1610 there are some potential issues to be aware of.</p>
1611
1612 <p><url id="http://httpd.apache.org/docs/2.2/upgrading.html"> contains
1613 the upstream changes. Please read this page, and remember that especially:
1614 <list>
1615 <item><p>all modules need to be recompiled</p></item>
1616 <item><p>authorization modules have been resorted and renamed</p></item>
1617 <item><p>some configuration options have been renamed</p></item>
1618 </list></p>
1619
1620 <p>Debian-specific changes include that the string SSL is no longer defined,
1621 as ssl is now supported by the default package.</p>
1622
1623 </sect>
1624
1625 <sect id="php-globals"> <heading>Deprecated insecure php configurations</heading>
1626 <p>For many years, turning on the <tt/register_globals/ settings in PHP
1627 has been known to be insecure and dangerous, and this option has defaulted to
1628 off for some time now. This configuration is
1629 now finally deprecated on Debian systems as too dangerous.
1630 The same applies to flaws in <tt/safe_mode/ and <tt/open_basedir/, which
1631 have also been unmaintained for some time.</p>
1632
1633 <p>Starting with this release, the Debian security team does not provide
1634 security support for a number of PHP configurations which are known to
1635 be insecure. Most importantly, issues resulting from
1636 <tt/register_globals/ being turned on will no longer be addressed.</p>
1637
1638 <p>If you run legacy applications that require <tt/register_globals/,
1639 enable it for the respective paths only, e.g. through the Apache
1640 configuration file. More information is available in the
1641 <file>README.Debian.security</file> file in the PHP
1642 documentation directory (<file>/usr/share/doc/php4</file>,
1643 <file>/usr/share/doc/php5</file>).
1644 </sect>
1645
1646 <sect id="mozilla-security"> <heading>Security status of mozilla products</heading>
1647 <p>The Mozilla programs are important tools for many users.
1648 Unfortunately the upstream security policy is to urge users to update to
1649 new upstream versions, which conflicts with Debian's policy not to ship
1650 large functional changes in security updates.
1651 We cannot predict it today, but during lifetime of &releasename; the
1652 Debian Security Team may come to a point where supporting
1653 Mozilla products is no longer feasible and announce
1654 the end of security support for Mozilla products.
1655 You should take this into account when deploying Mozilla and consider
1656 alternatives available in Debian if the absence of security support would
1657 pose a problem for you.</p>
1658 </sect>
1659 </chapt>
1660
1661 <chapt id="moreinfo">
1662
1663 <heading>More information on &debian;</heading>
1664
1665 <sect id="morereading"> <heading>Further reading</heading>
1666 <p>Beyond these release notes and the installation guide, further
1667 documentation on &debian; is available from the Debian
1668 Documentation Project (DDP), whose goal is to create high quality
1669 documentation for Debian users and developers. Documentation
1670 including the Debian Reference, Debian New Maintainers Guide, and Debian
1671 FAQ are available, and many more. For full details of the existing resources
1672 see the <url id="&url-ddp;" name="DDP website">.</p>
1673
1674 <p>Documentation for individual packages is installed into
1675 <file>/usr/share/doc/<var>package</var></file>, this may include
1676 copyright information, Debian specific details and any upstream
1677 documentation.</p>
1678
1679 </sect>
1680
1681 <sect id="gethelp">
1682 <heading>Getting help</heading>
1683
1684 <p>There are many sources of help, advice and support for Debian
1685 users, but these should only be considered if research into
1686 documentation of the issue has exhausted all sources. This section
1687 provides a short introduction into these which may be helpful for
1688 new Debian users.</p>
1689
1690 <sect1 id="lists">
1691 <heading>Mailing lists</heading>
1692 <p>The mailing lists of most interest to Debian users are the
1693 debian-user list (English) and other debian-user-<var/language/ lists
1694 (for other languages). For information on these lists and details of
1695 how to subscribe see <url id="&url-debian-list-archives;">. Please
1696 check the archives for answers to your question prior to posting and
1697 also adhere to standard list etiquette.</p>
1698 </sect1>
1699 <!-- TODO: Changed to OFTC -->
1700 <sect1 id="irc">
1701 <heading>Internet Relay Chat</heading>
1702
1703 <p>Debian has an IRC channel dedicated to the support and aid of
1704 Debian users located on the OFTC IRC network which exists to
1705 provide interactive services to peer-directed project communities.
1706 To access the channel, point your favourite IRC client at
1707 &debian-irc-server; and join #debian.</p>
1708
1709 <p>Please follow the channel guidelines, respecting other users
1710 fully. For more information on OFTC please visit the <url
1711 id="&url-irc-host;" name="website">.</p>
1712
1713 </sect1>
1714 </sect>
1715
1716 <sect id="bugs">
1717 <heading>Reporting bugs</heading>
1718
1719 <p>We strive to make Debian GNU/Linux a high quality operating
1720 system, however that does not mean that the packages we provide are
1721 totally free of bugs.
1722 Consistent with Debian's "open development" philosophy and as a
1723 service to our users, we provide all the information on reported bugs
1724 at our own Bug Tracking System (BTS). The BTS is browseable at
1725 <url id="&url-bts;" name="bugs.debian.org">.</p>
1726
1727 <p>If you find a bug in the distribution or in packaged software
1728 that is part of it, please report it so that it can be properly
1729 fixed for next releases. Reporting bugs requires a valid email
1730 address, we ask for this so that we can trace bugs and developers
1731 can get in contact with submitters should they need more
1732 information.</p>
1733
1734 <p>You can submit a bug report using the program
1735 <package>reportbug</package> or manually using email.
1736 You can read more about the Bug Tracking System and how to use it by
1737 reading the reference cards (available at
1738 <file>/usr/share/doc/debian</file> if you have
1739 <package>doc-debian</package> installed) or online at the
1740 <url id="&url-bts;" name="Bug Tracking System">.</p>
1741
1742 </sect>
1743
1744 <sect id="contributing">
1745 <heading>Contributing to Debian</heading>
1746
1747 <p>You do not need to be an expert to contribute to Debian. By
1748 assisting users with problems on the various user support <url
1749 id="&url-debian-list-archives;" name="lists"> you are contributing to
1750 the community. Identifying (and importantly solving) problems
1751 related to the development of the distribution by participating on
1752 the development <url id="&url-debian-list-archives;" name="lists"> is
1753 also extremely helpful. To maintain Debian's high quality
1754 distribution <url id="&url-bts;" name="submit bugs">
1755 and help developers track them down and fix them. If you have a way
1756 with words then you may want to contribute more actively by helping
1757 to write <url id="&url-ddp;"
1758 name="documentation"> or <url
1759 id="&url-debian-i18n;" name="translate"> existing
1760 documentation into your own language.</p>
1761
1762 <p>If you can dedicate more time, you could manage a piece of the
1763 Free Software collection within Debian. Especially helpful is if
1764 people adopt or maintain items that people have requested for
1765 inclusion within Debian, the <url id="&url-wnpp;" name="Work Needing
1766 and Prospective Packages database"> details this information. If you
1767 have an interest in specific groups then you may find enjoyment in
1768 contributing to some of Debian's subprojects which include ports to
1769 particular architectures, <url id="&url-debian-jr;" name="Debian
1770 Jr."> and <url id="&url-debian-med;" name="Debian Med">.</p>
1771
1772 <p>In any case, if you are working in the free software community in
1773 any way, as a user, programmer, writer or translator you are already
1774 helping the free software effort. Contributing is rewarding and fun,
1775 and as well as allowing you to meet new people it gives you that
1776 warm fuzzy feeling inside.</p></sect>
1777
1778 </chapt>
1779
1780 <!-- This may or may not still be useful -->
1781 <appendix id="old-stuff">
1782 <heading>Managing your &oldreleasename; system</heading>
1783
1784 <p>This appendix contains information on how to make sure you can install
1785 or upgrade &oldreleasename; packages before you upgrade to &releasename;.
1786 This should only be necessary in specific situations.</p>
1787
1788 <sect id="old-upgrade">
1789 <heading>Upgrading your &oldreleasename; system</heading>
1790
1791 <p>Basically this is no different than any other upgrade of
1792 &oldreleasename; you've been doing. The only difference is that you
1793 first need to make sure your package list still contains
1794 &oldreleasename; packages as explained in <ref id="old-sources">.</p>
1795
1796 </sect>
1797
1798 <sect id="old-sources">
1799 <heading>Checking your sources list</heading>
1800
1801 <p>If any of the lines in your <file>/etc/apt/sources.list</file>
1802 refer to 'stable', you are effectively already "using" &releasename;.
1803 If you have already run <tt>apt-get update</tt>, you can still get
1804 back without problems following the procedure below.</p>
1805
1806 <p>If you have also already installed packages from &releasename;,
1807 there probably is not much point in installing packages from
1808 &oldreleasename; anymore. In that case you will have to decide for
1809 yourself whether you want to continue or not. It is possible to
1810 downgrade packages, but that is not covered here.</p>
1811
1812 <p>Open the file <file>/etc/apt/sources.list</file> with your favorite
1813 editor (as root) and check all lines beginning with <tt>deb http:</tt>
1814 or <tt>deb ftp:</tt> for a reference to "<tt/stable/". If you find any,
1815 change <tt/stable/ to <tt/&oldreleasename;/.</p>
1816
1817 <p>If you have any lines starting with <tt>deb file:</tt>, you will
1818 have to check for yourself if the location they refer to contains
1819 a &oldreleasename; or a &releasename; archive.</p>
1820
1821 <p><strong/Important!/ Do not change any lines that begin with
1822 <tt>deb cdrom:</tt>. Doing so would invalidate the line and you would
1823 have to run <prgn/apt-cdrom/ again. Do not be alarmed if a 'cdrom' source
1824 line refers to "<tt/unstable/". Although confusing, this is normal.</p>
1825
1826 <p>If you've made any changes, save the file and execute
1827
1828 <example>
1829 # apt-get update
1830 </example>
1831
1832 to refresh the package list.</p>
1833
1834 </sect>
1835
1836 </appendix>
1837
1838 </book>
1839 </debiandoc>
1840
1841 <!-- Keep this comment at the end of the file
1842 Local Variables:
1843 mode: sgml
1844 sgml-omittag:t
1845 sgml-shorttag:t
1846 sgml-namecase-general:t
1847 sgml-general-insert-case:lower
1848 sgml-minimize-attributes:nil
1849 sgml-always-quote-attributes:t
1850 sgml-indent-step:2
1851 sgml-indent-data:nil
1852 sgml-declaration:nil
1853 sgml-parent-document:nil
1854 sgml-exposed-tags:nil
1855 sgml-local-catalogs:nil
1856 sgml-local-ecat-files:nil
1857 fill-column: 75
1858 End:
1859 -->

  ViewVC Help
Powered by ViewVC 1.1.5