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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3875 - (hide annotations) (download) (as text)
Mon Sep 18 10:14:25 2006 UTC (6 years, 8 months ago) by spaillar
File MIME type: text/x-sgml
File size: 89959 byte(s)
Fixes [Thomas Huriaux]
1 joy 2049 <!DOCTYPE debiandoc PUBLIC "-//DebianDoc//DTD DebianDoc//EN" [
2     <!entity % dynamicdata SYSTEM "../dynamic.ent" > %dynamicdata;
3     <!entity % shareddata SYSTEM "../release-notes.ent" > %shareddata;
4 spaillar 3875 <!entity docid "$Id: release-notes.en.sgml,v 1.70 2006-09-18 10:14:25 spaillar Exp $">
5 joy 2049 ]>
6    
7 jseidel 2829 <!-- Be careful with automatic reformatting. Please note that the indentation
8     in examples is used in the output (plus additional space) as well. -->
9    
10 joy 2049 <debiandoc>
11     <book>
12     <titlepag>
13     <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 fjp 3223 Bradford (current), Frans Pop (current)</name><email></email>
17 joy 2049 </author>
18     <author>
19     <name></name><email>debian-doc@lists.debian.org</email>
20     </author>
21     <version>&docid;</version>
22     </titlepag>
23     <toc detail="sect1">
24 robster 3044 <chapt id="about"><heading>What's new in the Release Notes</heading>
25 robster 2613
26 joy 2049 <p>[The most recent version of this document is always available at
27     <url id="&url-release-notes;">. If your version is more than a month
28     old, you might wish to download the latest version.]</p>
29    
30 fjp 3396 <p>Please note that starting with &debian; &release;, we only support
31     and document upgrading from the previous release of Debian (in this case,
32     the upgrade from &oldreleasename;). If you need to upgrade from older
33     releases, we suggest you read previous editions of the release notes.</p>
34 joy 2049
35 fjp 3400 <sect id="changes"><heading>Changes in the Release Notes</heading>
36    
37     <p>This section lists changes in the Release Notes since the original
38     version that was published with &debian; &release;r0. Minor textual
39     corrections are omitted.</p>
40    
41     <p><list>
42    
43     <![ %i386 [
44     <item><p>Add basic information on the AMD64 port in
45     <ref id="whats-new">.</p></item>
46     ]]>
47    
48     <![ %available-2.6 [
49     <![ %not-s390 [
50     <item><p>Improved description on module loading for ALSA in
51     <ref id="2.6-sound">.</p></item>
52     ]]>
53     ]]>
54    
55     <![ %upgradekernel [
56     <![ %mips-mipsel [
57     <item><p>Warning about "module mismatches" in
58     <ref id="kernel-upgrade-howto"> asks to abort,
59 fjp 3413 not to continue.</p></item>
60 fjp 3400 ]]>
61     ]]>
62    
63     <![ %mipsel [
64 jfs 3401 <item><p>Add installation issue with DHCP for Cobalt machines in
65 fjp 3400 <ref id="cobalt">.</p></item>
66     ]]>
67    
68 fjp 3404 <![ %not-amd64 [
69 fjp 3400 <item><p>Document upgrading from raidtools2 to mdadm in
70     <ref id="mdadm">.
71     <![ %upgradekernel [
72     This section may also be relevant while upgrading the kernel as
73     part of the upgrade.
74     ]]>
75     </p></item>
76    
77 fjp 3403 <item><p><prgn/aptitude/ uses a different method for registering
78     packages that are on hold than <prgn/apt-get/ and <prgn/dselect/.
79     Properly document how hold status can be checked and set in
80     <ref id="upgrading">.</p></item>
81 fjp 3404 ]]>
82 fjp 3403
83 fjp 3400 </list></p>
84    
85     </sect>
86    
87 robster 2613 </chapt>
88 fjp 3400
89 robster 3044 <chapt id="whats-new"><heading>What's new in &debian; &release;</heading>
90 robster 2613
91     <p>The list of supported architectures has not changed since the
92     previous release, &debian; 3.0 ('woody'). Here is the full list of
93     architectures for this release.</p>
94    
95 joy 2049 <p>
96     <list>
97     <item><p>Intel x86 ('i386')</p></item>
98     <item><p>Motorola 680x0 ('m68k')</p></item>
99     <item><p>Alpha ('alpha')</p></item>
100     <item><p>SPARC ('sparc')</p></item>
101     <item><p>PowerPC ('powerpc')</p></item>
102     <item><p>ARM ('arm')</p></item>
103 robster 2613 <item><p>MIPS ('mips' (Big endian) and 'mipsel' (Little endian))</p></item>
104     <item><p>Intel Itanium ('ia64')</p></item>
105     <item><p>HP PA-RISC ('hppa')</p></item>
106     <item><p>S/390 ('s390')</p></item>
107 joy 2049 </list>
108 robster 2613 </p>
109 joy 2049
110     <p>You can read more about port status, and port-specific
111     information for your architecture at the <url id="&url-ports;"
112     name="Debian port web pages">.</p>
113    
114 fjp 3398 <![ %i386-amd64 [
115     <p>Owners of an AMD64 system now also have the option of installing
116     the AMD64 port. Note that, although a complete port based on
117     unpatched sources is available, the AMD64 architecture is not
118     officially supported. Despite being unofficial, this port has complete
119     security support by the &debian; security team, and is supported by
120     the volatile and backports services. More information on the status
121     of the AMD64 port is available from the <url id="&url-port-amd64;"
122     name="AMD64 port web pages">.</p>
123     ]]>
124    
125 jseidel 2822 <![ %secondrelease [
126 joy 2049
127 robster 2613 <p>This is only the second official release of &debian; for the
128 joy 2049 &arch-title; architecture. We feel that it has proven itself
129     sufficiently to be released. However, because it has not had the
130 fjp 3336 exposure (and hence testing by users) that our releases on
131 joy 2049 other architectures have had, you may encounter a few bugs. Please
132     use our <url id="&url-bts;" name="bug tracking system"> to report
133     any problems; make sure to mention the fact that the bug is on the
134     &architecture; platform.</p>
135    
136     ]]>
137    
138 fjp 3219 <![ %not-m68k [
139 fjp 3398 <![ %not-amd64 [
140 joy 2049 <p>&debian; &release; for the &arch-title; architecture ships with
141     kernel version &kernelversion;.</p>
142 fjp 3183
143 robster 2613 <![ %available-2.6 [
144 fjp 3219 <p>On the &arch-title; architecture a 2.6 kernel is also available;
145 jfs 2628 this has kernel version &kernelversion-2.6;. Note that Debian's 2.6.8
146     kernel packages include the 2.6.8.1 kernel release and selected other
147     patches.</p>
148 joy 2049 ]]>
149 fjp 3398 ]]> <!-- %not-amd64 -->
150     ]]> <!-- %not-m68k -->
151    
152     <![ %amd64 [
153     <p>For the &arch-title; architecture only a 2.6 kernel is available
154     with kernel version &kernelversion-2.6;. Note that Debian's 2.6.8
155     kernel packages include the 2.6.8.1 kernel release and selected
156     other patches.</p>
157     ]]>
158 fjp 3219 <![ %m68k [
159     <p>&debian; &release; for the &arch-title; architecture ships with
160     kernel versions 2.2.25 and 2.4.27. For some subarchitectures 2.6.8
161     kernels are also available, but these should be considered
162     experimental.</p>
163     ]]>
164 joy 2049
165 fjp 3142 <sect id="newdistro"><heading>What's new in the distribution?</heading>
166    
167     <p>This new release of Debian again comes with a lot more software
168     than its predecessor &oldreleasename;; the distribution includes
169     over 9000 new packages. Most of the software in the distribution
170     has been updated: almost 6500 software packages (that is 73% of
171 fjp 3183 the number of packages in &oldreleasename;). Also, a significant number
172     of packages has for various reasons been removed from the distribution.
173 fjp 3142 You will not see any updates for these packages and they will be
174     marked as 'obsolete' in package management front-ends.</p>
175    
176     <p>This release of &debian; contains the much improved XFree86
177     4.3 release, which includes support for a greater range of
178     hardware, better autodetection support, and improved support for
179     advanced technologies such as Xinerama and 3D acceleration.</p>
180    
181     <p>&debian; is more desktop orientated than ever in this new release,
182     it now includes GNOME 2.8 and KDE 3.3. Also included for the
183     first time is a complete office suite in the form of OpenOffice.org
184     1.1, other productivity tools included in the release are the
185     Evolution groupware software and GAIM instant messaging client.</p>
186    
187 fjp 3199 <p>The &releasename; version of <prgn/aptitude/ is the preferred
188     program for package management from console. It has proven to be
189     better at dependency resolution than <prgn/apt-get/. <prgn/aptitude/
190     supports most command line operations of <prgn/apt-get/. If you are
191     still using <prgn/dselect/, you should also give <package/aptitude/
192     a try as frontend for package management.</p>
193    
194 fjp 3142 <p>The official &debian; distribution now ships on thirteen to fifteen
195     binary CDs (depending on the architecture) and a similar number of
196     source CDs. A DVD version of the distribution is now also available.</p>
197    
198 fjp 3164 <sect1 id="volatile"><heading>New service debian-volatile</heading>
199 fjp 3163
200 fjp 3142 <p>There is a new service <em/debian-volatile/ allowing users to easily
201     update stable packages that contain information that quickly goes out
202     of date. Examples are a virus scanner's signatures list or a spam
203     filter's pattern set. An administrator can use the "volatile.debian.net"
204     archive with similar ease to the "security.debian.org" archive, and
205     enjoy the use of packages with up-to-date information without the
206     hassle and risks of maintaining an entire (or partial) system based
207     on bleeding-edge packages. For more information and a list of mirrors,
208 fjp 3164 please see the archive's <url id="&url-debian-volatile"
209 fjp 3142 name="web page">.</p>
210 fjp 3237
211     <p>Note that debian-volatile is <em/not/ an official Debian service.
212     Use it at your own discretion.</p>
213 fjp 3142
214     </sect1>
215 fjp 3163
216 fjp 3171 <sect1 id="non-us"><heading>non-US obsoleted</heading>
217 fjp 3163
218 fjp 3171 <p>For the &releasename; release, packages that were formerly in the
219     non-US part of the archive have been moved into the regular archive.
220     If you have any lines referring to "non-us" in your
221     <file>/etc/apt/sources.list</file>, you should remove them.</p>
222 fjp 3163
223     </sect1>
224    
225 fjp 3142 </sect>
226    
227 robster 3044 <sect id="newinst"><heading>What's new in the installation system?</heading>
228 joy 2049
229 robster 2613 <p>The old &debian; installation system has been replaced by a
230     completely new installation system called
231     <prgn>debian-installer</prgn>. The new installation system is
232     modular in design and so has been developed with extensibility in
233 fjp 3145 mind. It has been fully translated into almost forty languages;
234     additional translations are in progress and may be added in
235     point releases for &releasename;.</p>
236 joy 2049
237 robster 2613 <p>Some of the new features in the installation system include
238 fjp 3163 improved hardware detection, support for booting off USB flash devices,
239     the use of <prgn>aptitude</prgn> to install packages during configuration
240     of the base system, and support for the <prgn>XFS</prgn> file system,
241     <prgn>RAID</prgn> and <prgn>LVM</prgn> (logical volume management).</p>
242 fjp 3145
243 fjp 3163 <p>For full details on the new Debian installation system, users
244 jseidel 2852 are advised to read the Debian Installation Guide included on the
245 fjp 3145 first CD or available from <url id="&url-install-manual;"
246     name="the release pages">. The Installation Guide has been fully
247     translated into eight languages and more are being worked on.
248     Additional translations will be made available from the website
249     when completed.</p>
250 joy 2049
251     <![ %i386 [
252 fjp 3163 <p>For the &arch-title; architecture, a special set of installation
253     floppy disk images, "speakup", is available for the blind.
254     These images have a special kernel that supports braille displays.
255     A complete list of supported models may be found in the brltty
256 fjp 3171 documentation. See the <url id="&url-installer;index#speakup"
257     name="debian-installer release page"> for further information
258     on these images.</p>
259 joy 2049 ]]>
260    
261 jfs 2628 <!-- FJP: Maybe a short description of available installation methods could be
262     added here: floppy, CD (netinst/business-card/full set), netboot,
263     hd-media, USB-stick. -->
264    
265 robster 2613 </sect>
266 joy 2049
267     </chapt>
268    
269 fjp 3163 <chapt id="installing"><heading>New installations</heading>
270 joy 2049
271 fjp 3163 <p>The old &debian; installation system called
272     <prgn>boot-floppies</prgn> has been replaced by a new componentized and
273     more powerful installation system called <prgn>debian-installer</prgn>.</p>
274    
275     <p>The installer offers a variety of installation methods. Which methods
276     are available to install your system depends on your architecture.</p>
277    
278 joy 2049 <p>If you are making a new installation of Debian, you should read
279 jseidel 2852 the Installation Guide, which is available on the Official CD at:
280 joy 2049
281 jseidel 2852 <example>
282 jseidel 2853 /doc/install/manual/<var>language</var>/index.html
283 jseidel 2822 </example>
284 joy 2049
285 fjp 3163 or on the Internet from the <url id="&url-install-manual;"
286 fjp 3171 name="&releasename; release pages">. You may also want to check the
287     <url id="&url-installer;index#errata" name="errata"> for
288     debian-installer.</p>
289 joy 2049
290 fjp 3219 <![ %not-m68k [
291 fjp 3184 <![ %d-i-avail-2.6 [
292 fjp 3163 <p>The installation system uses a 2.4 series kernel by default.
293     Installation using a 2.6 based kernel is also possible for
294     &arch-title;. For more details on how to use this please consult the
295     Installation Guide.</p>
296     ]]>
297 fjp 3184 <![ %d-i-default-2.6 [
298     <p>The installation system uses a 2.6 series kernel by default for
299     &arch-title;.</p>
300 fjp 3219 ]]>
301     ]]> <!-- %not-m68k -->
302     <![ %m68k [
303     <p>Depending on the subarchitecture, installation may be possible using
304     either a 2.2.25 kernel or a 2.4.27 kernel or both. For mac the 2.2.25
305     kernel is preferred, for other subarchitectures the 2.4.27 kernel.</p>
306    
307     <p>There currently is no support for atari partitions in <prgn/partman/,
308     the component used in <package/debian-installer/ to partition and format
309     disks. This means this step has to be performed manually. For further
310     information please see the Installation Guide.</p>
311     ]]>
312    
313 fjp 3400 <![ %amd64 [
314     <p>Because support for AMD64 in 2.4 kernels is limited and rudimentary,
315     only 2.6 kernels are supported. Additionally, the glibc needs a tls and
316     nptl aware kernel, features not supported by 2.4 kernels at all.</p>
317    
318     <p>The &releasename; release for the AMD64 architecture is not
319     available in the official &debian; archive. For this reason, the
320     mirror list is different than for the official released architectures
321 fjp 3414 and can be found at <url id="&url-debian-mirrors;">.</p>
322 fjp 3400 ]]>
323    
324 fjp 3163 <![ %alpha [
325     <p>The new installer can only be used to install on alpha systems which
326     support the SRM console. Be sure to switch your system to SRM before
327     starting the installation. If your machine supports only the AlphaBIOS/ARC
328 fjp 3171 console, you can still install &releasename; using a (minimal) &oldreleasename;
329 fjp 3163 installation and a subsequent upgrade. For more information about the
330     different consoles please read the references on the
331     <url id="http://www.debian.org/ports/alpha" name="Debian alpha port web pages">.
332     </p>
333     ]]>
334 robster 3043
335 fjp 3400 <![ %mipsel [
336     <sect id="cobalt"><heading>Issue with DHCP on Cobalt machines</heading>
337    
338     <p>CoLo, the Cobalt boot loader which is used to load the installer via
339     DHCP and NFS, has some known bugs in its DHCP client implementation.
340     This may result in failures to obtain an IP address from the server.
341     This has been confirmed to be the case with a Windows 2000 DHCP server
342     and may apply to other DHCP servers. If you experience problems
343     obtaining an IP address via DHCP and you are confident that your DHCP
344     server is configured properly, please download a <url
345     id="http://people.debian.org/~tbm/sarge/cobalt/vmlinux.gz"
346     name="newer version of CoLo"> and replace <file>/nfsroot/vmlinux.gz</file>
347     with it on your DHCP/NFS server. The DHCP problems have been addressed in
348     this version.</p>
349    
350     </sect>
351 fjp 3398 ]]>
352    
353 robster 3113 <![ %sparc [
354     <sect id="sparc_kbd"><heading>Issues with keyboards on &arch-title;</heading>
355    
356     <p>There are several issues with keyboard selection during installation.</p>
357    
358     <p>The first issue is with USB keyboards by Sun as used on for example
359     SunBlade systems. When installing using the default 2.4 kernel, these are
360     incorrectly "recognized" by the installer as regular Sun keyboards.
361     A workaround is documented in the Installation Guide (see link above,
362     chapter "Using the Debian Installer").</p>
363    
364     <p>The second issue is kernel related. Kernels in the 2.6 series use
365     a different input layer that makes all keyboards look like "normal"
366     PC keyboards. This means that if you boot the installer with a 2.4
367     kernel and configure it for a Sun or USB keyboard and later (in expert
368     mode) select a 2.6 kernel for the new system, you will very likely end
369     up with a non-working keyboard after reboot.</p>
370    
371     </sect>
372    
373     <sect id="sparc_fb"><heading>Issues with framebuffer on &arch-title;</heading>
374    
375     <p>Because of display problems on some systems, framebuffer support is
376     disabled by default for &arch-title;. This can result in ugly display on
377     systems that do properly support the framebuffer, like those with ATI
378     graphical cards. If you see display problems in the installer, you can try
379 fjp 3452 booting the installer with parameter
380     <tt>debian-installer/framebuffer=true</tt>.</p>
381 robster 3113
382     </sect>
383     ]]>
384    
385 fjp 3199 <sect id="popcon"><heading>Popularity contest</heading>
386    
387 fjp 3336 <p>For technical reasons the <package/popularity-contest/ package is no longer installed by
388 fjp 3199 default for new &releasename; installations. This will probably be
389     corrected in future releases.</p>
390    
391 fjp 3336 <p><package/popularity-contest/ provides the Debian project with valuable information
392 fjp 3199 on which packages in the distribution are actually used. This information
393     is used mainly to decide the order in which packages are included on
394     installation CD-ROMs, but is also often consulted by Debian developers
395     in deciding whether or not to adopt a package that no longer has a
396     maintainer.</p>
397    
398 fjp 3336 <p>Information from <package/popularity-contest/ is processed anonymously. We would
399 fjp 3199 appreciate it if you install the package and allow it to participate
400     in the official survey; you will thereby help improve Debian.</p>
401    
402     </sect>
403 joy 2049 </chapt>
404    
405    
406 fjp 3398 <![ %not-amd64 [
407 robster 3044 <chapt id="upgrading"><heading>Upgrades from previous releases</heading>
408 joy 2049
409     <!-- For doc-writers' convenience:
410     Debian Supported
411     release: architectures:
412    
413     1.3.1 or less i386
414     2.0 i386,m68k
415     2.1 i386,m68k,alpha,sparc
416     2.2 i386,m68k,alpha,sparc,powerpc,arm
417     3.0 + hppa s390 mips mipsel ia64
418     -->
419    
420 robster 3044 <sect id="backup"><heading>Preparing for the upgrade</heading>
421 joy 2049
422     <p>Before upgrading your system, it is strongly recommended that
423     you make a full backup, or at least backup any data or
424     configuration information you can't afford to lose. The upgrade
425     tools and process are quite reliable, but a hardware failure in
426     the middle of an upgrade could result in a severely damaged
427     system.</p>
428    
429     <p>The main things you'll want to back up are the contents of
430     <file>/etc</file>, <file>/var/lib/dpkg</file> and the output of
431 fjp 3223 <tt>dpkg --get-selections "*"</tt> (the quotes are important).</p>
432 joy 2049
433 fjp 3298 <p>The upgrade process in itself does not modify anything in the
434     <file>/home</file> directory. However, some applications (e.g.
435     Mozilla, some KDE applications) are known to overwrite existing
436     user settings with new defaults when a new version of the application
437     is first started by a user. As a precaution, you may want to make a
438     backup of the hidden files and directories ("dotfiles") in users'
439     home directories. This backup may help to restore or recreate the
440     old settings. You may also want to inform users about this issue.</p>
441    
442 joy 2049 <p>It's wise to inform all users in advance of any upgrades you're
443 jfs 2628 planning, although users accessing your system via SSH (at least)
444 joy 2049 shouldn't notice much during the upgrade, and may want to continue
445     working. If you wish to take extra precautions, back up or unmount
446     user's partitions (<file>/home</file>) before upgrading. A reboot
447 fjp 3163 will not normally be necessary, unless you plan to also upgrade
448     your kernel.</p>
449 joy 2049
450     <p>Distribution upgrade should be done either locally from a
451     textmode virtual console (or a directly connected serial
452     terminal), or remotely via an <prgn/ssh/ link.</p>
453    
454 fjp 3223 <p><strong/Important!/ You should <em/not/ upgrade using <prgn/telnet/,
455 robster 2648 <prgn/rlogin/, <prgn/rsh/, or from an X session managed by <prgn/xdm/,
456     <prgn/gdm/ or <prgn/kdm/ etc on the machine you are upgrading. That is
457 joy 2049 because each of those services may well be terminated during the
458 robster 2648 upgrade, which can result in an <em/inaccessible/ system that is only
459     half-upgraded.</p>
460 fjp 3223
461     <p>Any package installation operation must be run with superuser
462 robster 3047 privileges, so either login as root or use <prgn/su/ or
463     <prgn/sudo/ to gain the necessary access rights.</p>
464 joy 2049
465 fjp 3223 </sect>
466 robster 3047
467 fjp 3223 <sect id="system-status">
468     <heading>Checking system status</heading>
469 robster 3047
470 fjp 3223 <p>The upgrade process described in this chapter has been designed for
471     upgrades from "pure" &oldreleasename; systems. It assumes your system
472     has been updated to the latest point release of &oldreleasename;.
473     If you have not or are unsure, follow the instructions in
474 fjp 3266 <ref id="old-upgrade">.</p>
475 fjp 3223
476     <![ %has-woody-aptitude [
477     <p>It also assumes you have the &oldreleasename; version of
478     <prgn/aptitude/ installed. You can check if it is installed using
479    
480     <example>
481     $ dpkg -l aptitude
482     </example>
483    
484     If the line of output does <em/not/ begin with "i", you should install
485     it before you start the upgrade using the instructions in
486     <ref id="old-aptitude">.</p>
487     ]]>
488    
489 fjp 3237 <![ %mips [
490     <sect1><heading>SGI IP22: set up arcboot</heading>
491    
492     <p>If you have an <em>SGI IP22</em> you should now prepare
493     it to boot with <package>arcboot</package>, and not to boot
494     the kernel directly. <package>arcboot</package> is available
495     in &oldreleasename; so you can install it in the usual ways.</p>
496    
497     <p>Before you attempt to install <package>arcboot</package>, you
498     should first check that entries in your <file>sources.list</file>
499     still refer to &oldreleasename; as explained in
500     <ref id="old-sources">.</p>
501    
502     </sect1>
503     ]]>
504    
505 fjp 3223 <sect1><heading>Disabling APT pinning</heading>
506    
507     <p>If you have configured APT to install certain packages from a
508     distribution other than stable (e.g. from testing), you may have to
509     change your APT pinning configuration (stored in
510     <file>/etc/apt/preferences</file>) to allow the upgrade of packages to
511     the versions in the new stable release. Further information on APT
512     pinning can be found in <manref name="apt_preferences" section="5">.</p>
513    
514     </sect1>
515    
516     <sect1><heading>Checking packages status</heading>
517    
518     <p>Regardless of the method used for upgrading, it is recommended
519     that you check the status of all packages first, and verify that
520     all packages are in an upgradable state. The following command
521     will show any packages which have a status of Half-Installed or
522     Failed-Config, and those with any error status.
523    
524     <example>
525     # dpkg --audit
526     </example></p>
527    
528     <p>You could also inspect the state of all packages on your system
529     using <prgn/dselect/, <prgn/aptitude/, or with commands such as
530    
531     <example>
532     # dpkg -l | pager
533     </example>
534    
535     or
536    
537     <example>
538     # dpkg --get-selections &gt; ~/curr-pkgs.txt
539     </example></p>
540    
541     <p>It is desirable to remove any holds before upgrading. If any
542     package that is essential for the upgrade is on hold, the upgrade
543 fjp 3403 will fail.
544    
545     <![ %has-woody-aptitude [
546     Note that <prgn/aptitude/ uses a different method for registering
547     packages that are on hold than <prgn/apt-get/ and <prgn/dselect/.
548     You can identify packages on hold for <prgn/aptitude/ with
549 fjp 3223
550     <example>
551 fjp 3403 # aptitude search "~ahold" | grep "^.h"
552     </example></p>
553    
554     <p>If you want to check which packages you had on hold for
555     <prgn/apt-get/, you should use
556     ]]>
557     <![ %no-woody-aptitude [
558     You can identify packages on hold with
559     ]]>
560     <example>
561 fjp 3241 # dpkg --get-selections | grep hold
562 fjp 3223 </example></p>
563    
564     <p>If you changed and recompiled a package locally, and didn't rename
565     it or put an epoch in the version, you must put it on hold to prevent
566     it from being upgraded.
567    
568     <![ %has-woody-aptitude [
569 fjp 3403 The "hold" package state for <prgn/aptitude/ can be changed using
570     (replace <tt/hold/ with <tt/unhold/ to unset the "hold" state):
571 fjp 3223
572     <example>
573 fjp 3403 # aptitude hold <var>package_name</var>
574 fjp 3223 </example>
575     ]]>
576     <![ %no-woody-aptitude [
577     The `hold' package state can be changed either by using <prgn/dselect/
578     (in the Select menu, use the `H' and `G' keys to hold and unhold,
579     respectively), or by editing the file produced by
580    
581     <example>
582     # dpkg --get-selections &gt; ~/curr-sels.txt
583     </example>
584    
585     to change "hold" to "install" (or vice versa), and then doing
586    
587     <example>
588     # dpkg --set-selections &lt; ~/curr-sels.txt
589     </example>
590     ]]>
591     </p>
592    
593     <p>If there is anything you need to fix, it is best to make sure your
594     <file/sources.list/ still refers to &oldreleasename; as explained in
595     <ref id="old-sources">.</p>
596     </sect1>
597    
598     <sect1 id="backports"><heading>Unofficial sources and backports</heading>
599    
600     <p>If you have any non-Debian packages on your system, you should be
601     aware that these may be removed during the upgrade because of
602     conflicting dependencies. If these packages were installed by adding
603     an extra package archive in your <file>/etc/apt/sources.list</file>,
604     you should check if that archive also offers packages compiled for
605     &releasename; and change the source line accordingly at the same time
606     as your source lines for Debian packages.</p>
607    
608     <p>Some users may have unofficial backported "newer" versions of
609     packages that <em/are/ in Debian installed on their &oldreleasename;
610     system. Such packages are most likely to cause problems during an
611     upgrade as they may result in file conflicts<footnote>Debian's
612     package management system normally does not allow a package to remove
613     or replace a file owned by another package; not unless it has been
614     defined to replace that package.</footnote>. Section <ref id="trouble">
615     has some information on how to deal with file conflicts if they should
616     occur.</p>
617    
618     </sect1>
619     </sect>
620    
621 fjp 3153 <![ %glibcneedsnewkernel [
622 djpig 3233 <![ %not-mips-mipsel [
623 fjp 3153
624 fjp 3223 <sect id="new-kernel">
625 fjp 3153 <heading>Checking kernel support</heading>
626    
627     <![ %sparc [
628     <p>All machines with a 64bit SPARC CPU (sun4u) should be upgradable
629     without any special considerations about kernel support.</p>
630    
631 fjp 3163 <p>sun4c CPUs are <em>no longer supported</em> in &releasename;.
632 fjp 3153 The support for sun4d CPUs is in a rather unknown state since they
633     are very rare. It is possible that sun4d CPUs with an MMU work.</p>
634    
635     <p>sun4m CPUs are still supported but you need to install a newer kernel
636 fjp 3183 version first before upgrading the system. This is necessary because newer
637 fjp 3153 versions of glibc use assembler instructions not available on certain
638     machines, so you need a updated kernel first that emulates the missing
639     instructions.</p>
640    
641     <p>Technically only <em>some</em> sun4m chips are affected, but as
642     glibc can't reliably detect whether a system is affected it
643     will refuse to be upgraded on any 32bit SPARC system before a
644     fixed kernel is installed.</p>
645    
646     <p>For those interested in the gory details: some of the sun4m chips,
647     produced by Cypress/ROSS, don't implement the <tt>umul</tt>
648     instruction (RT601/CY7C601, same chip, only different names).
649     They were used in the early SPARCserver 6xxMP models. Later models
650     used chips manufactured by TI. Currently we don't know if these are
651     also affected.</p>
652     <!-- Add link to http://www.ultralinux.org/faq.html#q_2_1 ? -->
653     ]]>
654    
655     <![ %hppa [
656     <p>On 64bit HPPA machines you will need to upgrade to a newer
657 fjp 3183 kernel version first before upgrading the system. This is necessary because
658     newer versions of glibc use assembler instructions not available on certain
659 fjp 3153 machines, so you need an updated kernel first that emulates the missing
660     instructions.</p>
661     ]]>
662 fjp 3171
663 fjp 3153 <![ %i386 [
664 fjp 3163 <p>True "80386" CPUs are <em/no longer supported/ by &releasename;.
665 fjp 3153 This does not affect any CPUs that are compatible with "80486"
666     CPUs or above.</p>
667     ]]>
668    
669     <![ %upgradekernel [
670 fjp 3223 <sect1 id="kernel-upgrade"><heading>Upgrading the kernel</heading>
671 fjp 3153
672     <p>If (and only if) the previous section indicates that you should
673     upgrade your kernel <em/before/ the upgrade of the system, you
674     should do so now.</p>
675    
676 fjp 3171 <p>
677     Backports are available of all tools needed to install the
678     current kernel from &releasename;.
679     Detailed instructions on how to install the new kernel can be
680     found in <ref id="kernel-upgrade-howto">.</p>
681 fjp 3163
682 fjp 3223 </sect1>
683 fjp 3153 ]]>
684 fjp 3223 </sect>
685 djpig 3233 ]]> <!-- not-mips-mipsel -->
686     ]]> <!-- glibcneedsnewkernel -->
687 fjp 3153
688 robster 3044 <sect id="upgrade-process"><heading>Preparing sources for APT</heading>
689 joy 2049
690     <p>Before starting the upgrade you must set up <package/apt/'s
691     configuration file for package lists,
692     <file>/etc/apt/sources.list</file>.</p>
693    
694     <p><package/apt/ will consider all packages that can be found via
695     any "<tt>deb</tt>" line, and install the package with the highest
696     version number, giving priority to the first mentioned lines (that
697     way, in case of multiple mirror locations, you'd typically first
698     name a local harddisk, then CD-ROMs, and then HTTP/FTP
699     mirrors).</p>
700    
701 fjp 3223 <p>A release can often be referred to by both its codename (e.g.
702     &oldreleasename;, &releasename;) and by its status name (i.e.
703     oldstable, stable, testing, unstable). Referring to a release by its
704     codename has the advantage that you will never be surprised by a
705     new release and for this reason is the approach taken here. It
706     does of course mean that you will have to watch out for release
707     announcements yourself. If you use the status name instead, you
708     will just see loads of updates for packages available as soon as a
709     release has happened.</p>
710    
711 robster 3044 <sect1 id="network"><heading>Adding APT Internet sources</heading>
712 joy 2049
713     <p>The default configuration is set up for installation from main
714     Debian Internet servers, but you may wish to modify
715     <file>/etc/apt/sources.list</file> to use other mirrors,
716     preferably a mirror that is network-wise closest to you.</p>
717    
718 jfs 2628 <!-- FJP: Why is 'default configuration' relevant here? We are talking about
719     upgrading existing installations; we really have no idea what
720     apt-sources users will have set up here (maybe just a Woody CD-set).
721     Note: D-I sets the default configuration to a mirror based on
722     the selected country and not the 'main' servers. -->
723    
724     <p>Debian HTTP or FTP mirror addresses can be found at
725 joy 2049 <url id="&url-debian-mirrors;"> (look at the "Full list of
726 jfs 2628 mirrors" section). HTTP mirrors are generally speedier than FTP
727 joy 2049 mirrors.</p>
728    
729     <p>For example, suppose your closest Debian mirror is
730     <tt>&url-debian-mirror-eg;/</tt>. When inspecting that mirror
731     with a web browser or FTP program, you will notice that the main
732     directories are organized like this:
733    
734     <example>
735 fjp 3223 &url-debian-mirror-eg;/dists/&releasename;/main/binary-&architecture;/...
736     &url-debian-mirror-eg;/dists/&releasename;/contrib/binary-&architecture;/...
737 joy 2049 </example></p>
738    
739     <p>To use this mirror with <prgn/apt/, you add this line to your
740     <file/sources.list/ file:
741    
742     <example>
743 jseidel 2829 deb &url-debian-mirror-eg; &releasename; main contrib
744 joy 2049 </example></p>
745    
746     <p>Note that the `<tt>dists</tt>' is added implicitly, and the
747     arguments after the release name are used to expand the path into
748     multiple directories.</p>
749    
750     <p>After adding your new sources, disable the previously existing
751     "<tt/deb/" lines in <file/sources.list/, by placing a hash sign
752     (<tt/#/) in front of them.</p>
753    
754     <p>Any package needed for installation that is fetched from the
755 jfs 2628 network is stored in <file>/var/cache/apt/archives</file>
756 joy 2049 (and the <file>partial/</file> subdirectory, during download), so
757     you must make sure you have enough space before attempting to
758     start the installation. With a reasonably extended Debian
759     installation, you can expect at least 300 MB of downloaded
760 robster 2613 data.</p>
761 joy 2049
762 robster 2613 </sect1>
763 joy 2049
764 robster 3044 <sect1 id="localmirror"><heading>Adding APT sources for a local mirror</heading>
765 joy 2049
766     <p>Instead of using HTTP or FTP packages mirrors, you may wish to
767     modify <file>/etc/apt/sources.list</file> to use a mirror on a
768 fjp 3183 local disk (possibly mounted over NFS).</p>
769 joy 2049
770     <p>For example, your packages mirror may be under
771     <file>/var/ftp/debian/</file>, and have main directories like
772     this:
773    
774     <example>
775 fjp 3223 /var/ftp/debian/dists/&releasename;/main/binary-&architecture;/...
776     /var/ftp/debian/dists/&releasename;/contrib/binary-&architecture;/...
777 joy 2049 </example></p>
778    
779     <p>To use this with <prgn/apt/, add this line to your
780     <file/sources.list/ file:
781    
782     <example>
783 fjp 3223 deb file:/var/ftp/debian &releasename; main contrib
784 joy 2049 </example></p>
785    
786     <p>Note that the `<tt>dists</tt>' is added implicitly, and the
787     arguments after the release name are used to expand the path into
788     multiple directories.</p>
789    
790     <p>After adding your new sources, disable the previously
791     existing "<tt/deb/" lines in <file/sources.list/, by placing a
792     hash sign (<tt/#/) in front of them.</p></sect1>
793    
794 fjp 3223 <sect1 id="cdroms"><heading>Adding APT source from CD-ROM or DVD</heading>
795 joy 2049
796     <p>If you want to use CDs <em/only/, comment out the existing
797     "<tt/deb/" lines in <file>/etc/apt/sources.list</file> by placing
798     a hash sign (<tt/#/) in front of them.</p>
799    
800 fjp 3183 <!-- Default cdrom mount point is /cdrom, not /media/cdrom and fixed!, see #282344
801     (but the -d option of apt-cdrom allows scanning from somewhere else) -->
802 joy 2049 <p>Make sure there is a line in <file>/etc/fstab</file> that
803     enables mounting your CD-ROM drive at the <file>/cdrom</file>
804     mount point (the exact <file>/cdrom</file> mount point is required
805 jfs 2628 for <prgn/apt-cdrom/). For example, if <file>/dev/hdc</file> is
806 joy 2049 your CD-ROM drive, <file>/etc/fstab</file> should contain a line
807     like:
808    
809     <example>
810 jseidel 2829 /dev/hdc /cdrom auto defaults,noauto,ro 0 0
811 joy 2049 </example></p>
812    
813     <p>Note that there must be <em/no spaces/ between the words
814     <tt>defaults,noauto,ro</tt> in the fourth field.</p>
815    
816     <p>To verify it works, insert a CD and try running
817    
818     <example>
819 fjp 3223 # mount /cdrom # this will mount the CD to the mount point
820     # ls -alF /cdrom # this should show the CD's root directory
821     # umount /cdrom # this will unmount the CD
822 joy 2049 </example></p>
823    
824     <p>Next, run:
825    
826     <example>
827 fjp 3223 # apt-cdrom add
828 jseidel 2829 </example>
829 joy 2049
830 jseidel 2829 for each Debian Binary CD-ROM you have, to add the data about
831 robster 2613 each CD to APT's database.</p>
832     </sect1>
833     </sect>
834 joy 2049
835 robster 2613 <sect id="upgradingpackages"><heading>Upgrading packages</heading>
836 fjp 3223
837 robster 2613 <p>The recommended tool for upgrading between &debian; releases is
838     to use the package management tool <prgn>aptitude</prgn>. This tool
839     makes safer decisions about package installations than running
840     <prgn>apt-get</prgn> directly.</p>
841 fjp 3223
842 robster 2613 <p>Don't forget to mount all needed partitions (notably the root
843 joy 2049 and <file>/usr</file> partitions) read-write, with a command
844     like:
845    
846     <example>
847 fjp 3223 # mount -o remount,rw /<var>mountpoint</var>
848 joy 2049 </example></p>
849    
850 fjp 3223 <p>Next you should double check that the APT source entries (in
851     <file>/etc/apt/sources.list</file>) refer either to
852     "<tt/&releasename;/" or to "<tt>stable</tt>". Note: source
853     lines for a CD-ROM will often refer to "<tt/unstable/";
854     although this may be confusing, you should <em/not/ change it.</p>
855    
856 robster 2613 <p>It is strongly recommended that you use the
857     <prgn>/usr/bin/script</prgn> program to record a transcript of the
858 fjp 3183 upgrade session. Then if a problem occurs, you will have a log of
859 robster 2613 what happened, and if needed, can provide exact information in a bug
860     report. To start the recording, type:
861 joy 2049
862     <example>
863 fjp 3223 # script -a ~/upgrade-to-&releasename;.typescript
864 jseidel 2829 </example>
865 joy 2049
866 jseidel 2829 or similar. Do not put the typescript file in a temporary
867 robster 2613 directory such as <file>/tmp</file> or <file>/var/tmp</file> (files
868     in those directories may be deleted during the upgrade or during any
869     restart).</p>
870 fjp 3223
871     <p>The typescript will also allow you to review information that has
872 jseidel 3604 scrolled off-screen. Just switch to VT2 (using <tt/Alt-F2/) and, after
873 fjp 3223 logging in, use <tt>less ~root/upgrade-to-&releasename;.typescript</tt>
874     to view the file.</p>
875    
876 fjp 3336 <p>After you have completed the upgrade, you can stop <prgn/script/
877 fjp 3223 by typing <tt/exit/ at the prompt.</p>
878    
879     <sect1 id="updating_lists"><heading>Updating the package list</heading>
880    
881     <p>First the list of available packages for the new release needs to
882     be fetched. This is done by executing<footnote>We use <prgn/apt-get/
883     for this because the &oldreleasename; version <prgn/aptitude/ may fail
884     when new sources have been added to <file/sources.list/.</footnote>:</p>
885    
886 robster 2613 <p><example>
887 fjp 3223 # apt-get update
888 robster 2613 </example></p>
889 joy 2049
890 fjp 3223 </sect1>
891    
892 djpig 3233
893     <![ %mips-mipsel [
894     <sect1 id="upgrading_kernel_mipsen"><heading>Upgrading the kernel</heading>
895    
896     <p>On &arch-title; machines you will need to upgrade to a newer
897     kernel version first before upgrading the system. This is necessary
898     because of a inconsistent definition of the inter process communication
899     of the new libc and the kernel, so you need an updated kernel
900     that provides the correct definition first.</p>
901    
902     <p>Detailed instructions on how to install the new kernel can be
903     found in <ref id="kernel-upgrade-howto">.</p>
904 fjp 3237
905     </sect1>
906 djpig 3233 ]]>
907    
908    
909 fjp 3223 <!-- FJP: This next section can probably be dropped for etch -->
910 spaillar 3875 <sect1 id="upgrading_aptitude">
911 fjp 3238 <![ %has-woody-aptitude [
912 spaillar 3875 <heading>Upgrading aptitude</heading>
913 fjp 3238 ]]>
914     <![ %no-woody-aptitude [
915 spaillar 3875 <heading>Installing aptitude</heading>
916 fjp 3238 ]]>
917 fjp 3223
918     <p>Upgrade tests have shown that &releasename;'s version of
919     <prgn/aptitude/ is better at solving the complex dependencies during
920     an upgrade than either <prgn/apt-get/ or &oldreleasename;'s
921     <prgn/aptitude/.
922    
923     <![ %has-woody-aptitude [
924     It should therefore be upgraded first using:
925     <example>
926     # aptitude install aptitude
927 spaillar 3875 </example>
928 fjp 3223 ]]>
929     <![ %no-woody-aptitude [
930     It should therefore be installed first using:
931     <example>
932     # apt-get install aptitude
933 spaillar 3875 </example>
934 fjp 3223 ]]>
935 spaillar 3875 </p>
936 fjp 3223
937 fjp 3238 <p>You will be shown a list of the changes that will be
938     made and asked you to confirm them. You should take a careful look at
939 fjp 3223 the proposed changes, especially packages that will be removed by the
940     upgrade, before you confirm.</p>
941    
942 fjp 3298 <p>In some cases if a large number of packages is listed for removal,
943     you may be able to reduce this list by "pre-upgrading" selected other
944     packages alongside <package/aptitude/. An example may clarify this.
945     During upgrade tests for systems having KDE installed, we have seen
946     that this step would cause removal of a large number of KDE packages
947     and/or perl. The solution proved to be to <tt>install aptitude perl</tt>
948     instead of <tt>install aptitude</tt>.</p>
949    
950 fjp 3403 <![ %no-woody-aptitude [
951     <p><prgn/aptitude/ uses a different method for registering packages
952     that are on hold than <prgn/apt-get/ and <prgn/dselect/. This means
953     that if you have any packages on hold, you will need to also set
954     them on hold for <prgn/aptitude/ before proceeding.</p>
955    
956     <p>First list packages on hold for <prgn/apt-get/ using:
957     <example>
958     # dpkg --get-selections | grep hold
959     </example></p>
960    
961     <p>Next set these same packages on hold for <prgn/aptitude/ with:
962     <example>
963     # aptitude hold <var>package_name</var>
964     </example></p>
965    
966     <p>You can check which packages are on hold for <prgn/aptitude/ using:
967     <example>
968     # aptitude search "~ahold" | grep "^.h"
969     </example></p>
970     ]]>
971    
972 fjp 3223 </sect1>
973    
974     <sect1 id="upgrading_doc-base"><heading>Upgrading doc-base</heading>
975    
976     <p><em>If you have <package/doc-base/ installed</em>, it must be
977     upgraded before the rest of the system too. Reason is that it may fail
978 fjp 3266 if <package/perl/ is upgraded at the same time. You can find out if it
979     is installed using:</p>
980 robster 3117
981     <p><example>
982 fjp 3223 # dpkg -l doc-base
983 robster 3117 </example></p>
984 joy 2049
985 robster 3117 <p>If the line of output begins with "i" then it is installed and
986     must be upgraded before continuing.</p>
987    
988     <p><example>
989 fjp 3223 # aptitude install doc-base
990 robster 3117 </example></p>
991 fjp 3223
992     </sect1>
993    
994     <sect1 id="upgrading_other"><heading>Upgrading the rest of the system</heading>
995    
996 robster 3117 <p>You are now ready to continue with the main part of the
997     upgrade. Execute:</p>
998 robster 2613 <p><example>
999 fjp 3223 # aptitude -f --with-recommends dist-upgrade
1000 robster 2613 </example></p>
1001 joy 2049
1002 fjp 3223 <p>This will perform a complete upgrade of the system, i.e. install
1003 robster 2613 the newest available versions of all packages, and resolve all
1004     possible dependency changes between packages in different releases.
1005     If necessary, it will install some new packages (usually new library
1006     versions, or renamed packages), and remove any conflicting obsoleted
1007     packages (such as <package>console-tools-libs</package>).</p>
1008 joy 2049
1009     <p>When upgrading from a set of CD-ROMs, you will be asked to
1010     insert specific CDs at several points during the upgrade. You
1011     might have to insert the same CD multiple times; this is due to
1012     inter-related packages that have been spread out over the CDs.</p>
1013    
1014 robster 2613 <p>New versions of currently installed packages that cannot be
1015     upgraded without changing the install status of another package will
1016     be left at their current version (displayed as "held back"). This can
1017     be resolved by either using <prgn>aptitude</prgn> to choose these
1018     packages for installation or by trying <tt>aptitude -f install
1019 fjp 3183 <var>package</var></tt>.</p>
1020 robster 2613
1021 joy 2049 <p>The <tt/--fix-broken/ (or just <tt/-f/) option causes
1022     <package/apt/ to attempt to correct a system with broken
1023     dependencies in place. <package/apt/ does not allow broken package
1024     dependencies to exist on a system.</p>
1025 robster 2613
1026 fjp 3223 </sect1>
1027    
1028 robster 3044 <sect1 id="trouble"><heading>Possible issues during upgrade</heading>
1029 joy 2049
1030 fjp 3183 <p>If an operation using <prgn/aptitude/, <prgn/apt-get/ or
1031     <prgn/dpkg/ fails with the error
1032     <example>
1033     E: Dynamic MMap ran out of room
1034     </example>
1035     the default cache space is insufficient. You can solve this by either
1036     removing or commenting lines you don't need in
1037     <file>/etc/apt/sources.list</file> or by increasing the cache size.
1038     The cache size can be increased by setting <tt/APT::Cache-Limit/ in
1039     <file>/etc/apt/apt.conf</file>. The following command will set it
1040     to a value that should be sufficient for the upgrade:
1041     <example>
1042 fjp 3223 # echo 'APT::Cache-Limit "12500000";' >> /etc/apt/apt.conf
1043 fjp 3183 </example>
1044     This assumes that you do not yet have this variable set in that file.</p>
1045    
1046 joy 2049 <p>Sometimes it's necessary to enable APT::Force-LoopBreak option
1047     in APT to be able to temporarily remove an essential package due
1048 robster 2614 to a Conflicts/Pre-Depends loop. <prgn/aptitude/ will alert you of
1049 joy 2049 this and abort the upgrade. You can work around that by specifying
1050 robster 2614 <tt>-o APT::Force-LoopBreak=1</tt> option on <prgn/aptitude/
1051 joy 2049 command line.</p>
1052 jfs 2871 <!-- JFS: Shouldn't this mention also Apt's configuration file? -->
1053 joy 2049
1054     <p>It is possible that a system's dependency structure can be so
1055     corrupt as to require manual intervention. Usually this means
1056 robster 2613 using <prgn/aptitude/ or
1057 joy 2049
1058     <example>
1059 fjp 3410 # dpkg --remove <var>package_name</var>
1060 jseidel 2829 </example>
1061 joy 2049
1062 jseidel 2829 to eliminate some of the offending packages, or
1063 joy 2049
1064     <example>
1065 fjp 3223 # aptitude --fix-broken install
1066     # dpkg --configure --pending
1067 joy 2049 </example></p>
1068    
1069     <p>In extreme cases you might have to force re-installation with a
1070     command like
1071    
1072     <example>
1073 fjp 3410 # dpkg --install <var>/path/to/package_name.deb</var>
1074 joy 2049 </example></p>
1075    
1076 fjp 3241 <p>File conflicts should not occur if you upgrade from a "pure"
1077     &oldreleasename; system, but can occur if you have unofficial
1078     backports installed. A file conflict will result in an error like:
1079 fjp 3223
1080 fjp 3241 <example>
1081     Unpacking replacement <var>&lt;package-foo&gt;</var> ...
1082     dpkg: error processing <var>&lt;package-name-for-foo&gt;</var> (--unpack):
1083     trying to overwrite `<var>&lt;some-file-name&gt;</var>',
1084     which is also in package <var>&lt;package-bar&gt;</var>
1085     </example></p>
1086    
1087     <p>You can try to solve a file conflict by forcibly removing the
1088     package mentioned on the <em/last/ line of the error message:
1089    
1090     <example>
1091 fjp 3410 # dpkg -r --force-depends <var>package_name</var>
1092 fjp 3241 </example></p>
1093    
1094 joy 2049 <p>After fixing things up, you should be able to resume the
1095 robster 3044 upgrade by repeating the previously described <tt/aptitude/
1096 joy 2049 commands.</p>
1097    
1098 robster 3114 <p>During the upgrade, you will be asked questions regarding the
1099     configuration or re-configuration of several packages. When you are
1100     asked if any file in the <file>/etc/init.d</file> or
1101     <file>/etc/terminfo</file> directories, or the
1102     <file>/etc/manpath.config</file> file should be replaced by the
1103     package maintainer's version, it's usually necessary to answer `yes'
1104     to ensure system consistency. You can always revert to the old
1105     versions, since they will be saved with a <tt/.dpkg-old/
1106     extension.</p>
1107 joy 2049
1108     <p>If you're not sure what to do, write down the name of the
1109     package or file, and sort things out at a later time. You can
1110     search in the typescript file to review the information that
1111 fjp 3223 was on the screen during the upgrade.</p>
1112 joy 2049
1113 fjp 3223 </sect1>
1114     </sect>
1115 joy 2049
1116 fjp 3223 <sect id="nownownow"><heading>Things to do before rebooting</heading>
1117    
1118 robster 2613 <p>When <tt>aptitude dist-upgrade</tt> has finished, the
1119 joy 2049 "formal" upgrade is complete, but there are some other things
1120     that should be taken care of <em/before/ the next reboot.</p>
1121    
1122 fjp 3183 <p>Read
1123     <file>/usr/share/doc/xfree86-common/README.Debian-upgrade.gz</file> for
1124 robster 2613 more info on the upgrade of the X window system packages. This is
1125     relevant for users of all previous Debian releases. In short, you
1126     need to read it.</p>
1127 joy 2049
1128 fjp 3223 <sect1 id="newkernel"><heading>Upgrading your kernel</heading>
1129 robster 2613
1130     <p>Note that the Linux kernel was <em/not/ upgraded by these
1131 jseidel 2822 procedures. You may wish to do so yourself, either by installing one
1132 robster 2613 of the <package/kernel-image-*/ packages or by compiling a customized
1133     kernel from sources.</p>
1134 fjp 3143 <!-- JFS: This is not strictly true, if the user was using a non-versioned
1135     kernel (kernel-image-2.4-686) he _will_ upgrade the kernel if using
1136     aptitude (post-sarge) -->
1137    
1138 fjp 3184 <![ %available-2.6 [
1139 joy 2049
1140 fjp 3396 <p>If you are currently using a kernel from the 2.4 series,
1141 fjp 3410 the older stable Linux kernel series, you may wish to upgrade to a 2.6
1142 robster 2613 series kernel for better hardware support or improved performance.</p>
1143 fjp 3183
1144 jseidel 3439 <p>However, you are strongly advised <strong/not/ to upgrade to a 2.6
1145 fjp 3183 kernel as part of the upgrade from &oldreleasename; to &releasename;.
1146     Some issues associated with an upgrade to 2.6 are documented in
1147     <ref id="upgrade-to-2.6">.</p>
1148 joy 2049 ]]>
1149    
1150 robster 2613 <p>To upgrade your kernel you must first choose the kernel most
1151 jseidel 2724 appropriate for your subarchitecture. A list of kernels available for
1152 robster 2613 you to install can be found with:
1153 joy 2049
1154     <example>
1155 fjp 3223 # apt-cache search ^kernel-image
1156 joy 2049 </example></p>
1157    
1158 robster 2613 <p>You should then use <tt/aptitude install/ to install it. Once
1159     this new kernel is installed you should reboot at the next available
1160 jseidel 2724 opportunity to get the benefit.</p>
1161 robster 2613
1162 fjp 3143 <p>Please note that the installation system of &oldreleasename;
1163     (and previous releases) did <em/not/ install the kernel as a package
1164     in your system. This has changed in &releasename; and you can
1165     install virtual packages to keep track of kernel changes.
1166     These packages are named kernel-image-<tt/VERSION/-<tt/ARCH/, with
1167     <tt/VERSION/ corresponding to the kernel version number (2.4 or 2.6)
1168     and <tt/ARCH/ corresponding to any of the supported architectures.
1169     If you want to have security support for the kernel integrated in
1170     package management please install the kernel package most suitable
1171     for your hardware after the upgrade.</p>
1172    
1173 robster 2613 <p>For the more adventurous there is an easy way to compile your
1174 joy 2049 own custom kernel on &debian;. Install the
1175     <package>kernel-package</package> tool and read the documentation
1176     in <file>/usr/share/doc/kernel-package</file>.</p>
1177    
1178 fjp 3400 </sect1>
1179 joy 2049
1180 fjp 3400 <sect1 id="mdadm"><heading>Upgrading from raidtools2 to mdadm</heading>
1181 jfs 3200
1182 fjp 3400 <p><package/raidtools2/ is no longer maintained by its upstream
1183     developers and has been replaced by the <package/mdadm/ package.
1184     <prgn/mdadm/ is a single program that can perform almost any RAID
1185     management task without a configuration file; by default it does
1186     not use one.</p>
1187    
1188     <p>The remainder of this section gives some upgrade hints for users of
1189     <package/raidtools2/.</p>
1190    
1191     <![ %sparc [
1192     <p>If your RAID array was created on a 2.2 Linux kernel patched with
1193     RAID support, the superblock was created incorrectly, or at least in
1194     a way that is incompatible with 2.4 and later kernels. In order to fix
1195     this problem, you have to execute the following two commands:
1196    
1197     <example>
1198     # mdadm --examine --sparc2.2
1199     # mdadm --assemble --update=sparc2.2
1200     </example></p>
1201     ]]>
1202    
1203 fjp 3410 <p>As mentioned above, in many cases <prgn/mdadm/ can work without
1204 fjp 3400 configuration file. If you use a kernel that automatically configures
1205     the RAID array for you, can skip this paragraph &mdash; you merely have to
1206     install the package <package/mdadm/ and the RAID will be detected during
1207     the boot process. The standard kernels in Debian have support for the
1208     configuration of RAID arrays on boot. You also need to make sure that
1209     the partitions are set to type "Linux raid autodetect" (id <tt/fd/). The
1210     following command will list the current type of partitions:
1211    
1212     <example>
1213     # fdisk -l <var>disk_device</var>
1214     </example></p>
1215    
1216     <p>If you have a mixed setup with some RAID arrays that are auto-configured
1217     and some that are not, you have to create a configuration file.</p>
1218    
1219     <p>To migrate from the configuration file <file>/etc/raidtab</file>
1220 fjp 3410 (<package/raidtools2/) to <file>/etc/mdadm/mdadm.conf</file>
1221     (<package/mdadm/), please execute:
1222 fjp 3400
1223     <example>
1224     # echo 'DEVICE /dev/hd*[0-9] /dev/sd*[0-9]' &gt; /etc/mdadm/mdadm.conf
1225     # mdadm --examine --scan &gt;&gt; /etc/mdadm/mdadm.conf
1226     </example></p>
1227    
1228     <p>These commands will generate a configuration file with the existing
1229     arrays on the system.</p>
1230    
1231     <p>You should also make sure that the RAID arrays are started automatically
1232 fjp 3404 on boot. Check the file <file>/etc/default/mdadm</file> to see if the variable
1233 fjp 3400 AUTOSTART is set to <tt/true/.</p>
1234    
1235     </sect1>
1236     </sect>
1237    
1238     <sect id="obsolete"><heading>Obsolete packages</heading>
1239    
1240 jfs 3200 <!-- JFS: Providing a full listing might be useful, especially if we can
1241     point to the Bug that was opened when the bug was removed. This list should
1242     be moved to an appendix, instead of adding it inline as we did in the
1243     potato to woody RN -->
1244    
1245     <p>Introducing several thousand new packages, &releasename; also
1246 fjp 3209 retires and omits more than two thousand old packages that were in
1247     &oldreleasename;. It provides no upgrade path for these obsolete
1248     packages. While nothing prevents you from continuing to use an
1249     obsolete package where desired, the Debian project will usually
1250 jfs 3200 discontinue security support for it a year after &releasename;'s
1251     release<footnote>Or for as long as there is not another release in
1252     that time frame. Typically only two stable releases are supported
1253     at any given time.</footnote>, and will not normally provide other
1254     support in the meantime. Replacing them with available
1255     alternatives, if any, is recommended.</p>
1256    
1257 fjp 3209 <p>There are many reasons why packages might have been removed from
1258 fjp 3280 the distribution: they are no longer maintained upstream; there is
1259 fjp 3209 no longer a Debian Developer interested in maintaining the packages;
1260     the functionality they provide has been superseded by different
1261     software (or a new version); or they are no longer considered
1262     suitable for &releasename; due to bugs in them. In the later case,
1263     packages might still be present in the "unstable" distribution.</p>
1264 jfs 3200
1265 fjp 3209 <p>Detecting which packages in an updated system are "obsolete" is
1266     easy since the package management front-ends will mark them as
1267     such. If you are using <prgn>aptitude</prgn>, you will see a
1268     listing of these packages in the "Obsolete and Locally Created
1269     Packages" entry. <prgn>dselect</prgn> provides a similar section
1270     but the listing it presents might differ. Also, if you have used
1271     <prgn>aptitude</prgn> to manually install packages in
1272     &oldreleasename; it will have kept track of those packages you
1273     manually installed and will be able to mark as obsolete those
1274     packages pulled in by dependencies alone which are no longer
1275     needed if a package has been removed. Also, <prgn>aptitude</prgn>,
1276     unlike <prgn>deborphan</prgn> will not mark as obsolete packages
1277     that you manually installed, as opposed to those that were
1278 fjp 3429 automatically installed through dependencies.</p>
1279 jfs 3200
1280 fjp 3209 <p>There are additional tools you can use to find obsolete packages
1281     such as <prgn>deborphan</prgn>, <prgn>debfoster</prgn> or
1282     <prgn>cruft</prgn>. <prgn>deborphan</prgn> is highly recommended,
1283     although it will (in default mode) only report obsolete libraries:
1284     packages in the "libs" or "oldlibs" sections that are not used by
1285     any other packages. Do not blindly remove the packages these tools
1286     present, especially if you are using aggressive non-default
1287     options that are prone to produce false positives. It is highly
1288     recommended that you manually review the packages suggested for
1289     removal (i.e. their contents, size and description) before you
1290     remove them.</p>
1291 jfs 3200
1292     <!-- JFS: Should we recommend purging old packages? This might be
1293     dangerous since the maintainer scripts might try to remove stuff that
1294     didn't belong to them... -->
1295    
1296 fjp 3209 <p>The <url id="&url-bts;" name="Debian Bug Tracking System">
1297 jfs 3200 often provides additional information on why the package was
1298     removed. You should review both the archived bug reports for the
1299 fjp 3209 package itself and the archived bug reports for the <url
1300 jseidel 3348 id="&url-bts;cgi-bin/pkgreport.cgi?pkg=ftp.debian.org&#38;archive=yes"
1301 jfs 3200 name="ftp.debian.org pseudo-package">.</p>
1302    
1303 fjp 3400 <sect1 id="dummy"><heading>Dummy packages</heading>
1304 jfs 3200
1305     <!-- JFS: If the appendix is kept this section should point there and the packages described here should be moved to that section -->
1306    
1307 fjp 3209 <p>Some packages from &oldreleasename; have been split into several
1308     packages in &releasename;, often to improve system maintainability. To
1309     ease the upgrade path in such cases, &releasename; often provides
1310     "dummy" packages: empty packages that have the same name as the old
1311     package in &oldreleasename; with dependencies that cause the new
1312     packages to be installed. These "dummy" packages are considered
1313 jfs 3200 obsolete packages after the upgrade and can be safely removed.
1314    
1315 fjp 3209 <p>Most (but not all) dummy packages' descriptions indicate their
1316     purpose. Package descriptions for dummy packages are not uniform,
1317     however, so you might also find <prgn>deborphan</prgn> with the
1318     <tt>--guess</tt> options useful to detect them in your system.
1319     Note that some dummy packages are not intended to be removed after
1320     an upgrade but are, instead, used to keep track of the current
1321     available version of a program over time.</p>
1322 jfs 3200
1323 fjp 3400 </sect1>
1324     </sect>
1325 joy 2049 </chapt>
1326 fjp 3398 ]]> <!-- %not-amd64 -->
1327 joy 2049
1328 fjp 3163 <!-- FJP: Add more info here on dealing with obsolete packages?
1329     Also how to purge packages that were deleted but still have conffiles
1330     (use "limit" command in aptitude and search for ~c) -->
1331 joy 2049
1332 fjp 3171 <chapt id="information">
1333     <heading>Issues to be aware of for &releasename;</heading>
1334 fjp 3163
1335 fjp 3398 <![ %amd64 [
1336 fjp 3410 <p>Since there is no &oldreleasename; release of &debian; for the
1337     AMD64 architecture, the following sections are intended for users
1338 fjp 3398 currently running a 2.4 based i386 installation and planning to
1339     reinstall their systems to fully exploit the capabilities of the
1340     AMD64 architecture.</p>
1341     ]]>
1342    
1343 robster 3044 <!-- Controversial, disabled for now, please translate though
1344 jfs 3132 <sect id="german-quotes"><heading>Problems with German Quotes</heading>
1345 robster 3044
1346     <p>The locales for German style languages (e.g. de_DE@euro)
1347     unfortunately use an aesthetically unpleasing way of representing
1348     open quotation marks. We have retained it this way in order to
1349     preserve compatibility with other Linux distributions, and we hope
1350     that in the future it will be fixed. We suggest that you switch to a
1351     UTF-8 locale (e.g. de_DE@euro.UTF-8), which fully supports German with
1352     the correct quotation marks, and, using Unicode encoding, has better
1353     support for other languages as well.</p>
1354    
1355     <p>To change the system wide locale choice, use:
1356     <example>dpkg-reconfigure locales</example></p>
1357 jfs 3132 </sect>
1358 robster 3044 -->
1359 jfs 3132 <!-- Will be added if relevant information is written here
1360     <sect id="syntax"><heading>Important program syntax changes</heading>
1361    
1362 robster 3044 <p>Debian attempts to avoid changing upstream packages, therefore
1363     any changes in the upstream package will be present in the version in
1364     &debian;. This can mean that program behaviour may change between
1365     releases of &debian;. </p>
1366    
1367     <p><em>No changes yet reported.</em></p>
1368    
1369     </sect>
1370     -->
1371 jfs 3200
1372 robster 3044 <sect id="pythonchanges"><heading>Changes to Python packages</heading>
1373    
1374     <p>None of the python2.X packages that are included with &releasename; include
1375     the standard modules 'profile' and 'pstats', because they are licensed under a
1376     license that does not conform to the DFSG (see bug #293932 for details). These
1377     two modules can be found in the python-profiler and python2.X-profiler packages
1378     that are included in the non-free section of the Debian archive.</p>
1379     </sect>
1380    
1381 fjp 3183 <![ %available-2.6 [
1382     <sect id="upgrade-to-2.6">
1383     <heading>Upgrading to a 2.6 kernel</heading>
1384    
1385     <p>The 2.6 kernel series contains major changes from the 2.4 series.
1386     Modules have been renamed and a lot of drivers have been partially
1387     or sometimes almost completely rewritten. Upgrading to a 2.6 kernel
1388 fjp 3199 from an earlier version is therefore not a process to be undertaken
1389 fjp 3183 lightly. This section aims to make you aware of some of the issues
1390     you may face.</p>
1391    
1392     <p>You are therefore strongly advised not to upgrade to a 2.6 kernel
1393     as part of the upgrade from &oldreleasename; to &releasename;.
1394     Instead, you should first make sure your system works correctly
1395     with either the old kernel or with a 2.4 kernel from &releasename;
1396     and do the upgrade to a 2.6 kernel later as a separate project.</p>
1397    
1398     <p>If you compile your own kernel from source, make sure you install
1399     <package/module-init-tools/ before you reboot with the 2.6 kernel.
1400     This package replaces <package/modutils/ for 2.6 kernels. If you
1401     install one of the Debian <package/kernel-image/ packages, this
1402     package will be installed automatically because of dependencies.</p>
1403    
1404     <p>If you use <em/LVM/, you should also install <package/lvm2/
1405     before you reboot as the 2.6 kernel does not directly support LVM1.
1406     To access LVM1 volumes, the compatibility layer of <package/lvm2/
1407     (the dm-mod module) is used. You can leave <package/lvm10/ installed;
1408     the init scripts will detect which kernel is used and execute the
1409     appropriate version.</p>
1410    
1411 fjp 3199 <p>If you have entries in the <file>/etc/modules</file> file (the
1412     list of modules to be loaded during system boot), be aware that some
1413     module names may have changed. If this happens you will have to update
1414     this file with the new module names.</p>
1415    
1416 fjp 3398 <![ %i386-amd64 [
1417 fjp 3183 <p>For some SATA disk controllers, the device assigned to a drive and
1418     its partitions may change from <file>/dev/hdX</file> to
1419     <file>/dev/sdX</file>. If this happens, you will have to modify your
1420 fjp 3199 <file>/etc/fstab</file> and bootloader configuration accordingly.
1421     Unless these changes are made correctly, your system may not boot
1422     correctly.</p>
1423 fjp 3183 ]]>
1424    
1425 fjp 3199 <p>Once you have installed your 2.6 kernel, but before you reboot,
1426     make sure you have a recovery method. First, make sure that the
1427     bootloader configuration has entries for both the new kernel and
1428     the old, working 2.4 kernel. You should also ensure you have a "rescue"
1429     floppy or cdrom to hand, in case misconfiguration of the bootloader
1430     prevents you booting the old kernel.</p>
1431    
1432 robster 3044 <![ %not-s390 [
1433 fjp 3398 <![ %not-amd64 [
1434 fjp 3183 <sect1 id="2.6-keyboard">
1435     <heading>Keyboard configuration</heading>
1436 robster 3044
1437 fjp 3183 <p>The most invasive change in the 2.6 kernels is a fundamental
1438     change of the input layer. This change makes all keyboards look
1439     like "normal" PC keyboards. This means that if you currently have
1440     a different type of keyboard selected (e.g. a USB-MAC or Sun
1441 robster 3044 keyboard), you will very likely end up with a non-working keyboard
1442     after rebooting with the new 2.6 kernel.</p>
1443    
1444     <p>If you can SSH into the box from another system, you can resolve
1445 fjp 3183 this issue by running <tt>dpkg-reconfigure console-data</tt>, choosing
1446 robster 3044 the option "Select keymap from full list" and selecting a "pc"
1447     keyboard.</p>
1448 fjp 3183
1449     <p>If your console keyboard is affected, you will probably also need to
1450 fjp 3235 reconfigure your keyboard for the X Window System. You can do this
1451 fjp 3183 either by running <tt>dpkg-reconfigure xserver-xfree86</tt> or by
1452     editing <file>/etc/X11/XF86Config-4</file> directly. Don't forget
1453     to read the documentation referred to in <ref id="nownownow">.</p>
1454 robster 3044
1455     <![ %i386 [
1456     <p>This issue is unlikely to affect the &arch-title; architecture
1457     as all PS/2 and most USB keyboards will already be configured as
1458     a "normal" PC keyboard.</p>
1459     ]]>
1460     <![ %not-i386 [
1461     <p>Note that if you are using a USB keyboard, this may be configured
1462     as either a "normal" PC keyboard or as a USB-MAC keyboard. In the
1463     first case you will not be affected by this issue.</p>
1464     ]]>
1465 fjp 3183 </sect1>
1466 fjp 3398 ]]> <!-- %not-amd64 -->
1467 fjp 3183
1468     <sect1 id="2.6-mouse">
1469     <heading>Mouse configuration</heading>
1470    
1471     <p>Again because of the changes in the input layer, you may have to
1472     reconfigure the X Window System and <package/gpm/ if your mouse is
1473     not working after upgrading to a 2.6 kernel. The most likely cause is
1474 fjp 3199 that the device which gets the data from the mouse has changed.
1475     You may also need to load different modules.</p>
1476 fjp 3183
1477     <![ %sparc [
1478     <p>If you currently have X configured for <file>/dev/sunmouse</file>,
1479     you probably need to change this to <file>/dev/psaux</file>.</p>
1480 robster 3044 ]]>
1481    
1482 fjp 3183 </sect1>
1483 fjp 3199
1484     <sect1 id="2.6-sound">
1485     <heading>Sound configuration</heading>
1486    
1487 fjp 3396 <p>For the 2.6 kernel series the ALSA sound drivers are recommended
1488     over the older OSS sound drivers. ALSA sound drivers are provided
1489     as modules by default. In order for sound to work, the ALSA modules
1490 spaillar 3875 appropriate for your sound hardware need to be loaded. In general
1491 fjp 3404 this will happen automatically if you have, in addition to the
1492     <package>alsa-base</package> package, either the
1493     <package>hotplug</package> package or the <package>discover</package>
1494     package installed. The <package>alsa-base</package> package also
1495     "blacklists" OSS modules to prevent <prgn>hotplug</prgn> and
1496     <prgn>discover</prgn> from loading them. If you have OSS modules
1497     listed in <file>/etc/modules</file>, you should remove them.</p>
1498 fjp 3199
1499     </sect1>
1500 fjp 3183 ]]> <!-- %not-s390 -->
1501    
1502     <sect1 id="2.6-udev">
1503     <heading>Switching to 2.6 may activate udev</heading>
1504    
1505     <p><package/udev/ is a userspace implementation of devfs. It is mounted
1506 fjp 3298 over the <file>/dev</file> directory and will populate that directory
1507     with devices supported by the kernel. It will also dynamically add and
1508     remove devices as kernel modules are loaded or unloaded respectively,
1509     working together with <package/hotplug/ to detect new devices.
1510     <package/udev/ works only with 2.6 kernels.</p>
1511 fjp 3183
1512     <p>As <package/udev/ is automatically installed as a dependency of
1513     e.g. <package/gnome/, there is a chance that upgrading to a 2.6 kernel
1514     will result in <package/udev/ being activated.</p>
1515    
1516     <p>Although <package/udev/ has been tested extensively, you may experience
1517     minor problems with some devices that will need to be fixed. The most
1518     common problems are changed permission and/or ownership of a device.
1519     In some cases a device may not be created by default (e.g.
1520     <file>/dev/video</file> and <file>/dev/radio</file>).</p>
1521    
1522     <p><package/udev/ provides configuration mechanisms to deal with these
1523     issues. See <manref name="udev" section="8"> and <file>/etc/udev</file>
1524     for further information.</p>
1525    
1526     </sect1>
1527     </sect>
1528     ]]> <!-- %available-2.6 -->
1529    
1530 fjp 3398 <![ %i386-amd64 [
1531 fjp 3199 <sect id="x-mouse">
1532 fjp 3235 <heading>X Window System fails to load</heading>
1533 fjp 3199
1534 fjp 3235 <p>If after booting your machine, X fails to load and you
1535 fjp 3199 see an error "missing core pointer" in
1536     <file>/var/log/XFree86.0.log</file>, the problem could be that the
1537     mouse driver is not loaded fast enough by <prgn/hotplug/ (bug
1538     <url id="http://bugs.debian.org/255744" name="#255744">). The
1539     solution is to add the driver module for your mouse (e.g. psmouse)
1540     in <file>/etc/modules</file>.</p>
1541    
1542     </sect>
1543 fjp 3398 ]]>
1544 fjp 3199
1545 fjp 3398 <![ %i386 [
1546 fjp 3199 <sect id="x-transmeta">
1547 fjp 3171 <heading>X Window System on Transmeta Crusoe systems</heading>
1548 fjp 3163
1549     <p>The X server shipping in &releasename; contains optimized code which
1550     is not properly executed by many Transmeta(TM) Crusoe(TM) processors.
1551     The result of this is that at a certain time (when cached code "morphed"
1552     from x86 to Crusoe VLIW instructions in the CPU is in a buggy state),
1553     X client applications which connect with it fail with the following
1554     error message:
1555    
1556     <example>
1557 fjp 3183 X Error of failed request: BadLength
1558     (poly request too large or internal Xlib length error)
1559 fjp 3163 Major opcode of failed request: 18 (X_ChangeProperty)
1560     Serial number of failed request: 15
1561     Current serial number in output stream: 18
1562     </example></p>
1563    
1564     <p>In practical terms, this means that after a few hours of operation,
1565     applications will suddenly quit in rapid succession; if a display manager
1566     is running, that too will repeatedly quit and attempt to restart itself.
1567     The state will persist until the buggy VLIW Transmeta code is flushed
1568     from the cache.</p>
1569    
1570     <p>Since the bug is in the proprietary Transmeta Code Morphing Software
1571     (CMS), and the laptop BIOS checks the CMS for a vendor signature at boot
1572     time, this can only be fixed in cooperation between Transmeta and the
1573     laptop vendor. Further information about this issue can be found at
1574     <url id="http://www.cs.auc.dk/~fleury/bug_cms/"> and Debian bug report
1575     <url id="http://bugs.debian.org/216933" name="#216933">.</p>
1576    
1577     <p>The workaround for this bug is to install an X server compiled without
1578     optimization, such as the <package/xserver-xfree86-dbg/ package.</p>
1579    
1580     </sect>
1581     ]]>
1582 fjp 3237 </chapt>
1583 fjp 3163
1584 joy 2049 <chapt id="moreinfo">
1585    
1586     <heading>More information on &debian;</heading>
1587    
1588 robster 3044 <sect id="morereading"> <heading>Further reading</heading>
1589 joy 2049 <p>Beyond these release notes and the installation guide further
1590     documentation on &debian; is available from the Debian
1591     Documentation Project (DDP), whose goal is to create high quality
1592     documentation for Debian users and developers. Documentation
1593     including the Debian Guide, Debian New Maintainers Guide, and Debian
1594     FAQ are available, and many more. For full details of the resources
1595 fjp 3172 available see the <url id="&url-ddp;" name="DDP website">.</p>
1596 joy 2049
1597     <p>Documentation for individual packages is installed into
1598     <file>/usr/share/doc/<var>package</var></file>, this may include
1599     copyright information, Debian specific details and any upstream
1600     documentation.</p>
1601    
1602     </sect>
1603    
1604     <sect id="gethelp">
1605 robster 3044 <heading>Getting help</heading>
1606 joy 2049
1607 jseidel 2724 <p>There are many sources of help, advice and support for Debian
1608 joy 2049 users, but these should only be considered if research into
1609     documentation of the issue has exhausted all sources. This section
1610     provides a short introduction into these which may be helpful for
1611     new Debian users.</p>
1612    
1613     <sect1 id="lists">
1614     <heading>Mailing lists</heading>
1615     <p>The mailing lists of most interest to Debian users are the
1616 jfs 2628 debian-user list (English) and other debian-user-<var/language/ lists
1617 joy 2049 (for other languages). For information on these lists and details of
1618     how to subscribe see <url id="&url-debian-list-archives;">. Please
1619     check the archives for answers to your question prior to posting and
1620     also adhere to standard list etiquette.</p>
1621     </sect1>
1622    
1623     <sect1 id="irc">
1624     <heading>Internet Relay Chat</heading>
1625    
1626     <p>Debian has an IRC channel dedicated to the support and aid of
1627 fjp 3150 Debian users located on the Freenode IRC network which exists to
1628     provide interactive services to peer-directed project communities.
1629     To access the channel point your favourite IRC client at
1630     &debian-irc-server; and join #debian.</p>
1631 joy 2049
1632     <p>Please follow the channel guidelines, respecting other users
1633 fjp 3150 fully. For more information on Freenode please visit the <url
1634     id="&url-irc-host;" name="website">.</p>
1635 joy 2049
1636     </sect1>
1637     </sect>
1638    
1639     <sect id="bugs">
1640 robster 3044 <heading>Reporting bugs</heading>
1641 joy 2049
1642     <p>We strive to make Debian GNU/Linux a high quality operating
1643     system, however that does not mean that the packages we provide are
1644 fjp 3163 totally free of bugs.
1645     Consistent with Debian's "open development" philosophy and as a
1646 jfs 2628 service to our users, we provide all the information on reported bugs
1647     at our own Bug Tracking System (BTS). The BTS is browseable at
1648 fjp 3163 <url id="&url-bts;" name="bugs.debian.org">.</p>
1649 joy 2049
1650     <p>If you find a bug in the distribution or in packaged software
1651     that is part of it, please report it so that it can be properly
1652     fixed for next releases. Reporting bugs requires a valid email
1653     address, we ask for this so that we can trace bugs and developers
1654     can get in contact with submitters should they need more
1655     information.</p>
1656    
1657 jfs 2628 <p>You can submit a bug report using the program
1658     <package>reportbug</package> or manually using email.
1659 joy 2049 You can read more about the Bug Tracking System and how to use it by
1660     reading the reference cards (available at
1661 fjp 3163 <file>/usr/share/doc/debian</file> if you have
1662     <package>doc-debian</package> installed) or online at the
1663     <url id="&url-bts;" name="Bug Tracking System">.</p>
1664 jfs 2628
1665 joy 2049 </sect>
1666    
1667     <sect id="contributing">
1668     <heading>Contributing to Debian</heading>
1669    
1670     <p>You do not need to be an expert to contribute to Debian. By
1671     assisting users with problems on the various user support <url
1672     id="&url-debian-list-archives;" name="lists"> you are contributing to
1673     the community. Identifying (and importantly solving) problems
1674     related to the development of the distribution by participating on
1675     the development <url id="&url-debian-list-archives;" name="lists"> is
1676     also extremely helpful. To maintain Debian's high quality
1677     distribution <url id="&url-bts;" name="submit bugs">
1678     and help developers track them down and fix them. If you have a way
1679     with words then you may want to contribute more actively by helping
1680     to write <url id="&url-ddp;"
1681     name="documentation"> or <url
1682     id="&url-debian-i18n;" name="translate"> existing
1683     documentation into your own language.</p>
1684    
1685     <p>If you can dedicate more time, you could manage a piece of the
1686     Free Software collection within Debian. Especially helpful is if
1687     people adopt or maintain items that people have requested for
1688     inclusion within Debian, the <url id="&url-wnpp;" name="Work Needing
1689     and Prospective Packages database"> details this information. If you
1690     have an interest in specific groups then you may find enjoyment in
1691     contributing to some of Debian's subprojects which include ports to
1692     particular architectures, <url id="&url-debian-jr;" name="Debian
1693     Jr."> and <url id="&url-debian-med;" name="Debian Med">.</p>
1694    
1695     <p>In any case, if you are working in the free software community in
1696     any way, as a user, programmer, writer or translator you are already
1697     helping the free software effort. Contributing is rewarding and fun,
1698     and as well as allowing you to meet new people it gives you that
1699     warm fuzzy feeling inside.</p></sect>
1700    
1701     </chapt>
1702 fjp 3153
1703    
1704     <![ %upgradekernel [
1705    
1706     <appendix id="kernel-upgrade-howto"><heading>Upgrading the kernel</heading>
1707    
1708 djpig 3233 <![ %not-mips-mipsel [
1709 fjp 3237 <![ %sparc [
1710 fjp 3165 <p><strong>The information in this appendix is relevant only
1711 fjp 3153 if, for a successful upgrade of the system, you need to upgrade the
1712     kernel <em/before/ upgrading the system. Please read
1713     <ref id="new-kernel"> to find out if that is required for your
1714     system</strong>.</p>
1715 djpig 3233 ]]>
1716 fjp 3237 <p>The following instructions explain step by step how to use the
1717     available backported tools to install the newer kernel.</p>
1718 fjp 3153
1719 fjp 3237 <p>Because packages may need to be installed from &oldreleasename;,
1720     you should first check that entries in your <file>sources.list</file>
1721     still refer to &oldreleasename; as explained in
1722     <ref id="old-sources">.</p>
1723     ]]> <!-- %not-mips-mipsel -->
1724    
1725 fjp 3171 <![ %mips-mipsel [
1726     <p>The following instructions explain step by step how to install
1727     the newer kernel.</p>
1728     ]]>
1729 fjp 3153
1730     <p><taglist>
1731     <tag>Download and install the needed packages</tag>
1732    
1733 fjp 3171 <![ %mips-mipsel [
1734     <item>
1735 fjp 3266 <p><em>with apt</em>: if you have not yet done so,
1736 fjp 3235 change your <file>sources.list</file> file to point
1737     to &releasename; as described in <ref id="upgrade-process">,
1738     update your packages lists and install the kernel-image for
1739     your machine. You can find a list of available kernel
1740     images below or with the command
1741 djpig 3233
1742 fjp 3235 <example>
1743 fjp 3266 $ apt-cache search ^kernel-image
1744 djpig 3233 </example></p>
1745 fjp 3171
1746 fjp 3235 <p>During the install the package may complain about module mismatches
1747 fjp 3396 and ask if the installation should abort. Answer <tt>NO</tt> to that
1748 fjp 3235 question as these mismatches will be resolved as soon as you reboot with
1749     the new kernel.</p>
1750 djpig 3233
1751     <p><em>with dpkg</em>: fetch the current kernel package from
1752 fjp 3171 the Debian mirror of your choice. The available packages are:
1753    
1754     <list>
1755     <![ %mips [
1756 djpig 3233 <item><p><url id="&mips-kernel-patch;/&mips-kernel-image-r4k;" name="&mips-kernel-image-r4k;">
1757 fjp 3235 for R4XX0 processors and the SGI IP22 subarchitecture like the Indy and Indigo2.</p></item>
1758 djpig 3233 <item><p><url id="&mips-kernel-patch;/&mips-kernel-image-r5k;" name="&mips-kernel-image-r5k;">
1759 fjp 3235 for R5000 processors and the SGI IP22 subarchitecture like the Indy and Indigo2.</p></item>
1760 djpig 3233 <item><p><url id="&mips-kernel-patch;/&mips-kernel-image-swarm;" name="&mips-kernel-image-swarm;">
1761 fjp 3235 for the Broadcom BCM91250A (aka SWARM) pass 2.2.</p></item>
1762 fjp 3171 ]]>
1763     <![ %mipsel [
1764 djpig 3233 <item><p><url id="&mips-kernel-patch;/&mipsel-kernel-image-r3k;" name="&mipsel-kernel-image-r3k;">
1765 fjp 3235 for R3000 based DECstations with KN02 (or compatible) mainboard, such as the DECstation 5000/1xx series with xx=20,25,33 and the DECstation 5000/240.</p></item>
1766 djpig 3233 <item><p><url id="&mips-kernel-patch;/&mipsel-kernel-image-r4k;" name="&mipsel-kernel-image-r4k;">
1767 fjp 3235 for R4X00 based DECstations with KN04 (or compatible) mainboard, such as the DECstation 5000/150, the Personal DECstation 5000/50 and the DECstation 5000/260.</p></item>
1768 djpig 3233 <item><p><url id="&mips-kernel-patch;/&mipsel-kernel-image-r5k-cobalt;" name="&mipsel-kernel-image-r5k-cobalt;">
1769 fjp 3235 for MIPS based Cobalt machines (such as the Qube, RaQ, Qube2 and RaQ2).</p></item>
1770 djpig 3233 <item><p><url id="&mips-kernel-patch;/&mipsel-kernel-image-r5k-lasat;" name="&mipsel-kernel-image-r5k-lasat;">
1771 fjp 3235 for R5000 processors on the Lasat Masquerade Pro.</p></item>
1772 djpig 3233 <item><p><url id="&mips-kernel-patch;/&mipsel-kernel-image-swarm;" name="&mipsel-kernel-image-swarm;">
1773 fjp 3235 for the Broadcom BCM91250A (aka SWARM) pass 2.2.</p></item>
1774 djpig 3233 <item><p><url id="&mips-kernel-patch;/&mipsel-kernel-image-xxs1500;" name="&mipsel-kernel-image-xxs1500;">
1775 fjp 3235 for the Au1500 based XXS1500 board.</p></item>
1776 fjp 3171 ]]>
1777     </list></p>
1778    
1779     <p>Then install the package using <tt>dpkg -i</tt>. It may
1780 fjp 3183 complain about module mismatches (from <package>modutils</package>)
1781 fjp 3400 and ask if the installation should abort. Answer <tt>NO</tt>
1782 fjp 3183 to that question as these mismatches will be resolved as soon
1783 fjp 3171 as you reboot with the new kernel.</p>
1784    
1785     </item>
1786     ]]> <!-- %mips-mipsel -->
1787    
1788     <![ %not-mips-mipsel [
1789     <item>
1790     <p><em>with apt</em>: to install the packages with
1791 fjp 3153 <prgn>apt</prgn> or one of its frontends, add the following line
1792     in your <file>/etc/apt/sources.list</file>:
1793    
1794 fjp 3171 <example>
1795 fjp 3153 deb &url-kernel-upgrade;
1796     # sources are also available if you need them
1797     # deb-src &url-kernel-upgrade;
1798 fjp 3171 </example></p>
1799 fjp 3153
1800     <![ %sparc [
1801 fjp 3171 <p>Then install the packages
1802 fjp 3153 <package>modutils</package> and
1803 djpig 3233 <package>initrd-tools</package>.
1804 fjp 3153 ]]>
1805     <![ %hppa [
1806 fjp 3171 <p>Then install the packages
1807 djpig 3233 <package>module-init-tools</package>,
1808 fjp 3298 <package>modutils</package>,
1809 fjp 3235 <package>palo</package>,
1810 fjp 3298 and <package>initrd-tools</package>:
1811     <example>
1812     # apt-get install module-init-tools palo initrd-tools modutils
1813     </example>
1814 fjp 3153 ]]>
1815 fjp 3235 (Afterwards you can safely drop the additional entry again.)</p>
1816 fjp 3171
1817 fjp 3235 <p>After that change your <file>sources.list</file> file to point
1818     to &releasename; as described in <ref id="upgrade-process">,
1819 fjp 3266 update your packages lists and install the
1820     <package>&upgrade-kernel-image-name;</package> package.
1821 fjp 3235 </p>
1822 djpig 3233
1823 fjp 3153 <p><em>with dpkg</em>: to install the packages directly with <prgn>dpkg</prgn> you need to
1824 fjp 3171 download the necessary files first.</p>
1825 fjp 3153 <p><list>
1826 djpig 3233 <item><url id="&upgrade-kernel-image;"></item>
1827     <item><url id="&upgrade-kernel-modutils;"></item>
1828 fjp 3298 <![ %hppa [ <item><url id="&hppa-modutils;"></item> ]]>
1829 djpig 3233 <item><url id="&all-initrd-tools;"></item>
1830     <item><url id="&upgrade-kernel-cramfsprogs;"></item>
1831 fjp 3153 </list></p>
1832    
1833 fjp 3298 <p>The kernel package depends on
1834     <package>&upgrade-kernel-modutils-name;</package><![ %hppa [
1835     (which conflicts with the old <package>modutils</package>)]]>;
1836 fjp 3153 <package>initrd-tools</package> depends on <package>cramfsprogs</package>.
1837 djpig 3233 All other dependencies (which are <package>stat</package>,
1838     <package>cpio</package> and <package>ash</package>) can be
1839     satisfied with packages from &oldreleasename; in the usual way.</p>
1840     <![ %hppa [
1841 fjp 3184 <p>If you use <em/LVM/, you should also install <package/lvm2/
1842     before you reboot as the 2.6 kernel does not directly support LVM1.
1843     To access LVM1 volumes, the compatibility layer of <package/lvm2/
1844     (the dm-mod module) is used. You can leave <package/lvm10/ installed;
1845     the init scripts will detect which kernel is used and execute the
1846     appropriate version.</p>
1847 fjp 3153 ]]>
1848     </item>
1849 fjp 3171 ]]> <!-- %not-mips-mipsel -->
1850 fjp 3153
1851 fjp 3171 <tag>Don't delete your old kernel yet</tag>
1852     <item><p>You should first verify that the new one boots and all hardware
1853 fjp 3153 needed for the upgrade works (e.g. network adaptors).</p></item>
1854    
1855     <tag>Make your system bootable</tag>
1856     <item>
1857 fjp 3400
1858     <![ %not-mips-mipsel [
1859 fjp 3153 <p>You will probably have to adapt your boot loader configuration
1860 fjp 3298 <file>&bootloader-conf;</file>. Note that the kernel now uses an
1861 fjp 3153 initrd while the Debian kernels in &oldreleasename; did not.</p>
1862     ]]>
1863    
1864 fjp 3400 <p>If you currently use <package/raidtools2/, you should read
1865     <ref id="mdadm"> before you reboot.</p>
1866     </item>
1867    
1868 fjp 3153 <tag>Reboot to the new kernel</tag>
1869     <tag>Check your system</tag>
1870     <item><p>Check especially input devices, display devices, devices
1871 fjp 3163 needed to access the &releasename; packages (i.e. network adaptors,
1872 fjp 3153 CD drives, etc). Some driver modules may have been renamed, some
1873     drivers which have been compiled into the old kernel might now be
1874     compiled as modules, ...</p></item>
1875    
1876     </taglist></p>
1877    
1878     </appendix>
1879     ]]>
1880    
1881 fjp 3398 <![ %not-amd64 [
1882 fjp 3223 <appendix id="old-stuff">
1883     <heading>Managing your &oldreleasename; system</heading>
1884    
1885     <p>This appendix contains information on how to make sure you can install
1886     or upgrade &oldreleasename; packages before you upgrade to &releasename;.
1887     This should only be necessary in specific situations.</p>
1888    
1889     <sect id="old-upgrade">
1890     <heading>Upgrading your &oldreleasename; system</heading>
1891    
1892     <p>Basically this is no different than any other upgrade of
1893     &oldreleasename; you've been doing. The only difference is that you
1894     first need to make sure your package list still contains
1895     &oldreleasename; packages as explained in <ref id="old-sources">.</p>
1896    
1897     </sect>
1898    
1899     <![ %has-woody-aptitude [
1900     <sect id="old-aptitude">
1901     <heading>Installing &oldreleasename; version of aptitude</heading>
1902    
1903     <p>First you need to make sure you will install &oldreleasename;'s
1904     version of <package/aptitude/ and not &releasename;'s by following
1905     the instructions in <ref id="old-sources">.</p>
1906    
1907     <p>After that, just execute
1908    
1909     <example>
1910     # apt-get install aptitude
1911     </example>
1912    
1913     to install <package/aptitude/.</p>
1914    
1915     </sect>
1916     ]]>
1917    
1918     <sect id="old-sources">
1919     <heading>Checking your sources list</heading>
1920    
1921     <p>If any of the lines in your <file>/etc/apt/sources.list</file>
1922     refer to 'stable', you are effectively already "using" &releasename;.
1923     If you have already run <tt>apt-get update</tt>, you can still get
1924     back without problems following the procedure below.</p>
1925    
1926     <p>If you have also already installed packages from &releasename;,
1927     there probably is not much point in installing packages from
1928     &oldreleasename; anymore. In that case you will have to decide for
1929     yourself whether you want to continue or not. It is possible to
1930     downgrade packages, but that is not covered here.</p>
1931    
1932     <p>Open the file <file>/etc/apt/sources.list</file> with your favorite
1933     editor (as root) and check all lines beginning with <tt>deb http:</tt>
1934     or <tt>deb ftp:</tt> for a reference to "<tt/stable/". If you find any,
1935     change <tt/stable/ to <tt/&oldreleasename;/.</p>
1936    
1937     <p>If you have any lines starting with <tt>deb file:</tt>, you will
1938     have to check for yourself if the location they refer to contains
1939     a &oldreleasename; or a &releasename; archive.</p>
1940    
1941     <p><strong/Important!/ Do not change any lines that begin with
1942     <tt>deb cdrom:</tt>. Doing so would invalidate the line and you would
1943 fjp 3280 have to run <prgn/apt-cdrom/ again. Do not be alarmed if a 'cdrom' source
1944 fjp 3223 line refers to "<tt/unstable/". Although confusing, this is normal.</p>
1945    
1946 fjp 3280 <p>If you've made any changes, save the file and execute
1947 fjp 3223
1948     <example>
1949     # apt-get update
1950     </example>
1951    
1952     to refresh the package list.</p>
1953    
1954     </sect>
1955    
1956     </appendix>
1957 fjp 3398 ]]> <!-- %not-amd64 -->
1958 fjp 3223
1959 joy 2049 </book>
1960     </debiandoc>
1961    
1962     <!-- Keep this comment at the end of the file
1963     Local Variables:
1964     mode: sgml
1965     sgml-omittag:t
1966     sgml-shorttag:t
1967     sgml-namecase-general:t
1968     sgml-general-insert-case:lower
1969     sgml-minimize-attributes:nil
1970     sgml-always-quote-attributes:t
1971     sgml-indent-step:2
1972     sgml-indent-data:nil
1973     sgml-declaration:nil
1974     sgml-parent-document:nil
1975     sgml-exposed-tags:nil
1976     sgml-local-catalogs:nil
1977     sgml-local-ecat-files:nil
1978     fill-column: 75
1979     End:
1980     -->
1981    

  ViewVC Help
Powered by ViewVC 1.1.5