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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.5