| 1 |
joy |
2049 |
<!DOCTYPE debiandoc PUBLIC "-//DebianDoc//DTD DebianDoc//EN" [ |
| 2 |
|
|
<!entity % dynamicdata SYSTEM "../dynamic.ent" > %dynamicdata; |
| 3 |
|
|
<!entity % shareddata SYSTEM "../release-notes.ent" > %shareddata; |
| 4 |
jseidel |
3924 |
<!entity docid "$Id: release-notes.en.sgml,v 1.78 2006-11-08 19:53:55 jseidel Exp $"> |
| 5 |
joy |
2049 |
]> |
| 6 |
|
|
|
| 7 |
jseidel |
2829 |
<!-- Be careful with automatic reformatting. Please note that the indentation |
| 8 |
|
|
in examples is used in the output (plus additional space) as well. --> |
| 9 |
|
|
|
| 10 |
joy |
2049 |
<debiandoc> |
| 11 |
|
|
<book> |
| 12 |
|
|
<titlepag> |
| 13 |
|
|
<title>Release Notes for &debian; &release; (`&releasename'), &arch-title;</title> |
| 14 |
|
|
<author> |
| 15 |
|
|
<name>Josip Rodin, Bob Hilliard, Adam Di Carlo, Anne Bezemer, Rob |
| 16 |
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 |
fjp |
3896 |
|
| 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 |
3894 |
<p>Please note that we only support |
| 31 |
fjp |
3396 |
and document upgrading from the previous release of Debian (in this case, |
| 32 |
|
|
the upgrade from &oldreleasename;). If you need to upgrade from older |
| 33 |
|
|
releases, we suggest you read previous editions of the release notes.</p> |
| 34 |
joy |
2049 |
|
| 35 |
robster |
3894 |
<!-- |
| 36 |
fjp |
3400 |
<sect id="changes"><heading>Changes in the Release Notes</heading> |
| 37 |
|
|
|
| 38 |
|
|
<p>This section lists changes in the Release Notes since the original |
| 39 |
|
|
version that was published with &debian; &release;r0. Minor textual |
| 40 |
|
|
corrections are omitted.</p> |
| 41 |
fjp |
3896 |
|
| 42 |
fjp |
3400 |
<p><list> |
| 43 |
|
|
|
| 44 |
robster |
3894 |
<item><p>Description of change.</p></item> |
| 45 |
fjp |
3400 |
|
| 46 |
|
|
</list></p> |
| 47 |
|
|
|
| 48 |
|
|
</sect> |
| 49 |
robster |
3894 |
--> |
| 50 |
fjp |
3400 |
|
| 51 |
robster |
2613 |
</chapt> |
| 52 |
fjp |
3400 |
|
| 53 |
robster |
3044 |
<chapt id="whats-new"><heading>What's new in &debian; &release;</heading> |
| 54 |
robster |
2613 |
|
| 55 |
robster |
3894 |
<p>This release adds official support for the AMD64 architecture which |
| 56 |
|
|
supports 64-bit processors from both Intel (EM64T) and AMD (AMD64). |
| 57 |
|
|
During the previous release, &debian; 3.1 ('sarge'), an unofficial |
| 58 |
|
|
version of this port was available. Upgrading from this unofficial |
| 59 |
|
|
version should be possible using these Release Notes, but is not |
| 60 |
|
|
supported.</p> |
| 61 |
|
|
|
| 62 |
|
|
<p>Official support for the Motorola 680x0 ('m68k') architecture has been |
| 63 |
|
|
dropped because it did not meet the criteria set by the Debian Release |
| 64 |
|
|
Managers. The most important underlying reasons are performance and limited |
| 65 |
|
|
upstream support for essential toolchain components. However, the m68k port |
| 66 |
|
|
is expected to remain active and available for installation even if not a |
| 67 |
|
|
part of this official stable release.</p> |
| 68 |
|
|
|
| 69 |
|
|
<p>The following are the officially supported architectures for |
| 70 |
|
|
&debian; &releasename;:</p> |
| 71 |
|
|
|
| 72 |
joy |
2049 |
<p> |
| 73 |
|
|
<list> |
| 74 |
|
|
<item><p>Intel x86 ('i386')</p></item> |
| 75 |
|
|
<item><p>Alpha ('alpha')</p></item> |
| 76 |
|
|
<item><p>SPARC ('sparc')</p></item> |
| 77 |
|
|
<item><p>PowerPC ('powerpc')</p></item> |
| 78 |
|
|
<item><p>ARM ('arm')</p></item> |
| 79 |
robster |
2613 |
<item><p>MIPS ('mips' (Big endian) and 'mipsel' (Little endian))</p></item> |
| 80 |
|
|
<item><p>Intel Itanium ('ia64')</p></item> |
| 81 |
|
|
<item><p>HP PA-RISC ('hppa')</p></item> |
| 82 |
|
|
<item><p>S/390 ('s390')</p></item> |
| 83 |
robster |
3894 |
<item><p>AMD64 ('amd64')</p></item> |
| 84 |
joy |
2049 |
</list> |
| 85 |
robster |
2613 |
</p> |
| 86 |
joy |
2049 |
|
| 87 |
|
|
<p>You can read more about port status, and port-specific |
| 88 |
|
|
information for your architecture at the <url id="&url-ports;" |
| 89 |
|
|
name="Debian port web pages">.</p> |
| 90 |
|
|
|
| 91 |
jseidel |
2822 |
<![ %secondrelease [ |
| 92 |
robster |
2613 |
<p>This is only the second official release of &debian; for the |
| 93 |
joy |
2049 |
&arch-title; architecture. We feel that it has proven itself |
| 94 |
|
|
sufficiently to be released. However, because it has not had the |
| 95 |
fjp |
3336 |
exposure (and hence testing by users) that our releases on |
| 96 |
joy |
2049 |
other architectures have had, you may encounter a few bugs. Please |
| 97 |
|
|
use our <url id="&url-bts;" name="bug tracking system"> to report |
| 98 |
|
|
any problems; make sure to mention the fact that the bug is on the |
| 99 |
|
|
&architecture; platform.</p> |
| 100 |
|
|
]]> |
| 101 |
|
|
|
| 102 |
|
|
<p>&debian; &release; for the &arch-title; architecture ships with |
| 103 |
|
|
kernel version &kernelversion;.</p> |
| 104 |
fjp |
3183 |
|
| 105 |
fjp |
3398 |
|
| 106 |
fjp |
3142 |
<sect id="newdistro"><heading>What's new in the distribution?</heading> |
| 107 |
robster |
3894 |
|
| 108 |
|
|
<!-- TODO: Numbers need to be updated --> |
| 109 |
fjp |
3142 |
<p>This new release of Debian again comes with a lot more software |
| 110 |
|
|
than its predecessor &oldreleasename;; the distribution includes |
| 111 |
|
|
over 9000 new packages. Most of the software in the distribution |
| 112 |
robster |
3894 |
has been updated: almost 6500 software packages (this is 73% of |
| 113 |
jseidel |
3924 |
all packages in &oldreleasename;). Also, a significant number |
| 114 |
robster |
3894 |
of packages have for various reasons been removed from the distribution. |
| 115 |
fjp |
3142 |
You will not see any updates for these packages and they will be |
| 116 |
|
|
marked as 'obsolete' in package management front-ends.</p> |
| 117 |
|
|
|
| 118 |
robster |
3894 |
<p>With this release &debian; switches from XFree86 to the 7.1 |
| 119 |
|
|
release of XOrg, which includes support for a greater range of |
| 120 |
|
|
hardware and better autodetection. This allows the use of Compiz, |
| 121 |
|
|
which is one of the first compositing window managers for the X |
| 122 |
fjp |
3902 |
Window System, taking full advantage of hardware |
| 123 |
robster |
3894 |
OpenGL-acceleration for supported devices.</p> |
| 124 |
fjp |
3896 |
|
| 125 |
robster |
3894 |
<p>&debian; again ships with current desktop applications. Amongst |
| 126 |
|
|
others it now includes GNOME 2.14, KDE 3.5 and OpenOffice.org 2.0.</p> |
| 127 |
fjp |
3896 |
|
| 128 |
fjp |
3902 |
<p><prgn/aptitude/ is the preferred program for package management |
| 129 |
|
|
from console. |
| 130 |
|
|
It has proven to be better at dependency resolution than <prgn/apt-get/ |
| 131 |
|
|
<prgn/aptitude/ supports most command line operations of <prgn/apt-get/. |
| 132 |
|
|
If you are still using <prgn/dselect/, you should switch to |
| 133 |
|
|
<package/aptitude/ as the official frontend for package management.</p> |
| 134 |
fjp |
3896 |
|
| 135 |
fjp |
3142 |
<p>The official &debian; distribution now ships on thirteen to fifteen |
| 136 |
|
|
binary CDs (depending on the architecture) and a similar number of |
| 137 |
robster |
3894 |
source CDs. A DVD version of the distribution is also available.</p> |
| 138 |
fjp |
3142 |
|
| 139 |
fjp |
3896 |
<sect1 id="volatile"><heading>debian-volatile now an official service</heading> |
| 140 |
|
|
|
| 141 |
|
|
<p>The <em/debian-volatile/ service that was introduced as an |
| 142 |
jseidel |
3915 |
unofficial service with the release of &oldreleasename;, has now |
| 143 |
fjp |
3902 |
become an official &debian; service.</p> |
| 144 |
fjp |
3896 |
|
| 145 |
|
|
<p>This means that it no longer has a <tt/.debian.net/ address, |
| 146 |
|
|
but now uses a <tt/.debian.org/ address. Please make sure to update |
| 147 |
|
|
your <file>/etc/apt/sources.list</file> accordingly if you were |
| 148 |
|
|
already using this service.</p> |
| 149 |
|
|
|
| 150 |
|
|
<p><em/debian-volatile/ allows users to easily |
| 151 |
|
|
update stable packages that contain information that quickly goes out |
| 152 |
|
|
of date. Examples are a virus scanner's signatures list or a spam |
| 153 |
|
|
filter's pattern set. For more information and a list of mirrors, |
| 154 |
|
|
please see the archive's <url id="&url-debian-volatile" |
| 155 |
|
|
name="web page">.</p> |
| 156 |
|
|
|
| 157 |
|
|
</sect1> |
| 158 |
fjp |
3142 |
</sect> |
| 159 |
|
|
|
| 160 |
robster |
3044 |
<sect id="newinst"><heading>What's new in the installation system?</heading> |
| 161 |
joy |
2049 |
|
| 162 |
jfs |
2628 |
<!-- FJP: Maybe a short description of available installation methods could be |
| 163 |
|
|
added here: floppy, CD (netinst/business-card/full set), netboot, |
| 164 |
|
|
hd-media, USB-stick. --> |
| 165 |
|
|
|
| 166 |
robster |
3894 |
<!-- TODO: Hhhm. Whats new in the installer ? --> |
| 167 |
robster |
2613 |
</sect> |
| 168 |
joy |
2049 |
|
| 169 |
|
|
</chapt> |
| 170 |
|
|
|
| 171 |
robster |
3894 |
<!-- TODO: Mention default usage of UTF-8 for new installs --> |
| 172 |
fjp |
3163 |
<chapt id="installing"><heading>New installations</heading> |
| 173 |
joy |
2049 |
|
| 174 |
fjp |
3163 |
<p>The installer offers a variety of installation methods. Which methods |
| 175 |
|
|
are available to install your system depends on your architecture.</p> |
| 176 |
fjp |
3896 |
|
| 177 |
joy |
2049 |
<p>If you are making a new installation of Debian, you should read |
| 178 |
jseidel |
2852 |
the Installation Guide, which is available on the Official CD at: |
| 179 |
joy |
2049 |
|
| 180 |
jseidel |
2852 |
<example> |
| 181 |
jseidel |
2853 |
/doc/install/manual/<var>language</var>/index.html |
| 182 |
jseidel |
2822 |
</example> |
| 183 |
joy |
2049 |
|
| 184 |
fjp |
3163 |
or on the Internet from the <url id="&url-install-manual;" |
| 185 |
fjp |
3171 |
name="&releasename; release pages">. You may also want to check the |
| 186 |
|
|
<url id="&url-installer;index#errata" name="errata"> for |
| 187 |
|
|
debian-installer.</p> |
| 188 |
joy |
2049 |
|
| 189 |
fjp |
3163 |
<![ %alpha [ |
| 190 |
robster |
3894 |
<!-- TODO: Still true? --> |
| 191 |
|
|
<p>The installer can only be used to install on alpha systems which |
| 192 |
fjp |
3163 |
support the SRM console. Be sure to switch your system to SRM before |
| 193 |
|
|
starting the installation. If your machine supports only the AlphaBIOS/ARC |
| 194 |
fjp |
3171 |
console, you can still install &releasename; using a (minimal) &oldreleasename; |
| 195 |
fjp |
3163 |
installation and a subsequent upgrade. For more information about the |
| 196 |
|
|
different consoles please read the references on the |
| 197 |
|
|
<url id="http://www.debian.org/ports/alpha" name="Debian alpha port web pages">. |
| 198 |
|
|
</p> |
| 199 |
|
|
]]> |
| 200 |
robster |
3043 |
|
| 201 |
robster |
3113 |
<![ %sparc [ |
| 202 |
|
|
<sect id="sparc_fb"><heading>Issues with framebuffer on &arch-title;</heading> |
| 203 |
fjp |
3896 |
|
| 204 |
robster |
3113 |
<p>Because of display problems on some systems, framebuffer support is |
| 205 |
robster |
3894 |
disabled by default for &arch-title; for most graphics cards. This can |
| 206 |
|
|
result in ugly display on systems that do properly support the framebuffer. |
| 207 |
|
|
If you see display problems in the installer, you can try booting the installer |
| 208 |
|
|
with parameter <tt>debian-installer/framebuffer=true</tt>. |
| 209 |
|
|
Please let us know if the framebuffer is not used by default, but works for |
| 210 |
|
|
your hardware.</p> |
| 211 |
robster |
3113 |
|
| 212 |
|
|
</sect> |
| 213 |
|
|
]]> |
| 214 |
|
|
|
| 215 |
fjp |
3199 |
<sect id="popcon"><heading>Popularity contest</heading> |
| 216 |
|
|
|
| 217 |
fjp |
3896 |
<p>Unlike for the previous release, the installation system will again offer |
| 218 |
|
|
to install the <package/popularity-contest/ package.</p> |
| 219 |
fjp |
3199 |
|
| 220 |
fjp |
3336 |
<p><package/popularity-contest/ provides the Debian project with valuable information |
| 221 |
fjp |
3199 |
on which packages in the distribution are actually used. This information |
| 222 |
|
|
is used mainly to decide the order in which packages are included on |
| 223 |
|
|
installation CD-ROMs, but is also often consulted by Debian developers |
| 224 |
|
|
in deciding whether or not to adopt a package that no longer has a |
| 225 |
|
|
maintainer.</p> |
| 226 |
|
|
|
| 227 |
fjp |
3896 |
<p>Information from <package/popularity-contest/ is processed anonymously. |
| 228 |
|
|
We would appreciate it if you would participate in this official survey; |
| 229 |
|
|
you will thereby help improve Debian.</p> |
| 230 |
fjp |
3199 |
|
| 231 |
|
|
</sect> |
| 232 |
joy |
2049 |
</chapt> |
| 233 |
|
|
|
| 234 |
|
|
|
| 235 |
robster |
3044 |
<chapt id="upgrading"><heading>Upgrades from previous releases</heading> |
| 236 |
joy |
2049 |
|
| 237 |
|
|
<!-- For doc-writers' convenience: |
| 238 |
|
|
Debian Supported |
| 239 |
|
|
release: architectures: |
| 240 |
|
|
|
| 241 |
|
|
1.3.1 or less i386 |
| 242 |
|
|
2.0 i386,m68k |
| 243 |
|
|
2.1 i386,m68k,alpha,sparc |
| 244 |
|
|
2.2 i386,m68k,alpha,sparc,powerpc,arm |
| 245 |
robster |
3894 |
3.0 + hppa,s390,mips,mipsel,ia64 |
| 246 |
|
|
3.1 i386,m68k,alpha,sparc,powerpc,arm,hppa,s390,mips,mipsel,ia64 (no changes) |
| 247 |
|
|
4.0 i386,alpha,sparc,powerpc,arm,hppa,s390,mips,mipsel,ia64,amd64 |
| 248 |
|
|
(+ amd64; - m68k) |
| 249 |
joy |
2049 |
--> |
| 250 |
|
|
|
| 251 |
robster |
3044 |
<sect id="backup"><heading>Preparing for the upgrade</heading> |
| 252 |
joy |
2049 |
|
| 253 |
|
|
<p>Before upgrading your system, it is strongly recommended that |
| 254 |
|
|
you make a full backup, or at least backup any data or |
| 255 |
|
|
configuration information you can't afford to lose. The upgrade |
| 256 |
|
|
tools and process are quite reliable, but a hardware failure in |
| 257 |
|
|
the middle of an upgrade could result in a severely damaged |
| 258 |
|
|
system.</p> |
| 259 |
|
|
|
| 260 |
|
|
<p>The main things you'll want to back up are the contents of |
| 261 |
|
|
<file>/etc</file>, <file>/var/lib/dpkg</file> and the output of |
| 262 |
fjp |
3223 |
<tt>dpkg --get-selections "*"</tt> (the quotes are important).</p> |
| 263 |
joy |
2049 |
|
| 264 |
fjp |
3298 |
<p>The upgrade process in itself does not modify anything in the |
| 265 |
|
|
<file>/home</file> directory. However, some applications (e.g. |
| 266 |
robster |
3894 |
parts of the Mozilla suite, and the GNOME and KDE desktop |
| 267 |
|
|
environments) are known to overwrite existing user settings with new |
| 268 |
|
|
defaults when a new version of the application is first started by a |
| 269 |
|
|
user. As a precaution, you may want to make a backup of the hidden |
| 270 |
|
|
files and directories ("dotfiles") in users' home directories. This |
| 271 |
|
|
backup may help to restore or recreate the old settings. You may |
| 272 |
|
|
also want to inform users about this.</p> |
| 273 |
fjp |
3298 |
|
| 274 |
joy |
2049 |
<p>It's wise to inform all users in advance of any upgrades you're |
| 275 |
fjp |
3902 |
planning, although users accessing your system via an <prgn/ssh/ |
| 276 |
fjp |
3906 |
connection should notice little during the upgrade, and should be |
| 277 |
robster |
3894 |
able to continue working. If you wish to take extra precautions, back up or |
| 278 |
|
|
unmount users' partitions (<file>/home</file>) before upgrading. A |
| 279 |
jseidel |
3915 |
reboot will not normally be necessary, unless you also plan to |
| 280 |
robster |
3894 |
upgrade your kernel.</p> |
| 281 |
joy |
2049 |
|
| 282 |
robster |
3894 |
<!-- TODO: Is not necessary to change the kernel? e.g. udev ? --> |
| 283 |
|
|
|
| 284 |
joy |
2049 |
<p>Distribution upgrade should be done either locally from a |
| 285 |
|
|
textmode virtual console (or a directly connected serial |
| 286 |
|
|
terminal), or remotely via an <prgn/ssh/ link.</p> |
| 287 |
|
|
|
| 288 |
fjp |
3223 |
<p><strong/Important!/ You should <em/not/ upgrade using <prgn/telnet/, |
| 289 |
robster |
2648 |
<prgn/rlogin/, <prgn/rsh/, or from an X session managed by <prgn/xdm/, |
| 290 |
|
|
<prgn/gdm/ or <prgn/kdm/ etc on the machine you are upgrading. That is |
| 291 |
joy |
2049 |
because each of those services may well be terminated during the |
| 292 |
robster |
2648 |
upgrade, which can result in an <em/inaccessible/ system that is only |
| 293 |
|
|
half-upgraded.</p> |
| 294 |
fjp |
3223 |
|
| 295 |
robster |
3894 |
<!-- TODO: surely gdm/kdm are sane? --> |
| 296 |
|
|
|
| 297 |
fjp |
3223 |
<p>Any package installation operation must be run with superuser |
| 298 |
robster |
3047 |
privileges, so either login as root or use <prgn/su/ or |
| 299 |
|
|
<prgn/sudo/ to gain the necessary access rights.</p> |
| 300 |
joy |
2049 |
|
| 301 |
fjp |
3223 |
</sect> |
| 302 |
robster |
3047 |
|
| 303 |
fjp |
3223 |
<sect id="system-status"> |
| 304 |
|
|
<heading>Checking system status</heading> |
| 305 |
robster |
3047 |
|
| 306 |
fjp |
3223 |
<p>The upgrade process described in this chapter has been designed for |
| 307 |
robster |
3894 |
upgrades from "pure" &oldreleasename; systems without 3rd party |
| 308 |
fjp |
3902 |
packages. It may be wise to remove these packages first.</p> |
| 309 |
fjp |
3896 |
|
| 310 |
robster |
3894 |
<p>This procedure also assumes your system has been updated to the |
| 311 |
|
|
latest point release of &oldreleasename;. If you have not done this |
| 312 |
|
|
or are unsure, follow the instructions in <ref id="old-upgrade">.</p> |
| 313 |
fjp |
3223 |
|
| 314 |
|
|
<sect1><heading>Disabling APT pinning</heading> |
| 315 |
|
|
|
| 316 |
|
|
<p>If you have configured APT to install certain packages from a |
| 317 |
|
|
distribution other than stable (e.g. from testing), you may have to |
| 318 |
|
|
change your APT pinning configuration (stored in |
| 319 |
|
|
<file>/etc/apt/preferences</file>) to allow the upgrade of packages to |
| 320 |
|
|
the versions in the new stable release. Further information on APT |
| 321 |
|
|
pinning can be found in <manref name="apt_preferences" section="5">.</p> |
| 322 |
|
|
|
| 323 |
|
|
</sect1> |
| 324 |
|
|
|
| 325 |
|
|
<sect1><heading>Checking packages status</heading> |
| 326 |
|
|
|
| 327 |
|
|
<p>Regardless of the method used for upgrading, it is recommended |
| 328 |
|
|
that you check the status of all packages first, and verify that |
| 329 |
|
|
all packages are in an upgradable state. The following command |
| 330 |
|
|
will show any packages which have a status of Half-Installed or |
| 331 |
|
|
Failed-Config, and those with any error status. |
| 332 |
|
|
|
| 333 |
|
|
<example> |
| 334 |
|
|
# dpkg --audit |
| 335 |
|
|
</example></p> |
| 336 |
|
|
|
| 337 |
|
|
<p>You could also inspect the state of all packages on your system |
| 338 |
|
|
using <prgn/dselect/, <prgn/aptitude/, or with commands such as |
| 339 |
|
|
|
| 340 |
|
|
<example> |
| 341 |
|
|
# dpkg -l | pager |
| 342 |
|
|
</example> |
| 343 |
|
|
|
| 344 |
|
|
or |
| 345 |
|
|
|
| 346 |
|
|
<example> |
| 347 |
|
|
# dpkg --get-selections > ~/curr-pkgs.txt |
| 348 |
|
|
</example></p> |
| 349 |
|
|
|
| 350 |
|
|
<p>It is desirable to remove any holds before upgrading. If any |
| 351 |
|
|
package that is essential for the upgrade is on hold, the upgrade |
| 352 |
fjp |
3902 |
will fail.</p> |
| 353 |
fjp |
3896 |
|
| 354 |
fjp |
3902 |
<p>Note that <prgn/aptitude/ uses a different method for registering |
| 355 |
fjp |
3403 |
packages that are on hold than <prgn/apt-get/ and <prgn/dselect/. |
| 356 |
|
|
You can identify packages on hold for <prgn/aptitude/ with |
| 357 |
fjp |
3896 |
|
| 358 |
fjp |
3223 |
<example> |
| 359 |
fjp |
3403 |
# aptitude search "~ahold" | grep "^.h" |
| 360 |
|
|
</example></p> |
| 361 |
fjp |
3896 |
|
| 362 |
fjp |
3403 |
<p>If you want to check which packages you had on hold for |
| 363 |
|
|
<prgn/apt-get/, you should use |
| 364 |
|
|
<example> |
| 365 |
fjp |
3241 |
# dpkg --get-selections | grep hold |
| 366 |
fjp |
3223 |
</example></p> |
| 367 |
|
|
|
| 368 |
|
|
<p>If you changed and recompiled a package locally, and didn't rename |
| 369 |
|
|
it or put an epoch in the version, you must put it on hold to prevent |
| 370 |
robster |
3894 |
it from being upgraded.</p> |
| 371 |
fjp |
3223 |
|
| 372 |
robster |
3894 |
<p>The "hold" package state for <prgn/aptitude/ can be changed using |
| 373 |
fjp |
3902 |
(replace <tt/hold/ with <tt/unhold/ to unset the "hold" state): |
| 374 |
fjp |
3223 |
<example> |
| 375 |
fjp |
3403 |
# aptitude hold <var>package_name</var> |
| 376 |
fjp |
3223 |
</example> |
| 377 |
|
|
</p> |
| 378 |
|
|
|
| 379 |
|
|
<p>If there is anything you need to fix, it is best to make sure your |
| 380 |
|
|
<file/sources.list/ still refers to &oldreleasename; as explained in |
| 381 |
|
|
<ref id="old-sources">.</p> |
| 382 |
|
|
</sect1> |
| 383 |
|
|
|
| 384 |
|
|
<sect1 id="backports"><heading>Unofficial sources and backports</heading> |
| 385 |
|
|
|
| 386 |
|
|
<p>If you have any non-Debian packages on your system, you should be |
| 387 |
|
|
aware that these may be removed during the upgrade because of |
| 388 |
|
|
conflicting dependencies. If these packages were installed by adding |
| 389 |
|
|
an extra package archive in your <file>/etc/apt/sources.list</file>, |
| 390 |
|
|
you should check if that archive also offers packages compiled for |
| 391 |
|
|
&releasename; and change the source line accordingly at the same time |
| 392 |
|
|
as your source lines for Debian packages.</p> |
| 393 |
|
|
|
| 394 |
|
|
<p>Some users may have unofficial backported "newer" versions of |
| 395 |
|
|
packages that <em/are/ in Debian installed on their &oldreleasename; |
| 396 |
|
|
system. Such packages are most likely to cause problems during an |
| 397 |
|
|
upgrade as they may result in file conflicts<footnote>Debian's |
| 398 |
|
|
package management system normally does not allow a package to remove |
| 399 |
|
|
or replace a file owned by another package; not unless it has been |
| 400 |
|
|
defined to replace that package.</footnote>. Section <ref id="trouble"> |
| 401 |
|
|
has some information on how to deal with file conflicts if they should |
| 402 |
|
|
occur.</p> |
| 403 |
|
|
|
| 404 |
|
|
</sect1> |
| 405 |
|
|
</sect> |
| 406 |
|
|
|
| 407 |
fjp |
3153 |
|
| 408 |
robster |
3044 |
<sect id="upgrade-process"><heading>Preparing sources for APT</heading> |
| 409 |
joy |
2049 |
|
| 410 |
|
|
<p>Before starting the upgrade you must set up <package/apt/'s |
| 411 |
|
|
configuration file for package lists, |
| 412 |
|
|
<file>/etc/apt/sources.list</file>.</p> |
| 413 |
fjp |
3896 |
|
| 414 |
joy |
2049 |
<p><package/apt/ will consider all packages that can be found via |
| 415 |
|
|
any "<tt>deb</tt>" line, and install the package with the highest |
| 416 |
|
|
version number, giving priority to the first mentioned lines (that |
| 417 |
|
|
way, in case of multiple mirror locations, you'd typically first |
| 418 |
|
|
name a local harddisk, then CD-ROMs, and then HTTP/FTP |
| 419 |
|
|
mirrors).</p> |
| 420 |
|
|
|
| 421 |
fjp |
3223 |
<p>A release can often be referred to by both its codename (e.g. |
| 422 |
|
|
&oldreleasename;, &releasename;) and by its status name (i.e. |
| 423 |
|
|
oldstable, stable, testing, unstable). Referring to a release by its |
| 424 |
|
|
codename has the advantage that you will never be surprised by a |
| 425 |
|
|
new release and for this reason is the approach taken here. It |
| 426 |
|
|
does of course mean that you will have to watch out for release |
| 427 |
|
|
announcements yourself. If you use the status name instead, you |
| 428 |
|
|
will just see loads of updates for packages available as soon as a |
| 429 |
|
|
release has happened.</p> |
| 430 |
|
|
|
| 431 |
robster |
3044 |
<sect1 id="network"><heading>Adding APT Internet sources</heading> |
| 432 |
joy |
2049 |
|
| 433 |
|
|
<p>The default configuration is set up for installation from main |
| 434 |
|
|
Debian Internet servers, but you may wish to modify |
| 435 |
|
|
<file>/etc/apt/sources.list</file> to use other mirrors, |
| 436 |
|
|
preferably a mirror that is network-wise closest to you.</p> |
| 437 |
|
|
|
| 438 |
jfs |
2628 |
<!-- FJP: Why is 'default configuration' relevant here? We are talking about |
| 439 |
|
|
upgrading existing installations; we really have no idea what |
| 440 |
|
|
apt-sources users will have set up here (maybe just a Woody CD-set). |
| 441 |
|
|
Note: D-I sets the default configuration to a mirror based on |
| 442 |
|
|
the selected country and not the 'main' servers. --> |
| 443 |
|
|
|
| 444 |
|
|
<p>Debian HTTP or FTP mirror addresses can be found at |
| 445 |
joy |
2049 |
<url id="&url-debian-mirrors;"> (look at the "Full list of |
| 446 |
jfs |
2628 |
mirrors" section). HTTP mirrors are generally speedier than FTP |
| 447 |
joy |
2049 |
mirrors.</p> |
| 448 |
|
|
|
| 449 |
|
|
<p>For example, suppose your closest Debian mirror is |
| 450 |
|
|
<tt>&url-debian-mirror-eg;/</tt>. When inspecting that mirror |
| 451 |
|
|
with a web browser or FTP program, you will notice that the main |
| 452 |
|
|
directories are organized like this: |
| 453 |
|
|
|
| 454 |
|
|
<example> |
| 455 |
fjp |
3223 |
&url-debian-mirror-eg;/dists/&releasename;/main/binary-&architecture;/... |
| 456 |
|
|
&url-debian-mirror-eg;/dists/&releasename;/contrib/binary-&architecture;/... |
| 457 |
joy |
2049 |
</example></p> |
| 458 |
|
|
|
| 459 |
|
|
<p>To use this mirror with <prgn/apt/, you add this line to your |
| 460 |
|
|
<file/sources.list/ file: |
| 461 |
|
|
|
| 462 |
|
|
<example> |
| 463 |
jseidel |
2829 |
deb &url-debian-mirror-eg; &releasename; main contrib |
| 464 |
joy |
2049 |
</example></p> |
| 465 |
|
|
|
| 466 |
|
|
<p>Note that the `<tt>dists</tt>' is added implicitly, and the |
| 467 |
|
|
arguments after the release name are used to expand the path into |
| 468 |
|
|
multiple directories.</p> |
| 469 |
|
|
|
| 470 |
|
|
<p>After adding your new sources, disable the previously existing |
| 471 |
|
|
"<tt/deb/" lines in <file/sources.list/, by placing a hash sign |
| 472 |
|
|
(<tt/#/) in front of them.</p> |
| 473 |
|
|
|
| 474 |
|
|
<p>Any package needed for installation that is fetched from the |
| 475 |
jfs |
2628 |
network is stored in <file>/var/cache/apt/archives</file> |
| 476 |
joy |
2049 |
(and the <file>partial/</file> subdirectory, during download), so |
| 477 |
|
|
you must make sure you have enough space before attempting to |
| 478 |
|
|
start the installation. With a reasonably extended Debian |
| 479 |
|
|
installation, you can expect at least 300 MB of downloaded |
| 480 |
robster |
2613 |
data.</p> |
| 481 |
fjp |
3896 |
|
| 482 |
robster |
2613 |
</sect1> |
| 483 |
joy |
2049 |
|
| 484 |
robster |
3044 |
<sect1 id="localmirror"><heading>Adding APT sources for a local mirror</heading> |
| 485 |
joy |
2049 |
|
| 486 |
|
|
<p>Instead of using HTTP or FTP packages mirrors, you may wish to |
| 487 |
|
|
modify <file>/etc/apt/sources.list</file> to use a mirror on a |
| 488 |
fjp |
3183 |
local disk (possibly mounted over NFS).</p> |
| 489 |
joy |
2049 |
|
| 490 |
|
|
<p>For example, your packages mirror may be under |
| 491 |
|
|
<file>/var/ftp/debian/</file>, and have main directories like |
| 492 |
|
|
this: |
| 493 |
|
|
|
| 494 |
|
|
<example> |
| 495 |
fjp |
3223 |
/var/ftp/debian/dists/&releasename;/main/binary-&architecture;/... |
| 496 |
|
|
/var/ftp/debian/dists/&releasename;/contrib/binary-&architecture;/... |
| 497 |
joy |
2049 |
</example></p> |
| 498 |
|
|
|
| 499 |
|
|
<p>To use this with <prgn/apt/, add this line to your |
| 500 |
|
|
<file/sources.list/ file: |
| 501 |
|
|
|
| 502 |
|
|
<example> |
| 503 |
fjp |
3223 |
deb file:/var/ftp/debian &releasename; main contrib |
| 504 |
joy |
2049 |
</example></p> |
| 505 |
|
|
|
| 506 |
|
|
<p>Note that the `<tt>dists</tt>' is added implicitly, and the |
| 507 |
|
|
arguments after the release name are used to expand the path into |
| 508 |
|
|
multiple directories.</p> |
| 509 |
|
|
|
| 510 |
|
|
<p>After adding your new sources, disable the previously |
| 511 |
|
|
existing "<tt/deb/" lines in <file/sources.list/, by placing a |
| 512 |
|
|
hash sign (<tt/#/) in front of them.</p></sect1> |
| 513 |
|
|
|
| 514 |
fjp |
3223 |
<sect1 id="cdroms"><heading>Adding APT source from CD-ROM or DVD</heading> |
| 515 |
joy |
2049 |
|
| 516 |
|
|
<p>If you want to use CDs <em/only/, comment out the existing |
| 517 |
|
|
"<tt/deb/" lines in <file>/etc/apt/sources.list</file> by placing |
| 518 |
|
|
a hash sign (<tt/#/) in front of them.</p> |
| 519 |
|
|
|
| 520 |
fjp |
3183 |
<!-- Default cdrom mount point is /cdrom, not /media/cdrom and fixed!, see #282344 |
| 521 |
|
|
(but the -d option of apt-cdrom allows scanning from somewhere else) --> |
| 522 |
joy |
2049 |
<p>Make sure there is a line in <file>/etc/fstab</file> that |
| 523 |
|
|
enables mounting your CD-ROM drive at the <file>/cdrom</file> |
| 524 |
|
|
mount point (the exact <file>/cdrom</file> mount point is required |
| 525 |
jfs |
2628 |
for <prgn/apt-cdrom/). For example, if <file>/dev/hdc</file> is |
| 526 |
joy |
2049 |
your CD-ROM drive, <file>/etc/fstab</file> should contain a line |
| 527 |
|
|
like: |
| 528 |
|
|
|
| 529 |
|
|
<example> |
| 530 |
jseidel |
2829 |
/dev/hdc /cdrom auto defaults,noauto,ro 0 0 |
| 531 |
joy |
2049 |
</example></p> |
| 532 |
|
|
|
| 533 |
|
|
<p>Note that there must be <em/no spaces/ between the words |
| 534 |
|
|
<tt>defaults,noauto,ro</tt> in the fourth field.</p> |
| 535 |
|
|
|
| 536 |
|
|
<p>To verify it works, insert a CD and try running |
| 537 |
|
|
|
| 538 |
|
|
<example> |
| 539 |
fjp |
3223 |
# mount /cdrom # this will mount the CD to the mount point |
| 540 |
|
|
# ls -alF /cdrom # this should show the CD's root directory |
| 541 |
|
|
# umount /cdrom # this will unmount the CD |
| 542 |
joy |
2049 |
</example></p> |
| 543 |
|
|
|
| 544 |
|
|
<p>Next, run: |
| 545 |
|
|
|
| 546 |
|
|
<example> |
| 547 |
fjp |
3223 |
# apt-cdrom add |
| 548 |
jseidel |
2829 |
</example> |
| 549 |
joy |
2049 |
|
| 550 |
jseidel |
2829 |
for each Debian Binary CD-ROM you have, to add the data about |
| 551 |
robster |
2613 |
each CD to APT's database.</p> |
| 552 |
|
|
</sect1> |
| 553 |
|
|
</sect> |
| 554 |
joy |
2049 |
|
| 555 |
robster |
2613 |
<sect id="upgradingpackages"><heading>Upgrading packages</heading> |
| 556 |
fjp |
3223 |
|
| 557 |
jseidel |
3915 |
<p>The recommended way to upgrade from previous &debian; releases is |
| 558 |
|
|
to use the package management tool <prgn>aptitude</prgn>. This program |
| 559 |
robster |
2613 |
makes safer decisions about package installations than running |
| 560 |
|
|
<prgn>apt-get</prgn> directly.</p> |
| 561 |
fjp |
3223 |
|
| 562 |
robster |
2613 |
<p>Don't forget to mount all needed partitions (notably the root |
| 563 |
joy |
2049 |
and <file>/usr</file> partitions) read-write, with a command |
| 564 |
|
|
like: |
| 565 |
|
|
|
| 566 |
|
|
<example> |
| 567 |
fjp |
3223 |
# mount -o remount,rw /<var>mountpoint</var> |
| 568 |
joy |
2049 |
</example></p> |
| 569 |
|
|
|
| 570 |
fjp |
3223 |
<p>Next you should double check that the APT source entries (in |
| 571 |
|
|
<file>/etc/apt/sources.list</file>) refer either to |
| 572 |
|
|
"<tt/&releasename;/" or to "<tt>stable</tt>". Note: source |
| 573 |
|
|
lines for a CD-ROM will often refer to "<tt/unstable/"; |
| 574 |
|
|
although this may be confusing, you should <em/not/ change it.</p> |
| 575 |
|
|
|
| 576 |
robster |
2613 |
<p>It is strongly recommended that you use the |
| 577 |
|
|
<prgn>/usr/bin/script</prgn> program to record a transcript of the |
| 578 |
fjp |
3183 |
upgrade session. Then if a problem occurs, you will have a log of |
| 579 |
robster |
2613 |
what happened, and if needed, can provide exact information in a bug |
| 580 |
|
|
report. To start the recording, type: |
| 581 |
joy |
2049 |
|
| 582 |
|
|
<example> |
| 583 |
fjp |
3223 |
# script -a ~/upgrade-to-&releasename;.typescript |
| 584 |
jseidel |
2829 |
</example> |
| 585 |
joy |
2049 |
|
| 586 |
jseidel |
2829 |
or similar. Do not put the typescript file in a temporary |
| 587 |
robster |
2613 |
directory such as <file>/tmp</file> or <file>/var/tmp</file> (files |
| 588 |
|
|
in those directories may be deleted during the upgrade or during any |
| 589 |
|
|
restart).</p> |
| 590 |
fjp |
3223 |
|
| 591 |
|
|
<p>The typescript will also allow you to review information that has |
| 592 |
jseidel |
3604 |
scrolled off-screen. Just switch to VT2 (using <tt/Alt-F2/) and, after |
| 593 |
fjp |
3223 |
logging in, use <tt>less ~root/upgrade-to-&releasename;.typescript</tt> |
| 594 |
|
|
to view the file.</p> |
| 595 |
|
|
|
| 596 |
fjp |
3336 |
<p>After you have completed the upgrade, you can stop <prgn/script/ |
| 597 |
fjp |
3223 |
by typing <tt/exit/ at the prompt.</p> |
| 598 |
|
|
|
| 599 |
|
|
<sect1 id="updating_lists"><heading>Updating the package list</heading> |
| 600 |
|
|
|
| 601 |
|
|
<p>First the list of available packages for the new release needs to |
| 602 |
|
|
be fetched. This is done by executing<footnote>We use <prgn/apt-get/ |
| 603 |
|
|
for this because the &oldreleasename; version <prgn/aptitude/ may fail |
| 604 |
|
|
when new sources have been added to <file/sources.list/.</footnote>:</p> |
| 605 |
|
|
|
| 606 |
robster |
2613 |
<p><example> |
| 607 |
fjp |
3223 |
# apt-get update |
| 608 |
robster |
2613 |
</example></p> |
| 609 |
joy |
2049 |
|
| 610 |
fjp |
3223 |
</sect1> |
| 611 |
|
|
|
| 612 |
djpig |
3233 |
|
| 613 |
fjp |
3223 |
<!-- FJP: This next section can probably be dropped for etch --> |
| 614 |
fjp |
3876 |
<sect1 id="upgrading_aptitude"><heading>Upgrading aptitude</heading> |
| 615 |
fjp |
3223 |
|
| 616 |
|
|
<p>Upgrade tests have shown that &releasename;'s version of |
| 617 |
|
|
<prgn/aptitude/ is better at solving the complex dependencies during |
| 618 |
|
|
an upgrade than either <prgn/apt-get/ or &oldreleasename;'s |
| 619 |
|
|
<prgn/aptitude/. |
| 620 |
|
|
|
| 621 |
|
|
It should therefore be upgraded first using: |
| 622 |
|
|
<example> |
| 623 |
|
|
# aptitude install aptitude |
| 624 |
fjp |
3876 |
</example></p> |
| 625 |
fjp |
3223 |
|
| 626 |
fjp |
3238 |
<p>You will be shown a list of the changes that will be |
| 627 |
|
|
made and asked you to confirm them. You should take a careful look at |
| 628 |
fjp |
3223 |
the proposed changes, especially packages that will be removed by the |
| 629 |
|
|
upgrade, before you confirm.</p> |
| 630 |
|
|
|
| 631 |
fjp |
3298 |
<p>In some cases if a large number of packages is listed for removal, |
| 632 |
|
|
you may be able to reduce this list by "pre-upgrading" selected other |
| 633 |
|
|
packages alongside <package/aptitude/. An example may clarify this. |
| 634 |
|
|
During upgrade tests for systems having KDE installed, we have seen |
| 635 |
|
|
that this step would cause removal of a large number of KDE packages |
| 636 |
|
|
and/or perl. The solution proved to be to <tt>install aptitude perl</tt> |
| 637 |
|
|
instead of <tt>install aptitude</tt>.</p> |
| 638 |
|
|
|
| 639 |
fjp |
3223 |
</sect1> |
| 640 |
|
|
|
| 641 |
robster |
3894 |
<!-- FJP: This next section can probably be dropped for etch --> |
| 642 |
fjp |
3223 |
<sect1 id="upgrading_doc-base"><heading>Upgrading doc-base</heading> |
| 643 |
|
|
|
| 644 |
|
|
<p><em>If you have <package/doc-base/ installed</em>, it must be |
| 645 |
|
|
upgraded before the rest of the system too. Reason is that it may fail |
| 646 |
fjp |
3266 |
if <package/perl/ is upgraded at the same time. You can find out if it |
| 647 |
|
|
is installed using:</p> |
| 648 |
fjp |
3896 |
|
| 649 |
robster |
3117 |
<p><example> |
| 650 |
fjp |
3223 |
# dpkg -l doc-base |
| 651 |
robster |
3117 |
</example></p> |
| 652 |
joy |
2049 |
|
| 653 |
robster |
3117 |
<p>If the line of output begins with "i" then it is installed and |
| 654 |
|
|
must be upgraded before continuing.</p> |
| 655 |
|
|
|
| 656 |
|
|
<p><example> |
| 657 |
fjp |
3223 |
# aptitude install doc-base |
| 658 |
robster |
3117 |
</example></p> |
| 659 |
fjp |
3223 |
|
| 660 |
|
|
</sect1> |
| 661 |
|
|
|
| 662 |
|
|
<sect1 id="upgrading_other"><heading>Upgrading the rest of the system</heading> |
| 663 |
|
|
|
| 664 |
robster |
3117 |
<p>You are now ready to continue with the main part of the |
| 665 |
|
|
upgrade. Execute:</p> |
| 666 |
robster |
2613 |
<p><example> |
| 667 |
fjp |
3223 |
# aptitude -f --with-recommends dist-upgrade |
| 668 |
robster |
2613 |
</example></p> |
| 669 |
joy |
2049 |
|
| 670 |
fjp |
3223 |
<p>This will perform a complete upgrade of the system, i.e. install |
| 671 |
robster |
2613 |
the newest available versions of all packages, and resolve all |
| 672 |
|
|
possible dependency changes between packages in different releases. |
| 673 |
|
|
If necessary, it will install some new packages (usually new library |
| 674 |
|
|
versions, or renamed packages), and remove any conflicting obsoleted |
| 675 |
|
|
packages (such as <package>console-tools-libs</package>).</p> |
| 676 |
joy |
2049 |
|
| 677 |
|
|
<p>When upgrading from a set of CD-ROMs, you will be asked to |
| 678 |
|
|
insert specific CDs at several points during the upgrade. You |
| 679 |
|
|
might have to insert the same CD multiple times; this is due to |
| 680 |
|
|
inter-related packages that have been spread out over the CDs.</p> |
| 681 |
fjp |
3896 |
|
| 682 |
robster |
2613 |
<p>New versions of currently installed packages that cannot be |
| 683 |
|
|
upgraded without changing the install status of another package will |
| 684 |
|
|
be left at their current version (displayed as "held back"). This can |
| 685 |
|
|
be resolved by either using <prgn>aptitude</prgn> to choose these |
| 686 |
|
|
packages for installation or by trying <tt>aptitude -f install |
| 687 |
fjp |
3183 |
<var>package</var></tt>.</p> |
| 688 |
fjp |
3896 |
|
| 689 |
joy |
2049 |
<p>The <tt/--fix-broken/ (or just <tt/-f/) option causes |
| 690 |
|
|
<package/apt/ to attempt to correct a system with broken |
| 691 |
|
|
dependencies in place. <package/apt/ does not allow broken package |
| 692 |
|
|
dependencies to exist on a system.</p> |
| 693 |
robster |
2613 |
|
| 694 |
fjp |
3223 |
</sect1> |
| 695 |
|
|
|
| 696 |
robster |
3044 |
<sect1 id="trouble"><heading>Possible issues during upgrade</heading> |
| 697 |
joy |
2049 |
|
| 698 |
fjp |
3183 |
<p>If an operation using <prgn/aptitude/, <prgn/apt-get/ or |
| 699 |
|
|
<prgn/dpkg/ fails with the error |
| 700 |
|
|
<example> |
| 701 |
|
|
E: Dynamic MMap ran out of room |
| 702 |
|
|
</example> |
| 703 |
|
|
the default cache space is insufficient. You can solve this by either |
| 704 |
|
|
removing or commenting lines you don't need in |
| 705 |
|
|
<file>/etc/apt/sources.list</file> or by increasing the cache size. |
| 706 |
|
|
The cache size can be increased by setting <tt/APT::Cache-Limit/ in |
| 707 |
|
|
<file>/etc/apt/apt.conf</file>. The following command will set it |
| 708 |
|
|
to a value that should be sufficient for the upgrade: |
| 709 |
|
|
<example> |
| 710 |
fjp |
3223 |
# echo 'APT::Cache-Limit "12500000";' >> /etc/apt/apt.conf |
| 711 |
fjp |
3183 |
</example> |
| 712 |
|
|
This assumes that you do not yet have this variable set in that file.</p> |
| 713 |
|
|
|
| 714 |
joy |
2049 |
<p>Sometimes it's necessary to enable APT::Force-LoopBreak option |
| 715 |
|
|
in APT to be able to temporarily remove an essential package due |
| 716 |
robster |
2614 |
to a Conflicts/Pre-Depends loop. <prgn/aptitude/ will alert you of |
| 717 |
joy |
2049 |
this and abort the upgrade. You can work around that by specifying |
| 718 |
robster |
2614 |
<tt>-o APT::Force-LoopBreak=1</tt> option on <prgn/aptitude/ |
| 719 |
joy |
2049 |
command line.</p> |
| 720 |
jfs |
2871 |
<!-- JFS: Shouldn't this mention also Apt's configuration file? --> |
| 721 |
joy |
2049 |
|
| 722 |
|
|
<p>It is possible that a system's dependency structure can be so |
| 723 |
|
|
corrupt as to require manual intervention. Usually this means |
| 724 |
robster |
2613 |
using <prgn/aptitude/ or |
| 725 |
joy |
2049 |
|
| 726 |
|
|
<example> |
| 727 |
fjp |
3410 |
# dpkg --remove <var>package_name</var> |
| 728 |
jseidel |
2829 |
</example> |
| 729 |
joy |
2049 |
|
| 730 |
jseidel |
2829 |
to eliminate some of the offending packages, or |
| 731 |
fjp |
3896 |
|
| 732 |
joy |
2049 |
<example> |
| 733 |
fjp |
3223 |
# aptitude --fix-broken install |
| 734 |
|
|
# dpkg --configure --pending |
| 735 |
joy |
2049 |
</example></p> |
| 736 |
|
|
|
| 737 |
|
|
<p>In extreme cases you might have to force re-installation with a |
| 738 |
|
|
command like |
| 739 |
|
|
|
| 740 |
|
|
<example> |
| 741 |
fjp |
3410 |
# dpkg --install <var>/path/to/package_name.deb</var> |
| 742 |
joy |
2049 |
</example></p> |
| 743 |
|
|
|
| 744 |
fjp |
3241 |
<p>File conflicts should not occur if you upgrade from a "pure" |
| 745 |
|
|
&oldreleasename; system, but can occur if you have unofficial |
| 746 |
|
|
backports installed. A file conflict will result in an error like: |
| 747 |
fjp |
3223 |
|
| 748 |
fjp |
3241 |
<example> |
| 749 |
|
|
Unpacking replacement <var><package-foo></var> ... |
| 750 |
|
|
dpkg: error processing <var><package-name-for-foo></var> (--unpack): |
| 751 |
|
|
trying to overwrite `<var><some-file-name></var>', |
| 752 |
|
|
which is also in package <var><package-bar></var> |
| 753 |
|
|
</example></p> |
| 754 |
|
|
|
| 755 |
|
|
<p>You can try to solve a file conflict by forcibly removing the |
| 756 |
|
|
package mentioned on the <em/last/ line of the error message: |
| 757 |
|
|
|
| 758 |
|
|
<example> |
| 759 |
fjp |
3410 |
# dpkg -r --force-depends <var>package_name</var> |
| 760 |
fjp |
3241 |
</example></p> |
| 761 |
|
|
|
| 762 |
joy |
2049 |
<p>After fixing things up, you should be able to resume the |
| 763 |
robster |
3044 |
upgrade by repeating the previously described <tt/aptitude/ |
| 764 |
joy |
2049 |
commands.</p> |
| 765 |
|
|
|
| 766 |
robster |
3114 |
<p>During the upgrade, you will be asked questions regarding the |
| 767 |
|
|
configuration or re-configuration of several packages. When you are |
| 768 |
|
|
asked if any file in the <file>/etc/init.d</file> or |
| 769 |
|
|
<file>/etc/terminfo</file> directories, or the |
| 770 |
|
|
<file>/etc/manpath.config</file> file should be replaced by the |
| 771 |
|
|
package maintainer's version, it's usually necessary to answer `yes' |
| 772 |
|
|
to ensure system consistency. You can always revert to the old |
| 773 |
|
|
versions, since they will be saved with a <tt/.dpkg-old/ |
| 774 |
|
|
extension.</p> |
| 775 |
joy |
2049 |
|
| 776 |
|
|
<p>If you're not sure what to do, write down the name of the |
| 777 |
|
|
package or file, and sort things out at a later time. You can |
| 778 |
|
|
search in the typescript file to review the information that |
| 779 |
fjp |
3223 |
was on the screen during the upgrade.</p> |
| 780 |
joy |
2049 |
|
| 781 |
fjp |
3223 |
</sect1> |
| 782 |
|
|
</sect> |
| 783 |
joy |
2049 |
|
| 784 |
fjp |
3223 |
<sect id="nownownow"><heading>Things to do before rebooting</heading> |
| 785 |
|
|
|
| 786 |
robster |
2613 |
<p>When <tt>aptitude dist-upgrade</tt> has finished, the |
| 787 |
joy |
2049 |
"formal" upgrade is complete, but there are some other things |
| 788 |
|
|
that should be taken care of <em/before/ the next reboot.</p> |
| 789 |
robster |
3894 |
|
| 790 |
|
|
<!-- TODO: Needs update; we probably need a section about upgrading to XOrg --> |
| 791 |
fjp |
3183 |
<p>Read |
| 792 |
|
|
<file>/usr/share/doc/xfree86-common/README.Debian-upgrade.gz</file> for |
| 793 |
robster |
2613 |
more info on the upgrade of the X window system packages. This is |
| 794 |
|
|
relevant for users of all previous Debian releases. In short, you |
| 795 |
|
|
need to read it.</p> |
| 796 |
joy |
2049 |
|
| 797 |
fjp |
3223 |
<sect1 id="newkernel"><heading>Upgrading your kernel</heading> |
| 798 |
fjp |
3896 |
|
| 799 |
robster |
2613 |
<p>Note that the Linux kernel was <em/not/ upgraded by these |
| 800 |
jseidel |
2822 |
procedures. You may wish to do so yourself, either by installing one |
| 801 |
robster |
3894 |
of the <package/linux-image-*/ packages or by compiling a customized |
| 802 |
robster |
2613 |
kernel from sources.</p> |
| 803 |
fjp |
3143 |
<!-- JFS: This is not strictly true, if the user was using a non-versioned |
| 804 |
robster |
3894 |
kernel (kernel-image-2.6-686) he _will_ upgrade the kernel if using |
| 805 |
fjp |
3143 |
aptitude (post-sarge) --> |
| 806 |
|
|
|
| 807 |
robster |
3894 |
<!-- TODO: Needs to be updated |
| 808 |
|
|
Mention 2.4 no longer supported; mention rename to linux-* |
| 809 |
|
|
Upgrade from 2.6.8 may cause problems --> |
| 810 |
|
|
<![ %defaulted-2.4 [ |
| 811 |
joy |
2049 |
|
| 812 |
fjp |
3396 |
<p>If you are currently using a kernel from the 2.4 series, |
| 813 |
fjp |
3410 |
the older stable Linux kernel series, you may wish to upgrade to a 2.6 |
| 814 |
robster |
2613 |
series kernel for better hardware support or improved performance.</p> |
| 815 |
fjp |
3183 |
|
| 816 |
jseidel |
3439 |
<p>However, you are strongly advised <strong/not/ to upgrade to a 2.6 |
| 817 |
fjp |
3183 |
kernel as part of the upgrade from &oldreleasename; to &releasename;. |
| 818 |
|
|
Some issues associated with an upgrade to 2.6 are documented in |
| 819 |
|
|
<ref id="upgrade-to-2.6">.</p> |
| 820 |
joy |
2049 |
]]> |
| 821 |
fjp |
3896 |
|
| 822 |
robster |
2613 |
<p>To upgrade your kernel you must first choose the kernel most |
| 823 |
jseidel |
2724 |
appropriate for your subarchitecture. A list of kernels available for |
| 824 |
robster |
2613 |
you to install can be found with: |
| 825 |
joy |
2049 |
|
| 826 |
|
|
<example> |
| 827 |
robster |
3894 |
# apt-cache search ^linux-image |
| 828 |
joy |
2049 |
</example></p> |
| 829 |
fjp |
3896 |
|
| 830 |
robster |
2613 |
<p>You should then use <tt/aptitude install/ to install it. Once |
| 831 |
|
|
this new kernel is installed you should reboot at the next available |
| 832 |
jseidel |
2724 |
opportunity to get the benefit.</p> |
| 833 |
robster |
2613 |
|
| 834 |
|
|
<p>For the more adventurous there is an easy way to compile your |
| 835 |
joy |
2049 |
own custom kernel on &debian;. Install the |
| 836 |
|
|
<package>kernel-package</package> tool and read the documentation |
| 837 |
|
|
in <file>/usr/share/doc/kernel-package</file>.</p> |
| 838 |
fjp |
3896 |
|
| 839 |
fjp |
3400 |
</sect1> |
| 840 |
joy |
2049 |
|
| 841 |
robster |
3894 |
<!-- TODO: Replace with #389099 --> |
| 842 |
fjp |
3400 |
<sect1 id="mdadm"><heading>Upgrading from raidtools2 to mdadm</heading> |
| 843 |
jfs |
3200 |
|
| 844 |
fjp |
3400 |
<p><package/raidtools2/ is no longer maintained by its upstream |
| 845 |
|
|
developers and has been replaced by the <package/mdadm/ package. |
| 846 |
|
|
<prgn/mdadm/ is a single program that can perform almost any RAID |
| 847 |
|
|
management task without a configuration file; by default it does |
| 848 |
|
|
not use one.</p> |
| 849 |
|
|
|
| 850 |
|
|
<p>The remainder of this section gives some upgrade hints for users of |
| 851 |
|
|
<package/raidtools2/.</p> |
| 852 |
|
|
|
| 853 |
jseidel |
3915 |
<p>As mentioned above, in many cases <prgn/mdadm/ can work without a |
| 854 |
fjp |
3400 |
configuration file. If you use a kernel that automatically configures |
| 855 |
jseidel |
3915 |
the RAID array, you can skip this paragraph — you merely have to |
| 856 |
fjp |
3400 |
install the package <package/mdadm/ and the RAID will be detected during |
| 857 |
jseidel |
3915 |
the boot process. The standard kernels in Debian support the |
| 858 |
fjp |
3400 |
configuration of RAID arrays on boot. You also need to make sure that |
| 859 |
|
|
the partitions are set to type "Linux raid autodetect" (id <tt/fd/). The |
| 860 |
|
|
following command will list the current type of partitions: |
| 861 |
|
|
|
| 862 |
|
|
<example> |
| 863 |
|
|
# fdisk -l <var>disk_device</var> |
| 864 |
|
|
</example></p> |
| 865 |
|
|
|
| 866 |
|
|
<p>If you have a mixed setup with some RAID arrays that are auto-configured |
| 867 |
|
|
and some that are not, you have to create a configuration file.</p> |
| 868 |
|
|
|
| 869 |
|
|
<p>To migrate from the configuration file <file>/etc/raidtab</file> |
| 870 |
fjp |
3410 |
(<package/raidtools2/) to <file>/etc/mdadm/mdadm.conf</file> |
| 871 |
|
|
(<package/mdadm/), please execute: |
| 872 |
fjp |
3400 |
|
| 873 |
|
|
<example> |
| 874 |
|
|
# echo 'DEVICE /dev/hd*[0-9] /dev/sd*[0-9]' > /etc/mdadm/mdadm.conf |
| 875 |
|
|
# mdadm --examine --scan >> /etc/mdadm/mdadm.conf |
| 876 |
|
|
</example></p> |
| 877 |
|
|
|
| 878 |
|
|
<p>These commands will generate a configuration file with the existing |
| 879 |
|
|
arrays on the system.</p> |
| 880 |
|
|
|
| 881 |
|
|
<p>You should also make sure that the RAID arrays are started automatically |
| 882 |
fjp |
3404 |
on boot. Check the file <file>/etc/default/mdadm</file> to see if the variable |
| 883 |
fjp |
3400 |
AUTOSTART is set to <tt/true/.</p> |
| 884 |
|
|
|
| 885 |
|
|
</sect1> |
| 886 |
|
|
</sect> |
| 887 |
|
|
|
| 888 |
|
|
<sect id="obsolete"><heading>Obsolete packages</heading> |
| 889 |
|
|
|
| 890 |
jfs |
3200 |
<!-- JFS: Providing a full listing might be useful, especially if we can |
| 891 |
|
|
point to the Bug that was opened when the bug was removed. This list should |
| 892 |
|
|
be moved to an appendix, instead of adding it inline as we did in the |
| 893 |
|
|
potato to woody RN --> |
| 894 |
|
|
|
| 895 |
|
|
<p>Introducing several thousand new packages, &releasename; also |
| 896 |
fjp |
3209 |
retires and omits more than two thousand old packages that were in |
| 897 |
|
|
&oldreleasename;. It provides no upgrade path for these obsolete |
| 898 |
|
|
packages. While nothing prevents you from continuing to use an |
| 899 |
|
|
obsolete package where desired, the Debian project will usually |
| 900 |
jfs |
3200 |
discontinue security support for it a year after &releasename;'s |
| 901 |
|
|
release<footnote>Or for as long as there is not another release in |
| 902 |
|
|
that time frame. Typically only two stable releases are supported |
| 903 |
|
|
at any given time.</footnote>, and will not normally provide other |
| 904 |
|
|
support in the meantime. Replacing them with available |
| 905 |
|
|
alternatives, if any, is recommended.</p> |
| 906 |
|
|
|
| 907 |
fjp |
3209 |
<p>There are many reasons why packages might have been removed from |
| 908 |
fjp |
3280 |
the distribution: they are no longer maintained upstream; there is |
| 909 |
fjp |
3209 |
no longer a Debian Developer interested in maintaining the packages; |
| 910 |
|
|
the functionality they provide has been superseded by different |
| 911 |
|
|
software (or a new version); or they are no longer considered |
| 912 |
|
|
suitable for &releasename; due to bugs in them. In the later case, |
| 913 |
|
|
packages might still be present in the "unstable" distribution.</p> |
| 914 |
jfs |
3200 |
|
| 915 |
fjp |
3209 |
<p>Detecting which packages in an updated system are "obsolete" is |
| 916 |
|
|
easy since the package management front-ends will mark them as |
| 917 |
|
|
such. If you are using <prgn>aptitude</prgn>, you will see a |
| 918 |
|
|
listing of these packages in the "Obsolete and Locally Created |
| 919 |
|
|
Packages" entry. <prgn>dselect</prgn> provides a similar section |
| 920 |
|
|
but the listing it presents might differ. Also, if you have used |
| 921 |
|
|
<prgn>aptitude</prgn> to manually install packages in |
| 922 |
|
|
&oldreleasename; it will have kept track of those packages you |
| 923 |
|
|
manually installed and will be able to mark as obsolete those |
| 924 |
|
|
packages pulled in by dependencies alone which are no longer |
| 925 |
|
|
needed if a package has been removed. Also, <prgn>aptitude</prgn>, |
| 926 |
|
|
unlike <prgn>deborphan</prgn> will not mark as obsolete packages |
| 927 |
|
|
that you manually installed, as opposed to those that were |
| 928 |
fjp |
3429 |
automatically installed through dependencies.</p> |
| 929 |
jfs |
3200 |
|
| 930 |
fjp |
3209 |
<p>There are additional tools you can use to find obsolete packages |
| 931 |
|
|
such as <prgn>deborphan</prgn>, <prgn>debfoster</prgn> or |
| 932 |
|
|
<prgn>cruft</prgn>. <prgn>deborphan</prgn> is highly recommended, |
| 933 |
|
|
although it will (in default mode) only report obsolete libraries: |
| 934 |
|
|
packages in the "libs" or "oldlibs" sections that are not used by |
| 935 |
|
|
any other packages. Do not blindly remove the packages these tools |
| 936 |
|
|
present, especially if you are using aggressive non-default |
| 937 |
|
|
options that are prone to produce false positives. It is highly |
| 938 |
|
|
recommended that you manually review the packages suggested for |
| 939 |
|
|
removal (i.e. their contents, size and description) before you |
| 940 |
|
|
remove them.</p> |
| 941 |
jfs |
3200 |
|
| 942 |
|
|
<!-- JFS: Should we recommend purging old packages? This might be |
| 943 |
|
|
dangerous since the maintainer scripts might try to remove stuff that |
| 944 |
|
|
didn't belong to them... --> |
| 945 |
|
|
|
| 946 |
fjp |
3209 |
<p>The <url id="&url-bts;" name="Debian Bug Tracking System"> |
| 947 |
jfs |
3200 |
often provides additional information on why the package was |
| 948 |
|
|
removed. You should review both the archived bug reports for the |
| 949 |
fjp |
3209 |
package itself and the archived bug reports for the <url |
| 950 |
jseidel |
3348 |
id="&url-bts;cgi-bin/pkgreport.cgi?pkg=ftp.debian.org&archive=yes" |
| 951 |
jfs |
3200 |
name="ftp.debian.org pseudo-package">.</p> |
| 952 |
|
|
|
| 953 |
fjp |
3400 |
<sect1 id="dummy"><heading>Dummy packages</heading> |
| 954 |
jfs |
3200 |
|
| 955 |
|
|
<!-- JFS: If the appendix is kept this section should point there and the packages described here should be moved to that section --> |
| 956 |
|
|
|
| 957 |
fjp |
3209 |
<p>Some packages from &oldreleasename; have been split into several |
| 958 |
|
|
packages in &releasename;, often to improve system maintainability. To |
| 959 |
|
|
ease the upgrade path in such cases, &releasename; often provides |
| 960 |
|
|
"dummy" packages: empty packages that have the same name as the old |
| 961 |
|
|
package in &oldreleasename; with dependencies that cause the new |
| 962 |
|
|
packages to be installed. These "dummy" packages are considered |
| 963 |
jfs |
3200 |
obsolete packages after the upgrade and can be safely removed. |
| 964 |
|
|
|
| 965 |
fjp |
3209 |
<p>Most (but not all) dummy packages' descriptions indicate their |
| 966 |
|
|
purpose. Package descriptions for dummy packages are not uniform, |
| 967 |
|
|
however, so you might also find <prgn>deborphan</prgn> with the |
| 968 |
|
|
<tt>--guess</tt> options useful to detect them in your system. |
| 969 |
|
|
Note that some dummy packages are not intended to be removed after |
| 970 |
|
|
an upgrade but are, instead, used to keep track of the current |
| 971 |
|
|
available version of a program over time.</p> |
| 972 |
jfs |
3200 |
|
| 973 |
fjp |
3400 |
</sect1> |
| 974 |
|
|
</sect> |
| 975 |
joy |
2049 |
</chapt> |
| 976 |
|
|
|
| 977 |
fjp |
3163 |
<!-- FJP: Add more info here on dealing with obsolete packages? |
| 978 |
|
|
Also how to purge packages that were deleted but still have conffiles |
| 979 |
|
|
(use "limit" command in aptitude and search for ~c) --> |
| 980 |
joy |
2049 |
|
| 981 |
fjp |
3171 |
<chapt id="information"> |
| 982 |
|
|
<heading>Issues to be aware of for &releasename;</heading> |
| 983 |
fjp |
3163 |
|
| 984 |
robster |
3044 |
<!-- Controversial, disabled for now, please translate though |
| 985 |
jfs |
3132 |
<sect id="german-quotes"><heading>Problems with German Quotes</heading> |
| 986 |
fjp |
3896 |
|
| 987 |
robster |
3044 |
<p>The locales for German style languages (e.g. de_DE@euro) |
| 988 |
|
|
unfortunately use an aesthetically unpleasing way of representing |
| 989 |
|
|
open quotation marks. We have retained it this way in order to |
| 990 |
|
|
preserve compatibility with other Linux distributions, and we hope |
| 991 |
|
|
that in the future it will be fixed. We suggest that you switch to a |
| 992 |
|
|
UTF-8 locale (e.g. de_DE@euro.UTF-8), which fully supports German with |
| 993 |
|
|
the correct quotation marks, and, using Unicode encoding, has better |
| 994 |
|
|
support for other languages as well.</p> |
| 995 |
|
|
|
| 996 |
|
|
<p>To change the system wide locale choice, use: |
| 997 |
|
|
<example>dpkg-reconfigure locales</example></p> |
| 998 |
jfs |
3132 |
</sect> |
| 999 |
robster |
3044 |
--> |
| 1000 |
jfs |
3132 |
<!-- Will be added if relevant information is written here |
| 1001 |
|
|
<sect id="syntax"><heading>Important program syntax changes</heading> |
| 1002 |
|
|
|
| 1003 |
fjp |
3896 |
<p>Debian attempts to avoid changing upstream packages, therefore |
| 1004 |
robster |
3044 |
any changes in the upstream package will be present in the version in |
| 1005 |
|
|
&debian;. This can mean that program behaviour may change between |
| 1006 |
|
|
releases of &debian;. </p> |
| 1007 |
|
|
|
| 1008 |
|
|
<p><em>No changes yet reported.</em></p> |
| 1009 |
fjp |
3896 |
|
| 1010 |
robster |
3044 |
</sect> |
| 1011 |
|
|
--> |
| 1012 |
jfs |
3200 |
|
| 1013 |
robster |
3894 |
<![ %defaulted-2.4 [ |
| 1014 |
fjp |
3183 |
<sect id="upgrade-to-2.6"> |
| 1015 |
|
|
<heading>Upgrading to a 2.6 kernel</heading> |
| 1016 |
|
|
|
| 1017 |
|
|
<p>The 2.6 kernel series contains major changes from the 2.4 series. |
| 1018 |
|
|
Modules have been renamed and a lot of drivers have been partially |
| 1019 |
|
|
or sometimes almost completely rewritten. Upgrading to a 2.6 kernel |
| 1020 |
fjp |
3199 |
from an earlier version is therefore not a process to be undertaken |
| 1021 |
fjp |
3183 |
lightly. This section aims to make you aware of some of the issues |
| 1022 |
|
|
you may face.</p> |
| 1023 |
|
|
|
| 1024 |
|
|
<p>You are therefore strongly advised not to upgrade to a 2.6 kernel |
| 1025 |
|
|
as part of the upgrade from &oldreleasename; to &releasename;. |
| 1026 |
|
|
Instead, you should first make sure your system works correctly |
| 1027 |
|
|
with either the old kernel or with a 2.4 kernel from &releasename; |
| 1028 |
|
|
and do the upgrade to a 2.6 kernel later as a separate project.</p> |
| 1029 |
|
|
|
| 1030 |
|
|
<p>If you compile your own kernel from source, make sure you install |
| 1031 |
|
|
<package/module-init-tools/ before you reboot with the 2.6 kernel. |
| 1032 |
|
|
This package replaces <package/modutils/ for 2.6 kernels. If you |
| 1033 |
robster |
3894 |
install one of the Debian <package/linux-image/ packages, this |
| 1034 |
fjp |
3183 |
package will be installed automatically because of dependencies.</p> |
| 1035 |
|
|
|
| 1036 |
|
|
<p>If you use <em/LVM/, you should also install <package/lvm2/ |
| 1037 |
|
|
before you reboot as the 2.6 kernel does not directly support LVM1. |
| 1038 |
|
|
To access LVM1 volumes, the compatibility layer of <package/lvm2/ |
| 1039 |
|
|
(the dm-mod module) is used. You can leave <package/lvm10/ installed; |
| 1040 |
|
|
the init scripts will detect which kernel is used and execute the |
| 1041 |
|
|
appropriate version.</p> |
| 1042 |
|
|
|
| 1043 |
fjp |
3199 |
<p>If you have entries in the <file>/etc/modules</file> file (the |
| 1044 |
|
|
list of modules to be loaded during system boot), be aware that some |
| 1045 |
|
|
module names may have changed. If this happens you will have to update |
| 1046 |
|
|
this file with the new module names.</p> |
| 1047 |
|
|
|
| 1048 |
fjp |
3398 |
<![ %i386-amd64 [ |
| 1049 |
fjp |
3183 |
<p>For some SATA disk controllers, the device assigned to a drive and |
| 1050 |
|
|
its partitions may change from <file>/dev/hdX</file> to |
| 1051 |
|
|
<file>/dev/sdX</file>. If this happens, you will have to modify your |
| 1052 |
fjp |
3199 |
<file>/etc/fstab</file> and bootloader configuration accordingly. |
| 1053 |
|
|
Unless these changes are made correctly, your system may not boot |
| 1054 |
|
|
correctly.</p> |
| 1055 |
fjp |
3183 |
]]> |
| 1056 |
|
|
|
| 1057 |
fjp |
3199 |
<p>Once you have installed your 2.6 kernel, but before you reboot, |
| 1058 |
|
|
make sure you have a recovery method. First, make sure that the |
| 1059 |
|
|
bootloader configuration has entries for both the new kernel and |
| 1060 |
|
|
the old, working 2.4 kernel. You should also ensure you have a "rescue" |
| 1061 |
|
|
floppy or cdrom to hand, in case misconfiguration of the bootloader |
| 1062 |
|
|
prevents you booting the old kernel.</p> |
| 1063 |
|
|
|
| 1064 |
robster |
3044 |
<![ %not-s390 [ |
| 1065 |
fjp |
3398 |
<![ %not-amd64 [ |
| 1066 |
fjp |
3183 |
<sect1 id="2.6-keyboard"> |
| 1067 |
|
|
<heading>Keyboard configuration</heading> |
| 1068 |
robster |
3044 |
|
| 1069 |
fjp |
3183 |
<p>The most invasive change in the 2.6 kernels is a fundamental |
| 1070 |
|
|
change of the input layer. This change makes all keyboards look |
| 1071 |
|
|
like "normal" PC keyboards. This means that if you currently have |
| 1072 |
|
|
a different type of keyboard selected (e.g. a USB-MAC or Sun |
| 1073 |
robster |
3044 |
keyboard), you will very likely end up with a non-working keyboard |
| 1074 |
|
|
after rebooting with the new 2.6 kernel.</p> |
| 1075 |
fjp |
3896 |
|
| 1076 |
robster |
3044 |
<p>If you can SSH into the box from another system, you can resolve |
| 1077 |
fjp |
3183 |
this issue by running <tt>dpkg-reconfigure console-data</tt>, choosing |
| 1078 |
robster |
3044 |
the option "Select keymap from full list" and selecting a "pc" |
| 1079 |
|
|
keyboard.</p> |
| 1080 |
fjp |
3896 |
|
| 1081 |
fjp |
3183 |
<p>If your console keyboard is affected, you will probably also need to |
| 1082 |
fjp |
3235 |
reconfigure your keyboard for the X Window System. You can do this |
| 1083 |
fjp |
3183 |
either by running <tt>dpkg-reconfigure xserver-xfree86</tt> or by |
| 1084 |
|
|
editing <file>/etc/X11/XF86Config-4</file> directly. Don't forget |
| 1085 |
|
|
to read the documentation referred to in <ref id="nownownow">.</p> |
| 1086 |
robster |
3044 |
|
| 1087 |
|
|
<![ %i386 [ |
| 1088 |
|
|
<p>This issue is unlikely to affect the &arch-title; architecture |
| 1089 |
|
|
as all PS/2 and most USB keyboards will already be configured as |
| 1090 |
|
|
a "normal" PC keyboard.</p> |
| 1091 |
|
|
]]> |
| 1092 |
|
|
<![ %not-i386 [ |
| 1093 |
|
|
<p>Note that if you are using a USB keyboard, this may be configured |
| 1094 |
|
|
as either a "normal" PC keyboard or as a USB-MAC keyboard. In the |
| 1095 |
|
|
first case you will not be affected by this issue.</p> |
| 1096 |
|
|
]]> |
| 1097 |
fjp |
3183 |
</sect1> |
| 1098 |
fjp |
3398 |
]]> <!-- %not-amd64 --> |
| 1099 |
fjp |
3183 |
|
| 1100 |
|
|
<sect1 id="2.6-mouse"> |
| 1101 |
|
|
<heading>Mouse configuration</heading> |
| 1102 |
|
|
|
| 1103 |
|
|
<p>Again because of the changes in the input layer, you may have to |
| 1104 |
|
|
reconfigure the X Window System and <package/gpm/ if your mouse is |
| 1105 |
|
|
not working after upgrading to a 2.6 kernel. The most likely cause is |
| 1106 |
fjp |
3199 |
that the device which gets the data from the mouse has changed. |
| 1107 |
|
|
You may also need to load different modules.</p> |
| 1108 |
fjp |
3183 |
|
| 1109 |
|
|
<![ %sparc [ |
| 1110 |
|
|
<p>If you currently have X configured for <file>/dev/sunmouse</file>, |
| 1111 |
|
|
you probably need to change this to <file>/dev/psaux</file>.</p> |
| 1112 |
robster |
3044 |
]]> |
| 1113 |
|
|
|
| 1114 |
fjp |
3183 |
</sect1> |
| 1115 |
fjp |
3199 |
|
| 1116 |
|
|
<sect1 id="2.6-sound"> |
| 1117 |
|
|
<heading>Sound configuration</heading> |
| 1118 |
|
|
|
| 1119 |
fjp |
3396 |
<p>For the 2.6 kernel series the ALSA sound drivers are recommended |
| 1120 |
|
|
over the older OSS sound drivers. ALSA sound drivers are provided |
| 1121 |
|
|
as modules by default. In order for sound to work, the ALSA modules |
| 1122 |
robster |
3894 |
appropriate for your sound hardware need to be loaded. In general |
| 1123 |
fjp |
3404 |
this will happen automatically if you have, in addition to the |
| 1124 |
|
|
<package>alsa-base</package> package, either the |
| 1125 |
|
|
<package>hotplug</package> package or the <package>discover</package> |
| 1126 |
|
|
package installed. The <package>alsa-base</package> package also |
| 1127 |
|
|
"blacklists" OSS modules to prevent <prgn>hotplug</prgn> and |
| 1128 |
|
|
<prgn>discover</prgn> from loading them. If you have OSS modules |
| 1129 |
|
|
listed in <file>/etc/modules</file>, you should remove them.</p> |
| 1130 |
fjp |
3199 |
|
| 1131 |
|
|
</sect1> |
| 1132 |
fjp |
3183 |
]]> <!-- %not-s390 --> |
| 1133 |
|
|
|
| 1134 |
robster |
3894 |
<!-- FJP: May already be covered by kernel team text |
| 1135 |
|
|
Etch Debian kernels depend on udev via initramfs-tools --> |
| 1136 |
fjp |
3183 |
<sect1 id="2.6-udev"> |
| 1137 |
|
|
<heading>Switching to 2.6 may activate udev</heading> |
| 1138 |
|
|
|
| 1139 |
|
|
<p><package/udev/ is a userspace implementation of devfs. It is mounted |
| 1140 |
fjp |
3298 |
over the <file>/dev</file> directory and will populate that directory |
| 1141 |
|
|
with devices supported by the kernel. It will also dynamically add and |
| 1142 |
|
|
remove devices as kernel modules are loaded or unloaded respectively, |
| 1143 |
|
|
working together with <package/hotplug/ to detect new devices. |
| 1144 |
|
|
<package/udev/ works only with 2.6 kernels.</p> |
| 1145 |
fjp |
3183 |
|
| 1146 |
robster |
3894 |
<p>As <package/udev/ is automatically installed as a dependency of the new |
| 1147 |
|
|
default initrd generator used with the 2.6 kernels |
| 1148 |
|
|
(<package/initramfs-tools/), upgrading to a 2.6 kernel will normally result |
| 1149 |
|
|
in <package/udev/ being activated.</p> |
| 1150 |
fjp |
3183 |
|
| 1151 |
|
|
<p>Although <package/udev/ has been tested extensively, you may experience |
| 1152 |
|
|
minor problems with some devices that will need to be fixed. The most |
| 1153 |
|
|
common problems are changed permission and/or ownership of a device. |
| 1154 |
|
|
In some cases a device may not be created by default (e.g. |
| 1155 |
|
|
<file>/dev/video</file> and <file>/dev/radio</file>).</p> |
| 1156 |
|
|
|
| 1157 |
|
|
<p><package/udev/ provides configuration mechanisms to deal with these |
| 1158 |
|
|
issues. See <manref name="udev" section="8"> and <file>/etc/udev</file> |
| 1159 |
|
|
for further information.</p> |
| 1160 |
|
|
|
| 1161 |
|
|
</sect1> |
| 1162 |
|
|
</sect> |
| 1163 |
fjp |
3897 |
]]> <!-- %defaulted-2.4 --> |
| 1164 |
fjp |
3237 |
</chapt> |
| 1165 |
fjp |
3163 |
|
| 1166 |
joy |
2049 |
<chapt id="moreinfo"> |
| 1167 |
|
|
|
| 1168 |
|
|
<heading>More information on &debian;</heading> |
| 1169 |
|
|
|
| 1170 |
robster |
3044 |
<sect id="morereading"> <heading>Further reading</heading> |
| 1171 |
jseidel |
3915 |
<p>Beyond these release notes and the installation guide, further |
| 1172 |
joy |
2049 |
documentation on &debian; is available from the Debian |
| 1173 |
|
|
Documentation Project (DDP), whose goal is to create high quality |
| 1174 |
|
|
documentation for Debian users and developers. Documentation |
| 1175 |
|
|
including the Debian Guide, Debian New Maintainers Guide, and Debian |
| 1176 |
jseidel |
3915 |
FAQ are available, and many more. For full details of the existing resources |
| 1177 |
|
|
see the <url id="&url-ddp;" name="DDP website">.</p> |
| 1178 |
fjp |
3896 |
|
| 1179 |
joy |
2049 |
<p>Documentation for individual packages is installed into |
| 1180 |
|
|
<file>/usr/share/doc/<var>package</var></file>, this may include |
| 1181 |
|
|
copyright information, Debian specific details and any upstream |
| 1182 |
|
|
documentation.</p> |
| 1183 |
fjp |
3896 |
|
| 1184 |
joy |
2049 |
</sect> |
| 1185 |
fjp |
3896 |
|
| 1186 |
joy |
2049 |
<sect id="gethelp"> |
| 1187 |
robster |
3044 |
<heading>Getting help</heading> |
| 1188 |
fjp |
3896 |
|
| 1189 |
jseidel |
2724 |
<p>There are many sources of help, advice and support for Debian |
| 1190 |
joy |
2049 |
users, but these should only be considered if research into |
| 1191 |
|
|
documentation of the issue has exhausted all sources. This section |
| 1192 |
|
|
provides a short introduction into these which may be helpful for |
| 1193 |
|
|
new Debian users.</p> |
| 1194 |
fjp |
3896 |
|
| 1195 |
joy |
2049 |
<sect1 id="lists"> |
| 1196 |
|
|
<heading>Mailing lists</heading> |
| 1197 |
|
|
<p>The mailing lists of most interest to Debian users are the |
| 1198 |
jfs |
2628 |
debian-user list (English) and other debian-user-<var/language/ lists |
| 1199 |
joy |
2049 |
(for other languages). For information on these lists and details of |
| 1200 |
|
|
how to subscribe see <url id="&url-debian-list-archives;">. Please |
| 1201 |
|
|
check the archives for answers to your question prior to posting and |
| 1202 |
|
|
also adhere to standard list etiquette.</p> |
| 1203 |
|
|
</sect1> |
| 1204 |
robster |
3894 |
<!-- TODO: Changed to OFTC --> |
| 1205 |
joy |
2049 |
<sect1 id="irc"> |
| 1206 |
|
|
<heading>Internet Relay Chat</heading> |
| 1207 |
fjp |
3896 |
|
| 1208 |
joy |
2049 |
<p>Debian has an IRC channel dedicated to the support and aid of |
| 1209 |
robster |
3894 |
Debian users located on the OFTC IRC network which exists to |
| 1210 |
fjp |
3150 |
provide interactive services to peer-directed project communities. |
| 1211 |
jseidel |
3915 |
To access the channel, point your favourite IRC client at |
| 1212 |
fjp |
3150 |
&debian-irc-server; and join #debian.</p> |
| 1213 |
fjp |
3896 |
|
| 1214 |
joy |
2049 |
<p>Please follow the channel guidelines, respecting other users |
| 1215 |
robster |
3894 |
fully. For more information on OFTC please visit the <url |
| 1216 |
fjp |
3150 |
id="&url-irc-host;" name="website">.</p> |
| 1217 |
joy |
2049 |
|
| 1218 |
|
|
</sect1> |
| 1219 |
|
|
</sect> |
| 1220 |
|
|
|
| 1221 |
|
|
<sect id="bugs"> |
| 1222 |
robster |
3044 |
<heading>Reporting bugs</heading> |
| 1223 |
fjp |
3896 |
|
| 1224 |
joy |
2049 |
<p>We strive to make Debian GNU/Linux a high quality operating |
| 1225 |
|
|
system, however that does not mean that the packages we provide are |
| 1226 |
fjp |
3163 |
totally free of bugs. |
| 1227 |
|
|
Consistent with Debian's "open development" philosophy and as a |
| 1228 |
jfs |
2628 |
service to our users, we provide all the information on reported bugs |
| 1229 |
|
|
at our own Bug Tracking System (BTS). The BTS is browseable at |
| 1230 |
fjp |
3163 |
<url id="&url-bts;" name="bugs.debian.org">.</p> |
| 1231 |
joy |
2049 |
|
| 1232 |
|
|
<p>If you find a bug in the distribution or in packaged software |
| 1233 |
|
|
that is part of it, please report it so that it can be properly |
| 1234 |
|
|
fixed for next releases. Reporting bugs requires a valid email |
| 1235 |
|
|
address, we ask for this so that we can trace bugs and developers |
| 1236 |
|
|
can get in contact with submitters should they need more |
| 1237 |
|
|
information.</p> |
| 1238 |
|
|
|
| 1239 |
jfs |
2628 |
<p>You can submit a bug report using the program |
| 1240 |
|
|
<package>reportbug</package> or manually using email. |
| 1241 |
joy |
2049 |
You can read more about the Bug Tracking System and how to use it by |
| 1242 |
|
|
reading the reference cards (available at |
| 1243 |
fjp |
3163 |
<file>/usr/share/doc/debian</file> if you have |
| 1244 |
|
|
<package>doc-debian</package> installed) or online at the |
| 1245 |
|
|
<url id="&url-bts;" name="Bug Tracking System">.</p> |
| 1246 |
jfs |
2628 |
|
| 1247 |
joy |
2049 |
</sect> |
| 1248 |
|
|
|
| 1249 |
|
|
<sect id="contributing"> |
| 1250 |
|
|
<heading>Contributing to Debian</heading> |
| 1251 |
fjp |
3896 |
|
| 1252 |
joy |
2049 |
<p>You do not need to be an expert to contribute to Debian. By |
| 1253 |
|
|
assisting users with problems on the various user support <url |
| 1254 |
|
|
id="&url-debian-list-archives;" name="lists"> you are contributing to |
| 1255 |
|
|
the community. Identifying (and importantly solving) problems |
| 1256 |
|
|
related to the development of the distribution by participating on |
| 1257 |
|
|
the development <url id="&url-debian-list-archives;" name="lists"> is |
| 1258 |
|
|
also extremely helpful. To maintain Debian's high quality |
| 1259 |
|
|
distribution <url id="&url-bts;" name="submit bugs"> |
| 1260 |
|
|
and help developers track them down and fix them. If you have a way |
| 1261 |
|
|
with words then you may want to contribute more actively by helping |
| 1262 |
|
|
to write <url id="&url-ddp;" |
| 1263 |
|
|
name="documentation"> or <url |
| 1264 |
|
|
id="&url-debian-i18n;" name="translate"> existing |
| 1265 |
|
|
documentation into your own language.</p> |
| 1266 |
|
|
|
| 1267 |
|
|
<p>If you can dedicate more time, you could manage a piece of the |
| 1268 |
|
|
Free Software collection within Debian. Especially helpful is if |
| 1269 |
|
|
people adopt or maintain items that people have requested for |
| 1270 |
|
|
inclusion within Debian, the <url id="&url-wnpp;" name="Work Needing |
| 1271 |
|
|
and Prospective Packages database"> details this information. If you |
| 1272 |
|
|
have an interest in specific groups then you may find enjoyment in |
| 1273 |
|
|
contributing to some of Debian's subprojects which include ports to |
| 1274 |
|
|
particular architectures, <url id="&url-debian-jr;" name="Debian |
| 1275 |
|
|
Jr."> and <url id="&url-debian-med;" name="Debian Med">.</p> |
| 1276 |
|
|
|
| 1277 |
|
|
<p>In any case, if you are working in the free software community in |
| 1278 |
|
|
any way, as a user, programmer, writer or translator you are already |
| 1279 |
|
|
helping the free software effort. Contributing is rewarding and fun, |
| 1280 |
|
|
and as well as allowing you to meet new people it gives you that |
| 1281 |
|
|
warm fuzzy feeling inside.</p></sect> |
| 1282 |
|
|
|
| 1283 |
|
|
</chapt> |
| 1284 |
fjp |
3153 |
|
| 1285 |
robster |
3894 |
<!-- This may or may not still be useful --> |
| 1286 |
fjp |
3223 |
<appendix id="old-stuff"> |
| 1287 |
|
|
<heading>Managing your &oldreleasename; system</heading> |
| 1288 |
|
|
|
| 1289 |
|
|
<p>This appendix contains information on how to make sure you can install |
| 1290 |
|
|
or upgrade &oldreleasename; packages before you upgrade to &releasename;. |
| 1291 |
|
|
This should only be necessary in specific situations.</p> |
| 1292 |
|
|
|
| 1293 |
|
|
<sect id="old-upgrade"> |
| 1294 |
|
|
<heading>Upgrading your &oldreleasename; system</heading> |
| 1295 |
|
|
|
| 1296 |
|
|
<p>Basically this is no different than any other upgrade of |
| 1297 |
|
|
&oldreleasename; you've been doing. The only difference is that you |
| 1298 |
|
|
first need to make sure your package list still contains |
| 1299 |
|
|
&oldreleasename; packages as explained in <ref id="old-sources">.</p> |
| 1300 |
|
|
|
| 1301 |
|
|
</sect> |
| 1302 |
|
|
|
| 1303 |
|
|
<sect id="old-sources"> |
| 1304 |
|
|
<heading>Checking your sources list</heading> |
| 1305 |
|
|
|
| 1306 |
|
|
<p>If any of the lines in your <file>/etc/apt/sources.list</file> |
| 1307 |
|
|
refer to 'stable', you are effectively already "using" &releasename;. |
| 1308 |
|
|
If you have already run <tt>apt-get update</tt>, you can still get |
| 1309 |
|
|
back without problems following the procedure below.</p> |
| 1310 |
fjp |
3896 |
|
| 1311 |
fjp |
3223 |
<p>If you have also already installed packages from &releasename;, |
| 1312 |
|
|
there probably is not much point in installing packages from |
| 1313 |
|
|
&oldreleasename; anymore. In that case you will have to decide for |
| 1314 |
|
|
yourself whether you want to continue or not. It is possible to |
| 1315 |
|
|
downgrade packages, but that is not covered here.</p> |
| 1316 |
fjp |
3896 |
|
| 1317 |
fjp |
3223 |
<p>Open the file <file>/etc/apt/sources.list</file> with your favorite |
| 1318 |
|
|
editor (as root) and check all lines beginning with <tt>deb http:</tt> |
| 1319 |
|
|
or <tt>deb ftp:</tt> for a reference to "<tt/stable/". If you find any, |
| 1320 |
|
|
change <tt/stable/ to <tt/&oldreleasename;/.</p> |
| 1321 |
fjp |
3896 |
|
| 1322 |
fjp |
3223 |
<p>If you have any lines starting with <tt>deb file:</tt>, you will |
| 1323 |
|
|
have to check for yourself if the location they refer to contains |
| 1324 |
|
|
a &oldreleasename; or a &releasename; archive.</p> |
| 1325 |
|
|
|
| 1326 |
|
|
<p><strong/Important!/ Do not change any lines that begin with |
| 1327 |
|
|
<tt>deb cdrom:</tt>. Doing so would invalidate the line and you would |
| 1328 |
fjp |
3280 |
have to run <prgn/apt-cdrom/ again. Do not be alarmed if a 'cdrom' source |
| 1329 |
fjp |
3223 |
line refers to "<tt/unstable/". Although confusing, this is normal.</p> |
| 1330 |
fjp |
3896 |
|
| 1331 |
fjp |
3280 |
<p>If you've made any changes, save the file and execute |
| 1332 |
fjp |
3223 |
|
| 1333 |
|
|
<example> |
| 1334 |
|
|
# apt-get update |
| 1335 |
|
|
</example> |
| 1336 |
|
|
|
| 1337 |
|
|
to refresh the package list.</p> |
| 1338 |
|
|
|
| 1339 |
|
|
</sect> |
| 1340 |
|
|
|
| 1341 |
|
|
</appendix> |
| 1342 |
|
|
|
| 1343 |
joy |
2049 |
</book> |
| 1344 |
|
|
</debiandoc> |
| 1345 |
|
|
|
| 1346 |
|
|
<!-- Keep this comment at the end of the file |
| 1347 |
|
|
Local Variables: |
| 1348 |
|
|
mode: sgml |
| 1349 |
|
|
sgml-omittag:t |
| 1350 |
|
|
sgml-shorttag:t |
| 1351 |
|
|
sgml-namecase-general:t |
| 1352 |
|
|
sgml-general-insert-case:lower |
| 1353 |
|
|
sgml-minimize-attributes:nil |
| 1354 |
|
|
sgml-always-quote-attributes:t |
| 1355 |
|
|
sgml-indent-step:2 |
| 1356 |
|
|
sgml-indent-data:nil |
| 1357 |
|
|
sgml-declaration:nil |
| 1358 |
|
|
sgml-parent-document:nil |
| 1359 |
|
|
sgml-exposed-tags:nil |
| 1360 |
|
|
sgml-local-catalogs:nil |
| 1361 |
|
|
sgml-local-ecat-files:nil |
| 1362 |
|
|
fill-column: 75 |
| 1363 |
|
|
End: |
| 1364 |
|
|
--> |