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