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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.5