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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.5