/[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 2853 - (hide annotations) (download) (as text)
Fri Feb 4 21:15:28 2005 UTC (8 years, 3 months ago) by jseidel
File MIME type: text/x-sgml
File size: 36582 byte(s)
build fix
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 jseidel 2853 <!entity docid "$Id: release-notes.en.sgml,v 1.15 2005-02-04 21:15:28 jseidel 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     Bradford (current)</name><email></email>
17     </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 2613 <chapt id="about"><heading>What's New in the Release Notes</heading>
25    
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 robster 2613 <p>Please note that previous editions of the release notes contained
31     information about upgrading from releases older than than the previous
32     release. However such content often complicated the documentation so we
33     have decided to only discuss upgrades from &debian; 3.0 ('woody'). If
34     you need to upgrade from older releases please read previous editions of
35     the release notes.</p>
36 joy 2049
37 robster 2613 </chapt>
38     <chapt id="whats-new"><heading>What's New in &debian; &release;</heading>
39    
40     <p>The list of supported architectures has not changed since the
41     previous release, &debian; 3.0 ('woody'). Here is the full list of
42     architectures for this release.</p>
43    
44 joy 2049 <p>
45     <list>
46     <item><p>Intel x86 ('i386')</p></item>
47     <item><p>Motorola 680x0 ('m68k')</p></item>
48     <item><p>Alpha ('alpha')</p></item>
49     <item><p>SPARC ('sparc')</p></item>
50     <item><p>PowerPC ('powerpc')</p></item>
51     <item><p>ARM ('arm')</p></item>
52 robster 2613 <item><p>MIPS ('mips' (Big endian) and 'mipsel' (Little endian))</p></item>
53     <item><p>Intel Itanium ('ia64')</p></item>
54     <item><p>HP PA-RISC ('hppa')</p></item>
55     <item><p>S/390 ('s390')</p></item>
56 joy 2049 </list>
57 robster 2613 </p>
58 joy 2049
59     <p>You can read more about port status, and port-specific
60     information for your architecture at the <url id="&url-ports;"
61     name="Debian port web pages">.</p>
62    
63 jseidel 2822 <![ %secondrelease [
64 joy 2049
65 robster 2613 <p>This is only the second official release of &debian; for the
66 joy 2049 &arch-title; architecture. We feel that it has proven itself
67     sufficiently to be released. However, because it has not had the
68     exposure (and hence testing by users) that our other releases on
69     other architectures have had, you may encounter a few bugs. Please
70     use our <url id="&url-bts;" name="bug tracking system"> to report
71     any problems; make sure to mention the fact that the bug is on the
72     &architecture; platform.</p>
73    
74     ]]>
75    
76     <p>&debian; &release; for the &arch-title; architecture ships with
77     kernel version &kernelversion;.</p>
78 robster 2613 <![ %available-2.6 [
79 joy 2049
80 robster 2613 <p>On the &arch-title; architecture a 2.6 kernel is also available,
81 jfs 2628 this has kernel version &kernelversion-2.6;. Note that Debian's 2.6.8
82     kernel packages include the 2.6.8.1 kernel release and selected other
83     patches.</p>
84 joy 2049 ]]>
85    
86     <sect id="newinst"><heading>What's New in the Installation System?</heading>
87    
88 robster 2613 <p>The old &debian; installation system has been replaced by a
89     completely new installation system called
90     <prgn>debian-installer</prgn>. The new installation system is
91     modular in design and so has been developed with extensibility in
92     mind.</p>
93 joy 2049
94 robster 2613 <p>Some of the new features in the installation system include
95     support for booting off USB flash devices, choosing
96     <prgn>aptitude</prgn> to install packages in the first-boot stage
97     and support for the <prgn>XFS</prgn> file system and
98 jseidel 2822 <prgn>LVM</prgn> (a volume management tool).</p>
99 joy 2049
100 robster 2613 <p>For full details of the new Debian installation system, users
101 jseidel 2852 are advised to read the Debian Installation Guide included on the
102 jfs 2628 first CD or at <url id="&url-install-manual;">.</p>
103 joy 2049
104     <![ %i386 [
105    
106 robster 2613 <p>Kernel images are available in various "flavours". These
107 robster 2648 flavours each support a different set of hardware. The flavours
108 joy 2049 available in &debian; &release; for &arch-title; are:</p>
109    
110     <p>
111     <taglist>
112 robster 2613 <tag>vanilla</tag>
113 joy 2049 <item><p>The standard kernel package available in Debian. This
114     includes almost all drivers supported by Linux built as
115 robster 2613 modules. Including drivers for network devices, SCSI devices,
116     sound cards, Video4Linux devices, etc. The
117     `vanilla' flavour includes one boot, one root and two
118 joy 2049 driver disks.</p></item>
119 robster 2613
120     <tag>speakup</tag>
121     <item><p>This is almost the same as the vanilla kernel above
122     but with support for braille displays. A complete list of
123     supported models may be found in the brltty documentation.
124     This flavour includes one boot, one root and one driver floppy
125     disk image.<p></item>
126    
127 joy 2049 </taglist>
128 jfs 2628 <!-- FJP: I feel the info about floppies should be removed from this table as
129     floppies are no longer the most used installation method. -->
130    
131 robster 2648 <p>The kernel config files for these flavours can be found in their
132 joy 2049 respective directories in a file named 'kernel-config'.</p>
133    
134     ]]>
135    
136 jfs 2628 <!-- FJP: Maybe a short description of available installation methods could be
137     added here: floppy, CD (netinst/business-card/full set), netboot,
138     hd-media, USB-stick. -->
139    
140 robster 2613 <![ %available-2.6 [
141     <p>An installer using a 2.6 based kernel is available for
142     &arch-title;. For more details on how to use it please consult the
143     installation guide.</p>
144     ]]>
145 joy 2049
146 robster 2613 </sect>
147     <sect id="newdistro"><heading>What's New in the Distribution?</heading>
148 joy 2049
149     <p>To replace the aging, much-maligned, yet still popular
150     <package>dselect</package>, many apt frontends have been in
151     development during the woody release cycle. Interested users
152 robster 2613 should investigate the <package>aptitude</package> and
153     <package>synaptic</package> packages.</p>
154 joy 2049
155     <p>This release of &debian; contains the much improved XFree86
156 robster 2613 4.3 release, which includes support for a greater range of
157 joy 2049 hardware, better autodetection support, and improved support for
158 robster 2613 advanced technologies such as Xinerama and 3D acceleration.</p>
159    
160     <p>&debian; is more desktop orientated than ever in this new release,
161 robster 2756 it now includes GNOME 2.8 and KDE 3.3. Also included for the
162 jseidel 2724 first time is a complete office suite in the form of OpenOffice.org
163 robster 2613 1.1, other productivity tools included in the release are the
164     Evolution groupware software and GAIM instant messaging client.
165    
166     <p>The official &debian; distribution now ships on thirteen
167 joy 2049 binary CDs with a similar number of source CDs, and a DVD version
168     of the distribution is now also available.</p></sect>
169    
170     </chapt>
171    
172     <chapt id="installing"><heading>New Installations</heading>
173    
174     <p>If you are making a new installation of Debian, you should read
175 jseidel 2852 the Installation Guide, which is available on the Official CD at:
176 joy 2049
177 jseidel 2852 <example>
178 jseidel 2853 /doc/install/manual/<var>language</var>/index.html
179 jseidel 2822 </example>
180 joy 2049
181 jseidel 2822 or on the Internet at: <url id="&url-install-manual;">.</p>
182 joy 2049
183 robster 2613 <p>The old &debian; installation system called
184     <prgn>boot-floppies</prgn> has been replaced by a new componentized and
185     more powerful installation system called <prgn>debian-installer</prgn>.</p>
186 joy 2049
187     </chapt>
188    
189    
190     <chapt id="upgrading"><heading>Upgrades from Previous Releases</heading>
191    
192     <!-- For doc-writers' convenience:
193     Debian Supported
194     release: architectures:
195    
196     1.3.1 or less i386
197     2.0 i386,m68k
198     2.1 i386,m68k,alpha,sparc
199     2.2 i386,m68k,alpha,sparc,powerpc,arm
200     3.0 + hppa s390 mips mipsel ia64
201     -->
202    
203     <sect id="information"><heading>Detailed Changes to the System</heading>
204    
205 robster 2659 <!-- Controversial, disabled for now, please translate though
206 robster 2657 <sect1 id="german-quotes"><heading>Problems with German Quotes</heading>
207    
208     <p>The locales for German style languages (e.g. de_DE@euro)
209     unfortunately use an aesthetically unpleasing way of representing
210     open quotation marks. We have retained it this way in order to
211     preserve compatibility with other Linux distributions, and we hope
212     that in the future it will be fixed. We suggest that you switch to a
213     UTF-8 locale (e.g. de_DE@euro.UTF-8), which fully supports German with
214     the correct quotation marks, and, using Unicode encoding, has better
215     support for other languages as well.</p>
216    
217     <p>To change the system wide locale choice, use:
218     <example>dpkg-reconfigure locales</example></p>
219 robster 2659 -->
220 joy 2049 <sect1 id="syntax"><heading>Important program syntax changes</heading>
221     <p>Debian attempts to avoid changing upstream packages, therefore
222 robster 2648 any changes in the upstream package will be present in the version in
223     &debian;. This can mean that program behaviour may change between
224     releases of &debian;. </p>
225 joy 2049
226 robster 2613 <p><em>No changes yet reported.</em></p>
227 joy 2049
228     </sect1>
229    
230     </sect>
231     <sect id="backup"><heading>Preparing for the Upgrade</heading>
232    
233     <p>Before upgrading your system, it is strongly recommended that
234     you make a full backup, or at least backup any data or
235     configuration information you can't afford to lose. The upgrade
236     tools and process are quite reliable, but a hardware failure in
237     the middle of an upgrade could result in a severely damaged
238     system.</p>
239    
240     <p>The main things you'll want to back up are the contents of
241     <file>/etc</file>, <file>/var/lib/dpkg</file> and the output of
242     <tt>dpkg --get-selections \*</tt>.</p>
243    
244     <p>It's wise to inform all users in advance of any upgrades you're
245 jfs 2628 planning, although users accessing your system via SSH (at least)
246 joy 2049 shouldn't notice much during the upgrade, and may want to continue
247     working. If you wish to take extra precautions, back up or unmount
248     user's partitions (<file>/home</file>) before upgrading. A reboot
249     will not normally be necessary.</p>
250    
251     <p>Distribution upgrade should be done either locally from a
252     textmode virtual console (or a directly connected serial
253     terminal), or remotely via an <prgn/ssh/ link.</p>
254    
255 robster 2648 <p><em/Important/: You should <em/not/ upgrade using <prgn/telnet/,
256     <prgn/rlogin/, <prgn/rsh/, or from an X session managed by <prgn/xdm/,
257     <prgn/gdm/ or <prgn/kdm/ etc on the machine you are upgrading. That is
258 joy 2049 because each of those services may well be terminated during the
259 robster 2648 upgrade, which can result in an <em/inaccessible/ system that is only
260     half-upgraded.</p>
261 joy 2049
262 robster 2613 <sect1><heading>Disabling APT Pinning</heading>
263 joy 2049
264 robster 2613 <p>If you have configured APT to install certain packages from a
265 jfs 2628 distribution other than stable (e.g from testing), you may have to
266 robster 2613 change your APT pinning configuration (stored in
267 jfs 2628 <file>/etc/apt/preferences</file>) to allow the upgrade of packages to
268 robster 2613 the versions in the new stable release. Further information on APT
269     pinning can be found in <manref name="apt_preferences" section="5">.</p>
270 jfs 2628 <!-- FJP: Couldn't the advise to hold such packages prevent the upgrade of e.g.
271     libc6 if the package depends on the old version! -->
272 robster 2613
273     </sect1>
274    
275 joy 2049 <sect1><heading>Checking Packages Status</heading>
276    
277     <p>Regardless of the method used for upgrading, it is recommended
278     that you check the status of all packages first, and verify that
279     all packages are in an upgradable state. The following command
280     will show any packages which have a status of Half-Installed or
281     Failed-Config, and those with any error status.
282    
283     <example>
284 jseidel 2829 # dpkg --audit
285 joy 2049 </example></p>
286    
287     <p>You could also inspect the state of all packages on your system
288 robster 2614 using <prgn/dselect/, <prgn/aptitude/, or with commands such as
289 joy 2049
290     <example>
291 jseidel 2829 # dpkg -l | pager
292     </example>
293 joy 2049
294 jseidel 2829 or
295 joy 2049
296     <example>
297 jseidel 2829 # dpkg --get-selections &gt; ~/curr-pkgs.txt
298 joy 2049 </example></p>
299    
300     <p>It is desirable to remove any holds before upgrading. If any
301     package that is essential for the upgrade is on hold, the upgrade
302     will fail. You can identify packages on hold with
303    
304     <example>
305 jseidel 2829 # dpkg --audit
306 joy 2049 </example></p>
307    
308 robster 2652 <p>If you changed and recompiled a package locally, and didn't rename
309     it or put an epoch in the version, you must put it on hold to prevent
310     it from being upgraded. The `hold' package state can be changed by
311     using <prgn/aptitude/. With
312 robster 2614
313 robster 2652 <example>
314 jseidel 2829 aptitude hold | unhold &lt;package&gt;
315 robster 2652 </example>
316     </p>
317     </sect1>
318 joy 2049 <sect1><heading>Special Considerations for SSH Users</heading>
319    
320     <p>The commercial SSH located in the <package/ssh/ package before
321 jfs 2628 release 2.2 or in the <package/ssh-nonfree/ package in release 2.2 has
322 joy 2049 been replaced by the DFSG free <package/ssh/ package (OpenSSH) in
323     this release. The commercial SSH collection is no longer present.
324     The <package/ssh/ package includes a Debconf question which will
325     regenerate a configuration which is OpenSSH compatible.</p>
326    
327     <sect1><heading>Directories Possibly Needing Attention</heading>
328    
329     <p>It is important that the <file>/etc/rcS.d</file> directory
330     exists prior to the upgrade; the installation of the
331     <package/libc6/ package will fail otherwise.</p>
332    
333     <p>The <file>/usr/share/doc</file> directory (if it exists
334     already) should not be a symlink (e.g. to <file>/usr/doc</file>),
335     since that will cause some packages to break. However, symlinking
336     <file>/usr/doc</file> to <file>/usr/share/doc</file> is allowed.
337     Please note that if you use such a symlink there will be numerous
338     messages about <file>/usr/doc</file> directories that can't be
339     removed. Those are normal, and you can safely ignore them.</p></sect1></sect>
340    
341    
342     <sect id="upgrade-process"><heading>Preparing Sources for APT</heading>
343    
344 robster 2614 <p>The recommended method of upgrading is to use <prgn/aptitude/, as
345     described here. The built-in dependency analysis enables smooth
346     upgrades and easy installations.</p>
347    
348     <p>Any package installation operation must be run with superuser
349 joy 2049 privileges, so either login as root or use <prgn/su/ or
350     <prgn/sudo/ to gain the necessary access rights.</p>
351    
352     <p>Before starting the upgrade you must set up <package/apt/'s
353     configuration file for package lists,
354     <file>/etc/apt/sources.list</file>.</p>
355    
356     <p><package/apt/ will consider all packages that can be found via
357     any "<tt>deb</tt>" line, and install the package with the highest
358     version number, giving priority to the first mentioned lines (that
359     way, in case of multiple mirror locations, you'd typically first
360     name a local harddisk, then CD-ROMs, and then HTTP/FTP
361     mirrors).</p>
362    
363     <sect1 id="network"><heading>Adding APT Internet Sources</heading>
364    
365     <p>The default configuration is set up for installation from main
366     Debian Internet servers, but you may wish to modify
367     <file>/etc/apt/sources.list</file> to use other mirrors,
368     preferably a mirror that is network-wise closest to you.</p>
369    
370 jfs 2628 <!-- FJP: Why is 'default configuration' relevant here? We are talking about
371     upgrading existing installations; we really have no idea what
372     apt-sources users will have set up here (maybe just a Woody CD-set).
373     Note: D-I sets the default configuration to a mirror based on
374     the selected country and not the 'main' servers. -->
375    
376     <p>Debian HTTP or FTP mirror addresses can be found at
377 joy 2049 <url id="&url-debian-mirrors;"> (look at the "Full list of
378 jfs 2628 mirrors" section). HTTP mirrors are generally speedier than FTP
379 joy 2049 mirrors.</p>
380 jfs 2628 <!-- FJP: 'Otherwise' does not refer back to anything here, so I deleted it
381     (unless the intention was to refer to local intr_a_net HTTP
382     servers in the previous para). -->
383 joy 2049
384     <p>For example, suppose your closest Debian mirror is
385     <tt>&url-debian-mirror-eg;/</tt>. When inspecting that mirror
386     with a web browser or FTP program, you will notice that the main
387     directories are organized like this:
388    
389     <example>
390 jseidel 2829 &url-debian-mirror-eg;/dists/stable/main/binary-&architecture;/...
391     &url-debian-mirror-eg;/dists/stable/contrib/binary-&architecture;/...
392 joy 2049 </example></p>
393    
394     <p>To use this mirror with <prgn/apt/, you add this line to your
395     <file/sources.list/ file:
396    
397     <example>
398 jseidel 2829 deb &url-debian-mirror-eg; &releasename; main contrib
399 joy 2049 </example></p>
400    
401     <p>Note that the `<tt>dists</tt>' is added implicitly, and the
402     arguments after the release name are used to expand the path into
403     multiple directories.</p>
404    
405     <p>After adding your new sources, disable the previously existing
406     "<tt/deb/" lines in <file/sources.list/, by placing a hash sign
407     (<tt/#/) in front of them.</p>
408    
409     <p>Any package needed for installation that is fetched from the
410 jfs 2628 network is stored in <file>/var/cache/apt/archives</file>
411 joy 2049 (and the <file>partial/</file> subdirectory, during download), so
412     you must make sure you have enough space before attempting to
413     start the installation. With a reasonably extended Debian
414     installation, you can expect at least 300 MB of downloaded
415 robster 2613 data.</p>
416 joy 2049
417 robster 2613 </sect1>
418 joy 2049
419     <sect1 id="localmirror"><heading>Adding APT Local Mirror Sources</heading>
420    
421     <p>Instead of using HTTP or FTP packages mirrors, you may wish to
422     modify <file>/etc/apt/sources.list</file> to use a mirror on a
423     local disk (possibly NFS-mounted).</p>
424    
425     <p>For example, your packages mirror may be under
426     <file>/var/ftp/debian/</file>, and have main directories like
427     this:
428    
429     <example>
430 jseidel 2829 /var/ftp/debian/dists/stable/main/binary-&architecture;/...
431     /var/ftp/debian/dists/stable/contrib/binary-&architecture;/...
432 joy 2049 </example></p>
433    
434     <p>To use this with <prgn/apt/, add this line to your
435     <file/sources.list/ file:
436    
437     <example>
438 jseidel 2829 deb file:/var/ftp/debian &releasename; main contrib
439 joy 2049 </example></p>
440    
441     <p>Note that the `<tt>dists</tt>' is added implicitly, and the
442     arguments after the release name are used to expand the path into
443     multiple directories.</p>
444    
445     <p>After adding your new sources, disable the previously
446     existing "<tt/deb/" lines in <file/sources.list/, by placing a
447     hash sign (<tt/#/) in front of them.</p></sect1>
448    
449     <sect1 id="cdroms"><heading>Adding APT CD-ROM Sources</heading>
450    
451 jfs 2628 <!-- FJP: Are these instructions also valid for adding DVD's? -->
452    
453 joy 2049 <p>See above if you need to first install the latest version of
454     <package/apt/ and <package/dpkg/ packages, as described above.</p>
455 jfs 2628 <!-- FJP: See above [...], as described above is a bit double.
456     Also, I don't think the need to update the package tools and how
457 jseidel 2822 to do that has been described 'above' yet. -->
458 joy 2049
459     <p>If you want to use CDs <em/only/, comment out the existing
460     "<tt/deb/" lines in <file>/etc/apt/sources.list</file> by placing
461     a hash sign (<tt/#/) in front of them.</p>
462    
463     <p>Make sure there is a line in <file>/etc/fstab</file> that
464     enables mounting your CD-ROM drive at the <file>/cdrom</file>
465     mount point (the exact <file>/cdrom</file> mount point is required
466 jfs 2628 for <prgn/apt-cdrom/). For example, if <file>/dev/hdc</file> is
467 joy 2049 your CD-ROM drive, <file>/etc/fstab</file> should contain a line
468     like:
469    
470     <example>
471 jseidel 2829 /dev/hdc /cdrom auto defaults,noauto,ro 0 0
472 joy 2049 </example></p>
473    
474     <p>Note that there must be <em/no spaces/ between the words
475     <tt>defaults,noauto,ro</tt> in the fourth field.</p>
476    
477     <p>To verify it works, insert a CD and try running
478    
479     <example>
480 jseidel 2829 mount /cdrom # this will mount the CD to the mount point
481     ls -alF /cdrom # this should show the CD's root directory
482     umount /cdrom # this will unmount the CD
483 joy 2049 </example></p>
484    
485     <p>Next, run:
486    
487     <example>
488 jseidel 2829 apt-cdrom add
489     </example>
490 joy 2049
491 jseidel 2829 for each Debian Binary CD-ROM you have, to add the data about
492 robster 2613 each CD to APT's database.</p>
493     </sect1>
494     </sect>
495 joy 2049
496 robster 2613 <sect id="upgradingpackages"><heading>Upgrading packages</heading>
497    
498     <p>The recommended tool for upgrading between &debian; releases is
499     to use the package management tool <prgn>aptitude</prgn>. This tool
500     makes safer decisions about package installations than running
501     <prgn>apt-get</prgn> directly.</p>
502    
503     <p>Don't forget to mount all needed partitions (notably the root
504 joy 2049 and <file>/usr</file> partitions) read-write, with a command
505     like:
506    
507     <example>
508 jseidel 2829 mount -o remount,rw /<var>mountpoint</var>
509 joy 2049 </example></p>
510    
511 robster 2613 <p>Next ensure that the APT source entries (in
512     <file>/etc/apt/sources.list</file>) refer to the <tt>'stable'</tt>
513 jfs 2628 distribution and do not refer to it by its codename (e.g.
514 robster 2613 <tt>&oldreleasename;</tt>).
515    
516     <p>It is strongly recommended that you use the
517     <prgn>/usr/bin/script</prgn> program to record a transcript of the
518     upgrade session. Then if any problems develop, you will have a log of
519     what happened, and if needed, can provide exact information in a bug
520     report. To start the recording, type:
521 joy 2049
522     <example>
523 jseidel 2829 script -a ~/upgrade-to-sarge.typescript
524     </example>
525 joy 2049
526 jseidel 2829 or similar. Do not put the typescript file in a temporary
527 robster 2613 directory such as <file>/tmp</file> or <file>/var/tmp</file> (files
528     in those directories may be deleted during the upgrade or during any
529     restart).</p>
530    
531     <p>Next the <package>aptitude</package> package needs to be installed.
532     This is done with:</p>
533    
534     <p><example>
535 jseidel 2829 apt-get install aptitude
536 robster 2613 </example></p>
537 joy 2049
538 robster 2613 <p>Provided that you have a working APT configuration as described
539 robster 2648 above this will install the &releasename; version of
540 robster 2613 <prgn>aptitude</prgn>.</p>
541 jfs 2628 <!-- FJP: Will it really? Haven't we have just instructed users to point
542     everything to the new release? -->
543 joy 2049
544 robster 2613 <p>First <prgn>aptitude</prgn> needs to fetch a list of new and
545     updated packages for the new release. This is done by executing:</p>
546    
547     <p><example>
548 jseidel 2829 aptitude update
549 robster 2613 </example></p>
550 joy 2049
551 robster 2613 <p>Once <prgn>aptitude</prgn> has information on all the available
552 jfs 2628 packages, the system is almost ready to be fully upgraded.</p>
553     <!-- FJP: Why 'almost'? The next command will perform the upgrade.
554     'Almost' implies the user needs to do something else first... -->
555 joy 2049
556 robster 2613 <p><example>
557 jseidel 2829 aptitude -f --with-suggests --with-recommends dist-upgrade
558 robster 2613 </example></p>
559 joy 2049
560 robster 2613 <p>This will perform a complete upgrade of the system, i.e. install
561     the newest available versions of all packages, and resolve all
562     possible dependency changes between packages in different releases.
563     If necessary, it will install some new packages (usually new library
564     versions, or renamed packages), and remove any conflicting obsoleted
565     packages (such as <package>console-tools-libs</package>).</p>
566 joy 2049
567     <p>When upgrading from a set of CD-ROMs, you will be asked to
568     insert specific CDs at several points during the upgrade. You
569     might have to insert the same CD multiple times; this is due to
570     inter-related packages that have been spread out over the CDs.</p>
571    
572 robster 2613 <p>New versions of currently installed packages that cannot be
573     upgraded without changing the install status of another package will
574     be left at their current version (displayed as "held back"). This can
575     be resolved by either using <prgn>aptitude</prgn> to choose these
576     packages for installation or by trying <tt>aptitude -f install
577     &lt;package&gt;</tt>.</p>
578    
579 joy 2049 <p>The <tt/--fix-broken/ (or just <tt/-f/) option causes
580     <package/apt/ to attempt to correct a system with broken
581     dependencies in place. <package/apt/ does not allow broken package
582     dependencies to exist on a system.</p>
583 robster 2613
584 joy 2049 <sect1 id="trouble"><heading>Possible Issues During or After Upgrade</heading>
585    
586     <p>Sometimes it's necessary to enable APT::Force-LoopBreak option
587     in APT to be able to temporarily remove an essential package due
588 robster 2614 to a Conflicts/Pre-Depends loop. <prgn/aptitude/ will alert you of
589 joy 2049 this and abort the upgrade. You can work around that by specifying
590 robster 2614 <tt>-o APT::Force-LoopBreak=1</tt> option on <prgn/aptitude/
591 joy 2049 command line.</p>
592    
593     <p>It is possible that a system's dependency structure can be so
594     corrupt as to require manual intervention. Usually this means
595 robster 2613 using <prgn/aptitude/ or
596 joy 2049
597     <example>
598 jseidel 2829 dpkg --remove <var>packagename</var>
599     </example>
600 joy 2049
601 jseidel 2829 to eliminate some of the offending packages, or
602 joy 2049
603     <example>
604 jseidel 2829 aptitude --fix-broken install
605     dpkg --configure --pending
606 joy 2049 </example></p>
607    
608     <p>In extreme cases you might have to force re-installation with a
609     command like
610    
611     <example>
612 jseidel 2829 dpkg --install /path/to/packagename.deb
613 joy 2049 </example></p>
614    
615     <p>After fixing things up, you should be able to resume the
616     upgrade by repeating the previously described <tt/dist-upgrade/
617     commands.</p>
618    
619     <p>During the upgrade, you will be asked questions to configure or
620     re-configure several packages. When you are asked if any file in
621     the <file>/etc/init.d</file> or <file>/etc/terminfo</file>
622     directories, or the <file>/etc/manpath.config</file> file should
623     be replaced by the package maintainer's version, it's usually
624     necessary to answer `yes' to ensure system consistency. You can
625     always revert to the old versions, since they will be saved with a
626     <tt/.dpkg-old/ extension.</p>
627    
628     <p>If you're not sure what to do, write down the name of the
629     package or file, and sort things out at a later time. You can
630     search in the typescript file to review the information that
631     was on the screen during the upgrade.</p></sect1>
632    
633     <sect1 id="nownownow"><heading>ToDo Before the Next Reboot</heading>
634    
635 robster 2613 <p>When <tt>aptitude dist-upgrade</tt> has finished, the
636 joy 2049 "formal" upgrade is complete, but there are some other things
637     that should be taken care of <em/before/ the next reboot.</p>
638    
639 robster 2646 <p>Read
640 robster 2613 <file>/usr/share/doc/xfree86-common/README.Debian-upgrade</file> for
641     more info on the upgrade of the X window system packages. This is
642     relevant for users of all previous Debian releases. In short, you
643     need to read it.</p>
644 joy 2049
645 robster 2613 <sect2 id="newkernel"><heading>Upgrading your kernel</heading>
646    
647     <p>Note that the Linux kernel was <em/not/ upgraded by these
648 jseidel 2822 procedures. You may wish to do so yourself, either by installing one
649 robster 2613 of the <package/kernel-image-*/ packages or by compiling a customized
650     kernel from sources.</p>
651    
652     <![ %available-2.6 [
653 joy 2049
654 robster 2613 <p>&debian; comes with a &kernelversion; kernel which is in the 2.4
655     series, the older stable Linux kernel series. You may wish to use a 2.6
656     series kernel for better hardware support or improved performance.</p>
657 joy 2049
658     ]]>
659    
660 robster 2613 <p>To upgrade your kernel you must first choose the kernel most
661 jseidel 2724 appropriate for your subarchitecture. A list of kernels available for
662 robster 2613 you to install can be found with:
663 jfs 2628 <!-- FJP: s/subarchitecture/subarchitecture and processor/ ??? -->
664 joy 2049
665     <example>
666 jseidel 2829 apt-cache search ^kernel-image
667 joy 2049 </example></p>
668    
669 robster 2613 <p>You should then use <tt/aptitude install/ to install it. Once
670     this new kernel is installed you should reboot at the next available
671 jseidel 2724 opportunity to get the benefit.</p>
672 robster 2613
673     <p>For the more adventurous there is an easy way to compile your
674 joy 2049 own custom kernel on &debian;. Install the
675     <package>kernel-package</package> tool and read the documentation
676     in <file>/usr/share/doc/kernel-package</file>.</p>
677    
678 robster 2613 </sect2></sect1></sect>
679 joy 2049
680     </chapt>
681    
682    
683     <chapt id="moreinfo">
684    
685     <heading>More information on &debian;</heading>
686    
687     <sect id="morereading"> <heading>Further Reading</heading>
688     <p>Beyond these release notes and the installation guide further
689     documentation on &debian; is available from the Debian
690     Documentation Project (DDP), whose goal is to create high quality
691     documentation for Debian users and developers. Documentation
692     including the Debian Guide, Debian New Maintainers Guide, and Debian
693     FAQ are available, and many more. For full details of the resources
694     available see the DDP website at <url
695 jfs 2628 id="&url-ddp;">.</p>
696 joy 2049
697     <p>Documentation for individual packages is installed into
698     <file>/usr/share/doc/<var>package</var></file>, this may include
699     copyright information, Debian specific details and any upstream
700     documentation.</p>
701    
702     </sect>
703    
704     <sect id="gethelp">
705     <heading>Getting Help</heading>
706    
707 jseidel 2724 <p>There are many sources of help, advice and support for Debian
708 joy 2049 users, but these should only be considered if research into
709     documentation of the issue has exhausted all sources. This section
710     provides a short introduction into these which may be helpful for
711     new Debian users.</p>
712    
713     <sect1 id="lists">
714     <heading>Mailing lists</heading>
715     <p>The mailing lists of most interest to Debian users are the
716 jfs 2628 debian-user list (English) and other debian-user-<var/language/ lists
717 joy 2049 (for other languages). For information on these lists and details of
718     how to subscribe see <url id="&url-debian-list-archives;">. Please
719     check the archives for answers to your question prior to posting and
720     also adhere to standard list etiquette.</p>
721     </sect1>
722    
723     <sect1 id="irc">
724     <heading>Internet Relay Chat</heading>
725    
726     <p>Debian has an IRC channel dedicated to the support and aid of
727     Debian users located on the Open Projects IRC network which is
728     dedicated to providing collaborative information sharing resources
729     for the Open Source community. To access the channel point your
730     favourite IRC client at &opn-irc-server; and join #debian.</p>
731    
732     <p>Please follow the channel guidelines, respecting other users
733     fully. For more information on Open Projects please visit the <url
734     id="&url-opn;" name="website">.</p>
735    
736     </sect1>
737     </sect>
738    
739     <sect id="bugs">
740     <heading>Reporting Bugs</heading>
741    
742     <p>We strive to make Debian GNU/Linux a high quality operating
743     system, however that does not mean that the packages we provide are
744     totally free of bugs. As our service to our users we provide all the
745     information on reported bugs at our own Bug Tracking System (BTS)
746     browseable at <url id="&url-bts;" name="bugs.debian.org">, this is
747     consistent with Debian's open development.</p>
748 jfs 2628 <!-- FJP: I propose to replace the last sentence by:
749     Consistent with Debian's 'open development' philosophy and as a
750     service to our users, we provide all the information on reported bugs
751     at our own Bug Tracking System (BTS). The BTS is browseable at
752     <url id="&url-bts;" name="bugs.debian.org">.
753     -->
754 joy 2049
755     <p>If you find a bug in the distribution or in packaged software
756     that is part of it, please report it so that it can be properly
757     fixed for next releases. Reporting bugs requires a valid email
758     address, we ask for this so that we can trace bugs and developers
759     can get in contact with submitters should they need more
760     information.</p>
761    
762 jfs 2628 <p>You can submit a bug report using the program
763     <package>reportbug</package> or manually using email.
764 joy 2049 You can read more about the Bug Tracking System and how to use it by
765     reading the reference cards (available at
766     <file>/usr/share/doc/debian</file> in any installed system) or
767     online at the <url id="&url-bts;" name="Bug Tracking
768     System">.</p>
769 jfs 2628 <!-- FJP: The 'bug' program and package are obsolete. -->
770    
771 joy 2049 </sect>
772    
773     <sect id="contributing">
774     <heading>Contributing to Debian</heading>
775    
776     <p>You do not need to be an expert to contribute to Debian. By
777     assisting users with problems on the various user support <url
778     id="&url-debian-list-archives;" name="lists"> you are contributing to
779     the community. Identifying (and importantly solving) problems
780     related to the development of the distribution by participating on
781     the development <url id="&url-debian-list-archives;" name="lists"> is
782     also extremely helpful. To maintain Debian's high quality
783     distribution <url id="&url-bts;" name="submit bugs">
784     and help developers track them down and fix them. If you have a way
785     with words then you may want to contribute more actively by helping
786     to write <url id="&url-ddp;"
787     name="documentation"> or <url
788     id="&url-debian-i18n;" name="translate"> existing
789     documentation into your own language.</p>
790    
791     <p>If you can dedicate more time, you could manage a piece of the
792     Free Software collection within Debian. Especially helpful is if
793     people adopt or maintain items that people have requested for
794     inclusion within Debian, the <url id="&url-wnpp;" name="Work Needing
795     and Prospective Packages database"> details this information. If you
796     have an interest in specific groups then you may find enjoyment in
797     contributing to some of Debian's subprojects which include ports to
798     particular architectures, <url id="&url-debian-jr;" name="Debian
799     Jr."> and <url id="&url-debian-med;" name="Debian Med">.</p>
800    
801     <p>In any case, if you are working in the free software community in
802     any way, as a user, programmer, writer or translator you are already
803     helping the free software effort. Contributing is rewarding and fun,
804     and as well as allowing you to meet new people it gives you that
805     warm fuzzy feeling inside.</p></sect>
806    
807     </chapt>
808     </book>
809     </debiandoc>
810    
811     <!-- Keep this comment at the end of the file
812     Local Variables:
813     mode: sgml
814     sgml-omittag:t
815     sgml-shorttag:t
816     sgml-namecase-general:t
817     sgml-general-insert-case:lower
818     sgml-minimize-attributes:nil
819     sgml-always-quote-attributes:t
820     sgml-indent-step:2
821     sgml-indent-data:nil
822     sgml-declaration:nil
823     sgml-parent-document:nil
824     sgml-exposed-tags:nil
825     sgml-local-catalogs:nil
826     sgml-local-ecat-files:nil
827     fill-column: 75
828     End:
829     -->
830    

  ViewVC Help
Powered by ViewVC 1.1.5