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