| 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.71 2006-09-18 13:21:10 fjp Exp $">
|
| 5 |
]>
|
| 6 |
|
| 7 |
<!-- Be careful with automatic reformatting. Please note that the indentation
|
| 8 |
in examples is used in the output (plus additional space) as well. -->
|
| 9 |
|
| 10 |
<debiandoc>
|
| 11 |
<book>
|
| 12 |
<titlepag>
|
| 13 |
<title>Release Notes for &debian; &release; (`&releasename'), &arch-title;</title>
|
| 14 |
<author>
|
| 15 |
<name>Josip Rodin, Bob Hilliard, Adam Di Carlo, Anne Bezemer, Rob
|
| 16 |
Bradford (current), Frans Pop (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 |
<chapt id="about"><heading>What's new in the Release Notes</heading>
|
| 25 |
|
| 26 |
<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 |
<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 |
|
| 35 |
<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 |
not to continue.</p></item>
|
| 60 |
]]>
|
| 61 |
]]>
|
| 62 |
|
| 63 |
<![ %mipsel [
|
| 64 |
<item><p>Add installation issue with DHCP for Cobalt machines in
|
| 65 |
<ref id="cobalt">.</p></item>
|
| 66 |
]]>
|
| 67 |
|
| 68 |
<![ %not-amd64 [
|
| 69 |
<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 |
<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 |
]]>
|
| 82 |
|
| 83 |
</list></p>
|
| 84 |
|
| 85 |
</sect>
|
| 86 |
|
| 87 |
</chapt>
|
| 88 |
|
| 89 |
<chapt id="whats-new"><heading>What's new in &debian; &release;</heading>
|
| 90 |
|
| 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 |
<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 |
<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 |
</list>
|
| 108 |
</p>
|
| 109 |
|
| 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 |
<![ %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 |
<![ %secondrelease [
|
| 126 |
|
| 127 |
<p>This is only the second official release of &debian; for the
|
| 128 |
&arch-title; architecture. We feel that it has proven itself
|
| 129 |
sufficiently to be released. However, because it has not had the
|
| 130 |
exposure (and hence testing by users) that our releases on
|
| 131 |
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 |
<![ %not-m68k [
|
| 139 |
<![ %not-amd64 [
|
| 140 |
<p>&debian; &release; for the &arch-title; architecture ships with
|
| 141 |
kernel version &kernelversion;.</p>
|
| 142 |
|
| 143 |
<![ %available-2.6 [
|
| 144 |
<p>On the &arch-title; architecture a 2.6 kernel is also available;
|
| 145 |
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 |
]]>
|
| 149 |
]]> <!-- %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 |
<![ %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 |
|
| 165 |
<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 |
the number of packages in &oldreleasename;). Also, a significant number
|
| 172 |
of packages has for various reasons been removed from the distribution.
|
| 173 |
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 |
<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 |
<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 |
<sect1 id="volatile"><heading>New service debian-volatile</heading>
|
| 199 |
|
| 200 |
<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 |
please see the archive's <url id="&url-debian-volatile"
|
| 209 |
name="web page">.</p>
|
| 210 |
|
| 211 |
<p>Note that debian-volatile is <em/not/ an official Debian service.
|
| 212 |
Use it at your own discretion.</p>
|
| 213 |
|
| 214 |
</sect1>
|
| 215 |
|
| 216 |
<sect1 id="non-us"><heading>non-US obsoleted</heading>
|
| 217 |
|
| 218 |
<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 |
|
| 223 |
</sect1>
|
| 224 |
|
| 225 |
</sect>
|
| 226 |
|
| 227 |
<sect id="newinst"><heading>What's new in the installation system?</heading>
|
| 228 |
|
| 229 |
<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 |
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 |
|
| 237 |
<p>Some of the new features in the installation system include
|
| 238 |
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 |
|
| 243 |
<p>For full details on the new Debian installation system, users
|
| 244 |
are advised to read the Debian Installation Guide included on the
|
| 245 |
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 |
|
| 251 |
<![ %i386 [
|
| 252 |
<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 |
documentation. See the <url id="&url-installer;index#speakup"
|
| 257 |
name="debian-installer release page"> for further information
|
| 258 |
on these images.</p>
|
| 259 |
]]>
|
| 260 |
|
| 261 |
<!-- 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 |
</sect>
|
| 266 |
|
| 267 |
</chapt>
|
| 268 |
|
| 269 |
<chapt id="installing"><heading>New installations</heading>
|
| 270 |
|
| 271 |
<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 |
<p>If you are making a new installation of Debian, you should read
|
| 279 |
the Installation Guide, which is available on the Official CD at:
|
| 280 |
|
| 281 |
<example>
|
| 282 |
/doc/install/manual/<var>language</var>/index.html
|
| 283 |
</example>
|
| 284 |
|
| 285 |
or on the Internet from the <url id="&url-install-manual;"
|
| 286 |
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 |
|
| 290 |
<![ %not-m68k [
|
| 291 |
<![ %d-i-avail-2.6 [
|
| 292 |
<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 |
<![ %d-i-default-2.6 [
|
| 298 |
<p>The installation system uses a 2.6 series kernel by default for
|
| 299 |
&arch-title;.</p>
|
| 300 |
]]>
|
| 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 |
<![ %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 |
and can be found at <url id="&url-debian-mirrors;">.</p>
|
| 322 |
]]>
|
| 323 |
|
| 324 |
<![ %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 |
console, you can still install &releasename; using a (minimal) &oldreleasename;
|
| 329 |
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 |
|
| 335 |
<![ %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 |
]]>
|
| 352 |
|
| 353 |
<![ %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 |
booting the installer with parameter
|
| 380 |
<tt>debian-installer/framebuffer=true</tt>.</p>
|
| 381 |
|
| 382 |
</sect>
|
| 383 |
]]>
|
| 384 |
|
| 385 |
<sect id="popcon"><heading>Popularity contest</heading>
|
| 386 |
|
| 387 |
<p>For technical reasons the <package/popularity-contest/ package is no longer installed by
|
| 388 |
default for new &releasename; installations. This will probably be
|
| 389 |
corrected in future releases.</p>
|
| 390 |
|
| 391 |
<p><package/popularity-contest/ provides the Debian project with valuable information
|
| 392 |
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 |
<p>Information from <package/popularity-contest/ is processed anonymously. We would
|
| 399 |
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 |
</chapt>
|
| 404 |
|
| 405 |
|
| 406 |
<![ %not-amd64 [
|
| 407 |
<chapt id="upgrading"><heading>Upgrades from previous releases</heading>
|
| 408 |
|
| 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 |
<sect id="backup"><heading>Preparing for the upgrade</heading>
|
| 421 |
|
| 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 |
<tt>dpkg --get-selections "*"</tt> (the quotes are important).</p>
|
| 432 |
|
| 433 |
<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 |
<p>It's wise to inform all users in advance of any upgrades you're
|
| 443 |
planning, although users accessing your system via SSH (at least)
|
| 444 |
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 |
will not normally be necessary, unless you plan to also upgrade
|
| 448 |
your kernel.</p>
|
| 449 |
|
| 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 |
<p><strong/Important!/ You should <em/not/ upgrade using <prgn/telnet/,
|
| 455 |
<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 |
because each of those services may well be terminated during the
|
| 458 |
upgrade, which can result in an <em/inaccessible/ system that is only
|
| 459 |
half-upgraded.</p>
|
| 460 |
|
| 461 |
<p>Any package installation operation must be run with superuser
|
| 462 |
privileges, so either login as root or use <prgn/su/ or
|
| 463 |
<prgn/sudo/ to gain the necessary access rights.</p>
|
| 464 |
|
| 465 |
</sect>
|
| 466 |
|
| 467 |
<sect id="system-status">
|
| 468 |
<heading>Checking system status</heading>
|
| 469 |
|
| 470 |
<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 |
<ref id="old-upgrade">.</p>
|
| 475 |
|
| 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 |
<![ %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 |
<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 > ~/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 |
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 |
|
| 550 |
<example>
|
| 551 |
# 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 |
# dpkg --get-selections | grep hold
|
| 562 |
</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 |
The "hold" package state for <prgn/aptitude/ can be changed using
|
| 570 |
(replace <tt/hold/ with <tt/unhold/ to unset the "hold" state):
|
| 571 |
|
| 572 |
<example>
|
| 573 |
# aptitude hold <var>package_name</var>
|
| 574 |
</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 > ~/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 < ~/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 |
<![ %glibcneedsnewkernel [
|
| 622 |
<![ %not-mips-mipsel [
|
| 623 |
|
| 624 |
<sect id="new-kernel">
|
| 625 |
<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 |
<p>sun4c CPUs are <em>no longer supported</em> in &releasename;.
|
| 632 |
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 |
version first before upgrading the system. This is necessary because newer
|
| 637 |
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 |
kernel version first before upgrading the system. This is necessary because
|
| 658 |
newer versions of glibc use assembler instructions not available on certain
|
| 659 |
machines, so you need an updated kernel first that emulates the missing
|
| 660 |
instructions.</p>
|
| 661 |
]]>
|
| 662 |
|
| 663 |
<![ %i386 [
|
| 664 |
<p>True "80386" CPUs are <em/no longer supported/ by &releasename;.
|
| 665 |
This does not affect any CPUs that are compatible with "80486"
|
| 666 |
CPUs or above.</p>
|
| 667 |
]]>
|
| 668 |
|
| 669 |
<![ %upgradekernel [
|
| 670 |
<sect1 id="kernel-upgrade"><heading>Upgrading the kernel</heading>
|
| 671 |
|
| 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 |
<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 |
|
| 682 |
</sect1>
|
| 683 |
]]>
|
| 684 |
</sect>
|
| 685 |
]]> <!-- not-mips-mipsel -->
|
| 686 |
]]> <!-- glibcneedsnewkernel -->
|
| 687 |
|
| 688 |
<sect id="upgrade-process"><heading>Preparing sources for APT</heading>
|
| 689 |
|
| 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 |
<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 |
<sect1 id="network"><heading>Adding APT Internet sources</heading>
|
| 712 |
|
| 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 |
<!-- 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 |
<url id="&url-debian-mirrors;"> (look at the "Full list of
|
| 726 |
mirrors" section). HTTP mirrors are generally speedier than FTP
|
| 727 |
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 |
&url-debian-mirror-eg;/dists/&releasename;/main/binary-&architecture;/...
|
| 736 |
&url-debian-mirror-eg;/dists/&releasename;/contrib/binary-&architecture;/...
|
| 737 |
</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 |
deb &url-debian-mirror-eg; &releasename; main contrib
|
| 744 |
</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 |
network is stored in <file>/var/cache/apt/archives</file>
|
| 756 |
(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 |
data.</p>
|
| 761 |
|
| 762 |
</sect1>
|
| 763 |
|
| 764 |
<sect1 id="localmirror"><heading>Adding APT sources for a local mirror</heading>
|
| 765 |
|
| 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 |
local disk (possibly mounted over NFS).</p>
|
| 769 |
|
| 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 |
/var/ftp/debian/dists/&releasename;/main/binary-&architecture;/...
|
| 776 |
/var/ftp/debian/dists/&releasename;/contrib/binary-&architecture;/...
|
| 777 |
</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 |
deb file:/var/ftp/debian &releasename; main contrib
|
| 784 |
</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 |
<sect1 id="cdroms"><heading>Adding APT source from CD-ROM or DVD</heading>
|
| 795 |
|
| 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 |
<!-- 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 |
<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 |
for <prgn/apt-cdrom/). For example, if <file>/dev/hdc</file> is
|
| 806 |
your CD-ROM drive, <file>/etc/fstab</file> should contain a line
|
| 807 |
like:
|
| 808 |
|
| 809 |
<example>
|
| 810 |
/dev/hdc /cdrom auto defaults,noauto,ro 0 0
|
| 811 |
</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 |
# 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 |
</example></p>
|
| 823 |
|
| 824 |
<p>Next, run:
|
| 825 |
|
| 826 |
<example>
|
| 827 |
# apt-cdrom add
|
| 828 |
</example>
|
| 829 |
|
| 830 |
for each Debian Binary CD-ROM you have, to add the data about
|
| 831 |
each CD to APT's database.</p>
|
| 832 |
</sect1>
|
| 833 |
</sect>
|
| 834 |
|
| 835 |
<sect id="upgradingpackages"><heading>Upgrading packages</heading>
|
| 836 |
|
| 837 |
<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 |
|
| 842 |
<p>Don't forget to mount all needed partitions (notably the root
|
| 843 |
and <file>/usr</file> partitions) read-write, with a command
|
| 844 |
like:
|
| 845 |
|
| 846 |
<example>
|
| 847 |
# mount -o remount,rw /<var>mountpoint</var>
|
| 848 |
</example></p>
|
| 849 |
|
| 850 |
<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 |
<p>It is strongly recommended that you use the
|
| 857 |
<prgn>/usr/bin/script</prgn> program to record a transcript of the
|
| 858 |
upgrade session. Then if a problem occurs, you will have a log of
|
| 859 |
what happened, and if needed, can provide exact information in a bug
|
| 860 |
report. To start the recording, type:
|
| 861 |
|
| 862 |
<example>
|
| 863 |
# script -a ~/upgrade-to-&releasename;.typescript
|
| 864 |
</example>
|
| 865 |
|
| 866 |
or similar. Do not put the typescript file in a temporary
|
| 867 |
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 |
|
| 871 |
<p>The typescript will also allow you to review information that has
|
| 872 |
scrolled off-screen. Just switch to VT2 (using <tt/Alt-F2/) and, after
|
| 873 |
logging in, use <tt>less ~root/upgrade-to-&releasename;.typescript</tt>
|
| 874 |
to view the file.</p>
|
| 875 |
|
| 876 |
<p>After you have completed the upgrade, you can stop <prgn/script/
|
| 877 |
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 |
<p><example>
|
| 887 |
# apt-get update
|
| 888 |
</example></p>
|
| 889 |
|
| 890 |
</sect1>
|
| 891 |
|
| 892 |
|
| 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 |
|
| 905 |
</sect1>
|
| 906 |
]]>
|
| 907 |
|
| 908 |
|
| 909 |
<!-- FJP: This next section can probably be dropped for etch -->
|
| 910 |
<![ %has-woody-aptitude [
|
| 911 |
<sect1 id="upgrading_aptitude"><heading>Upgrading aptitude</heading>
|
| 912 |
]]>
|
| 913 |
<![ %no-woody-aptitude [
|
| 914 |
<sect1 id="upgrading_aptitude"><heading>Installing aptitude</heading>
|
| 915 |
]]>
|
| 916 |
|
| 917 |
<p>Upgrade tests have shown that &releasename;'s version of
|
| 918 |
<prgn/aptitude/ is better at solving the complex dependencies during
|
| 919 |
an upgrade than either <prgn/apt-get/ or &oldreleasename;'s
|
| 920 |
<prgn/aptitude/.
|
| 921 |
|
| 922 |
<![ %has-woody-aptitude [
|
| 923 |
It should therefore be upgraded first using:
|
| 924 |
<example>
|
| 925 |
# aptitude install aptitude
|
| 926 |
</example></p>
|
| 927 |
]]>
|
| 928 |
<![ %no-woody-aptitude [
|
| 929 |
It should therefore be installed first using:
|
| 930 |
<example>
|
| 931 |
# apt-get install aptitude
|
| 932 |
</example></p>
|
| 933 |
]]>
|
| 934 |
|
| 935 |
<p>You will be shown a list of the changes that will be
|
| 936 |
made and asked you to confirm them. You should take a careful look at
|
| 937 |
the proposed changes, especially packages that will be removed by the
|
| 938 |
upgrade, before you confirm.</p>
|
| 939 |
|
| 940 |
<p>In some cases if a large number of packages is listed for removal,
|
| 941 |
you may be able to reduce this list by "pre-upgrading" selected other
|
| 942 |
packages alongside <package/aptitude/. An example may clarify this.
|
| 943 |
During upgrade tests for systems having KDE installed, we have seen
|
| 944 |
that this step would cause removal of a large number of KDE packages
|
| 945 |
and/or perl. The solution proved to be to <tt>install aptitude perl</tt>
|
| 946 |
instead of <tt>install aptitude</tt>.</p>
|
| 947 |
|
| 948 |
<![ %no-woody-aptitude [
|
| 949 |
<p><prgn/aptitude/ uses a different method for registering packages
|
| 950 |
that are on hold than <prgn/apt-get/ and <prgn/dselect/. This means
|
| 951 |
that if you have any packages on hold, you will need to also set
|
| 952 |
them on hold for <prgn/aptitude/ before proceeding.</p>
|
| 953 |
|
| 954 |
<p>First list packages on hold for <prgn/apt-get/ using:
|
| 955 |
<example>
|
| 956 |
# dpkg --get-selections | grep hold
|
| 957 |
</example></p>
|
| 958 |
|
| 959 |
<p>Next set these same packages on hold for <prgn/aptitude/ with:
|
| 960 |
<example>
|
| 961 |
# aptitude hold <var>package_name</var>
|
| 962 |
</example></p>
|
| 963 |
|
| 964 |
<p>You can check which packages are on hold for <prgn/aptitude/ using:
|
| 965 |
<example>
|
| 966 |
# aptitude search "~ahold" | grep "^.h"
|
| 967 |
</example></p>
|
| 968 |
]]>
|
| 969 |
|
| 970 |
</sect1>
|
| 971 |
|
| 972 |
<sect1 id="upgrading_doc-base"><heading>Upgrading doc-base</heading>
|
| 973 |
|
| 974 |
<p><em>If you have <package/doc-base/ installed</em>, it must be
|
| 975 |
upgraded before the rest of the system too. Reason is that it may fail
|
| 976 |
if <package/perl/ is upgraded at the same time. You can find out if it
|
| 977 |
is installed using:</p>
|
| 978 |
|
| 979 |
<p><example>
|
| 980 |
# dpkg -l doc-base
|
| 981 |
</example></p>
|
| 982 |
|
| 983 |
<p>If the line of output begins with "i" then it is installed and
|
| 984 |
must be upgraded before continuing.</p>
|
| 985 |
|
| 986 |
<p><example>
|
| 987 |
# aptitude install doc-base
|
| 988 |
</example></p>
|
| 989 |
|
| 990 |
</sect1>
|
| 991 |
|
| 992 |
<sect1 id="upgrading_other"><heading>Upgrading the rest of the system</heading>
|
| 993 |
|
| 994 |
<p>You are now ready to continue with the main part of the
|
| 995 |
upgrade. Execute:</p>
|
| 996 |
<p><example>
|
| 997 |
# aptitude -f --with-recommends dist-upgrade
|
| 998 |
</example></p>
|
| 999 |
|
| 1000 |
<p>This will perform a complete upgrade of the system, i.e. install
|
| 1001 |
the newest available versions of all packages, and resolve all
|
| 1002 |
possible dependency changes between packages in different releases.
|
| 1003 |
If necessary, it will install some new packages (usually new library
|
| 1004 |
versions, or renamed packages), and remove any conflicting obsoleted
|
| 1005 |
packages (such as <package>console-tools-libs</package>).</p>
|
| 1006 |
|
| 1007 |
<p>When upgrading from a set of CD-ROMs, you will be asked to
|
| 1008 |
insert specific CDs at several points during the upgrade. You
|
| 1009 |
might have to insert the same CD multiple times; this is due to
|
| 1010 |
inter-related packages that have been spread out over the CDs.</p>
|
| 1011 |
|
| 1012 |
<p>New versions of currently installed packages that cannot be
|
| 1013 |
upgraded without changing the install status of another package will
|
| 1014 |
be left at their current version (displayed as "held back"). This can
|
| 1015 |
be resolved by either using <prgn>aptitude</prgn> to choose these
|
| 1016 |
packages for installation or by trying <tt>aptitude -f install
|
| 1017 |
<var>package</var></tt>.</p>
|
| 1018 |
|
| 1019 |
<p>The <tt/--fix-broken/ (or just <tt/-f/) option causes
|
| 1020 |
<package/apt/ to attempt to correct a system with broken
|
| 1021 |
dependencies in place. <package/apt/ does not allow broken package
|
| 1022 |
dependencies to exist on a system.</p>
|
| 1023 |
|
| 1024 |
</sect1>
|
| 1025 |
|
| 1026 |
<sect1 id="trouble"><heading>Possible issues during upgrade</heading>
|
| 1027 |
|
| 1028 |
<p>If an operation using <prgn/aptitude/, <prgn/apt-get/ or
|
| 1029 |
<prgn/dpkg/ fails with the error
|
| 1030 |
<example>
|
| 1031 |
E: Dynamic MMap ran out of room
|
| 1032 |
</example>
|
| 1033 |
the default cache space is insufficient. You can solve this by either
|
| 1034 |
removing or commenting lines you don't need in
|
| 1035 |
<file>/etc/apt/sources.list</file> or by increasing the cache size.
|
| 1036 |
The cache size can be increased by setting <tt/APT::Cache-Limit/ in
|
| 1037 |
<file>/etc/apt/apt.conf</file>. The following command will set it
|
| 1038 |
to a value that should be sufficient for the upgrade:
|
| 1039 |
<example>
|
| 1040 |
# echo 'APT::Cache-Limit "12500000";' >> /etc/apt/apt.conf
|
| 1041 |
</example>
|
| 1042 |
This assumes that you do not yet have this variable set in that file.</p>
|
| 1043 |
|
| 1044 |
<p>Sometimes it's necessary to enable APT::Force-LoopBreak option
|
| 1045 |
in APT to be able to temporarily remove an essential package due
|
| 1046 |
to a Conflicts/Pre-Depends loop. <prgn/aptitude/ will alert you of
|
| 1047 |
this and abort the upgrade. You can work around that by specifying
|
| 1048 |
<tt>-o APT::Force-LoopBreak=1</tt> option on <prgn/aptitude/
|
| 1049 |
command line.</p>
|
| 1050 |
<!-- JFS: Shouldn't this mention also Apt's configuration file? -->
|
| 1051 |
|
| 1052 |
<p>It is possible that a system's dependency structure can be so
|
| 1053 |
corrupt as to require manual intervention. Usually this means
|
| 1054 |
using <prgn/aptitude/ or
|
| 1055 |
|
| 1056 |
<example>
|
| 1057 |
# dpkg --remove <var>package_name</var>
|
| 1058 |
</example>
|
| 1059 |
|
| 1060 |
to eliminate some of the offending packages, or
|
| 1061 |
|
| 1062 |
<example>
|
| 1063 |
# aptitude --fix-broken install
|
| 1064 |
# dpkg --configure --pending
|
| 1065 |
</example></p>
|
| 1066 |
|
| 1067 |
<p>In extreme cases you might have to force re-installation with a
|
| 1068 |
command like
|
| 1069 |
|
| 1070 |
<example>
|
| 1071 |
# dpkg --install <var>/path/to/package_name.deb</var>
|
| 1072 |
</example></p>
|
| 1073 |
|
| 1074 |
<p>File conflicts should not occur if you upgrade from a "pure"
|
| 1075 |
&oldreleasename; system, but can occur if you have unofficial
|
| 1076 |
backports installed. A file conflict will result in an error like:
|
| 1077 |
|
| 1078 |
<example>
|
| 1079 |
Unpacking replacement <var><package-foo></var> ...
|
| 1080 |
dpkg: error processing <var><package-name-for-foo></var> (--unpack):
|
| 1081 |
trying to overwrite `<var><some-file-name></var>',
|
| 1082 |
which is also in package <var><package-bar></var>
|
| 1083 |
</example></p>
|
| 1084 |
|
| 1085 |
<p>You can try to solve a file conflict by forcibly removing the
|
| 1086 |
package mentioned on the <em/last/ line of the error message:
|
| 1087 |
|
| 1088 |
<example>
|
| 1089 |
# dpkg -r --force-depends <var>package_name</var>
|
| 1090 |
</example></p>
|
| 1091 |
|
| 1092 |
<p>After fixing things up, you should be able to resume the
|
| 1093 |
upgrade by repeating the previously described <tt/aptitude/
|
| 1094 |
commands.</p>
|
| 1095 |
|
| 1096 |
<p>During the upgrade, you will be asked questions regarding the
|
| 1097 |
configuration or re-configuration of several packages. When you are
|
| 1098 |
asked if any file in the <file>/etc/init.d</file> or
|
| 1099 |
<file>/etc/terminfo</file> directories, or the
|
| 1100 |
<file>/etc/manpath.config</file> file should be replaced by the
|
| 1101 |
package maintainer's version, it's usually necessary to answer `yes'
|
| 1102 |
to ensure system consistency. You can always revert to the old
|
| 1103 |
versions, since they will be saved with a <tt/.dpkg-old/
|
| 1104 |
extension.</p>
|
| 1105 |
|
| 1106 |
<p>If you're not sure what to do, write down the name of the
|
| 1107 |
package or file, and sort things out at a later time. You can
|
| 1108 |
search in the typescript file to review the information that
|
| 1109 |
was on the screen during the upgrade.</p>
|
| 1110 |
|
| 1111 |
</sect1>
|
| 1112 |
</sect>
|
| 1113 |
|
| 1114 |
<sect id="nownownow"><heading>Things to do before rebooting</heading>
|
| 1115 |
|
| 1116 |
<p>When <tt>aptitude dist-upgrade</tt> has finished, the
|
| 1117 |
"formal" upgrade is complete, but there are some other things
|
| 1118 |
that should be taken care of <em/before/ the next reboot.</p>
|
| 1119 |
|
| 1120 |
<p>Read
|
| 1121 |
<file>/usr/share/doc/xfree86-common/README.Debian-upgrade.gz</file> for
|
| 1122 |
more info on the upgrade of the X window system packages. This is
|
| 1123 |
relevant for users of all previous Debian releases. In short, you
|
| 1124 |
need to read it.</p>
|
| 1125 |
|
| 1126 |
<sect1 id="newkernel"><heading>Upgrading your kernel</heading>
|
| 1127 |
|
| 1128 |
<p>Note that the Linux kernel was <em/not/ upgraded by these
|
| 1129 |
procedures. You may wish to do so yourself, either by installing one
|
| 1130 |
of the <package/kernel-image-*/ packages or by compiling a customized
|
| 1131 |
kernel from sources.</p>
|
| 1132 |
<!-- JFS: This is not strictly true, if the user was using a non-versioned
|
| 1133 |
kernel (kernel-image-2.4-686) he _will_ upgrade the kernel if using
|
| 1134 |
aptitude (post-sarge) -->
|
| 1135 |
|
| 1136 |
<![ %available-2.6 [
|
| 1137 |
|
| 1138 |
<p>If you are currently using a kernel from the 2.4 series,
|
| 1139 |
the older stable Linux kernel series, you may wish to upgrade to a 2.6
|
| 1140 |
series kernel for better hardware support or improved performance.</p>
|
| 1141 |
|
| 1142 |
<p>However, you are strongly advised <strong/not/ to upgrade to a 2.6
|
| 1143 |
kernel as part of the upgrade from &oldreleasename; to &releasename;.
|
| 1144 |
Some issues associated with an upgrade to 2.6 are documented in
|
| 1145 |
<ref id="upgrade-to-2.6">.</p>
|
| 1146 |
]]>
|
| 1147 |
|
| 1148 |
<p>To upgrade your kernel you must first choose the kernel most
|
| 1149 |
appropriate for your subarchitecture. A list of kernels available for
|
| 1150 |
you to install can be found with:
|
| 1151 |
|
| 1152 |
<example>
|
| 1153 |
# apt-cache search ^kernel-image
|
| 1154 |
</example></p>
|
| 1155 |
|
| 1156 |
<p>You should then use <tt/aptitude install/ to install it. Once
|
| 1157 |
this new kernel is installed you should reboot at the next available
|
| 1158 |
opportunity to get the benefit.</p>
|
| 1159 |
|
| 1160 |
<p>Please note that the installation system of &oldreleasename;
|
| 1161 |
(and previous releases) did <em/not/ install the kernel as a package
|
| 1162 |
in your system. This has changed in &releasename; and you can
|
| 1163 |
install virtual packages to keep track of kernel changes.
|
| 1164 |
These packages are named kernel-image-<tt/VERSION/-<tt/ARCH/, with
|
| 1165 |
<tt/VERSION/ corresponding to the kernel version number (2.4 or 2.6)
|
| 1166 |
and <tt/ARCH/ corresponding to any of the supported architectures.
|
| 1167 |
If you want to have security support for the kernel integrated in
|
| 1168 |
package management please install the kernel package most suitable
|
| 1169 |
for your hardware after the upgrade.</p>
|
| 1170 |
|
| 1171 |
<p>For the more adventurous there is an easy way to compile your
|
| 1172 |
own custom kernel on &debian;. Install the
|
| 1173 |
<package>kernel-package</package> tool and read the documentation
|
| 1174 |
in <file>/usr/share/doc/kernel-package</file>.</p>
|
| 1175 |
|
| 1176 |
</sect1>
|
| 1177 |
|
| 1178 |
<sect1 id="mdadm"><heading>Upgrading from raidtools2 to mdadm</heading>
|
| 1179 |
|
| 1180 |
<p><package/raidtools2/ is no longer maintained by its upstream
|
| 1181 |
developers and has been replaced by the <package/mdadm/ package.
|
| 1182 |
<prgn/mdadm/ is a single program that can perform almost any RAID
|
| 1183 |
management task without a configuration file; by default it does
|
| 1184 |
not use one.</p>
|
| 1185 |
|
| 1186 |
<p>The remainder of this section gives some upgrade hints for users of
|
| 1187 |
<package/raidtools2/.</p>
|
| 1188 |
|
| 1189 |
<![ %sparc [
|
| 1190 |
<p>If your RAID array was created on a 2.2 Linux kernel patched with
|
| 1191 |
RAID support, the superblock was created incorrectly, or at least in
|
| 1192 |
a way that is incompatible with 2.4 and later kernels. In order to fix
|
| 1193 |
this problem, you have to execute the following two commands:
|
| 1194 |
|
| 1195 |
<example>
|
| 1196 |
# mdadm --examine --sparc2.2
|
| 1197 |
# mdadm --assemble --update=sparc2.2
|
| 1198 |
</example></p>
|
| 1199 |
]]>
|
| 1200 |
|
| 1201 |
<p>As mentioned above, in many cases <prgn/mdadm/ can work without
|
| 1202 |
configuration file. If you use a kernel that automatically configures
|
| 1203 |
the RAID array for you, can skip this paragraph — you merely have to
|
| 1204 |
install the package <package/mdadm/ and the RAID will be detected during
|
| 1205 |
the boot process. The standard kernels in Debian have support for the
|
| 1206 |
configuration of RAID arrays on boot. You also need to make sure that
|
| 1207 |
the partitions are set to type "Linux raid autodetect" (id <tt/fd/). The
|
| 1208 |
following command will list the current type of partitions:
|
| 1209 |
|
| 1210 |
<example>
|
| 1211 |
# fdisk -l <var>disk_device</var>
|
| 1212 |
</example></p>
|
| 1213 |
|
| 1214 |
<p>If you have a mixed setup with some RAID arrays that are auto-configured
|
| 1215 |
and some that are not, you have to create a configuration file.</p>
|
| 1216 |
|
| 1217 |
<p>To migrate from the configuration file <file>/etc/raidtab</file>
|
| 1218 |
(<package/raidtools2/) to <file>/etc/mdadm/mdadm.conf</file>
|
| 1219 |
(<package/mdadm/), please execute:
|
| 1220 |
|
| 1221 |
<example>
|
| 1222 |
# echo 'DEVICE /dev/hd*[0-9] /dev/sd*[0-9]' > /etc/mdadm/mdadm.conf
|
| 1223 |
# mdadm --examine --scan >> /etc/mdadm/mdadm.conf
|
| 1224 |
</example></p>
|
| 1225 |
|
| 1226 |
<p>These commands will generate a configuration file with the existing
|
| 1227 |
arrays on the system.</p>
|
| 1228 |
|
| 1229 |
<p>You should also make sure that the RAID arrays are started automatically
|
| 1230 |
on boot. Check the file <file>/etc/default/mdadm</file> to see if the variable
|
| 1231 |
AUTOSTART is set to <tt/true/.</p>
|
| 1232 |
|
| 1233 |
</sect1>
|
| 1234 |
</sect>
|
| 1235 |
|
| 1236 |
<sect id="obsolete"><heading>Obsolete packages</heading>
|
| 1237 |
|
| 1238 |
<!-- JFS: Providing a full listing might be useful, especially if we can
|
| 1239 |
point to the Bug that was opened when the bug was removed. This list should
|
| 1240 |
be moved to an appendix, instead of adding it inline as we did in the
|
| 1241 |
potato to woody RN -->
|
| 1242 |
|
| 1243 |
<p>Introducing several thousand new packages, &releasename; also
|
| 1244 |
retires and omits more than two thousand old packages that were in
|
| 1245 |
&oldreleasename;. It provides no upgrade path for these obsolete
|
| 1246 |
packages. While nothing prevents you from continuing to use an
|
| 1247 |
obsolete package where desired, the Debian project will usually
|
| 1248 |
discontinue security support for it a year after &releasename;'s
|
| 1249 |
release<footnote>Or for as long as there is not another release in
|
| 1250 |
that time frame. Typically only two stable releases are supported
|
| 1251 |
at any given time.</footnote>, and will not normally provide other
|
| 1252 |
support in the meantime. Replacing them with available
|
| 1253 |
alternatives, if any, is recommended.</p>
|
| 1254 |
|
| 1255 |
<p>There are many reasons why packages might have been removed from
|
| 1256 |
the distribution: they are no longer maintained upstream; there is
|
| 1257 |
no longer a Debian Developer interested in maintaining the packages;
|
| 1258 |
the functionality they provide has been superseded by different
|
| 1259 |
software (or a new version); or they are no longer considered
|
| 1260 |
suitable for &releasename; due to bugs in them. In the later case,
|
| 1261 |
packages might still be present in the "unstable" distribution.</p>
|
| 1262 |
|
| 1263 |
<p>Detecting which packages in an updated system are "obsolete" is
|
| 1264 |
easy since the package management front-ends will mark them as
|
| 1265 |
such. If you are using <prgn>aptitude</prgn>, you will see a
|
| 1266 |
listing of these packages in the "Obsolete and Locally Created
|
| 1267 |
Packages" entry. <prgn>dselect</prgn> provides a similar section
|
| 1268 |
but the listing it presents might differ. Also, if you have used
|
| 1269 |
<prgn>aptitude</prgn> to manually install packages in
|
| 1270 |
&oldreleasename; it will have kept track of those packages you
|
| 1271 |
manually installed and will be able to mark as obsolete those
|
| 1272 |
packages pulled in by dependencies alone which are no longer
|
| 1273 |
needed if a package has been removed. Also, <prgn>aptitude</prgn>,
|
| 1274 |
unlike <prgn>deborphan</prgn> will not mark as obsolete packages
|
| 1275 |
that you manually installed, as opposed to those that were
|
| 1276 |
automatically installed through dependencies.</p>
|
| 1277 |
|
| 1278 |
<p>There are additional tools you can use to find obsolete packages
|
| 1279 |
such as <prgn>deborphan</prgn>, <prgn>debfoster</prgn> or
|
| 1280 |
<prgn>cruft</prgn>. <prgn>deborphan</prgn> is highly recommended,
|
| 1281 |
although it will (in default mode) only report obsolete libraries:
|
| 1282 |
packages in the "libs" or "oldlibs" sections that are not used by
|
| 1283 |
any other packages. Do not blindly remove the packages these tools
|
| 1284 |
present, especially if you are using aggressive non-default
|
| 1285 |
options that are prone to produce false positives. It is highly
|
| 1286 |
recommended that you manually review the packages suggested for
|
| 1287 |
removal (i.e. their contents, size and description) before you
|
| 1288 |
remove them.</p>
|
| 1289 |
|
| 1290 |
<!-- JFS: Should we recommend purging old packages? This might be
|
| 1291 |
dangerous since the maintainer scripts might try to remove stuff that
|
| 1292 |
didn't belong to them... -->
|
| 1293 |
|
| 1294 |
<p>The <url id="&url-bts;" name="Debian Bug Tracking System">
|
| 1295 |
often provides additional information on why the package was
|
| 1296 |
removed. You should review both the archived bug reports for the
|
| 1297 |
package itself and the archived bug reports for the <url
|
| 1298 |
id="&url-bts;cgi-bin/pkgreport.cgi?pkg=ftp.debian.org&archive=yes"
|
| 1299 |
name="ftp.debian.org pseudo-package">.</p>
|
| 1300 |
|
| 1301 |
<sect1 id="dummy"><heading>Dummy packages</heading>
|
| 1302 |
|
| 1303 |
<!-- JFS: If the appendix is kept this section should point there and the packages described here should be moved to that section -->
|
| 1304 |
|
| 1305 |
<p>Some packages from &oldreleasename; have been split into several
|
| 1306 |
packages in &releasename;, often to improve system maintainability. To
|
| 1307 |
ease the upgrade path in such cases, &releasename; often provides
|
| 1308 |
"dummy" packages: empty packages that have the same name as the old
|
| 1309 |
package in &oldreleasename; with dependencies that cause the new
|
| 1310 |
packages to be installed. These "dummy" packages are considered
|
| 1311 |
obsolete packages after the upgrade and can be safely removed.
|
| 1312 |
|
| 1313 |
<p>Most (but not all) dummy packages' descriptions indicate their
|
| 1314 |
purpose. Package descriptions for dummy packages are not uniform,
|
| 1315 |
however, so you might also find <prgn>deborphan</prgn> with the
|
| 1316 |
<tt>--guess</tt> options useful to detect them in your system.
|
| 1317 |
Note that some dummy packages are not intended to be removed after
|
| 1318 |
an upgrade but are, instead, used to keep track of the current
|
| 1319 |
available version of a program over time.</p>
|
| 1320 |
|
| 1321 |
</sect1>
|
| 1322 |
</sect>
|
| 1323 |
</chapt>
|
| 1324 |
]]> <!-- %not-amd64 -->
|
| 1325 |
|
| 1326 |
<!-- FJP: Add more info here on dealing with obsolete packages?
|
| 1327 |
Also how to purge packages that were deleted but still have conffiles
|
| 1328 |
(use "limit" command in aptitude and search for ~c) -->
|
| 1329 |
|
| 1330 |
<chapt id="information">
|
| 1331 |
<heading>Issues to be aware of for &releasename;</heading>
|
| 1332 |
|
| 1333 |
<![ %amd64 [
|
| 1334 |
<p>Since there is no &oldreleasename; release of &debian; for the
|
| 1335 |
AMD64 architecture, the following sections are intended for users
|
| 1336 |
currently running a 2.4 based i386 installation and planning to
|
| 1337 |
reinstall their systems to fully exploit the capabilities of the
|
| 1338 |
AMD64 architecture.</p>
|
| 1339 |
]]>
|
| 1340 |
|
| 1341 |
<!-- Controversial, disabled for now, please translate though
|
| 1342 |
<sect id="german-quotes"><heading>Problems with German Quotes</heading>
|
| 1343 |
|
| 1344 |
<p>The locales for German style languages (e.g. de_DE@euro)
|
| 1345 |
unfortunately use an aesthetically unpleasing way of representing
|
| 1346 |
open quotation marks. We have retained it this way in order to
|
| 1347 |
preserve compatibility with other Linux distributions, and we hope
|
| 1348 |
that in the future it will be fixed. We suggest that you switch to a
|
| 1349 |
UTF-8 locale (e.g. de_DE@euro.UTF-8), which fully supports German with
|
| 1350 |
the correct quotation marks, and, using Unicode encoding, has better
|
| 1351 |
support for other languages as well.</p>
|
| 1352 |
|
| 1353 |
<p>To change the system wide locale choice, use:
|
| 1354 |
<example>dpkg-reconfigure locales</example></p>
|
| 1355 |
</sect>
|
| 1356 |
-->
|
| 1357 |
<!-- Will be added if relevant information is written here
|
| 1358 |
<sect id="syntax"><heading>Important program syntax changes</heading>
|
| 1359 |
|
| 1360 |
<p>Debian attempts to avoid changing upstream packages, therefore
|
| 1361 |
any changes in the upstream package will be present in the version in
|
| 1362 |
&debian;. This can mean that program behaviour may change between
|
| 1363 |
releases of &debian;. </p>
|
| 1364 |
|
| 1365 |
<p><em>No changes yet reported.</em></p>
|
| 1366 |
|
| 1367 |
</sect>
|
| 1368 |
-->
|
| 1369 |
|
| 1370 |
<sect id="pythonchanges"><heading>Changes to Python packages</heading>
|
| 1371 |
|
| 1372 |
<p>None of the python2.X packages that are included with &releasename; include
|
| 1373 |
the standard modules 'profile' and 'pstats', because they are licensed under a
|
| 1374 |
license that does not conform to the DFSG (see bug #293932 for details). These
|
| 1375 |
two modules can be found in the python-profiler and python2.X-profiler packages
|
| 1376 |
that are included in the non-free section of the Debian archive.</p>
|
| 1377 |
</sect>
|
| 1378 |
|
| 1379 |
<![ %available-2.6 [
|
| 1380 |
<sect id="upgrade-to-2.6">
|
| 1381 |
<heading>Upgrading to a 2.6 kernel</heading>
|
| 1382 |
|
| 1383 |
<p>The 2.6 kernel series contains major changes from the 2.4 series.
|
| 1384 |
Modules have been renamed and a lot of drivers have been partially
|
| 1385 |
or sometimes almost completely rewritten. Upgrading to a 2.6 kernel
|
| 1386 |
from an earlier version is therefore not a process to be undertaken
|
| 1387 |
lightly. This section aims to make you aware of some of the issues
|
| 1388 |
you may face.</p>
|
| 1389 |
|
| 1390 |
<p>You are therefore strongly advised not to upgrade to a 2.6 kernel
|
| 1391 |
as part of the upgrade from &oldreleasename; to &releasename;.
|
| 1392 |
Instead, you should first make sure your system works correctly
|
| 1393 |
with either the old kernel or with a 2.4 kernel from &releasename;
|
| 1394 |
and do the upgrade to a 2.6 kernel later as a separate project.</p>
|
| 1395 |
|
| 1396 |
<p>If you compile your own kernel from source, make sure you install
|
| 1397 |
<package/module-init-tools/ before you reboot with the 2.6 kernel.
|
| 1398 |
This package replaces <package/modutils/ for 2.6 kernels. If you
|
| 1399 |
install one of the Debian <package/kernel-image/ packages, this
|
| 1400 |
package will be installed automatically because of dependencies.</p>
|
| 1401 |
|
| 1402 |
<p>If you use <em/LVM/, you should also install <package/lvm2/
|
| 1403 |
before you reboot as the 2.6 kernel does not directly support LVM1.
|
| 1404 |
To access LVM1 volumes, the compatibility layer of <package/lvm2/
|
| 1405 |
(the dm-mod module) is used. You can leave <package/lvm10/ installed;
|
| 1406 |
the init scripts will detect which kernel is used and execute the
|
| 1407 |
appropriate version.</p>
|
| 1408 |
|
| 1409 |
<p>If you have entries in the <file>/etc/modules</file> file (the
|
| 1410 |
list of modules to be loaded during system boot), be aware that some
|
| 1411 |
module names may have changed. If this happens you will have to update
|
| 1412 |
this file with the new module names.</p>
|
| 1413 |
|
| 1414 |
<![ %i386-amd64 [
|
| 1415 |
<p>For some SATA disk controllers, the device assigned to a drive and
|
| 1416 |
its partitions may change from <file>/dev/hdX</file> to
|
| 1417 |
<file>/dev/sdX</file>. If this happens, you will have to modify your
|
| 1418 |
<file>/etc/fstab</file> and bootloader configuration accordingly.
|
| 1419 |
Unless these changes are made correctly, your system may not boot
|
| 1420 |
correctly.</p>
|
| 1421 |
]]>
|
| 1422 |
|
| 1423 |
<p>Once you have installed your 2.6 kernel, but before you reboot,
|
| 1424 |
make sure you have a recovery method. First, make sure that the
|
| 1425 |
bootloader configuration has entries for both the new kernel and
|
| 1426 |
the old, working 2.4 kernel. You should also ensure you have a "rescue"
|
| 1427 |
floppy or cdrom to hand, in case misconfiguration of the bootloader
|
| 1428 |
prevents you booting the old kernel.</p>
|
| 1429 |
|
| 1430 |
<![ %not-s390 [
|
| 1431 |
<![ %not-amd64 [
|
| 1432 |
<sect1 id="2.6-keyboard">
|
| 1433 |
<heading>Keyboard configuration</heading>
|
| 1434 |
|
| 1435 |
<p>The most invasive change in the 2.6 kernels is a fundamental
|
| 1436 |
change of the input layer. This change makes all keyboards look
|
| 1437 |
like "normal" PC keyboards. This means that if you currently have
|
| 1438 |
a different type of keyboard selected (e.g. a USB-MAC or Sun
|
| 1439 |
keyboard), you will very likely end up with a non-working keyboard
|
| 1440 |
after rebooting with the new 2.6 kernel.</p>
|
| 1441 |
|
| 1442 |
<p>If you can SSH into the box from another system, you can resolve
|
| 1443 |
this issue by running <tt>dpkg-reconfigure console-data</tt>, choosing
|
| 1444 |
the option "Select keymap from full list" and selecting a "pc"
|
| 1445 |
keyboard.</p>
|
| 1446 |
|
| 1447 |
<p>If your console keyboard is affected, you will probably also need to
|
| 1448 |
reconfigure your keyboard for the X Window System. You can do this
|
| 1449 |
either by running <tt>dpkg-reconfigure xserver-xfree86</tt> or by
|
| 1450 |
editing <file>/etc/X11/XF86Config-4</file> directly. Don't forget
|
| 1451 |
to read the documentation referred to in <ref id="nownownow">.</p>
|
| 1452 |
|
| 1453 |
<![ %i386 [
|
| 1454 |
<p>This issue is unlikely to affect the &arch-title; architecture
|
| 1455 |
as all PS/2 and most USB keyboards will already be configured as
|
| 1456 |
a "normal" PC keyboard.</p>
|
| 1457 |
]]>
|
| 1458 |
<![ %not-i386 [
|
| 1459 |
<p>Note that if you are using a USB keyboard, this may be configured
|
| 1460 |
as either a "normal" PC keyboard or as a USB-MAC keyboard. In the
|
| 1461 |
first case you will not be affected by this issue.</p>
|
| 1462 |
]]>
|
| 1463 |
</sect1>
|
| 1464 |
]]> <!-- %not-amd64 -->
|
| 1465 |
|
| 1466 |
<sect1 id="2.6-mouse">
|
| 1467 |
<heading>Mouse configuration</heading>
|
| 1468 |
|
| 1469 |
<p>Again because of the changes in the input layer, you may have to
|
| 1470 |
reconfigure the X Window System and <package/gpm/ if your mouse is
|
| 1471 |
not working after upgrading to a 2.6 kernel. The most likely cause is
|
| 1472 |
that the device which gets the data from the mouse has changed.
|
| 1473 |
You may also need to load different modules.</p>
|
| 1474 |
|
| 1475 |
<![ %sparc [
|
| 1476 |
<p>If you currently have X configured for <file>/dev/sunmouse</file>,
|
| 1477 |
you probably need to change this to <file>/dev/psaux</file>.</p>
|
| 1478 |
]]>
|
| 1479 |
|
| 1480 |
</sect1>
|
| 1481 |
|
| 1482 |
<sect1 id="2.6-sound">
|
| 1483 |
<heading>Sound configuration</heading>
|
| 1484 |
|
| 1485 |
<p>For the 2.6 kernel series the ALSA sound drivers are recommended
|
| 1486 |
over the older OSS sound drivers. ALSA sound drivers are provided
|
| 1487 |
as modules by default. In order for sound to work, the ALSA modules
|
| 1488 |
appropriate for your sound hardware need to be loaded. In general
|
| 1489 |
this will happen automatically if you have, in addition to the
|
| 1490 |
<package>alsa-base</package> package, either the
|
| 1491 |
<package>hotplug</package> package or the <package>discover</package>
|
| 1492 |
package installed. The <package>alsa-base</package> package also
|
| 1493 |
"blacklists" OSS modules to prevent <prgn>hotplug</prgn> and
|
| 1494 |
<prgn>discover</prgn> from loading them. If you have OSS modules
|
| 1495 |
listed in <file>/etc/modules</file>, you should remove them.</p>
|
| 1496 |
|
| 1497 |
</sect1>
|
| 1498 |
]]> <!-- %not-s390 -->
|
| 1499 |
|
| 1500 |
<sect1 id="2.6-udev">
|
| 1501 |
<heading>Switching to 2.6 may activate udev</heading>
|
| 1502 |
|
| 1503 |
<p><package/udev/ is a userspace implementation of devfs. It is mounted
|
| 1504 |
over the <file>/dev</file> directory and will populate that directory
|
| 1505 |
with devices supported by the kernel. It will also dynamically add and
|
| 1506 |
remove devices as kernel modules are loaded or unloaded respectively,
|
| 1507 |
working together with <package/hotplug/ to detect new devices.
|
| 1508 |
<package/udev/ works only with 2.6 kernels.</p>
|
| 1509 |
|
| 1510 |
<p>As <package/udev/ is automatically installed as a dependency of
|
| 1511 |
e.g. <package/gnome/, there is a chance that upgrading to a 2.6 kernel
|
| 1512 |
will result in <package/udev/ being activated.</p>
|
| 1513 |
|
| 1514 |
<p>Although <package/udev/ has been tested extensively, you may experience
|
| 1515 |
minor problems with some devices that will need to be fixed. The most
|
| 1516 |
common problems are changed permission and/or ownership of a device.
|
| 1517 |
In some cases a device may not be created by default (e.g.
|
| 1518 |
<file>/dev/video</file> and <file>/dev/radio</file>).</p>
|
| 1519 |
|
| 1520 |
<p><package/udev/ provides configuration mechanisms to deal with these
|
| 1521 |
issues. See <manref name="udev" section="8"> and <file>/etc/udev</file>
|
| 1522 |
for further information.</p>
|
| 1523 |
|
| 1524 |
</sect1>
|
| 1525 |
</sect>
|
| 1526 |
]]> <!-- %available-2.6 -->
|
| 1527 |
|
| 1528 |
<![ %i386-amd64 [
|
| 1529 |
<sect id="x-mouse">
|
| 1530 |
<heading>X Window System fails to load</heading>
|
| 1531 |
|
| 1532 |
<p>If after booting your machine, X fails to load and you
|
| 1533 |
see an error "missing core pointer" in
|
| 1534 |
<file>/var/log/XFree86.0.log</file>, the problem could be that the
|
| 1535 |
mouse driver is not loaded fast enough by <prgn/hotplug/ (bug
|
| 1536 |
<url id="http://bugs.debian.org/255744" name="#255744">). The
|
| 1537 |
solution is to add the driver module for your mouse (e.g. psmouse)
|
| 1538 |
in <file>/etc/modules</file>.</p>
|
| 1539 |
|
| 1540 |
</sect>
|
| 1541 |
]]>
|
| 1542 |
|
| 1543 |
<![ %i386 [
|
| 1544 |
<sect id="x-transmeta">
|
| 1545 |
<heading>X Window System on Transmeta Crusoe systems</heading>
|
| 1546 |
|
| 1547 |
<p>The X server shipping in &releasename; contains optimized code which
|
| 1548 |
is not properly executed by many Transmeta(TM) Crusoe(TM) processors.
|
| 1549 |
The result of this is that at a certain time (when cached code "morphed"
|
| 1550 |
from x86 to Crusoe VLIW instructions in the CPU is in a buggy state),
|
| 1551 |
X client applications which connect with it fail with the following
|
| 1552 |
error message:
|
| 1553 |
|
| 1554 |
<example>
|
| 1555 |
X Error of failed request: BadLength
|
| 1556 |
(poly request too large or internal Xlib length error)
|
| 1557 |
Major opcode of failed request: 18 (X_ChangeProperty)
|
| 1558 |
Serial number of failed request: 15
|
| 1559 |
Current serial number in output stream: 18
|
| 1560 |
</example></p>
|
| 1561 |
|
| 1562 |
<p>In practical terms, this means that after a few hours of operation,
|
| 1563 |
applications will suddenly quit in rapid succession; if a display manager
|
| 1564 |
is running, that too will repeatedly quit and attempt to restart itself.
|
| 1565 |
The state will persist until the buggy VLIW Transmeta code is flushed
|
| 1566 |
from the cache.</p>
|
| 1567 |
|
| 1568 |
<p>Since the bug is in the proprietary Transmeta Code Morphing Software
|
| 1569 |
(CMS), and the laptop BIOS checks the CMS for a vendor signature at boot
|
| 1570 |
time, this can only be fixed in cooperation between Transmeta and the
|
| 1571 |
laptop vendor. Further information about this issue can be found at
|
| 1572 |
<url id="http://www.cs.auc.dk/~fleury/bug_cms/"> and Debian bug report
|
| 1573 |
<url id="http://bugs.debian.org/216933" name="#216933">.</p>
|
| 1574 |
|
| 1575 |
<p>The workaround for this bug is to install an X server compiled without
|
| 1576 |
optimization, such as the <package/xserver-xfree86-dbg/ package.</p>
|
| 1577 |
|
| 1578 |
</sect>
|
| 1579 |
]]>
|
| 1580 |
</chapt>
|
| 1581 |
|
| 1582 |
<chapt id="moreinfo">
|
| 1583 |
|
| 1584 |
<heading>More information on &debian;</heading>
|
| 1585 |
|
| 1586 |
<sect id="morereading"> <heading>Further reading</heading>
|
| 1587 |
<p>Beyond these release notes and the installation guide further
|
| 1588 |
documentation on &debian; is available from the Debian
|
| 1589 |
Documentation Project (DDP), whose goal is to create high quality
|
| 1590 |
documentation for Debian users and developers. Documentation
|
| 1591 |
including the Debian Guide, Debian New Maintainers Guide, and Debian
|
| 1592 |
FAQ are available, and many more. For full details of the resources
|
| 1593 |
available see the <url id="&url-ddp;" name="DDP website">.</p>
|
| 1594 |
|
| 1595 |
<p>Documentation for individual packages is installed into
|
| 1596 |
<file>/usr/share/doc/<var>package</var></file>, this may include
|
| 1597 |
copyright information, Debian specific details and any upstream
|
| 1598 |
documentation.</p>
|
| 1599 |
|
| 1600 |
</sect>
|
| 1601 |
|
| 1602 |
<sect id="gethelp">
|
| 1603 |
<heading>Getting help</heading>
|
| 1604 |
|
| 1605 |
<p>There are many sources of help, advice and support for Debian
|
| 1606 |
users, but these should only be considered if research into
|
| 1607 |
documentation of the issue has exhausted all sources. This section
|
| 1608 |
provides a short introduction into these which may be helpful for
|
| 1609 |
new Debian users.</p>
|
| 1610 |
|
| 1611 |
<sect1 id="lists">
|
| 1612 |
<heading>Mailing lists</heading>
|
| 1613 |
<p>The mailing lists of most interest to Debian users are the
|
| 1614 |
debian-user list (English) and other debian-user-<var/language/ lists
|
| 1615 |
(for other languages). For information on these lists and details of
|
| 1616 |
how to subscribe see <url id="&url-debian-list-archives;">. Please
|
| 1617 |
check the archives for answers to your question prior to posting and
|
| 1618 |
also adhere to standard list etiquette.</p>
|
| 1619 |
</sect1>
|
| 1620 |
|
| 1621 |
<sect1 id="irc">
|
| 1622 |
<heading>Internet Relay Chat</heading>
|
| 1623 |
|
| 1624 |
<p>Debian has an IRC channel dedicated to the support and aid of
|
| 1625 |
Debian users located on the Freenode IRC network which exists to
|
| 1626 |
provide interactive services to peer-directed project communities.
|
| 1627 |
To access the channel point your favourite IRC client at
|
| 1628 |
&debian-irc-server; and join #debian.</p>
|
| 1629 |
|
| 1630 |
<p>Please follow the channel guidelines, respecting other users
|
| 1631 |
fully. For more information on Freenode please visit the <url
|
| 1632 |
id="&url-irc-host;" name="website">.</p>
|
| 1633 |
|
| 1634 |
</sect1>
|
| 1635 |
</sect>
|
| 1636 |
|
| 1637 |
<sect id="bugs">
|
| 1638 |
<heading>Reporting bugs</heading>
|
| 1639 |
|
| 1640 |
<p>We strive to make Debian GNU/Linux a high quality operating
|
| 1641 |
system, however that does not mean that the packages we provide are
|
| 1642 |
totally free of bugs.
|
| 1643 |
Consistent with Debian's "open development" philosophy and as a
|
| 1644 |
service to our users, we provide all the information on reported bugs
|
| 1645 |
at our own Bug Tracking System (BTS). The BTS is browseable at
|
| 1646 |
<url id="&url-bts;" name="bugs.debian.org">.</p>
|
| 1647 |
|
| 1648 |
<p>If you find a bug in the distribution or in packaged software
|
| 1649 |
that is part of it, please report it so that it can be properly
|
| 1650 |
fixed for next releases. Reporting bugs requires a valid email
|
| 1651 |
address, we ask for this so that we can trace bugs and developers
|
| 1652 |
can get in contact with submitters should they need more
|
| 1653 |
information.</p>
|
| 1654 |
|
| 1655 |
<p>You can submit a bug report using the program
|
| 1656 |
<package>reportbug</package> or manually using email.
|
| 1657 |
You can read more about the Bug Tracking System and how to use it by
|
| 1658 |
reading the reference cards (available at
|
| 1659 |
<file>/usr/share/doc/debian</file> if you have
|
| 1660 |
<package>doc-debian</package> installed) or online at the
|
| 1661 |
<url id="&url-bts;" name="Bug Tracking System">.</p>
|
| 1662 |
|
| 1663 |
</sect>
|
| 1664 |
|
| 1665 |
<sect id="contributing">
|
| 1666 |
<heading>Contributing to Debian</heading>
|
| 1667 |
|
| 1668 |
<p>You do not need to be an expert to contribute to Debian. By
|
| 1669 |
assisting users with problems on the various user support <url
|
| 1670 |
id="&url-debian-list-archives;" name="lists"> you are contributing to
|
| 1671 |
the community. Identifying (and importantly solving) problems
|
| 1672 |
related to the development of the distribution by participating on
|
| 1673 |
the development <url id="&url-debian-list-archives;" name="lists"> is
|
| 1674 |
also extremely helpful. To maintain Debian's high quality
|
| 1675 |
distribution <url id="&url-bts;" name="submit bugs">
|
| 1676 |
and help developers track them down and fix them. If you have a way
|
| 1677 |
with words then you may want to contribute more actively by helping
|
| 1678 |
to write <url id="&url-ddp;"
|
| 1679 |
name="documentation"> or <url
|
| 1680 |
id="&url-debian-i18n;" name="translate"> existing
|
| 1681 |
documentation into your own language.</p>
|
| 1682 |
|
| 1683 |
<p>If you can dedicate more time, you could manage a piece of the
|
| 1684 |
Free Software collection within Debian. Especially helpful is if
|
| 1685 |
people adopt or maintain items that people have requested for
|
| 1686 |
inclusion within Debian, the <url id="&url-wnpp;" name="Work Needing
|
| 1687 |
and Prospective Packages database"> details this information. If you
|
| 1688 |
have an interest in specific groups then you may find enjoyment in
|
| 1689 |
contributing to some of Debian's subprojects which include ports to
|
| 1690 |
particular architectures, <url id="&url-debian-jr;" name="Debian
|
| 1691 |
Jr."> and <url id="&url-debian-med;" name="Debian Med">.</p>
|
| 1692 |
|
| 1693 |
<p>In any case, if you are working in the free software community in
|
| 1694 |
any way, as a user, programmer, writer or translator you are already
|
| 1695 |
helping the free software effort. Contributing is rewarding and fun,
|
| 1696 |
and as well as allowing you to meet new people it gives you that
|
| 1697 |
warm fuzzy feeling inside.</p></sect>
|
| 1698 |
|
| 1699 |
</chapt>
|
| 1700 |
|
| 1701 |
|
| 1702 |
<![ %upgradekernel [
|
| 1703 |
|
| 1704 |
<appendix id="kernel-upgrade-howto"><heading>Upgrading the kernel</heading>
|
| 1705 |
|
| 1706 |
<![ %not-mips-mipsel [
|
| 1707 |
<![ %sparc [
|
| 1708 |
<p><strong>The information in this appendix is relevant only
|
| 1709 |
if, for a successful upgrade of the system, you need to upgrade the
|
| 1710 |
kernel <em/before/ upgrading the system. Please read
|
| 1711 |
<ref id="new-kernel"> to find out if that is required for your
|
| 1712 |
system</strong>.</p>
|
| 1713 |
]]>
|
| 1714 |
<p>The following instructions explain step by step how to use the
|
| 1715 |
available backported tools to install the newer kernel.</p>
|
| 1716 |
|
| 1717 |
<p>Because packages may need to be installed from &oldreleasename;,
|
| 1718 |
you should first check that entries in your <file>sources.list</file>
|
| 1719 |
still refer to &oldreleasename; as explained in
|
| 1720 |
<ref id="old-sources">.</p>
|
| 1721 |
]]> <!-- %not-mips-mipsel -->
|
| 1722 |
|
| 1723 |
<![ %mips-mipsel [
|
| 1724 |
<p>The following instructions explain step by step how to install
|
| 1725 |
the newer kernel.</p>
|
| 1726 |
]]>
|
| 1727 |
|
| 1728 |
<p><taglist>
|
| 1729 |
<tag>Download and install the needed packages</tag>
|
| 1730 |
|
| 1731 |
<![ %mips-mipsel [
|
| 1732 |
<item>
|
| 1733 |
<p><em>with apt</em>: if you have not yet done so,
|
| 1734 |
change your <file>sources.list</file> file to point
|
| 1735 |
to &releasename; as described in <ref id="upgrade-process">,
|
| 1736 |
update your packages lists and install the kernel-image for
|
| 1737 |
your machine. You can find a list of available kernel
|
| 1738 |
images below or with the command
|
| 1739 |
|
| 1740 |
<example>
|
| 1741 |
$ apt-cache search ^kernel-image
|
| 1742 |
</example></p>
|
| 1743 |
|
| 1744 |
<p>During the install the package may complain about module mismatches
|
| 1745 |
and ask if the installation should abort. Answer <tt>NO</tt> to that
|
| 1746 |
question as these mismatches will be resolved as soon as you reboot with
|
| 1747 |
the new kernel.</p>
|
| 1748 |
|
| 1749 |
<p><em>with dpkg</em>: fetch the current kernel package from
|
| 1750 |
the Debian mirror of your choice. The available packages are:
|
| 1751 |
|
| 1752 |
<list>
|
| 1753 |
<![ %mips [
|
| 1754 |
<item><p><url id="&mips-kernel-patch;/&mips-kernel-image-r4k;" name="&mips-kernel-image-r4k;">
|
| 1755 |
for R4XX0 processors and the SGI IP22 subarchitecture like the Indy and Indigo2.</p></item>
|
| 1756 |
<item><p><url id="&mips-kernel-patch;/&mips-kernel-image-r5k;" name="&mips-kernel-image-r5k;">
|
| 1757 |
for R5000 processors and the SGI IP22 subarchitecture like the Indy and Indigo2.</p></item>
|
| 1758 |
<item><p><url id="&mips-kernel-patch;/&mips-kernel-image-swarm;" name="&mips-kernel-image-swarm;">
|
| 1759 |
for the Broadcom BCM91250A (aka SWARM) pass 2.2.</p></item>
|
| 1760 |
]]>
|
| 1761 |
<![ %mipsel [
|
| 1762 |
<item><p><url id="&mips-kernel-patch;/&mipsel-kernel-image-r3k;" name="&mipsel-kernel-image-r3k;">
|
| 1763 |
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>
|
| 1764 |
<item><p><url id="&mips-kernel-patch;/&mipsel-kernel-image-r4k;" name="&mipsel-kernel-image-r4k;">
|
| 1765 |
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>
|
| 1766 |
<item><p><url id="&mips-kernel-patch;/&mipsel-kernel-image-r5k-cobalt;" name="&mipsel-kernel-image-r5k-cobalt;">
|
| 1767 |
for MIPS based Cobalt machines (such as the Qube, RaQ, Qube2 and RaQ2).</p></item>
|
| 1768 |
<item><p><url id="&mips-kernel-patch;/&mipsel-kernel-image-r5k-lasat;" name="&mipsel-kernel-image-r5k-lasat;">
|
| 1769 |
for R5000 processors on the Lasat Masquerade Pro.</p></item>
|
| 1770 |
<item><p><url id="&mips-kernel-patch;/&mipsel-kernel-image-swarm;" name="&mipsel-kernel-image-swarm;">
|
| 1771 |
for the Broadcom BCM91250A (aka SWARM) pass 2.2.</p></item>
|
| 1772 |
<item><p><url id="&mips-kernel-patch;/&mipsel-kernel-image-xxs1500;" name="&mipsel-kernel-image-xxs1500;">
|
| 1773 |
for the Au1500 based XXS1500 board.</p></item>
|
| 1774 |
]]>
|
| 1775 |
</list></p>
|
| 1776 |
|
| 1777 |
<p>Then install the package using <tt>dpkg -i</tt>. It may
|
| 1778 |
complain about module mismatches (from <package>modutils</package>)
|
| 1779 |
and ask if the installation should abort. Answer <tt>NO</tt>
|
| 1780 |
to that question as these mismatches will be resolved as soon
|
| 1781 |
as you reboot with the new kernel.</p>
|
| 1782 |
|
| 1783 |
</item>
|
| 1784 |
]]> <!-- %mips-mipsel -->
|
| 1785 |
|
| 1786 |
<![ %not-mips-mipsel [
|
| 1787 |
<item>
|
| 1788 |
<p><em>with apt</em>: to install the packages with
|
| 1789 |
<prgn>apt</prgn> or one of its frontends, add the following line
|
| 1790 |
in your <file>/etc/apt/sources.list</file>:
|
| 1791 |
|
| 1792 |
<example>
|
| 1793 |
deb &url-kernel-upgrade;
|
| 1794 |
# sources are also available if you need them
|
| 1795 |
# deb-src &url-kernel-upgrade;
|
| 1796 |
</example></p>
|
| 1797 |
|
| 1798 |
<![ %sparc [
|
| 1799 |
<p>Then install the packages
|
| 1800 |
<package>modutils</package> and
|
| 1801 |
<package>initrd-tools</package>.
|
| 1802 |
]]>
|
| 1803 |
<![ %hppa [
|
| 1804 |
<p>Then install the packages
|
| 1805 |
<package>module-init-tools</package>,
|
| 1806 |
<package>modutils</package>,
|
| 1807 |
<package>palo</package>,
|
| 1808 |
and <package>initrd-tools</package>:
|
| 1809 |
<example>
|
| 1810 |
# apt-get install module-init-tools palo initrd-tools modutils
|
| 1811 |
</example>
|
| 1812 |
]]>
|
| 1813 |
(Afterwards you can safely drop the additional entry again.)</p>
|
| 1814 |
|
| 1815 |
<p>After that change your <file>sources.list</file> file to point
|
| 1816 |
to &releasename; as described in <ref id="upgrade-process">,
|
| 1817 |
update your packages lists and install the
|
| 1818 |
<package>&upgrade-kernel-image-name;</package> package.
|
| 1819 |
</p>
|
| 1820 |
|
| 1821 |
<p><em>with dpkg</em>: to install the packages directly with <prgn>dpkg</prgn> you need to
|
| 1822 |
download the necessary files first.</p>
|
| 1823 |
<p><list>
|
| 1824 |
<item><url id="&upgrade-kernel-image;"></item>
|
| 1825 |
<item><url id="&upgrade-kernel-modutils;"></item>
|
| 1826 |
<![ %hppa [ <item><url id="&hppa-modutils;"></item> ]]>
|
| 1827 |
<item><url id="&all-initrd-tools;"></item>
|
| 1828 |
<item><url id="&upgrade-kernel-cramfsprogs;"></item>
|
| 1829 |
</list></p>
|
| 1830 |
|
| 1831 |
<p>The kernel package depends on
|
| 1832 |
<package>&upgrade-kernel-modutils-name;</package><![ %hppa [
|
| 1833 |
(which conflicts with the old <package>modutils</package>)]]>;
|
| 1834 |
<package>initrd-tools</package> depends on <package>cramfsprogs</package>.
|
| 1835 |
All other dependencies (which are <package>stat</package>,
|
| 1836 |
<package>cpio</package> and <package>ash</package>) can be
|
| 1837 |
satisfied with packages from &oldreleasename; in the usual way.</p>
|
| 1838 |
<![ %hppa [
|
| 1839 |
<p>If you use <em/LVM/, you should also install <package/lvm2/
|
| 1840 |
before you reboot as the 2.6 kernel does not directly support LVM1.
|
| 1841 |
To access LVM1 volumes, the compatibility layer of <package/lvm2/
|
| 1842 |
(the dm-mod module) is used. You can leave <package/lvm10/ installed;
|
| 1843 |
the init scripts will detect which kernel is used and execute the
|
| 1844 |
appropriate version.</p>
|
| 1845 |
]]>
|
| 1846 |
</item>
|
| 1847 |
]]> <!-- %not-mips-mipsel -->
|
| 1848 |
|
| 1849 |
<tag>Don't delete your old kernel yet</tag>
|
| 1850 |
<item><p>You should first verify that the new one boots and all hardware
|
| 1851 |
needed for the upgrade works (e.g. network adaptors).</p></item>
|
| 1852 |
|
| 1853 |
<tag>Make your system bootable</tag>
|
| 1854 |
<item>
|
| 1855 |
|
| 1856 |
<![ %not-mips-mipsel [
|
| 1857 |
<p>You will probably have to adapt your boot loader configuration
|
| 1858 |
<file>&bootloader-conf;</file>. Note that the kernel now uses an
|
| 1859 |
initrd while the Debian kernels in &oldreleasename; did not.</p>
|
| 1860 |
]]>
|
| 1861 |
|
| 1862 |
<p>If you currently use <package/raidtools2/, you should read
|
| 1863 |
<ref id="mdadm"> before you reboot.</p>
|
| 1864 |
</item>
|
| 1865 |
|
| 1866 |
<tag>Reboot to the new kernel</tag>
|
| 1867 |
<tag>Check your system</tag>
|
| 1868 |
<item><p>Check especially input devices, display devices, devices
|
| 1869 |
needed to access the &releasename; packages (i.e. network adaptors,
|
| 1870 |
CD drives, etc). Some driver modules may have been renamed, some
|
| 1871 |
drivers which have been compiled into the old kernel might now be
|
| 1872 |
compiled as modules, ...</p></item>
|
| 1873 |
|
| 1874 |
</taglist></p>
|
| 1875 |
|
| 1876 |
</appendix>
|
| 1877 |
]]>
|
| 1878 |
|
| 1879 |
<![ %not-amd64 [
|
| 1880 |
<appendix id="old-stuff">
|
| 1881 |
<heading>Managing your &oldreleasename; system</heading>
|
| 1882 |
|
| 1883 |
<p>This appendix contains information on how to make sure you can install
|
| 1884 |
or upgrade &oldreleasename; packages before you upgrade to &releasename;.
|
| 1885 |
This should only be necessary in specific situations.</p>
|
| 1886 |
|
| 1887 |
<sect id="old-upgrade">
|
| 1888 |
<heading>Upgrading your &oldreleasename; system</heading>
|
| 1889 |
|
| 1890 |
<p>Basically this is no different than any other upgrade of
|
| 1891 |
&oldreleasename; you've been doing. The only difference is that you
|
| 1892 |
first need to make sure your package list still contains
|
| 1893 |
&oldreleasename; packages as explained in <ref id="old-sources">.</p>
|
| 1894 |
|
| 1895 |
</sect>
|
| 1896 |
|
| 1897 |
<![ %has-woody-aptitude [
|
| 1898 |
<sect id="old-aptitude">
|
| 1899 |
<heading>Installing &oldreleasename; version of aptitude</heading>
|
| 1900 |
|
| 1901 |
<p>First you need to make sure you will install &oldreleasename;'s
|
| 1902 |
version of <package/aptitude/ and not &releasename;'s by following
|
| 1903 |
the instructions in <ref id="old-sources">.</p>
|
| 1904 |
|
| 1905 |
<p>After that, just execute
|
| 1906 |
|
| 1907 |
<example>
|
| 1908 |
# apt-get install aptitude
|
| 1909 |
</example>
|
| 1910 |
|
| 1911 |
to install <package/aptitude/.</p>
|
| 1912 |
|
| 1913 |
</sect>
|
| 1914 |
]]>
|
| 1915 |
|
| 1916 |
<sect id="old-sources">
|
| 1917 |
<heading>Checking your sources list</heading>
|
| 1918 |
|
| 1919 |
<p>If any of the lines in your <file>/etc/apt/sources.list</file>
|
| 1920 |
refer to 'stable', you are effectively already "using" &releasename;.
|
| 1921 |
If you have already run <tt>apt-get update</tt>, you can still get
|
| 1922 |
back without problems following the procedure below.</p>
|
| 1923 |
|
| 1924 |
<p>If you have also already installed packages from &releasename;,
|
| 1925 |
there probably is not much point in installing packages from
|
| 1926 |
&oldreleasename; anymore. In that case you will have to decide for
|
| 1927 |
yourself whether you want to continue or not. It is possible to
|
| 1928 |
downgrade packages, but that is not covered here.</p>
|
| 1929 |
|
| 1930 |
<p>Open the file <file>/etc/apt/sources.list</file> with your favorite
|
| 1931 |
editor (as root) and check all lines beginning with <tt>deb http:</tt>
|
| 1932 |
or <tt>deb ftp:</tt> for a reference to "<tt/stable/". If you find any,
|
| 1933 |
change <tt/stable/ to <tt/&oldreleasename;/.</p>
|
| 1934 |
|
| 1935 |
<p>If you have any lines starting with <tt>deb file:</tt>, you will
|
| 1936 |
have to check for yourself if the location they refer to contains
|
| 1937 |
a &oldreleasename; or a &releasename; archive.</p>
|
| 1938 |
|
| 1939 |
<p><strong/Important!/ Do not change any lines that begin with
|
| 1940 |
<tt>deb cdrom:</tt>. Doing so would invalidate the line and you would
|
| 1941 |
have to run <prgn/apt-cdrom/ again. Do not be alarmed if a 'cdrom' source
|
| 1942 |
line refers to "<tt/unstable/". Although confusing, this is normal.</p>
|
| 1943 |
|
| 1944 |
<p>If you've made any changes, save the file and execute
|
| 1945 |
|
| 1946 |
<example>
|
| 1947 |
# apt-get update
|
| 1948 |
</example>
|
| 1949 |
|
| 1950 |
to refresh the package list.</p>
|
| 1951 |
|
| 1952 |
</sect>
|
| 1953 |
|
| 1954 |
</appendix>
|
| 1955 |
]]> <!-- %not-amd64 -->
|
| 1956 |
|
| 1957 |
</book>
|
| 1958 |
</debiandoc>
|
| 1959 |
|
| 1960 |
<!-- Keep this comment at the end of the file
|
| 1961 |
Local Variables:
|
| 1962 |
mode: sgml
|
| 1963 |
sgml-omittag:t
|
| 1964 |
sgml-shorttag:t
|
| 1965 |
sgml-namecase-general:t
|
| 1966 |
sgml-general-insert-case:lower
|
| 1967 |
sgml-minimize-attributes:nil
|
| 1968 |
sgml-always-quote-attributes:t
|
| 1969 |
sgml-indent-step:2
|
| 1970 |
sgml-indent-data:nil
|
| 1971 |
sgml-declaration:nil
|
| 1972 |
sgml-parent-document:nil
|
| 1973 |
sgml-exposed-tags:nil
|
| 1974 |
sgml-local-catalogs:nil
|
| 1975 |
sgml-local-ecat-files:nil
|
| 1976 |
fill-column: 75
|
| 1977 |
End:
|
| 1978 |
-->
|
| 1979 |
|