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

  ViewVC Help
Powered by ViewVC 1.1.5