| 1 |
<!DOCTYPE debiandoc PUBLIC "-//DebianDoc//DTD DebianDoc//EN" [
|
| 2 |
<!entity % dynamicdata SYSTEM "../dynamic.ent" > %dynamicdata;
|
| 3 |
<!entity % shareddata SYSTEM "../release-notes.ent" > %shareddata;
|
| 4 |
<!entity docid "$Id: release-notes.en.sgml,v 1.185 2007-03-27 23:28:16 jfs Exp $">
|
| 5 |
]>
|
| 6 |
|
| 7 |
<!-- Be careful with automatic reformatting. Please note that the indentation
|
| 8 |
in examples is used in the output (plus additional space) as well. -->
|
| 9 |
|
| 10 |
<debiandoc>
|
| 11 |
<book>
|
| 12 |
<titlepag>
|
| 13 |
<title>Release Notes for &debian; &release; ("&releasename;"), &arch-title;</title>
|
| 14 |
<author>
|
| 15 |
<name>Josip Rodin, Bob Hilliard, Adam Di Carlo, Anne Bezemer, Rob
|
| 16 |
Bradford (current), Frans Pop (current), Andreas Barth (current)</name><email></email>
|
| 17 |
</author>
|
| 18 |
<author>
|
| 19 |
<name></name><email>debian-doc@lists.debian.org</email>
|
| 20 |
</author>
|
| 21 |
<version>&docid;</version>
|
| 22 |
</titlepag>
|
| 23 |
<toc detail="sect1">
|
| 24 |
<chapt id="about"><heading>Introduction</heading>
|
| 25 |
|
| 26 |
<p>The primary goals of these Release Notes are to inform users
|
| 27 |
of major changes in this release of the &debian; distribution, to
|
| 28 |
provide information on how to upgrade safely from the previous
|
| 29 |
release to the current release and finally to inform users of known potential
|
| 30 |
issues users could encounter when upgrading to or using the
|
| 31 |
&releasename; release.</p>
|
| 32 |
|
| 33 |
<p>Note that it is impossible to list every known issue and that
|
| 34 |
therefore a selection has been made based on a combination of the
|
| 35 |
expected prevalence and impact of issues.</p>
|
| 36 |
|
| 37 |
<p>The most recent version of this document is always available at <url
|
| 38 |
id="&url-release-notes;">. If the version you are reading is more than a
|
| 39 |
month old<footnote>On front page's of the PDF version and in the footer
|
| 40 |
of the online, HTML, version</footnote>, you might wish to obtain the
|
| 41 |
latest version.</p>
|
| 42 |
|
| 43 |
<p>Please note that we only support
|
| 44 |
and document upgrading from the previous release of Debian (in this case,
|
| 45 |
the upgrade from &oldreleasename;). If you need to upgrade from older
|
| 46 |
releases, we suggest you read previous editions of the release notes and
|
| 47 |
upgrade to &oldreleasename; first.</p>
|
| 48 |
|
| 49 |
<sect id="bug_reports"><heading>Reporting bugs on this document</heading>
|
| 50 |
|
| 51 |
<p>We have attempted to test all the different upgrade steps
|
| 52 |
described in this document and we have also tried to anticipate all
|
| 53 |
the possible issues our users might encounter.</p>
|
| 54 |
|
| 55 |
<p>Nevertheless, If you think you have found any bug in this
|
| 56 |
documentation (incorrect information or information that is missing),
|
| 57 |
please file a bug in the <url id="&url-bts;" name="bug tracking
|
| 58 |
system"> against the <package>release-notes</package> package.</p>
|
| 59 |
|
| 60 |
</sect>
|
| 61 |
|
| 62 |
<sect id="upgrade_reports"><heading>Contributing upgrade reports</heading>
|
| 63 |
<p>We welcome any information from users related to upgrades from
|
| 64 |
&oldreleasename; to &releasename;. If you are willing to share information
|
| 65 |
please file a bug in the <url id="&url-bts;" name="bug tracking system">
|
| 66 |
against the <package>upgrade-reports</package> package with your results.</p>
|
| 67 |
|
| 68 |
<p>Please provide the following information when submitting your upgrade report:
|
| 69 |
|
| 70 |
<list>
|
| 71 |
|
| 72 |
<!-- TODO: any more things to add here? -->
|
| 73 |
<item><p>Session logs using <package>script</package>, as described in
|
| 74 |
<ref id="record_session">.</p></item>
|
| 75 |
|
| 76 |
<item><p>The status of your package database before and after the
|
| 77 |
upgrade, using the backup procedure described at <ref
|
| 78 |
id="backup">.
|
| 79 |
|
| 80 |
<item><p>Your aptitude logs, available at <file>/var/log/aptitude</file>.</p></item>
|
| 81 |
|
| 82 |
</list></p>
|
| 83 |
|
| 84 |
<p>Note: you should take some time to review and remove any sensitive and/or confidential
|
| 85 |
information from the logs before including them in a bug report as the information
|
| 86 |
will be published in a public database.
|
| 87 |
|
| 88 |
</sect>
|
| 89 |
|
| 90 |
<sect id="sources"><heading>Sources for this document</heading>
|
| 91 |
<p>This document uses <package>debiandocsgml</package>. Its sources
|
| 92 |
are available in the <em>Debian Documentation Project</em>'s CVS.
|
| 93 |
You can use the <url id="&url-cvs-release-notes;" name="web
|
| 94 |
interface"> to access its files individually through the web and see
|
| 95 |
their changes. For more information on how to access the CVS please
|
| 96 |
consult the <url id="&url-ddp-cvs-info;" name="Debian Documentation Project CVS pages">.
|
| 97 |
</p>
|
| 98 |
|
| 99 |
</sect>
|
| 100 |
<!--
|
| 101 |
<sect id="changes"><heading>Changes in the Release Notes</heading>
|
| 102 |
|
| 103 |
<p>This section lists changes in the Release Notes since the original
|
| 104 |
version that was published with &debian; &release;r0. Minor textual
|
| 105 |
corrections are omitted.</p>
|
| 106 |
|
| 107 |
<p><list>
|
| 108 |
|
| 109 |
<item><p>Description of change.</p></item>
|
| 110 |
|
| 111 |
</list></p>
|
| 112 |
|
| 113 |
</sect>
|
| 114 |
-->
|
| 115 |
|
| 116 |
</chapt>
|
| 117 |
|
| 118 |
<chapt id="whats-new"><heading>What's new in &debian; &release;</heading>
|
| 119 |
|
| 120 |
<p>This release adds official support for the AMD64 architecture which
|
| 121 |
supports 64-bit processors from both Intel (EM64T) and AMD (AMD64).
|
| 122 |
During the previous release, &debian; 3.1 ('sarge'), an unofficial
|
| 123 |
version of this port was available. Upgrading from this unofficial
|
| 124 |
version should be possible using these Release Notes, but is not
|
| 125 |
supported.</p>
|
| 126 |
|
| 127 |
<p>Official support for the Motorola 680x0 ('m68k') architecture has been
|
| 128 |
dropped because it did not meet the criteria set by the Debian Release
|
| 129 |
Managers. The most important underlying reasons are performance and limited
|
| 130 |
upstream support for essential toolchain components. However, the m68k port
|
| 131 |
is expected to remain active and available for installation even if not a
|
| 132 |
part of this official stable release.</p>
|
| 133 |
|
| 134 |
<p>The following are the officially supported architectures for
|
| 135 |
&debian; &releasename;:</p>
|
| 136 |
|
| 137 |
<p>
|
| 138 |
<list>
|
| 139 |
<item><p>Intel x86 ('i386')</p></item>
|
| 140 |
<item><p>Alpha ('alpha')</p></item>
|
| 141 |
<item><p>SPARC ('sparc')</p></item>
|
| 142 |
<item><p>PowerPC ('powerpc')</p></item>
|
| 143 |
<item><p>ARM ('arm')</p></item>
|
| 144 |
<item><p>MIPS ('mips' (Big endian) and 'mipsel' (Little endian))</p></item>
|
| 145 |
<item><p>Intel Itanium ('ia64')</p></item>
|
| 146 |
<item><p>HP PA-RISC ('hppa')</p></item>
|
| 147 |
<item><p>S/390 ('s390')</p></item>
|
| 148 |
<item><p>AMD64 ('amd64')</p></item>
|
| 149 |
</list>
|
| 150 |
</p>
|
| 151 |
|
| 152 |
<p>You can read more about port status, and port-specific
|
| 153 |
information for your architecture at the <url id="&url-ports;"
|
| 154 |
name="Debian port web pages">.</p>
|
| 155 |
|
| 156 |
<![ %secondrelease [
|
| 157 |
<p>This is only the second official release of &debian; for the
|
| 158 |
&arch-title; architecture. We feel that it has proven itself
|
| 159 |
sufficiently to be released. However, because it has not had the
|
| 160 |
exposure (and hence testing by users) that our releases on
|
| 161 |
other architectures have had, you may encounter a few bugs. Please
|
| 162 |
use our <url id="&url-bts;" name="bug tracking system"> to report
|
| 163 |
any problems; make sure to mention the fact that the bug is on the
|
| 164 |
&architecture; platform.</p>
|
| 165 |
]]>
|
| 166 |
|
| 167 |
<p>&debian; &release; for the &arch-title; architecture ships with
|
| 168 |
kernel version &kernelversion;.</p>
|
| 169 |
|
| 170 |
|
| 171 |
<sect id="newdistro"><heading>What's new in the distribution?</heading>
|
| 172 |
|
| 173 |
<!-- TODO (jfs): numbers could be entities so that updating them was easier, like
|
| 174 |
in the FAQ -->
|
| 175 |
<!-- TODO: Numbers need to be reviewed, these values have been obtained
|
| 176 |
using the changes-release script -->
|
| 177 |
<p>This new release of Debian again comes with a lot more software
|
| 178 |
than its predecessor &oldreleasename;; the distribution includes
|
| 179 |
over 6,200 new packages, for a total of over 18,000 packages. Most
|
| 180 |
of the software in the distribution has been updated: over 10,500
|
| 181 |
software packages (this is 67% of all packages in &oldreleasename;).
|
| 182 |
Also, a significant number of packages (over 3400, 22% of the
|
| 183 |
packages in &oldreleasename;) have for various reasons been removed
|
| 184 |
from the distribution. You will not see any updates for these
|
| 185 |
packages and they will be marked as 'obsolete' in package management
|
| 186 |
front-ends.</p>
|
| 187 |
|
| 188 |
<p>With this release &debian; switches from XFree86 to the 7.1
|
| 189 |
release of X.Org, which includes support for a greater range of
|
| 190 |
hardware and better autodetection. This allows the use of Compiz,
|
| 191 |
which is one of the first compositing window managers for the X
|
| 192 |
Window System, taking full advantage of hardware
|
| 193 |
OpenGL-acceleration for supported devices.</p>
|
| 194 |
|
| 195 |
<p>&debian; again ships with several desktop applications and environments. Amongst
|
| 196 |
others it now includes the desktop environments GNOME 2.14<footnote>With some modules from
|
| 197 |
GNOME 2.16</footnote>, KDE 3.5.5a, and Xfce 4.4. Productivity applications
|
| 198 |
have also been upgraded, including the office suites OpenOffice.org 2.0.4a and
|
| 199 |
KOffice 1.6 as well as GNUcash 2.0.5, GNUmeric 1.6.3 and Abiword 2.4.6</p>
|
| 200 |
|
| 201 |
<p>Updates to other desktop applications include the upgrade of
|
| 202 |
Evolution 2.6.3 and Gaim 2.0. The Mozilla suite has also been updated
|
| 203 |
but the main programs have been renamed: <prgn>iceweasel</prgn>
|
| 204 |
(version 2.0.0.2) is the unbranded <prgn>Firefox</prgn> web browser
|
| 205 |
and <prgn/icedove/ (version 1.5) is the unbranded <prgn/Thunderbird/
|
| 206 |
mail client.</p>
|
| 207 |
|
| 208 |
<p>This release also includes, amongst others, the following software updates:</p>
|
| 209 |
|
| 210 |
<p><list>
|
| 211 |
|
| 212 |
<item>the GNU C library, version 2.3.6.</item>
|
| 213 |
|
| 214 |
<item>the GNU Compiler Collection 4.1 as default compiler.</item>
|
| 215 |
|
| 216 |
<item>Language interpreters: PHP 5.5, Python 2.4.</item>
|
| 217 |
|
| 218 |
<item>Server software:
|
| 219 |
|
| 220 |
<p><list>
|
| 221 |
<item>e-mail servers: Exim 4.63 (default email server
|
| 222 |
for new installations), Postfix 2.3, Courier 0.53, Cyrus 2.2.</item>
|
| 223 |
|
| 224 |
<!-- TODO: Cherokee, lighttpd, and Tomcat 5 are NEW -->
|
| 225 |
<!-- Note: No significant changes for Roxen4, Boa, and thttpd -->
|
| 226 |
<item>web servers: Apache 2.2, fnord 1.10</item>
|
| 227 |
|
| 228 |
<item>database servers: MySQL 5.0.32, PostgreSQL 8.1</item>
|
| 229 |
|
| 230 |
<item>the OpenSSH server, version 4.3.</item>
|
| 231 |
|
| 232 |
<item>name servers: Bind 9.3, maradns 1.2.</item>
|
| 233 |
|
| 234 |
<item>directory server: OpenLDAP 2.3</item>
|
| 235 |
|
| 236 |
<!-- FIXME (JFS): List other server software? RADIUS? Streaming ? -->
|
| 237 |
</list></p>
|
| 238 |
|
| 239 |
</list></p>
|
| 240 |
|
| 241 |
|
| 242 |
<p><prgn/aptitude/ is the preferred program for package management
|
| 243 |
from console.
|
| 244 |
<prgn/aptitude/ supports most command line operations of <prgn/apt-get/
|
| 245 |
and has proven to be better at dependency resolution than <prgn/apt-get/.
|
| 246 |
If you are still using <prgn/dselect/, you should switch to
|
| 247 |
<package/aptitude/ as the official frontend for package management.</p>
|
| 248 |
|
| 249 |
<p>The official &debian; distribution now ships on thirteen to fifteen
|
| 250 |
binary CDs (depending on the architecture) and a similar number of
|
| 251 |
source CDs. A DVD version of the distribution is also available.</p>
|
| 252 |
|
| 253 |
<!-- FIXME: Note on LSB support? (3.1?) -->
|
| 254 |
|
| 255 |
<sect1 id="secureapt"><heading>Secure APT</heading>
|
| 256 |
|
| 257 |
<!-- FIXME: More content needed here? -->
|
| 258 |
<p><prgn/apt-secure/ (also known as <em/Secure APT/ is now available
|
| 259 |
in &releasename;. This feature adds extra security to &debian;
|
| 260 |
systems by easily supporting strong cryptography and digital
|
| 261 |
signatures to validate downloaded packages. This release includes
|
| 262 |
the <prgn/apt-key/ tool for adding new keys to apt's keyring, which by
|
| 263 |
default includes only the current Debian archive signing key, provided
|
| 264 |
in the <package>debian-archive-keyring</package>.</p>
|
| 265 |
|
| 266 |
<p>In its default configuration, <prgn>apt-secure</prgn> will
|
| 267 |
warn if packages are downloaded from sources that are not authenticated.
|
| 268 |
Future releases might force all packages to be verified before downloading
|
| 269 |
them. Unofficial apt sources administrators are encouraged to
|
| 270 |
generate a cryptographic key and sign their Release files, as well
|
| 271 |
as providing a secure way to distribute their public keys.</p>
|
| 272 |
|
| 273 |
<p>For more information please read <prgn>apt-secure</prgn>'s manual
|
| 274 |
page, the <url
|
| 275 |
id="http://www.debian.org/doc/manuals/securing-debian-howto/ch7#s-deb-pack-sign"
|
| 276 |
name="Package signing in Debian"> chapter of the <em/Securing Debian
|
| 277 |
Manual/ and the <url id="http://wiki.debian.org/SecureApt"
|
| 278 |
name="wiki documentation">.</p>
|
| 279 |
|
| 280 |
</sect1>
|
| 281 |
<sect1 id="volatile"><heading>debian-volatile now an official service</heading>
|
| 282 |
|
| 283 |
<p>The <em/debian-volatile/ service that was introduced as an
|
| 284 |
unofficial service with the release of &oldreleasename;, has now
|
| 285 |
become an official &debian; service.</p>
|
| 286 |
|
| 287 |
<p>This means that it no longer has a <tt/.debian.net/ address,
|
| 288 |
but now uses a <tt/.debian.org/ address. Please make sure to update
|
| 289 |
your <file>/etc/apt/sources.list</file> accordingly if you were
|
| 290 |
already using this service.</p>
|
| 291 |
|
| 292 |
<p><em/debian-volatile/ allows users to easily
|
| 293 |
update stable packages that contain information that quickly goes out
|
| 294 |
of date. Examples are a virus scanner's signatures list or a spam
|
| 295 |
filter's pattern set. For more information and a list of mirrors,
|
| 296 |
please see the archive's <url id="&url-debian-volatile"
|
| 297 |
name="web page">.</p>
|
| 298 |
|
| 299 |
</sect1>
|
| 300 |
</sect>
|
| 301 |
|
| 302 |
<sect id="inst-new"><heading>What's new in the installation system?</heading>
|
| 303 |
|
| 304 |
<!-- TODO: Hhhm. Whats new in the installer ? -->
|
| 305 |
<p>There has been a lot of development on the Debian Installer
|
| 306 |
since its first official release with &oldreleasename; resulting
|
| 307 |
in both improved hardware support and some exciting new features.</p>
|
| 308 |
|
| 309 |
<p>In these Release Notes we'll only list the major changes in the
|
| 310 |
installer. If you are interested in an overview of the detailed
|
| 311 |
changes since &oldreleasename;, please check the release announcements
|
| 312 |
for the &releasename; beta and RC releases available from the
|
| 313 |
Debian Installer's <url id="&url-installer-news" name="news history">.</p>
|
| 314 |
|
| 315 |
<sect1 id="inst-changes"><heading>Major changes</heading>
|
| 316 |
|
| 317 |
<p><taglist>
|
| 318 |
<tag>No reboot during the installation</tag>
|
| 319 |
<item><p>The installation used to be split into two parts:
|
| 320 |
setting up the base system and making it bootable, followed
|
| 321 |
by a reboot and after that the execution of <prgn/base-config/
|
| 322 |
which would take care of things like user setup, setup of the
|
| 323 |
package management system and installation of additional
|
| 324 |
packages (using tasksel).</p>
|
| 325 |
<p>For &releasename; the second stage has been integrated into
|
| 326 |
Debian Installer itself. This has a number of advantages,
|
| 327 |
including increased security and the fact that after the reboot
|
| 328 |
at the end of the installation the new system should already have
|
| 329 |
the correct timezone and, if you installed the Desktop environment,
|
| 330 |
will at once start the graphical user interface.</p></item>
|
| 331 |
|
| 332 |
<tag>UTF-8 encoding default for new systems</tag>
|
| 333 |
<item><p>The installer will set up systems to use UTF-8 encoding
|
| 334 |
rather than the old language-specific encodings (like ISO-8859-1,
|
| 335 |
EUC-JP or KOI-8).</p></item>
|
| 336 |
|
| 337 |
<tag>More flexible partitioning</tag>
|
| 338 |
<item><p>It is now possible to set up filesystems on an LVM volume
|
| 339 |
using guided partitioning.</p>
|
| 340 |
<p>The installer is also able to set up encrypted filesystems.
|
| 341 |
Using manual partitioning you have the choice between <tt/dm-crypt/
|
| 342 |
and <tt/loop-aes/, using a passphrase or a random key, and you can
|
| 343 |
tune various other options. Using guided partitioning, the installer
|
| 344 |
will create an encrypted LVM partition that contains any other
|
| 345 |
filesystems (except <file>/boot</file>) as logical volumes.</p></item>
|
| 346 |
|
| 347 |
<![ %i386-amd64 [
|
| 348 |
<tag>Graphical user interface</tag>
|
| 349 |
<item><p>If you prefer a graphical user interface, try booting
|
| 350 |
the installer with <tt/installgui/.</p>
|
| 351 |
<p>The functionality of the graphical installer is almost identical
|
| 352 |
to the regular installer, only the presentation differs. There is one
|
| 353 |
exception: the graphical frontend does not support setting up
|
| 354 |
encrypted partitions using random keys.</p>
|
| 355 |
<p>Note: the graphical user interface is not available for all
|
| 356 |
architectures.</p></item>
|
| 357 |
]]>
|
| 358 |
|
| 359 |
<![ %powerpc [
|
| 360 |
<tag>Graphical user interface</tag>
|
| 361 |
<item><p>For &arch-title; a separate installation image using a
|
| 362 |
graphical user interface is available on an experimental basis.
|
| 363 |
It is known to work on most CHRP systems that have an ATI graphics
|
| 364 |
card, but has been insufficiently tested on &arch-title; to include
|
| 365 |
it on the normal installation CDs.</p>
|
| 366 |
<p>If you'd like to try the graphical installer, look for the
|
| 367 |
"gtk-miniiso" image.</p></item>
|
| 368 |
]]>
|
| 369 |
|
| 370 |
<tag>Rescue mode</tag>
|
| 371 |
<item><p>You can use the installer to solve problems with your
|
| 372 |
system, for example when it refuses to boot. The first steps will
|
| 373 |
be just like a regular installation, but the installer will not
|
| 374 |
start the partitioner. Instead it will offer you a menu of rescue
|
| 375 |
options.</p>
|
| 376 |
<p>Activate the rescue mode by booting the installer with
|
| 377 |
<tt/rescue/, or by adding a boot parameter
|
| 378 |
<tt>rescue/enable=true</tt>.</p></item>
|
| 379 |
|
| 380 |
<tag>Using sudo instead of root account</tag>
|
| 381 |
<item><p>During expert installations you can choose to not
|
| 382 |
set up the root account (it will be locked), but instead set
|
| 383 |
up <prgn/sudo/ so that the first user can use that for
|
| 384 |
system administration.</p></item>
|
| 385 |
|
| 386 |
<tag>Cryptographic verification of downloaded packages</tag>
|
| 387 |
<item><p>Packages downloaded with the installer are
|
| 388 |
now cryptographically checked using <prgn/secure apt/
|
| 389 |
making it more difficult to compromise a system being
|
| 390 |
installed over the network.</p></item>
|
| 391 |
|
| 392 |
<!-- FIXME: Bug Manoj for a link to documentation on enabling SELinux -->
|
| 393 |
<tag>SELinux</tag>
|
| 394 |
<item><p>The packages needed for SELinux support have been
|
| 395 |
promoted to priority "standard". This means that they will be
|
| 396 |
installed by default if you select the Standard task during
|
| 397 |
installation. However, SELinux support is not enabled by default.
|
| 398 |
If you want to secure your system using SELinux, you will need
|
| 399 |
to enable it manually after the installation.</p></item>
|
| 400 |
|
| 401 |
<tag>Simplified mail configuration</tag>
|
| 402 |
<item><p>The installation system setups a basic configuration for
|
| 403 |
the system's mail server which will only provide for local e-mail
|
| 404 |
delivery, if the "standard system" is installed. The mail
|
| 405 |
server will be unavailable to other systems connected to the same
|
| 406 |
network. If you want to configure your system to handle e-mail not
|
| 407 |
local to the system (either to send e-mail or to receive it) you
|
| 408 |
will have to reconfigure the mail system after
|
| 409 |
installation.</p></item>
|
| 410 |
|
| 411 |
<tag>Desktop selection</tag>
|
| 412 |
<item><p>The installation system will install
|
| 413 |
a GNOME desktop as the default desktop if the user asks for one.
|
| 414 |
However, users wishing to install alternate desktop environments
|
| 415 |
can easily do so by adding boot parameters:
|
| 416 |
<tt>tasks="standard, kde-desktop"</tt> for KDE and
|
| 417 |
<tt>tasks="standard, xfce-desktop"</tt> for Xfce. ISO images for
|
| 418 |
alternate desktop environments will also be available.</p></item>
|
| 419 |
|
| 420 |
<![ %not-s390 [
|
| 421 |
<tag>New languages</tag>
|
| 422 |
<item><p>Thanks to the huge efforts of translators, Debian can
|
| 423 |
now be installed in 47 languages using the text-based
|
| 424 |
installation user interface. This is six languages more
|
| 425 |
than in &oldreleasename;. Languages added in this release include
|
| 426 |
Belarusian, Esperanto, Estonian, Kurdish, Macedonian,
|
| 427 |
Tagalog, Vietnamese and Wolof.
|
| 428 |
Languages dropped in this relase due to lack of translation
|
| 429 |
updates include Persian and Welsh.
|
| 430 |
<![ %g-i [
|
| 431 |
If the graphical user interface is used, an additional eleven
|
| 432 |
languages are supported. These languages can only be selected
|
| 433 |
using this installer as their character sets cannot be presented
|
| 434 |
in a non-graphical environment. The new languages are:
|
| 435 |
Bengali, Dzongkha, Gujarati, Hindi, Georgian, Khmer, Malayalam,
|
| 436 |
Nepali, Punjabi, Tamil and Thai.
|
| 437 |
]]>
|
| 438 |
Users that do not wish to use any locale can now select
|
| 439 |
<em/C/ as their preferred locale in the installer's language
|
| 440 |
selection.
|
| 441 |
More information on language coverage is available at the
|
| 442 |
<url id="&url-d-i-i18n;" name="d-i languages list">.
|
| 443 |
</p></item>
|
| 444 |
|
| 445 |
<tag>Simplified localization and timezone selection</tag>
|
| 446 |
<item><p>Configuration of language, countries and timezones
|
| 447 |
have been simplified to reduce the amount of information
|
| 448 |
needed from the user. The installer will now guess
|
| 449 |
what the system's country and timezone is based on the
|
| 450 |
language selected, or will provide a limited selection
|
| 451 |
if it cannot. Users can still introduce obscure
|
| 452 |
combinations if need be.</p></item>
|
| 453 |
|
| 454 |
<tag>Improved system-wide localization</tag>
|
| 455 |
<item><p>Most of the internationalization and localization tasks that
|
| 456 |
were previously handled by the <package>localization-config</package> tool are now
|
| 457 |
included in the stock &debian; installer or in packages themselves. This
|
| 458 |
means that selection of a language will automatically install packages
|
| 459 |
necessar for that language (dictionaries, documentation, fonts...) both
|
| 460 |
in standard and desktop enviroments. Configuration that is no longer
|
| 461 |
handled automatically include the papersize configuration and some
|
| 462 |
advanced keyboard settings on Xorg for some languages.</p></item>
|
| 463 |
|
| 464 |
]]> <!-- not-s390 -->
|
| 465 |
|
| 466 |
</taglist></p>
|
| 467 |
</sect1>
|
| 468 |
|
| 469 |
<sect1 id="inst-auto"><heading>Automated installation</heading>
|
| 470 |
|
| 471 |
<p>A lot of the changes mentioned in the previous section also
|
| 472 |
imply changes in the support in the installer for automated
|
| 473 |
installation using preconfiguration files. This means that if
|
| 474 |
you have existing preconfiguration files that worked with the
|
| 475 |
&oldreleasename; installer, you cannot expect these to work
|
| 476 |
with the new installer without modification.</p>
|
| 477 |
|
| 478 |
<p>The good news is that the <url id="&url-install-manual;"
|
| 479 |
name="Installation Guide"> now has a separate appendix with
|
| 480 |
extensive documentation on using preconfiguration.</p>
|
| 481 |
|
| 482 |
<p>The &releasename; installer introduces some exciting new
|
| 483 |
features that allow further and easier automation of installs.
|
| 484 |
It also adds support for advanced partitioning using RAID, LVM
|
| 485 |
and encrypted LVM. See the documentation for details.</p>
|
| 486 |
|
| 487 |
</sect1>
|
| 488 |
</sect>
|
| 489 |
|
| 490 |
</chapt>
|
| 491 |
|
| 492 |
<chapt id="installing"><heading>New installations</heading>
|
| 493 |
|
| 494 |
<p>The Debian Installer is the official installation system for Debian.
|
| 495 |
It offers a variety of installation methods. Which methods
|
| 496 |
are available to install your system depends on your architecture.</p>
|
| 497 |
|
| 498 |
<p>Images of the installer for &releasename; and the Installation Guide
|
| 499 |
can be found on the <url id="&url-installer;" name="Debian website">.</p>
|
| 500 |
|
| 501 |
<p>The Installation Guide is also included on the first CD/DVD of the
|
| 502 |
official Debian CD/DVD sets, at:
|
| 503 |
|
| 504 |
<example>
|
| 505 |
/doc/install/manual/<var>language</var>/index.html
|
| 506 |
</example></p>
|
| 507 |
|
| 508 |
<p>You may also want to check the <url id="&url-installer;index#errata"
|
| 509 |
name="errata"> for debian-installer for a list of knonw issues.</p>
|
| 510 |
|
| 511 |
<![ %alpha [
|
| 512 |
<!-- TODO: Still true? -->
|
| 513 |
<p>The installer can only be used to install on alpha systems which
|
| 514 |
support the SRM console. Be sure to switch your system to SRM before
|
| 515 |
starting the installation. If your machine supports only the AlphaBIOS/ARC
|
| 516 |
console, you can still install &releasename; using a (minimal) &oldreleasename;
|
| 517 |
installation and a subsequent upgrade. For more information about the
|
| 518 |
different consoles please read the references on the
|
| 519 |
<url id="http://www.debian.org/ports/alpha" name="Debian alpha port web pages">.
|
| 520 |
</p>
|
| 521 |
]]>
|
| 522 |
|
| 523 |
<![ %sparc [
|
| 524 |
<sect id="sparc_fb"><heading>Issues with framebuffer on &arch-title;</heading>
|
| 525 |
|
| 526 |
<p>Because of display problems on some systems, framebuffer support is
|
| 527 |
disabled by default for &arch-title; for most graphics cards. This can
|
| 528 |
result in ugly display on systems that do properly support the framebuffer.
|
| 529 |
If you see display problems in the installer, you can try booting the installer
|
| 530 |
with the parameter <tt>framebuffer=true</tt>.
|
| 531 |
Please let us know if the framebuffer is not used by default, but works for
|
| 532 |
your hardware.</p>
|
| 533 |
|
| 534 |
</sect>
|
| 535 |
]]>
|
| 536 |
|
| 537 |
<sect id="improves_in_etch"><heading>System improvements</heading>
|
| 538 |
|
| 539 |
<p>Users installing &releasename; will benefit from some improvements
|
| 540 |
in the &debian; operating system. Most of these improvements
|
| 541 |
will be carried over to upgrades from &oldreleasename; but there
|
| 542 |
are some changes that will only affect new installs:
|
| 543 |
</p>
|
| 544 |
|
| 545 |
<p><list>
|
| 546 |
|
| 547 |
<!-- Bug 301138, fixed in etch -->
|
| 548 |
<item>Development packages are now of <em>Optional</em> priority.
|
| 549 |
This includes the standard C/C++-compiler, <package>gcc</package>, as well
|
| 550 |
as some other software (<package>dpkg-dev</package>,
|
| 551 |
<package>flex</package>, or <package>make</package>) and development
|
| 552 |
headers (<package>libc6-dev</package>,
|
| 553 |
<package>linux-kernel-headers</package>).
|
| 554 |
<!-- TODO: Point to the bug report for the full list of packages in case
|
| 555 |
users want to remove them ? -->
|
| 556 |
This reduces the disk space needed for a standard installation.
|
| 557 |
</item>
|
| 558 |
|
| 559 |
<!-- TODO: Recommend users to remove unused desktop environments ? -->
|
| 560 |
<item>There are three different tasks for Desktop environments users can
|
| 561 |
choose from: GNOME, KDE or Xfce. An installation of the Desktop task in
|
| 562 |
&oldreleasename; would install both GNOME or KDE.</item>
|
| 563 |
|
| 564 |
<item>The default inet superdaemon is <package>openbsd-inetd</package>
|
| 565 |
instead of <package>netkit-inetd</package>. It will not be started if no
|
| 566 |
services are configured, which is the default.</item>
|
| 567 |
|
| 568 |
<item>The variant installed for <prgn/vi/ by default is a compact version of
|
| 569 |
<prgn/vim/ (<package/vim-tiny/) instead of <package/nvi/.
|
| 570 |
|
| 571 |
<item>The &releasename; installer sets up ext2 and ext3 filesystems so
|
| 572 |
that they have "directory indexes", a feature which speeds operations on
|
| 573 |
directories with many files. It does this by turning on the
|
| 574 |
<em/dir_index/ and <em/filetype/ flags when the filesystem is created.
|
| 575 |
Users upgrading from &oldreleasename; need to set this flags manually
|
| 576 |
with <prgn/tune2fs/.</item>
|
| 577 |
|
| 578 |
<!-- TODO: Add for lenny, link to utf8-migration-tool, which is right now not
|
| 579 |
available for etch -->
|
| 580 |
<item>The &debian; installer will setup all localized environments using
|
| 581 |
UTF-8 as the default encoding instead of language-specific encoding.
|
| 582 |
Users upgrading to &releasename; will have to switch to this encoding
|
| 583 |
by configuring their environment and locale definitions.</item>
|
| 584 |
|
| 585 |
</list></p>
|
| 586 |
|
| 587 |
<!-- TODO: make it conditional based on arquitecture ? -->
|
| 588 |
<p>Additional packages are pulled in based on the system being installed on or on the user
|
| 589 |
configuration. Users running the installer in a laptop system will
|
| 590 |
automatically get a set of packages specific for laptops, and so will
|
| 591 |
users configuring a localized environment. Even though these packages are
|
| 592 |
not pulled in when upgrading from &oldreleasename; to &releasename; they
|
| 593 |
are still available for users through <em>tasks</em>. Users wishing to
|
| 594 |
install these tasks just need to run <prgn/aptitude/ interactively and select the
|
| 595 |
appropiate tasks from the <em>Tasks</em> item presented in the user interface.</p>
|
| 596 |
|
| 597 |
<p>For more information please see the <url id="http://wiki.debian.org/Sarge2EtchUpgrade"
|
| 598 |
name="wiki pages"> that describe the upgrade from &oldreleasename; to &releasename;.</p>
|
| 599 |
|
| 600 |
<sect id="popcon"><heading>Popularity contest</heading>
|
| 601 |
|
| 602 |
<p>The installation system will again offer
|
| 603 |
to install the <package/popularity-contest/ package. This package was not
|
| 604 |
installed by default in &oldreleasename; but it was installed in older releases.</p>
|
| 605 |
|
| 606 |
<p><package/popularity-contest/ provides the Debian project with valuable information
|
| 607 |
on which packages in the distribution are actually used. This information
|
| 608 |
is used mainly to decide the order in which packages are included on
|
| 609 |
installation CD-ROMs, but is also often consulted by Debian developers
|
| 610 |
in deciding whether or not to adopt a package that no longer has a
|
| 611 |
maintainer.</p>
|
| 612 |
|
| 613 |
<p>Information from <package/popularity-contest/ is processed anonymously.
|
| 614 |
We would appreciate it if you would participate in this official survey;
|
| 615 |
you will thereby help improve Debian.</p>
|
| 616 |
|
| 617 |
</sect>
|
| 618 |
|
| 619 |
</chapt>
|
| 620 |
|
| 621 |
|
| 622 |
<chapt id="upgrading"><heading>Upgrades from previous releases</heading>
|
| 623 |
|
| 624 |
<!-- For doc-writers' convenience:
|
| 625 |
Debian Supported
|
| 626 |
release: architectures:
|
| 627 |
|
| 628 |
1.3.1 or less i386
|
| 629 |
2.0 i386,m68k
|
| 630 |
2.1 i386,m68k,alpha,sparc
|
| 631 |
2.2 i386,m68k,alpha,sparc,powerpc,arm
|
| 632 |
3.0 + hppa,s390,mips,mipsel,ia64
|
| 633 |
3.1 i386,m68k,alpha,sparc,powerpc,arm,hppa,s390,mips,mipsel,ia64 (no changes)
|
| 634 |
4.0 i386,alpha,sparc,powerpc,arm,hppa,s390,mips,mipsel,ia64,amd64
|
| 635 |
(+ amd64; - m68k)
|
| 636 |
-->
|
| 637 |
|
| 638 |
<sect id="backup"><heading>Preparing for the upgrade</heading>
|
| 639 |
|
| 640 |
<p>We suggest that before upgrading you also read the information in
|
| 641 |
<ref id="information">. That chapter covers potential issues not
|
| 642 |
directly related to the upgrade process but which could still be
|
| 643 |
relevant.</p>
|
| 644 |
|
| 645 |
<p>Before upgrading your system, it is strongly recommended that
|
| 646 |
you make a full backup, or at least backup any data or
|
| 647 |
configuration information you can't afford to lose. The upgrade
|
| 648 |
tools and process are quite reliable, but a hardware failure in
|
| 649 |
the middle of an upgrade could result in a severely damaged
|
| 650 |
system.</p>
|
| 651 |
|
| 652 |
<p>The main things you'll want to back up are the contents of
|
| 653 |
<file>/etc</file>, <file>/var/lib/dpkg</file> and the output of
|
| 654 |
<tt>dpkg --get-selections "*"</tt> (the quotes are important).</p>
|
| 655 |
|
| 656 |
<p>The upgrade process in itself does not modify anything in the
|
| 657 |
<file>/home</file> directory. However, some applications (e.g.
|
| 658 |
parts of the Mozilla suite, and the GNOME and KDE desktop
|
| 659 |
environments) are known to overwrite existing user settings with new
|
| 660 |
defaults when a new version of the application is first started by a
|
| 661 |
user. As a precaution, you may want to make a backup of the hidden
|
| 662 |
files and directories ("dotfiles") in users' home directories. This
|
| 663 |
backup may help to restore or recreate the old settings. You may
|
| 664 |
also want to inform users about this.</p>
|
| 665 |
|
| 666 |
<p>It's wise to inform all users in advance of any upgrades you're
|
| 667 |
planning, although users accessing your system via an <prgn/ssh/
|
| 668 |
connection should notice little during the upgrade, and should be
|
| 669 |
able to continue working.
|
| 670 |
In order to gain extra safety margin, we suggest you to run
|
| 671 |
upgrade processes in the virtual console provided by the
|
| 672 |
<prgn/screen/ program which enables the safe reconnection and ensures
|
| 673 |
the uninterrupted upgrade processes even if the remote connection
|
| 674 |
process fails by chance.</p>
|
| 675 |
|
| 676 |
<p>If you wish to take extra precautions, back up or
|
| 677 |
unmount users' partitions (<file>/home</file>) before upgrading.</p>
|
| 678 |
|
| 679 |
<!-- JFS: Not true in etch
|
| 680 |
<p>A reboot will not normally be necessary, unless you also plan to
|
| 681 |
upgrade your kernel.</p>
|
| 682 |
-->
|
| 683 |
<p>You will probably have to do a kernel upgrade when upgrading to
|
| 684 |
&releasename;, so a reboot will normally be necessary. Typically, this
|
| 685 |
will be done after the upgrade is finished.</p>
|
| 686 |
|
| 687 |
<p>Distribution upgrade should be done either locally from a
|
| 688 |
textmode virtual console (or a directly connected serial
|
| 689 |
terminal), or remotely via an <prgn/ssh/ link.</p>
|
| 690 |
|
| 691 |
<!-- JFS: probably can be removed for lenny -->
|
| 692 |
<p>If you are upgrading remotely via an <prgn/ssh/ link it is highly
|
| 693 |
recommended that you take the necessary precautions to be able to
|
| 694 |
access the server through a remote serial terminal. There are chances
|
| 695 |
that, after upgrading the kernel and rebooting, some devices will
|
| 696 |
be renamed (as described in <ref id="device-reorder">) and you will
|
| 697 |
have to fix the system configuration through a local console. Also,
|
| 698 |
if the system is rebooted accidentally in the middle of an upgrade
|
| 699 |
there are chances you will need to recover using a local console.</p>
|
| 700 |
<!-- END - remove for lenny -->
|
| 701 |
|
| 702 |
<p><strong/Important!/ You should <em/not/ upgrade using <prgn/telnet/,
|
| 703 |
<prgn/rlogin/, <prgn/rsh/, or from an X session managed by <prgn/xdm/,
|
| 704 |
<prgn/gdm/ or <prgn/kdm/ etc on the machine you are upgrading. That is
|
| 705 |
because each of those services may well be terminated during the
|
| 706 |
upgrade, which can result in an <em/inaccessible/ system that is only
|
| 707 |
half-upgraded.</p>
|
| 708 |
|
| 709 |
<!-- TODO: surely gdm/kdm are sane? -->
|
| 710 |
|
| 711 |
<p>Any package installation operation must be run with superuser
|
| 712 |
privileges, so either login as root or use <prgn/su/ or
|
| 713 |
<prgn/sudo/ to gain the necessary access rights.</p>
|
| 714 |
|
| 715 |
<p>The upgrade has a few preconditions; you should check them
|
| 716 |
before actually executing the upgrade.</p>
|
| 717 |
|
| 718 |
<sect1><heading>Make sure you have sufficient space for the upgrade</heading>
|
| 719 |
|
| 720 |
<p>You have to make sure before upgrading your system that you have
|
| 721 |
sufficient hard disk space when you start the full system upgrade
|
| 722 |
described in <ref id="upgrading_other">. You will first need
|
| 723 |
enough hard disk on the filesystem partition that holds <file>/var/</file>
|
| 724 |
to temporarily download the packages that will be installed in your system.
|
| 725 |
After the download, you will probably need more space in other
|
| 726 |
filesystem partitions in order to both install upgraded packages (which
|
| 727 |
might contain bigger binaries or more data) and new packages that will be pulled
|
| 728 |
in for the upgrade. If your system does not have sufficient space you
|
| 729 |
might end up with an incomplete upgrade that might be difficult to
|
| 730 |
recover from.</p>
|
| 731 |
|
| 732 |
<!-- JFS: Apt will not always abort if you do not have enough disk space.
|
| 733 |
For reference see: #247331, #214119, #192146, #185201, #40438 and #32919 -->
|
| 734 |
|
| 735 |
<p>Both <prgn/aptitude/ and <prgn/apt/ will show you detailed information
|
| 736 |
of the disk space needed for the installation. Before executing the
|
| 737 |
upgrade, you can see this estimate by running:
|
| 738 |
</p>
|
| 739 |
|
| 740 |
<p><example>
|
| 741 |
# aptitude -y -s -f --with-recommends dist-upgrade
|
| 742 |
[ ... ]
|
| 743 |
XXX upgraded, XXX newly installed, XXX to remove and XXX not upgraded.
|
| 744 |
Need to get xx.xMB/yyyMB of archives. After unpacking AAAMB will be used.
|
| 745 |
Would download/install/remove packages.
|
| 746 |
</example></p>
|
| 747 |
|
| 748 |
|
| 749 |
<p>If you do not have enough space for the upgrade, make sure you free up
|
| 750 |
space beforehand. You can:
|
| 751 |
</p>
|
| 752 |
|
| 753 |
<!-- JFS There are more tips at
|
| 754 |
http://lists.debian.org/debian-user/2005/11/msg02078.html
|
| 755 |
or
|
| 756 |
http://www.debian-administration.org/articles/143
|
| 757 |
but maybe that should be in the Debian Reference best and pointed from here -->
|
| 758 |
<p>
|
| 759 |
<list>
|
| 760 |
<!-- JFS: Does aptitude to 'apt-get autoclean' by itself? -->
|
| 761 |
<item>Remove packages that have been previously downloaded for
|
| 762 |
installation (at <file>/var/cache/apt/archive</file>), cleaning up the
|
| 763 |
package cache by running <prgn>apt-get clean</prgn>.
|
| 764 |
|
| 765 |
<!-- JFS Point to http://www.enricozini.org/blog/eng/pkgsizestat.html ?
|
| 766 |
Enrico's script shows files that occupy space in a given partition
|
| 767 |
which might be good for systems that are heavily partitioned -->
|
| 768 |
|
| 769 |
<item>Remove old packages you no longer use. If you have
|
| 770 |
<prgn/popularity-contest/ installed, you can use
|
| 771 |
<prgn/popcon-largest-unused/ to list the packages you do not use in the
|
| 772 |
system that occupy the most space. You can also use <prgn/deborphan/
|
| 773 |
or <prgn/debfoster/ to find obsolete packages (see
|
| 774 |
<ref id="obsolete">).
|
| 775 |
|
| 776 |
<item>Remove packages taking up too much space, which are not currently
|
| 777 |
needed (you can always reinstall them after the
|
| 778 |
upgrade). You can list the packages that take up most of the disk space
|
| 779 |
with <prgn/dpigs/ (available in the <package/debian-goodies/ package)
|
| 780 |
or with <prgn/wajig/ (running <tt>wajig size</tt>).
|
| 781 |
|
| 782 |
<item>Temporarily move to another system, or permanently remove, system
|
| 783 |
logs residing under <file>/var/log/</file>.
|
| 784 |
|
| 785 |
</list></p>
|
| 786 |
</sect1>
|
| 787 |
|
| 788 |
<sect1 id="glibc-kernel"><heading>Support for 2.2-kernels has been dropped</heading>
|
| 789 |
<p>In case you run a kernel prior to 2.4.1,
|
| 790 |
you need to upgrade to (at least) the
|
| 791 |
2.4-series before upgrading <package/glibc/.
|
| 792 |
This should preferable be done before starting the upgrade.
|
| 793 |
It is recommended you directly upgrade to the 2.6-kernel (available
|
| 794 |
in &oldreleasename;, instead of upgrading to a 2.4-kernel series.
|
| 795 |
</p>
|
| 796 |
</sect1>
|
| 797 |
|
| 798 |
</sect>
|
| 799 |
|
| 800 |
<sect id="system-status">
|
| 801 |
<heading>Checking system status</heading>
|
| 802 |
|
| 803 |
<p>The upgrade process described in this chapter has been designed for
|
| 804 |
upgrades from "pure" &oldreleasename; systems without 3rd party
|
| 805 |
packages. It may be wise to remove these packages first.</p>
|
| 806 |
|
| 807 |
<p>This procedure also assumes your system has been updated to the
|
| 808 |
latest point release of &oldreleasename;. If you have not done this
|
| 809 |
or are unsure, follow the instructions in <ref id="old-upgrade">.</p>
|
| 810 |
|
| 811 |
<sect1><heading>Disabling APT pinning</heading>
|
| 812 |
|
| 813 |
<p>If you have configured APT to install certain packages from a
|
| 814 |
distribution other than stable (e.g. from testing), you may have to
|
| 815 |
change your APT pinning configuration (stored in
|
| 816 |
<file>/etc/apt/preferences</file>) to allow the upgrade of packages to
|
| 817 |
the versions in the new stable release. Further information on APT
|
| 818 |
pinning can be found in <manref name="apt_preferences" section="5">.</p>
|
| 819 |
|
| 820 |
</sect1>
|
| 821 |
|
| 822 |
<sect1><heading>Checking packages status</heading>
|
| 823 |
|
| 824 |
<p>Regardless of the method used for upgrading, it is recommended
|
| 825 |
that you check the status of all packages first, and verify that
|
| 826 |
all packages are in an upgradable state. The following command
|
| 827 |
will show any packages which have a status of Half-Installed or
|
| 828 |
Failed-Config, and those with any error status.
|
| 829 |
|
| 830 |
<example>
|
| 831 |
# dpkg --audit
|
| 832 |
</example></p>
|
| 833 |
|
| 834 |
<p>You could also inspect the state of all packages on your system
|
| 835 |
using <prgn/dselect/, <prgn/aptitude/, or with commands such as
|
| 836 |
|
| 837 |
<example>
|
| 838 |
# dpkg -l | pager
|
| 839 |
</example>
|
| 840 |
|
| 841 |
or
|
| 842 |
|
| 843 |
<example>
|
| 844 |
# dpkg --get-selections > ~/curr-pkgs.txt
|
| 845 |
</example></p>
|
| 846 |
|
| 847 |
<p>It is desirable to remove any holds before upgrading. If any
|
| 848 |
package that is essential for the upgrade is on hold, the upgrade
|
| 849 |
will fail.</p>
|
| 850 |
|
| 851 |
<p>Note that <prgn/aptitude/ uses a different method for registering
|
| 852 |
packages that are on hold than <prgn/apt-get/ and <prgn/dselect/.
|
| 853 |
You can identify packages on hold for <prgn/aptitude/ with
|
| 854 |
|
| 855 |
<example>
|
| 856 |
# aptitude search "~ahold" | grep "^.h"
|
| 857 |
</example></p>
|
| 858 |
|
| 859 |
<p>If you want to check which packages you had on hold for
|
| 860 |
<prgn/apt-get/, you should use
|
| 861 |
<example>
|
| 862 |
# dpkg --get-selections | grep hold
|
| 863 |
</example></p>
|
| 864 |
|
| 865 |
<p>If you changed and recompiled a package locally, and didn't rename
|
| 866 |
it or put an epoch in the version, you must put it on hold to prevent
|
| 867 |
it from being upgraded.</p>
|
| 868 |
|
| 869 |
<p>The "hold" package state for <prgn/aptitude/ can be changed using
|
| 870 |
(replace <tt/hold/ with <tt/unhold/ to unset the "hold" state):
|
| 871 |
<example>
|
| 872 |
# aptitude hold <var>package_name</var>
|
| 873 |
</example>
|
| 874 |
</p>
|
| 875 |
|
| 876 |
<p>If there is anything you need to fix, it is best to make sure your
|
| 877 |
<file/sources.list/ still refers to &oldreleasename; as explained in
|
| 878 |
<ref id="old-sources">.</p>
|
| 879 |
</sect1>
|
| 880 |
|
| 881 |
<sect1 id="backports"><heading>Unofficial sources and backports</heading>
|
| 882 |
|
| 883 |
<p>If you have any non-Debian packages on your system, you should be
|
| 884 |
aware that these may be removed during the upgrade because of
|
| 885 |
conflicting dependencies. If these packages were installed by adding
|
| 886 |
an extra package archive in your <file>/etc/apt/sources.list</file>,
|
| 887 |
you should check if that archive also offers packages compiled for
|
| 888 |
&releasename; and change the source line accordingly at the same time
|
| 889 |
as your source lines for Debian packages.</p>
|
| 890 |
|
| 891 |
<p>Some users may have unofficial backported "newer" versions of
|
| 892 |
packages that <em/are/ in Debian installed on their &oldreleasename;
|
| 893 |
system. Such packages are most likely to cause problems during an
|
| 894 |
upgrade as they may result in file conflicts<footnote>Debian's
|
| 895 |
package management system normally does not allow a package to remove
|
| 896 |
or replace a file owned by another package; not unless it has been
|
| 897 |
defined to replace that package.</footnote>. Section <ref id="trouble">
|
| 898 |
has some information on how to deal with file conflicts if they should
|
| 899 |
occur.</p>
|
| 900 |
|
| 901 |
</sect1>
|
| 902 |
</sect>
|
| 903 |
|
| 904 |
<!-- JFS: This section should be probably removed for lenny -->
|
| 905 |
<sect id="handle-conflict"><heading>Manually unmarking packages</heading>
|
| 906 |
|
| 907 |
<p>To prevent <prgn/aptitude/ from removing some packages that were pulled
|
| 908 |
in through dependencies, you need to manually unmark them as <em/auto/
|
| 909 |
packages. This includes OpenOffice and Vim for desktop installs:
|
| 910 |
<!-- This is a no-op if none of them are installed -->
|
| 911 |
<example>
|
| 912 |
# aptitude unmarkauto openoffice.org vim
|
| 913 |
</example></p>
|
| 914 |
|
| 915 |
<!-- JFS: This cannot be in the same line as above since it produces an ugly output if
|
| 916 |
you just have 2.4 kernels installed -->
|
| 917 |
<p>And 2.6 kernel images if you have installed them using a kernel metapackage:
|
| 918 |
|
| 919 |
<example>
|
| 920 |
# aptitude unmarkauto $(dpkg-query -W 'kernel-image-2.6*' | cut -f1)
|
| 921 |
</example></p>
|
| 922 |
|
| 923 |
<p>Note: You can review which packages are marked as <em/auto/ in aptitude running:
|
| 924 |
|
| 925 |
<example>
|
| 926 |
# aptitude search 'i~M <package name>'
|
| 927 |
</example></p>
|
| 928 |
</sect>
|
| 929 |
|
| 930 |
<sect id="upgrade-process"><heading>Preparing sources for APT</heading>
|
| 931 |
|
| 932 |
<p>Before starting the upgrade you must set up <package/apt/'s
|
| 933 |
configuration file for package lists,
|
| 934 |
<file>/etc/apt/sources.list</file>.</p>
|
| 935 |
|
| 936 |
<p><package/apt/ will consider all packages that can be found via
|
| 937 |
any "<tt>deb</tt>" line, and install the package with the highest
|
| 938 |
version number, giving priority to the first mentioned lines (that
|
| 939 |
way, in case of multiple mirror locations, you'd typically first
|
| 940 |
name a local harddisk, then CD-ROMs, and then HTTP/FTP
|
| 941 |
mirrors).</p>
|
| 942 |
|
| 943 |
<p>A release can often be referred to by both its codename (e.g.
|
| 944 |
&oldreleasename;, &releasename;) and by its status name (i.e.
|
| 945 |
oldstable, stable, testing, unstable). Referring to a release by its
|
| 946 |
codename has the advantage that you will never be surprised by a
|
| 947 |
new release and for this reason is the approach taken here. It
|
| 948 |
does of course mean that you will have to watch out for release
|
| 949 |
announcements yourself. If you use the status name instead, you
|
| 950 |
will just see loads of updates for packages available as soon as a
|
| 951 |
release has happened.</p>
|
| 952 |
|
| 953 |
<sect1 id="network"><heading>Adding APT Internet sources</heading>
|
| 954 |
|
| 955 |
<p>The default configuration is set up for installation from main
|
| 956 |
Debian Internet servers, but you may wish to modify
|
| 957 |
<file>/etc/apt/sources.list</file> to use other mirrors,
|
| 958 |
preferably a mirror that is network-wise closest to you.</p>
|
| 959 |
|
| 960 |
<!-- FJP: Why is 'default configuration' relevant here? We are talking about
|
| 961 |
upgrading existing installations; we really have no idea what
|
| 962 |
apt-sources users will have set up here (maybe just a Woody CD-set).
|
| 963 |
Note: D-I sets the default configuration to a mirror based on
|
| 964 |
the selected country and not the 'main' servers. -->
|
| 965 |
|
| 966 |
<p>Debian HTTP or FTP mirror addresses can be found at
|
| 967 |
<url id="&url-debian-mirrors;"> (look at the "Full list of
|
| 968 |
mirrors" section). HTTP mirrors are generally speedier than FTP
|
| 969 |
mirrors.</p>
|
| 970 |
|
| 971 |
<p>For example, suppose your closest Debian mirror is
|
| 972 |
<tt>&url-debian-mirror-eg;/</tt>. When inspecting that mirror
|
| 973 |
with a web browser or FTP program, you will notice that the main
|
| 974 |
directories are organized like this:
|
| 975 |
|
| 976 |
<example>
|
| 977 |
&url-debian-mirror-eg;/dists/&releasename;/main/binary-&architecture;/...
|
| 978 |
&url-debian-mirror-eg;/dists/&releasename;/contrib/binary-&architecture;/...
|
| 979 |
</example></p>
|
| 980 |
|
| 981 |
<p>To use this mirror with <prgn/apt/, you add this line to your
|
| 982 |
<file/sources.list/ file:
|
| 983 |
|
| 984 |
<example>
|
| 985 |
deb &url-debian-mirror-eg; &releasename; main contrib
|
| 986 |
</example></p>
|
| 987 |
|
| 988 |
<p>Note that the `<tt>dists</tt>' is added implicitly, and the
|
| 989 |
arguments after the release name are used to expand the path into
|
| 990 |
multiple directories.</p>
|
| 991 |
|
| 992 |
<p>After adding your new sources, disable the previously existing
|
| 993 |
"<tt/deb/" lines in <file/sources.list/, by placing a hash sign
|
| 994 |
(<tt/#/) in front of them.</p>
|
| 995 |
|
| 996 |
<p>Any package needed for installation that is fetched from the
|
| 997 |
network is stored in <file>/var/cache/apt/archives</file>
|
| 998 |
(and the <file>partial/</file> subdirectory, during download), so
|
| 999 |
you must make sure you have enough space before attempting to
|
| 1000 |
start the installation. With a reasonably extended Debian
|
| 1001 |
installation, you can expect at least 300 MB of downloaded
|
| 1002 |
data.</p>
|
| 1003 |
|
| 1004 |
</sect1>
|
| 1005 |
|
| 1006 |
<sect1 id="localmirror"><heading>Adding APT sources for a local mirror</heading>
|
| 1007 |
|
| 1008 |
<p>Instead of using HTTP or FTP packages mirrors, you may wish to
|
| 1009 |
modify <file>/etc/apt/sources.list</file> to use a mirror on a
|
| 1010 |
local disk (possibly mounted over NFS).</p>
|
| 1011 |
|
| 1012 |
<p>For example, your packages mirror may be under
|
| 1013 |
<file>/var/ftp/debian/</file>, and have main directories like
|
| 1014 |
this:
|
| 1015 |
|
| 1016 |
<example>
|
| 1017 |
/var/ftp/debian/dists/&releasename;/main/binary-&architecture;/...
|
| 1018 |
/var/ftp/debian/dists/&releasename;/contrib/binary-&architecture;/...
|
| 1019 |
</example></p>
|
| 1020 |
|
| 1021 |
<p>To use this with <prgn/apt/, add this line to your
|
| 1022 |
<file/sources.list/ file:
|
| 1023 |
|
| 1024 |
<example>
|
| 1025 |
deb file:/var/ftp/debian &releasename; main contrib
|
| 1026 |
</example></p>
|
| 1027 |
|
| 1028 |
<p>Note that the `<tt>dists</tt>' is added implicitly, and the
|
| 1029 |
arguments after the release name are used to expand the path into
|
| 1030 |
multiple directories.</p>
|
| 1031 |
|
| 1032 |
<p>After adding your new sources, disable the previously
|
| 1033 |
existing "<tt/deb/" lines in <file/sources.list/, by placing a
|
| 1034 |
hash sign (<tt/#/) in front of them.</p></sect1>
|
| 1035 |
|
| 1036 |
<sect1 id="cdroms"><heading>Adding APT source from CD-ROM or DVD</heading>
|
| 1037 |
|
| 1038 |
<p>If you want to use CDs <em/only/, comment out the existing
|
| 1039 |
"<tt/deb/" lines in <file>/etc/apt/sources.list</file> by placing
|
| 1040 |
a hash sign (<tt/#/) in front of them.</p>
|
| 1041 |
|
| 1042 |
<!-- Default cdrom mount point is /cdrom, not /media/cdrom and fixed!, see #282344
|
| 1043 |
(but the -d option of apt-cdrom allows scanning from somewhere else) -->
|
| 1044 |
<p>Make sure there is a line in <file>/etc/fstab</file> that
|
| 1045 |
enables mounting your CD-ROM drive at the <file>/cdrom</file>
|
| 1046 |
mount point (the exact <file>/cdrom</file> mount point is required
|
| 1047 |
for <prgn/apt-cdrom/). For example, if <file>/dev/hdc</file> is
|
| 1048 |
your CD-ROM drive, <file>/etc/fstab</file> should contain a line
|
| 1049 |
like:
|
| 1050 |
|
| 1051 |
<example>
|
| 1052 |
/dev/hdc /cdrom auto defaults,noauto,ro 0 0
|
| 1053 |
</example></p>
|
| 1054 |
|
| 1055 |
<p>Note that there must be <em/no spaces/ between the words
|
| 1056 |
<tt>defaults,noauto,ro</tt> in the fourth field.</p>
|
| 1057 |
|
| 1058 |
<p>To verify it works, insert a CD and try running
|
| 1059 |
|
| 1060 |
<example>
|
| 1061 |
# mount /cdrom # this will mount the CD to the mount point
|
| 1062 |
# ls -alF /cdrom # this should show the CD's root directory
|
| 1063 |
# umount /cdrom # this will unmount the CD
|
| 1064 |
</example></p>
|
| 1065 |
|
| 1066 |
<p>Next, run:
|
| 1067 |
|
| 1068 |
<example>
|
| 1069 |
# apt-cdrom add
|
| 1070 |
</example>
|
| 1071 |
|
| 1072 |
for each Debian Binary CD-ROM you have, to add the data about
|
| 1073 |
each CD to APT's database.</p>
|
| 1074 |
</sect1>
|
| 1075 |
</sect>
|
| 1076 |
|
| 1077 |
<sect id="upgradingpackages"><heading>Upgrading packages</heading>
|
| 1078 |
|
| 1079 |
<p>The recommended way to upgrade from previous &debian; releases is
|
| 1080 |
to use the package management tool <prgn>aptitude</prgn>. This program
|
| 1081 |
makes safer decisions about package installations than running
|
| 1082 |
<prgn>apt-get</prgn> directly.</p>
|
| 1083 |
|
| 1084 |
<p>Don't forget to mount all needed partitions (notably the root
|
| 1085 |
and <file>/usr</file> partitions) read-write, with a command
|
| 1086 |
like:
|
| 1087 |
|
| 1088 |
<example>
|
| 1089 |
# mount -o remount,rw /<var>mountpoint</var>
|
| 1090 |
</example></p>
|
| 1091 |
|
| 1092 |
<p>Next you should double check that the APT source entries (in
|
| 1093 |
<file>/etc/apt/sources.list</file>) refer either to
|
| 1094 |
"<tt/&releasename;/" or to "<tt>stable</tt>". There should not be
|
| 1095 |
any sources entries pointing to &oldreleasename;.
|
| 1096 |
Note: source lines for a CD-ROM will often refer to "<tt/unstable/";
|
| 1097 |
although this may be confusing, you should <em/not/ change it.</p>
|
| 1098 |
|
| 1099 |
<sect1 id="record_session"><heading>Recording the session</heading>
|
| 1100 |
|
| 1101 |
<p>It is strongly recommended that you use the
|
| 1102 |
<prgn>/usr/bin/script</prgn> program to record a transcript of the
|
| 1103 |
upgrade session. Then if a problem occurs, you will have a log of
|
| 1104 |
what happened, and if needed, can provide exact information in a bug
|
| 1105 |
report. To start the recording, type:
|
| 1106 |
|
| 1107 |
<example>
|
| 1108 |
# script -t -a ~/upgrade-&releasename;.script 2>~/upgrade-&releasename;.time
|
| 1109 |
</example>
|
| 1110 |
|
| 1111 |
or similar. Do not put the typescript file in a temporary
|
| 1112 |
directory such as <file>/tmp</file> or <file>/var/tmp</file> (files
|
| 1113 |
in those directories may be deleted during the upgrade or during any
|
| 1114 |
restart).</p>
|
| 1115 |
|
| 1116 |
<p>The typescript will also allow you to review information that has
|
| 1117 |
scrolled off-screen. Just switch to VT2 (using <tt/Alt-F2/) and, after
|
| 1118 |
logging in, use <tt>less -R ~root/upgrade-&releasename;.script</tt>
|
| 1119 |
to view the file.</p>
|
| 1120 |
|
| 1121 |
|
| 1122 |
<p>After you have completed the upgrade, you can stop <prgn/script/
|
| 1123 |
by typing <tt/exit/ at the prompt.</p>
|
| 1124 |
|
| 1125 |
<!-- TODO: Could mention the script I provided in 400725 which is useful if you
|
| 1126 |
have not dumped the timing file -->
|
| 1127 |
<p>If you have used the <em>-t</em> switch for <prgn/script/
|
| 1128 |
you can use the <prgn/scriptreplay/ program to replay the whole session:
|
| 1129 |
|
| 1130 |
<example>
|
| 1131 |
# scriptreplay ~/upgrade-&releasename;.time ~/upgrade-&releasename;.script
|
| 1132 |
</example>
|
| 1133 |
|
| 1134 |
</p>
|
| 1135 |
</sect1>
|
| 1136 |
|
| 1137 |
<sect1 id="updating_lists"><heading>Updating the package list</heading>
|
| 1138 |
|
| 1139 |
<p>First the list of available packages for the new release needs to
|
| 1140 |
be fetched. This is done by executing:</p>
|
| 1141 |
|
| 1142 |
<p><example>
|
| 1143 |
# aptitude update
|
| 1144 |
</example></p>
|
| 1145 |
|
| 1146 |
<!-- JFS: Hopefully this will be fixed in lenny -->
|
| 1147 |
<p>Running this the first time new sources are updated will print out
|
| 1148 |
some warnings related to the availability of the sources. These
|
| 1149 |
warnings are harmless and will not appear if you rerun the command again.
|
| 1150 |
</p>
|
| 1151 |
|
| 1152 |
</sect1>
|
| 1153 |
|
| 1154 |
<sect1 id="minimal_upgrade"><heading>Minimal system upgrade</heading>
|
| 1155 |
|
| 1156 |
<p>TODO</p>
|
| 1157 |
|
| 1158 |
<p>Run
|
| 1159 |
<example>
|
| 1160 |
# aptitude upgrade
|
| 1161 |
</example></p>
|
| 1162 |
|
| 1163 |
<p>Followed by:</p>
|
| 1164 |
|
| 1165 |
<p>Server system with no X, do a minimal upgrade with:
|
| 1166 |
|
| 1167 |
<example>
|
| 1168 |
# aptitude install initrd-tools
|
| 1169 |
</example></p>
|
| 1170 |
|
| 1171 |
<p>Server system with some X, (xfree86-common) do a minimal upgrade with:
|
| 1172 |
|
| 1173 |
<example>
|
| 1174 |
# aptitude install initrd-tools x11-common
|
| 1175 |
</example></p>
|
| 1176 |
|
| 1177 |
<p>Desktop system, use this instead:
|
| 1178 |
|
| 1179 |
<example>
|
| 1180 |
# aptitude install initrd-tools libfam0 xlibmesa-glu
|
| 1181 |
</example></p>
|
| 1182 |
|
| 1183 |
<p>Note: After this minimal upgrade has finished you might want to
|
| 1184 |
consider upgrading the kernel before upgrading the full system,
|
| 1185 |
as described in <ref id="newkernel">.
|
| 1186 |
Doing so reduces the timeframe in which, if the system will not
|
| 1187 |
properly boot if rebooted accidentally.
|
| 1188 |
This is because the full upgrade will
|
| 1189 |
install a new version of <prgn/udev/ and will remove <prgn/hotplug/.
|
| 1190 |
If you are running a desktop environment large parts of the
|
| 1191 |
system will be removed if you do the kernel upgrade here.</p>
|
| 1192 |
|
| 1193 |
</sect1>
|
| 1194 |
|
| 1195 |
<!-- TODO: For lenny, consider restoring the section 'Upgrade aptitude' -->
|
| 1196 |
|
| 1197 |
<sect1 id="upgrading_other"><heading>Upgrading the rest of the system</heading>
|
| 1198 |
|
| 1199 |
<p>You are now ready to continue with the main part of the
|
| 1200 |
upgrade. Execute:</p>
|
| 1201 |
<!-- NOTE (jfs): we have not tested with the -f and with-recommends option -->
|
| 1202 |
<p><example>
|
| 1203 |
# aptitude dist-upgrade
|
| 1204 |
</example></p>
|
| 1205 |
|
| 1206 |
<p>This will perform a complete upgrade of the system, i.e. install
|
| 1207 |
the newest available versions of all packages, and resolve all
|
| 1208 |
possible dependency changes between packages in different releases.
|
| 1209 |
If necessary, it will install some new packages (usually new library
|
| 1210 |
versions, or renamed packages), and remove any conflicting obsoleted
|
| 1211 |
packages.</p>
|
| 1212 |
|
| 1213 |
<p>When upgrading from a set of CD-ROMs, you will be asked to
|
| 1214 |
insert specific CDs at several points during the upgrade. You
|
| 1215 |
might have to insert the same CD multiple times; this is due to
|
| 1216 |
inter-related packages that have been spread out over the CDs.</p>
|
| 1217 |
|
| 1218 |
<p>New versions of currently installed packages that cannot be
|
| 1219 |
upgraded without changing the install status of another package will
|
| 1220 |
be left at their current version (displayed as "held back"). This can
|
| 1221 |
be resolved by either using <prgn>aptitude</prgn> to choose these
|
| 1222 |
packages for installation or by trying <tt>aptitude -f install
|
| 1223 |
<var>package</var></tt>.</p>
|
| 1224 |
|
| 1225 |
</sect1>
|
| 1226 |
|
| 1227 |
<sect1 id="trouble"><heading>Possible issues during upgrade</heading>
|
| 1228 |
|
| 1229 |
<p>If an operation using <prgn/aptitude/, <prgn/apt-get/ or
|
| 1230 |
<prgn/dpkg/ fails with the error
|
| 1231 |
<example>
|
| 1232 |
E: Dynamic MMap ran out of room
|
| 1233 |
</example>
|
| 1234 |
the default cache space is insufficient. You can solve this by either
|
| 1235 |
removing or commenting lines you don't need in
|
| 1236 |
<file>/etc/apt/sources.list</file> or by increasing the cache size.
|
| 1237 |
The cache size can be increased by setting <tt/APT::Cache-Limit/ in
|
| 1238 |
<file>/etc/apt/apt.conf</file>. The following command will set it
|
| 1239 |
to a value that should be sufficient for the upgrade:
|
| 1240 |
<example>
|
| 1241 |
# echo 'APT::Cache-Limit "12500000";' >> /etc/apt/apt.conf
|
| 1242 |
</example>
|
| 1243 |
This assumes that you do not yet have this variable set in that file.</p>
|
| 1244 |
|
| 1245 |
<p>Sometimes it's necessary to enable APT::Force-LoopBreak option
|
| 1246 |
in APT to be able to temporarily remove an essential package due
|
| 1247 |
to a Conflicts/Pre-Depends loop. <prgn/aptitude/ will alert you of
|
| 1248 |
this and abort the upgrade. You can work around that by specifying
|
| 1249 |
<tt>-o APT::Force-LoopBreak=1</tt> option on <prgn/aptitude/
|
| 1250 |
command line.</p>
|
| 1251 |
<!-- JFS: Shouldn't this mention also Apt's configuration file? -->
|
| 1252 |
|
| 1253 |
<p>It is possible that a system's dependency structure can be so
|
| 1254 |
corrupt as to require manual intervention. Usually this means
|
| 1255 |
using <prgn/aptitude/ or
|
| 1256 |
|
| 1257 |
<example>
|
| 1258 |
# dpkg --remove <var>package_name</var>
|
| 1259 |
</example>
|
| 1260 |
|
| 1261 |
to eliminate some of the offending packages, or
|
| 1262 |
|
| 1263 |
<example>
|
| 1264 |
# aptitude --fix-broken install
|
| 1265 |
# dpkg --configure --pending
|
| 1266 |
</example></p>
|
| 1267 |
|
| 1268 |
<p>In extreme cases you might have to force re-installation with a
|
| 1269 |
command like
|
| 1270 |
|
| 1271 |
<example>
|
| 1272 |
# dpkg --install <var>/path/to/package_name.deb</var>
|
| 1273 |
</example></p>
|
| 1274 |
|
| 1275 |
<p>File conflicts should not occur if you upgrade from a "pure"
|
| 1276 |
&oldreleasename; system, but can occur if you have unofficial
|
| 1277 |
backports installed. A file conflict will result in an error like:
|
| 1278 |
|
| 1279 |
<example>
|
| 1280 |
Unpacking replacement <var><package-foo></var> ...
|
| 1281 |
dpkg: error processing <var><package-name-for-foo></var> (--unpack):
|
| 1282 |
trying to overwrite `<var><some-file-name></var>',
|
| 1283 |
which is also in package <var><package-bar></var>
|
| 1284 |
</example></p>
|
| 1285 |
|
| 1286 |
<p>You can try to solve a file conflict by forcibly removing the
|
| 1287 |
package mentioned on the <em/last/ line of the error message:
|
| 1288 |
|
| 1289 |
<example>
|
| 1290 |
# dpkg -r --force-depends <var>package_name</var>
|
| 1291 |
</example></p>
|
| 1292 |
|
| 1293 |
<p>After fixing things up, you should be able to resume the
|
| 1294 |
upgrade by repeating the previously described <tt/aptitude/
|
| 1295 |
commands.</p>
|
| 1296 |
|
| 1297 |
<p>During the upgrade, you will be asked questions regarding the
|
| 1298 |
configuration or re-configuration of several packages. When you are
|
| 1299 |
asked if any file in the <file>/etc/init.d</file> or
|
| 1300 |
<file>/etc/terminfo</file> directories, or the
|
| 1301 |
<file>/etc/manpath.config</file> file should be replaced by the
|
| 1302 |
package maintainer's version, it's usually necessary to answer `yes'
|
| 1303 |
to ensure system consistency. You can always revert to the old
|
| 1304 |
versions, since they will be saved with a <tt/.dpkg-old/
|
| 1305 |
extension.</p>
|
| 1306 |
|
| 1307 |
<p>If you're not sure what to do, write down the name of the
|
| 1308 |
package or file, and sort things out at a later time. You can
|
| 1309 |
search in the typescript file to review the information that
|
| 1310 |
was on the screen during the upgrade.</p>
|
| 1311 |
|
| 1312 |
</sect1>
|
| 1313 |
</sect>
|
| 1314 |
|
| 1315 |
<sect id="newkernel"><heading>Upgrading your kernel and related
|
| 1316 |
packages</heading>
|
| 1317 |
|
| 1318 |
<p>You should upgrade the Linux kernel separately from the rest of
|
| 1319 |
your packages.
|
| 1320 |
<!-- TODO: add something in "before you upgrade", and get the order right -->
|
| 1321 |
You may wish to do so yourself, either by installing one
|
| 1322 |
of the <package/linux-image-*/ packages or by compiling a customized
|
| 1323 |
kernel from sources.
|
| 1324 |
Please read the information in this section about potential issues
|
| 1325 |
with kernel upgrades.</p>
|
| 1326 |
|
| 1327 |
<p>All Linux kernel packages have been renamed from <package/kernel-*/ to
|
| 1328 |
<package/linux-*/ to clean up the namespace.</p>
|
| 1329 |
|
| 1330 |
<![ %defaulted-2.4 [
|
| 1331 |
<p>If you are currently using a kernel from the 2.4 series,
|
| 1332 |
the older stable Linux kernel series, you should upgrade to a 2.6
|
| 1333 |
series kernel, as 2.4 is no longer supported in &releasename;.
|
| 1334 |
If you are currently using a kernel from the 2.2 series, you
|
| 1335 |
must upgrade to (at least) the 2.4 series, preferably to a 2.6 series
|
| 1336 |
kernel, prior to upgrading your packages.
|
| 1337 |
<!-- TODO: incorporate this part in this section -->
|
| 1338 |
Some general issues associated with an upgrade to 2.6 are documented
|
| 1339 |
in <ref id="upgrade-to-2.6">.</p>
|
| 1340 |
]]>
|
| 1341 |
|
| 1342 |
<sect1><heading>Installing the kernel metapackage</heading>
|
| 1343 |
<p>When you dist-upgrade from &oldreleasename; to &releasename;,
|
| 1344 |
it is strongly recommended that you install a new
|
| 1345 |
linux-image-2.6-* metapackage.
|
| 1346 |
This package may be installed automatically by the dist-upgrade
|
| 1347 |
process. You can verify this by running:
|
| 1348 |
<!-- NOTE (jfs): Users using apt/aptitude might not have their available file
|
| 1349 |
updated so '^ii' is really unnecesary, maybe dpkg -l 'linux-image*' would be
|
| 1350 |
better here? -->
|
| 1351 |
<example>
|
| 1352 |
# dpkg -l | grep '^ii linux-image'
|
| 1353 |
</example></p>
|
| 1354 |
|
| 1355 |
<p>If you do not see any output, then you will need to install a
|
| 1356 |
new linux-image package by hand. To see a list of available
|
| 1357 |
linux-image-2.6 metapackages, run:
|
| 1358 |
<example>
|
| 1359 |
# apt-cache search linux-image-2.6- | grep -v transition
|
| 1360 |
</example></p>
|
| 1361 |
|
| 1362 |
<p>If you are unsure about which package to select, run
|
| 1363 |
<tt>uname -r</tt> and look for a package with a similar name.
|
| 1364 |
For example, if you see '2.4.27-3-686', it is recommended that you
|
| 1365 |
install <package/linux-image-2.6-686/.
|
| 1366 |
You may also use <prgn>apt-cache</prgn> to see a long description of each
|
| 1367 |
package in order to help choose the best one available.
|
| 1368 |
For example:
|
| 1369 |
<example>
|
| 1370 |
# apt-cache show linux-image-2.6-686
|
| 1371 |
</example></p>
|
| 1372 |
|
| 1373 |
<p>You should then use <tt/aptitude install/ to install it. Once
|
| 1374 |
this new kernel is installed you should reboot at the next available
|
| 1375 |
opportunity to get the benefits provided by the new kernel version.</p>
|
| 1376 |
|
| 1377 |
<p>For the more adventurous there is an easy way to compile your
|
| 1378 |
own custom kernel on &debian;. Install the
|
| 1379 |
<package>kernel-package</package> tool and read the documentation
|
| 1380 |
in <file>/usr/share/doc/kernel-package</file>.</p>
|
| 1381 |
|
| 1382 |
</sect1>
|
| 1383 |
|
| 1384 |
<sect1 id="upgrade-from-2.6"><heading>Upgrading from a 2.6 kernel</heading>
|
| 1385 |
|
| 1386 |
<!-- JFS: Bug #413458, undeclared linux depency on coreutils' readlink's -m option -->
|
| 1387 |
<p>If you are currently running a 2.6 series kernel from
|
| 1388 |
&oldreleasename; this upgrade will take place after do a full upgrade
|
| 1389 |
of the system packages (as described in <ref id="upgradingpackages">).
|
| 1390 |
</p>
|
| 1391 |
|
| 1392 |
<p>Take in account that the <prgn/udev/ version in &releasename; does
|
| 1393 |
not support kernel earlier than 2.6.15 (which includes
|
| 1394 |
&oldreleasename; 2.6.8 kernels), conversely the <prgn/udev/ version in
|
| 1395 |
&oldreleasename; will not work properly with the latest kernels.
|
| 1396 |
As a consequence, the previous kernel package will probably not boot
|
| 1397 |
properly after this upgrade. Similarly, there is a time window through
|
| 1398 |
the upgrade in which <prgn/udev/ has been upgraded but not the
|
| 1399 |
latest kernel. If the system were to be rebooted at this point,
|
| 1400 |
in the middle of the upgrade, it might not be bootable.</p>
|
| 1401 |
|
| 1402 |
<!-- JFS: Bug #325568 -->
|
| 1403 |
<p>Consequently, you might want to upgrade to the latest kernel
|
| 1404 |
before doing the full upgrade. Before you can upgrade to the 2.6
|
| 1405 |
series kernel available in &releasename; you will have to
|
| 1406 |
upgrade to the latest version of <package/coreutils/ and
|
| 1407 |
<package/initrd-tools/. To upgrade the kernel before the upgrade, take
|
| 1408 |
all the steps up to and including the steps related to the a minimal
|
| 1409 |
upgrade of the system, as described in <ref id="minimal_upgrade">,
|
| 1410 |
and then do the following:
|
| 1411 |
<example>
|
| 1412 |
# aptitude install initrd-tools coreutils linux-image-2.6-686
|
| 1413 |
</example>
|
| 1414 |
</p>
|
| 1415 |
|
| 1416 |
<p>This step will also update libc6, install <prgn/udev/ and
|
| 1417 |
remove <package/base-config/ and <package/hotplug/.</p>
|
| 1418 |
|
| 1419 |
<p>You can also take this step if you are using your own custom
|
| 1420 |
kernel and want to use the kernel available in &releasename;.
|
| 1421 |
If your kernel version is not supported by <prgn/udev/ then
|
| 1422 |
it is recommended you upgrade after the minimal upgrade.
|
| 1423 |
If your version is supported by <prgn/udev/ you can safely wait
|
| 1424 |
until after the full system upgrade.</p>
|
| 1425 |
|
| 1426 |
<!--
|
| 1427 |
<p><em>TRY</em>: In aptitude, upgrade only 'required' 'important'
|
| 1428 |
'standard' packages limit by pressing 'l' and input
|
| 1429 |
!~v(~pextra|~poptional) keep with : for hold this time upgrade by
|
| 1430 |
pressing 'U" and 'g' (untested but ...) (You can do this in much
|
| 1431 |
finer steps.)
|
| 1432 |
-->
|
| 1433 |
</sect1>
|
| 1434 |
|
| 1435 |
<sect1 id="upgrade-from-2.4"><heading>Upgrading from a 2.4 kernel</heading>
|
| 1436 |
<p>TODO</p>
|
| 1437 |
|
| 1438 |
</sect1>
|
| 1439 |
|
| 1440 |
<sect1><heading>initrd-tools deprecated</heading>
|
| 1441 |
<p><package/initrd-tools/ is no longer supported and has been
|
| 1442 |
superseded by <package/initramfs-tools/ and <package/yaird/.
|
| 1443 |
Upgrading to an &releasename; kernel will cause
|
| 1444 |
<package/initramfs-tools/ to be installed by default.
|
| 1445 |
<![ %defaulted-2.4 [
|
| 1446 |
If you are upgrading from a 2.4 kernel to a 2.6 kernel for the
|
| 1447 |
first time, you must use <package/initramfs-tools/. Using
|
| 1448 |
<package/yaird/ will cause linux-image-2.6 installations to
|
| 1449 |
fail if you are running a 2.2 or 2.4 kernel.
|
| 1450 |
]]>
|
| 1451 |
</p>
|
| 1452 |
</sect1>
|
| 1453 |
|
| 1454 |
<sect1><heading>devfs deprecated</heading>
|
| 1455 |
<p>&releasename; no longer provides support for <prgn>devfs</prgn>.
|
| 1456 |
It is recommended that users switch to <package>udev</package> for dynamic
|
| 1457 |
<file>/dev</file> management.
|
| 1458 |
Debian kernels no longer include support for <prgn>devfs</prgn>,
|
| 1459 |
so <prgn>devfs</prgn> users will need to convert their systems
|
| 1460 |
manually before upgrading to an &releasename; kernel.</p>
|
| 1461 |
|
| 1462 |
<p>If you see the string 'devfs' in <file>/proc/mounts</file>,
|
| 1463 |
you are most likely using <prgn>devfs</prgn>.
|
| 1464 |
Any config files that reference <prgn>devfs</prgn> style names will need to be
|
| 1465 |
adjusted to use <prgn>udev</prgn> style names. Files that are most likely to
|
| 1466 |
refer to <prgn>devfs</prgn> style device names are <file>/etc/fstab</file>,
|
| 1467 |
<file>/etc/lilo.conf</file>, <file>/boot/grub/menu.lst</file>, etc.</p>
|
| 1468 |
|
| 1469 |
<p>More information about potential issues is available in bug report
|
| 1470 |
<url id="http://bugs.debian.org/341152" name="#341152">.</p>
|
| 1471 |
</sect1>
|
| 1472 |
|
| 1473 |
<![ %i386-amd64-ia64 [
|
| 1474 |
<sect1><heading>Standard kernels have SMP abilities</heading>
|
| 1475 |
<p>Multiprocessor systems no longer require a *-smp flavour of the
|
| 1476 |
Linux kernel. For &arch-title; linux-image packages without the -smp
|
| 1477 |
suffix support both uniprocessor and multiprocessor systems.</p>
|
| 1478 |
</sect1>
|
| 1479 |
]]>
|
| 1480 |
|
| 1481 |
<![ %i386 [
|
| 1482 |
<sect1><heading>386 kernel flavour deprecated</heading>
|
| 1483 |
<p>Support for the 80386 sub-archicture for &arch-title; has been dropped
|
| 1484 |
in &releasename;. The 386 kernel flavor is no longer supported and has been
|
| 1485 |
replaced by the new 486 flavour.</p>
|
| 1486 |
</sect1>
|
| 1487 |
]]>
|
| 1488 |
|
| 1489 |
<sect1 id="device-reorder"><heading>Device enumeration reordering</heading>
|
| 1490 |
<p>&releasename; features a more robust mechanism for hardware discovery
|
| 1491 |
than previous releases. However, this may cause changes in the
|
| 1492 |
order devices are discovered on your system affecting the order
|
| 1493 |
in which device names are assigned.
|
| 1494 |
For example, if you have two network adapters that are associated
|
| 1495 |
with two different drivers, the devices eth0 and eth1 refer to
|
| 1496 |
may be swapped.
|
| 1497 |
Please note that the new mechanism means that if you e.g. exchange
|
| 1498 |
ethernet adapters in a running &releasename; system, the new adapter
|
| 1499 |
will also get a new interface name.</p>
|
| 1500 |
|
| 1501 |
<p>For network devices, you can avoid this reordering by using the
|
| 1502 |
<prgn>ifrename</prgn> utility to bind physical devices to
|
| 1503 |
specific names at boot time.
|
| 1504 |
<!-- TODO: add ifupdown-scripts-zg2 as well here? -->
|
| 1505 |
See <manref name="ifrename" section="8"> and <manref name="iftab"
|
| 1506 |
section="5"> for more information. You can also avoid this by
|
| 1507 |
using <prgn>udev</prgn> rules, more specifically, through the
|
| 1508 |
definitions at
|
| 1509 |
<file>/etc/udev/rules.d/z25_persistent-net.rules</file><footnote>
|
| 1510 |
The rules there are automatically generated to have persistent names for network
|
| 1511 |
interfaces</footnote>. Both alternatives (<prgn>ifrename</prgn>
|
| 1512 |
and <prgn>udev</prgn>) should not be used at the same time.
|
| 1513 |
</p>
|
| 1514 |
|
| 1515 |
<!-- TODO:
|
| 1516 |
*** maks: please review the initramfs stuff for accuracy - I'm going
|
| 1517 |
*** by what I remember, and haven't tested this recently
|
| 1518 |
-->
|
| 1519 |
<p>For storage devices, you can avoid this reordering by using
|
| 1520 |
<package/initramfs-tools/ and configuring it to load storage device
|
| 1521 |
driver modules in the same order they are currently loaded.
|
| 1522 |
To do this, identify the order the storage modules on your system
|
| 1523 |
were loaded by looking at the output of <prgn/lsmod/.
|
| 1524 |
<prgn/lsmod/ lists modules in the reverse order that they were loaded
|
| 1525 |
in, i.e., the first module in the list was the last one
|
| 1526 |
loaded.</p>
|
| 1527 |
|
| 1528 |
<p>However, removing and reloading modules after initial boot
|
| 1529 |
will affect this order. Also, your kernel may have some drivers
|
| 1530 |
linked statically, and these names will not appear in the output
|
| 1531 |
of <prgn>lsmod</prgn>. You may be able to decipher these driver
|
| 1532 |
names and load order from looking at
|
| 1533 |
<file>/var/log/kern.log</file>, or the output of
|
| 1534 |
<prgn>dmesg</prgn>.</p>
|
| 1535 |
|
| 1536 |
<p>Add these module names to <file>/etc/initramfs-tools/modules</file>
|
| 1537 |
in the order they should be loaded at boot time. Some module names may
|
| 1538 |
have changed between &oldreleasename; and &releasename;. For
|
| 1539 |
example, sym53c8xx_2 has become sym53c8xx.</p>
|
| 1540 |
|
| 1541 |
<p>You will then need to regenerate your initramfs image(s) by
|
| 1542 |
executing <tt>update-initramfs -k all</tt>.</p>
|
| 1543 |
|
| 1544 |
<p>Once you are running an &releasename; kernel and <prgn/udev/, you may
|
| 1545 |
reconfigure your system to access disks by an alias that is not
|
| 1546 |
dependent upon driver load order. These aliases reside in the
|
| 1547 |
<file>/dev/disk/</file> hierarchy.</p>
|
| 1548 |
</sect1>
|
| 1549 |
|
| 1550 |
<![ %ia64 [
|
| 1551 |
<sect1><heading>Serial device reordering</heading>
|
| 1552 |
<p>If you have an HP machine and you're using the MP serial
|
| 1553 |
console port (the connector labelled "console" on the 3-headed
|
| 1554 |
cable), this kernel upgrade will break your console!</p>
|
| 1555 |
|
| 1556 |
<p>Please read the following information before upgrading.</p>
|
| 1557 |
|
| 1558 |
<p><list>
|
| 1559 |
<item><p>The console device will change from <file>ttyS0</file> to
|
| 1560 |
<file>ttyS1</file>, <file>ttyS2</file>, or <file>ttyS3</file> so
|
| 1561 |
<list>
|
| 1562 |
<item><p>Edit <file>/etc/inittab</file> to add a getty entry for
|
| 1563 |
<file>/dev/ttyS1</file> (rx4640, rx5670, rx7620, rx8620, Superdome),
|
| 1564 |
<file>/dev/ttyS2</file> (rx1600), or
|
| 1565 |
<file>/dev/ttyS3</file> (rx2600).</p></item>
|
| 1566 |
<item><p>Edit <file>/etc/securetty</file> to add
|
| 1567 |
<file>ttyS1</file>, <file>ttyS2</file>, or
|
| 1568 |
<file>ttyS3</file>.</p></item>
|
| 1569 |
<item><p>Leave the existing <file>ttyS0</file> entries in
|
| 1570 |
<file>/etc/inittab</file> and <file>/etc/securetty</file> so
|
| 1571 |
you can still boot old kernels.</p></item>
|
| 1572 |
</list>
|
| 1573 |
</p></item>
|
| 1574 |
|
| 1575 |
<item><p>Edit <file>/etc/elilo.conf</file> to remove any "console="
|
| 1576 |
arguments.</p></item>
|
| 1577 |
|
| 1578 |
<item><p>Run <prgn/elilo/ to install the bootloader with new
|
| 1579 |
configuration.</p></item>
|
| 1580 |
|
| 1581 |
<item><p>Reboot and use the EFI boot option maintenance menu to
|
| 1582 |
select exactly one device for console output, input, and standard
|
| 1583 |
error. Then do a cold reset so the changes take
|
| 1584 |
effect.</p>
|
| 1585 |
|
| 1586 |
<p>For the MP console, be careful to select the device with
|
| 1587 |
"Acpi(HWP0002,700)/Pci(...)/Uart" in the path.</p></item>
|
| 1588 |
</list></p>
|
| 1589 |
|
| 1590 |
<p>More details about these changes and troubleshooting hints are
|
| 1591 |
available at
|
| 1592 |
<url id="http://lists.debian.org/debian-ia64/2005/01/msg00008.html">.</p>
|
| 1593 |
|
| 1594 |
</sect1>
|
| 1595 |
]]>
|
| 1596 |
|
| 1597 |
</sect>
|
| 1598 |
|
| 1599 |
<sect id="nownownow"><heading>Things to do before rebooting</heading>
|
| 1600 |
|
| 1601 |
<p>When <tt>aptitude dist-upgrade</tt> has finished, the
|
| 1602 |
"formal" upgrade is complete, but there are some other things
|
| 1603 |
that should be taken care of <em/before/ the next reboot.</p>
|
| 1604 |
|
| 1605 |
<sect1 id="rerunlilo"><heading>Rerun lilo</heading>
|
| 1606 |
|
| 1607 |
<p>If you are using <package/lilo/ as your bootloader (it is the
|
| 1608 |
default bootloader for some installations of &oldreleasename;) it is strongly recommended
|
| 1609 |
that you rerun lilo after the upgrade:
|
| 1610 |
<example>
|
| 1611 |
# /sbin/lilo
|
| 1612 |
</example></p>
|
| 1613 |
|
| 1614 |
<p>Notice this is needed even if you did not upgrade your system's kernel, as
|
| 1615 |
lilo's second stage will change due to the package upgrade.</p>
|
| 1616 |
|
| 1617 |
<p>Also, review the contents of your <file>/etc/kernel-img.conf</file> and
|
| 1618 |
make sure that you have <em>do_bootloader = Yes</em> in it. That way the
|
| 1619 |
bootloader will always be rerun after a kernel upgrade.
|
| 1620 |
</p>
|
| 1621 |
|
| 1622 |
<p>If you encounter any issues when running <prgn/lilo/ review the
|
| 1623 |
symbolic links in <file>/</file> to <file>vmlinuz</file> and
|
| 1624 |
<file>initrd</file>, as well as the contents of your
|
| 1625 |
<file>/etc/lilo.conf</file> for discrepancies.</p>
|
| 1626 |
|
| 1627 |
<p>If you forgot to rerun <prgn/lilo/ before the reboot or the system
|
| 1628 |
is accidentally rebooted before you could do this manually, your
|
| 1629 |
system might fail to boot. Instead of the lilo prompt, you will only
|
| 1630 |
see <em/LI/ when booting the system<footnote>For more information on
|
| 1631 |
<prgn/lilo/'s boot error codes please see <url
|
| 1632 |
id="http://tldp.org/HOWTO/Bootdisk-HOWTO/a1483.html" name="The Linux
|
| 1633 |
Bootdisk HOWTO">.</footnote>. In order to
|
| 1634 |
recover from this you will have to start up a media installation disk
|
| 1635 |
in <em/rescue/ mode. For
|
| 1636 |
more information on how to do this please review the <url
|
| 1637 |
id="http://wiki.debian.org/DebianInstaller/FAQ" name="DebianInstaller
|
| 1638 |
FAQ">.</p>
|
| 1639 |
|
| 1640 |
</sect1>
|
| 1641 |
|
| 1642 |
<sect1 id="mdadm"><heading>Upgrading mdadm</heading>
|
| 1643 |
|
| 1644 |
<p>mdadm now needs a configuration file to assemble MD arrays (RAID)
|
| 1645 |
from the initial ramdisk and during the system initialisation
|
| 1646 |
sequence. Please make sure to read and act upon the instructions in
|
| 1647 |
<file>/usr/share/doc/mdadm/README.upgrading-2.5.3.gz</file> after
|
| 1648 |
the package has been upgraded <strong>and before you reboot</strong>.
|
| 1649 |
The latest version of this file is available at
|
| 1650 |
<url id="http://svn.debian.org/wsvn/pkg-mdadm/mdadm/trunk/debian/README.upgrading-2.5.3?op=file">;
|
| 1651 |
please consult it in case of problems.</p>
|
| 1652 |
|
| 1653 |
</sect1>
|
| 1654 |
</sect>
|
| 1655 |
|
| 1656 |
<sect id="obsolete"><heading>Obsolete packages</heading>
|
| 1657 |
|
| 1658 |
<!-- JFS: Providing a full listing might be useful, especially if we can
|
| 1659 |
point to the Bug that was opened when the bug was removed. This list should
|
| 1660 |
be moved to an appendix, instead of adding it inline as we did in the
|
| 1661 |
potato to woody RN -->
|
| 1662 |
|
| 1663 |
<p>Introducing several thousand new packages, &releasename; also
|
| 1664 |
retires and omits more than two thousand old packages that were in
|
| 1665 |
&oldreleasename;. It provides no upgrade path for these obsolete
|
| 1666 |
packages. While nothing prevents you from continuing to use an
|
| 1667 |
obsolete package where desired, the Debian project will usually
|
| 1668 |
discontinue security support for it a year after &releasename;'s
|
| 1669 |
release<footnote>Or for as long as there is not another release in
|
| 1670 |
that time frame. Typically only two stable releases are supported
|
| 1671 |
at any given time.</footnote>, and will not normally provide other
|
| 1672 |
support in the meantime. Replacing them with available
|
| 1673 |
alternatives, if any, is recommended.</p>
|
| 1674 |
|
| 1675 |
<p>There are many reasons why packages might have been removed from
|
| 1676 |
the distribution: they are no longer maintained upstream; there is
|
| 1677 |
no longer a Debian Developer interested in maintaining the packages;
|
| 1678 |
the functionality they provide has been superseded by different
|
| 1679 |
software (or a new version); or they are no longer considered
|
| 1680 |
suitable for &releasename; due to bugs in them. In the later case,
|
| 1681 |
packages might still be present in the "unstable" distribution.</p>
|
| 1682 |
|
| 1683 |
<p>Detecting which packages in an updated system are "obsolete" is
|
| 1684 |
easy since the package management front-ends will mark them as
|
| 1685 |
such. If you are using <prgn>aptitude</prgn>, you will see a
|
| 1686 |
listing of these packages in the "Obsolete and Locally Created
|
| 1687 |
Packages" entry. <prgn>dselect</prgn> provides a similar section
|
| 1688 |
but the listing it presents might differ. Also, if you have used
|
| 1689 |
<prgn>aptitude</prgn> to manually install packages in
|
| 1690 |
&oldreleasename; it will have kept track of those packages you
|
| 1691 |
manually installed and will be able to mark as obsolete those
|
| 1692 |
packages pulled in by dependencies alone which are no longer
|
| 1693 |
needed if a package has been removed. Also, <prgn>aptitude</prgn>,
|
| 1694 |
unlike <prgn>deborphan</prgn> will not mark as obsolete packages
|
| 1695 |
that you manually installed, as opposed to those that were
|
| 1696 |
automatically installed through dependencies.</p>
|
| 1697 |
|
| 1698 |
<p>There are additional tools you can use to find obsolete packages
|
| 1699 |
such as <prgn>deborphan</prgn>, <prgn>debfoster</prgn> or
|
| 1700 |
<prgn>cruft</prgn>. <prgn>deborphan</prgn> is highly recommended,
|
| 1701 |
although it will (in default mode) only report obsolete libraries:
|
| 1702 |
packages in the "libs" or "oldlibs" sections that are not used by
|
| 1703 |
any other packages. Do not blindly remove the packages these tools
|
| 1704 |
present, especially if you are using aggressive non-default
|
| 1705 |
options that are prone to produce false positives. It is highly
|
| 1706 |
recommended that you manually review the packages suggested for
|
| 1707 |
removal (i.e. their contents, size and description) before you
|
| 1708 |
remove them.</p>
|
| 1709 |
|
| 1710 |
<!-- JFS: Should we recommend purging old packages? This might be
|
| 1711 |
dangerous since the maintainer scripts might try to remove stuff that
|
| 1712 |
didn't belong to them... -->
|
| 1713 |
|
| 1714 |
<p>The <url id="&url-bts;" name="Debian Bug Tracking System">
|
| 1715 |
often provides additional information on why the package was
|
| 1716 |
removed. You should review both the archived bug reports for the
|
| 1717 |
package itself and the archived bug reports for the <url
|
| 1718 |
id="&url-bts;cgi-bin/pkgreport.cgi?pkg=ftp.debian.org&archive=yes"
|
| 1719 |
name="ftp.debian.org pseudo-package">.</p>
|
| 1720 |
|
| 1721 |
<sect1 id="dummy"><heading>Dummy packages</heading>
|
| 1722 |
|
| 1723 |
<!-- JFS: If the appendix is kept this section should point there and the packages described here should be moved to that section -->
|
| 1724 |
|
| 1725 |
<p>Some packages from &oldreleasename; have been split into several
|
| 1726 |
packages in &releasename;, often to improve system maintainability. To
|
| 1727 |
ease the upgrade path in such cases, &releasename; often provides
|
| 1728 |
"dummy" packages: empty packages that have the same name as the old
|
| 1729 |
package in &oldreleasename; with dependencies that cause the new
|
| 1730 |
packages to be installed. These "dummy" packages are considered
|
| 1731 |
obsolete packages after the upgrade and can be safely removed.
|
| 1732 |
|
| 1733 |
<p>Most (but not all) dummy packages' descriptions indicate their
|
| 1734 |
purpose. Package descriptions for dummy packages are not uniform,
|
| 1735 |
however, so you might also find <prgn>deborphan</prgn> with the
|
| 1736 |
<tt>--guess</tt> options useful to detect them in your system.
|
| 1737 |
Note that some dummy packages are not intended to be removed after
|
| 1738 |
an upgrade but are, instead, used to keep track of the current
|
| 1739 |
available version of a program over time.</p>
|
| 1740 |
|
| 1741 |
</sect1>
|
| 1742 |
</sect>
|
| 1743 |
</chapt>
|
| 1744 |
|
| 1745 |
<!-- FJP: Add more info here on dealing with obsolete packages?
|
| 1746 |
Also how to purge packages that were deleted but still have conffiles
|
| 1747 |
(use "limit" command in aptitude and search for ~c) -->
|
| 1748 |
|
| 1749 |
<chapt id="information">
|
| 1750 |
<heading>Issues to be aware of for &releasename;</heading>
|
| 1751 |
|
| 1752 |
<sect id="problems"><heading>Potential problems</heading>
|
| 1753 |
<p>Sometimes, changes have side-issues we cannot reasonably avoid,
|
| 1754 |
or we expose bugs somewhere else.
|
| 1755 |
We document here the issues we are aware of.
|
| 1756 |
Please also read the errata, the relevant packages' documentation,
|
| 1757 |
bug reports and other information mentioned in <ref id="morereading">.
|
| 1758 |
</p>
|
| 1759 |
|
| 1760 |
<sect1 id="window-scaling"><heading>Certain networking site cannot be reached by TCP</heading>
|
| 1761 |
<p>
|
| 1762 |
Since 2.6.17, Linux aggresively uses TCP window scaling which is specified in RFC 1323.
|
| 1763 |
Some servers have a broken behaviour, and announce wrong
|
| 1764 |
window sizes for themselves. Please see the bugs
|
| 1765 |
<url id="http://bugs.debian.org/381262" name="#381262"> and
|
| 1766 |
<url id="http://bugs.debian.org/395066" name="#395066">
|
| 1767 |
for more information.
|
| 1768 |
</p>
|
| 1769 |
</sect1>
|
| 1770 |
|
| 1771 |
<![ %i386 [
|
| 1772 |
<sect1 id="poweroff"><heading>Automatic poweroff stops working</heading>
|
| 1773 |
<p>
|
| 1774 |
On some older systems, <tt>shutdown -h</tt> may not power off the system
|
| 1775 |
anymore (but just stop it). This happens because apm needs to be used there.
|
| 1776 |
Adding <tt>acpi=off apm=power_off</tt> to the kernel's command line, e.g.
|
| 1777 |
in <package/grub/ or <package/lilo/ configuration files should fix this issue.
|
| 1778 |
Please see bug
|
| 1779 |
<url id="http://bugs.debian.org/390547" name="#390547">
|
| 1780 |
for additional information.
|
| 1781 |
</p>
|
| 1782 |
</sect1>
|
| 1783 |
]]>
|
| 1784 |
|
| 1785 |
<sect1 id="apt-pdiff"><heading>Apt downloads small files with update</heading>
|
| 1786 |
<p>
|
| 1787 |
Support has been added to <prgn>apt</prgn> to download only the difference
|
| 1788 |
between packages files. This is handy for people with bad network connections,
|
| 1789 |
but people having a very nearby mirror may want to disable this feature.
|
| 1790 |
One can disable it by adding <tt>Acquire::Pdiffs "false";</tt> to
|
| 1791 |
<file>/etc/apt/apt.conf</file>.
|
| 1792 |
</p>
|
| 1793 |
</sect1>
|
| 1794 |
|
| 1795 |
<![ %i386 [
|
| 1796 |
<sect1 id="hp-acpi"><heading>ACPI support disabled for some HP laptop models in &releasename; kernel</heading>
|
| 1797 |
<p>
|
| 1798 |
Certain models of HP laptops have an ACPI BIOS that is incompatible with the
|
| 1799 |
Linux 2.6.18 kernel shipped in &releasename;, which would prevent the fans from
|
| 1800 |
spinning up leading to unnecessary heat stress. Also, fans might not work after
|
| 1801 |
the system is suspedend. The kernel therefore disables ACPI support
|
| 1802 |
internally when it detects certain ACPI BIOS versions. Models known
|
| 1803 |
to be affected by this change include the HP nx6125, nx6120, nx6325,
|
| 1804 |
nc6120 and nc6000 models.
|
| 1805 |
</p>
|
| 1806 |
<p>
|
| 1807 |
Users who require ACPI support on these systems may install a Linux 2.6.19 or
|
| 1808 |
later kernel. Please see Debian bug
|
| 1809 |
<url id="http://bugs.debian.org/404143" name="#404143"> and
|
| 1810 |
<url id="http://bugs.debian.org/400488" name="#400488">,
|
| 1811 |
and Linux Kernel's bugs
|
| 1812 |
<url id="http://bugzilla.kernel.org/show_bug.cgi?id=5534" name="#5534">
|
| 1813 |
and
|
| 1814 |
<url id="http://bugzilla.kernel.org/show_bug.cgi?id=7122" name="#7122">
|
| 1815 |
for additional information.
|
| 1816 |
</p>
|
| 1817 |
</sect1>
|
| 1818 |
]]>
|
| 1819 |
|
| 1820 |
</sect>
|
| 1821 |
|
| 1822 |
|
| 1823 |
<!-- Controversial, disabled for now, please translate though
|
| 1824 |
<sect id="german-quotes"><heading>Problems with German Quotes</heading>
|
| 1825 |
|
| 1826 |
<p>The locales for German style languages (e.g. de_DE@euro)
|
| 1827 |
unfortunately use an aesthetically unpleasing way of representing
|
| 1828 |
open quotation marks. We have retained it this way in order to
|
| 1829 |
preserve compatibility with other Linux distributions, and we hope
|
| 1830 |
that in the future it will be fixed. We suggest that you switch to a
|
| 1831 |
UTF-8 locale (e.g. de_DE@euro.UTF-8), which fully supports German with
|
| 1832 |
the correct quotation marks, and, using Unicode encoding, has better
|
| 1833 |
support for other languages as well.</p>
|
| 1834 |
|
| 1835 |
<p>To change the system wide locale choice, use:
|
| 1836 |
<example>dpkg-reconfigure locales</example></p>
|
| 1837 |
</sect>
|
| 1838 |
-->
|
| 1839 |
<!-- Will be added if relevant information is written here
|
| 1840 |
<sect id="syntax"><heading>Important program syntax changes</heading>
|
| 1841 |
|
| 1842 |
<p>Debian attempts to avoid changing upstream packages, therefore
|
| 1843 |
any changes in the upstream package will be present in the version in
|
| 1844 |
&debian;. This can mean that program behaviour may change between
|
| 1845 |
releases of &debian;. </p>
|
| 1846 |
|
| 1847 |
<p><em>No changes yet reported.</em></p>
|
| 1848 |
|
| 1849 |
</sect>
|
| 1850 |
-->
|
| 1851 |
|
| 1852 |
<![ %defaulted-2.4 [
|
| 1853 |
<sect id="upgrade-to-2.6">
|
| 1854 |
<heading>Upgrading to a 2.6 kernel</heading>
|
| 1855 |
|
| 1856 |
<p>The 2.6 kernel series contains major changes from the 2.4 series.
|
| 1857 |
Modules have been renamed and a lot of drivers have been partially
|
| 1858 |
or sometimes almost completely rewritten. Upgrading to a 2.6 kernel
|
| 1859 |
from an earlier version is therefore not a process to be undertaken
|
| 1860 |
lightly. This section aims to make you aware of some of the issues
|
| 1861 |
you may face.</p>
|
| 1862 |
|
| 1863 |
<p>You are therefore strongly advised not to upgrade to a 2.6 kernel
|
| 1864 |
as part of the upgrade from &oldreleasename; to &releasename;.
|
| 1865 |
Instead, you should first make sure your system works correctly
|
| 1866 |
with either the old kernel or with a 2.4 kernel from &releasename;
|
| 1867 |
and do the upgrade to a 2.6 kernel later as a separate project.</p>
|
| 1868 |
|
| 1869 |
<p>If you compile your own kernel from source, make sure you install
|
| 1870 |
<package/module-init-tools/ before you reboot with the 2.6 kernel.
|
| 1871 |
This package replaces <package/modutils/ for 2.6 kernels. If you
|
| 1872 |
install one of the Debian <package/linux-image/ packages, this
|
| 1873 |
package will be installed automatically because of dependencies.</p>
|
| 1874 |
|
| 1875 |
<p>If you use <em/LVM/, you should also install <package/lvm2/
|
| 1876 |
before you reboot as the 2.6 kernel does not directly support LVM1.
|
| 1877 |
To access LVM1 volumes, the compatibility layer of <package/lvm2/
|
| 1878 |
(the dm-mod module) is used. You can leave <package/lvm10/ installed;
|
| 1879 |
the init scripts will detect which kernel is used and execute the
|
| 1880 |
appropriate version.</p>
|
| 1881 |
|
| 1882 |
<p>If you have entries in the <file>/etc/modules</file> file (the
|
| 1883 |
list of modules to be loaded during system boot), be aware that some
|
| 1884 |
module names may have changed. If this happens you will have to update
|
| 1885 |
this file with the new module names.</p>
|
| 1886 |
|
| 1887 |
<!-- JFS: Can't this device name change even for some other disk controllers? I've found
|
| 1888 |
references in debian-user posts talking about some strange chipsets and BIOS
|
| 1889 |
which are seen in sarge' 2.4 as hda and in etch's 2.6 as hdf... -->
|
| 1890 |
<![ %i386-amd64 [
|
| 1891 |
<p>For some SATA disk controllers, the device assigned to a drive and
|
| 1892 |
its partitions may change from <file>/dev/hdX</file> to
|
| 1893 |
<file>/dev/sdX</file>. If this happens, you will have to modify your
|
| 1894 |
<file>/etc/fstab</file> and bootloader configuration accordingly.
|
| 1895 |
Unless these changes are made correctly, your system may not boot
|
| 1896 |
correctly<footnote>It will boot the kernel but will fail when trying
|
| 1897 |
to mount the root filesystem and will abort with an error <em>waiting for root filesystem</em>
|
| 1898 |
followed by <em>unable to mount /dev/hdX ..not found</em>.
|
| 1899 |
You can use the <prgn/initramfs/ shell to fix this issue, after you
|
| 1900 |
identify the names newly assigned devices in the kernel boot messages or by reviewing
|
| 1901 |
the contents of <file>/dev/disk</file>.</footnote>.</p>
|
| 1902 |
]]>
|
| 1903 |
|
| 1904 |
<p>Once you have installed your 2.6 kernel, but before you reboot,
|
| 1905 |
make sure you have a recovery method. First, make sure that the
|
| 1906 |
bootloader configuration has entries for both the new kernel and
|
| 1907 |
the old, working 2.4 kernel. You should also ensure you have a "rescue"
|
| 1908 |
floppy or cdrom to hand, in case misconfiguration of the bootloader
|
| 1909 |
prevents you booting the old kernel.</p>
|
| 1910 |
|
| 1911 |
<![ %not-s390 [
|
| 1912 |
<![ %not-amd64 [
|
| 1913 |
<sect1 id="2.6-keyboard">
|
| 1914 |
<heading>Keyboard configuration</heading>
|
| 1915 |
|
| 1916 |
<p>The most invasive change in the 2.6 kernels is a fundamental
|
| 1917 |
change of the input layer. This change makes all keyboards look
|
| 1918 |
like "normal" PC keyboards. This means that if you currently have
|
| 1919 |
a different type of keyboard selected (e.g. a USB-MAC or Sun
|
| 1920 |
keyboard), you will very likely end up with a non-working keyboard
|
| 1921 |
after rebooting with the new 2.6 kernel.</p>
|
| 1922 |
|
| 1923 |
<p>If you can SSH into the box from another system, you can resolve
|
| 1924 |
this issue by running <tt>dpkg-reconfigure console-data</tt>, choosing
|
| 1925 |
the option "Select keymap from full list" and selecting a "pc"
|
| 1926 |
keyboard.</p>
|
| 1927 |
|
| 1928 |
<p>If your console keyboard is affected, you will probably also need to
|
| 1929 |
reconfigure your keyboard for the X Window System. You can do this
|
| 1930 |
either by running <tt>dpkg-reconfigure xserver-xorg</tt> or by
|
| 1931 |
editing <file>/etc/X11/xorg.conf</file> directly. Don't forget
|
| 1932 |
to read the documentation referred to in <ref id="nownownow">.</p>
|
| 1933 |
|
| 1934 |
<![ %i386 [
|
| 1935 |
<p>This issue is unlikely to affect the &arch-title; architecture
|
| 1936 |
as all PS/2 and most USB keyboards will already be configured as
|
| 1937 |
a "normal" PC keyboard.</p>
|
| 1938 |
]]>
|
| 1939 |
<![ %not-i386 [
|
| 1940 |
<p>Note that if you are using a USB keyboard, this may be configured
|
| 1941 |
as either a "normal" PC keyboard or as a USB-MAC keyboard. In the
|
| 1942 |
first case you will not be affected by this issue.</p>
|
| 1943 |
]]>
|
| 1944 |
</sect1>
|
| 1945 |
]]> <!-- %not-amd64 -->
|
| 1946 |
|
| 1947 |
<sect1 id="2.6-mouse">
|
| 1948 |
<heading>Mouse configuration</heading>
|
| 1949 |
|
| 1950 |
<p>Again because of the changes in the input layer, you may have to
|
| 1951 |
reconfigure the X Window System and <package/gpm/ if your mouse is
|
| 1952 |
not working after upgrading to a 2.6 kernel. The most likely cause is
|
| 1953 |
that the device which gets the data from the mouse has changed.
|
| 1954 |
You may also need to load different modules.</p>
|
| 1955 |
|
| 1956 |
<![ %sparc [
|
| 1957 |
<p>If you currently have X configured for <file>/dev/sunmouse</file>,
|
| 1958 |
you probably need to change this to <file>/dev/psaux</file>.</p>
|
| 1959 |
]]>
|
| 1960 |
|
| 1961 |
</sect1>
|
| 1962 |
|
| 1963 |
<sect1 id="2.6-sound">
|
| 1964 |
<heading>Sound configuration</heading>
|
| 1965 |
|
| 1966 |
<p>For the 2.6 kernel series the ALSA sound drivers are recommended
|
| 1967 |
over the older OSS sound drivers. ALSA sound drivers are provided
|
| 1968 |
as modules by default. In order for sound to work, the ALSA modules
|
| 1969 |
appropriate for your sound hardware need to be loaded. In general
|
| 1970 |
this will happen automatically if you have, in addition to the
|
| 1971 |
<package>alsa-base</package> package, either the
|
| 1972 |
<package>hotplug</package> package or the <package>discover</package>
|
| 1973 |
package installed. The <package>alsa-base</package> package also
|
| 1974 |
"blacklists" OSS modules to prevent <prgn>hotplug</prgn> and
|
| 1975 |
<prgn>discover</prgn> from loading them. If you have OSS modules
|
| 1976 |
listed in <file>/etc/modules</file>, you should remove them.</p>
|
| 1977 |
|
| 1978 |
</sect1>
|
| 1979 |
]]> <!-- %not-s390 -->
|
| 1980 |
|
| 1981 |
<!-- FJP: May already be covered by kernel team text
|
| 1982 |
Etch Debian kernels depend on udev via initramfs-tools -->
|
| 1983 |
<sect1 id="2.6-udev">
|
| 1984 |
<heading>Switching to 2.6 may activate udev</heading>
|
| 1985 |
|
| 1986 |
<p><package/udev/ is a userspace implementation of devfs. It is mounted
|
| 1987 |
over the <file>/dev</file> directory and will populate that directory
|
| 1988 |
with devices supported by the kernel. It will also dynamically add and
|
| 1989 |
remove devices as kernel modules are loaded or unloaded respectively,
|
| 1990 |
working together with <package/hotplug/ to detect new devices.
|
| 1991 |
<package/udev/ works only with 2.6 kernels.</p>
|
| 1992 |
|
| 1993 |
<p>As <package/udev/ is automatically installed as a dependency of the new
|
| 1994 |
default initrd generator used with the 2.6 kernels
|
| 1995 |
(<package/initramfs-tools/), upgrading to a 2.6 kernel will normally result
|
| 1996 |
in <package/udev/ being activated. You can avoid installing <package/udev/
|
| 1997 |
if you install an alternate initrd generator, such as <package/yaird/.
|
| 1998 |
<package/initramfs-tools/ is the recommended initrd generator.</p>
|
| 1999 |
|
| 2000 |
<p>Although <package/udev/ has been tested extensively, you may experience
|
| 2001 |
minor problems with some devices that will need to be fixed. The most
|
| 2002 |
common problems are changed permission and/or ownership of a device.
|
| 2003 |
In some cases a device may not be created by default (e.g.
|
| 2004 |
<file>/dev/video</file> and <file>/dev/radio</file>).</p>
|
| 2005 |
|
| 2006 |
<p><package/udev/ provides configuration mechanisms to deal with these
|
| 2007 |
issues. See <manref name="udev" section="8"> and <file>/etc/udev</file>
|
| 2008 |
for further information.</p>
|
| 2009 |
|
| 2010 |
</sect1>
|
| 2011 |
</sect>
|
| 2012 |
]]> <!-- %defaulted-2.4 -->
|
| 2013 |
|
| 2014 |
|
| 2015 |
<sect id="xorg"> <heading>XFree86 to X.Org transition</heading>
|
| 2016 |
<p>The transition to X.Org involves some structural changes. In case
|
| 2017 |
all installed packages are from Debian and also included in &releasename;,
|
| 2018 |
the upgrade should work without problems.
|
| 2019 |
Experience has however shown there are a few changes to be aware of as
|
| 2020 |
they can potentially cause issues during the upgrade.</p>
|
| 2021 |
|
| 2022 |
<p>The most important change is that <file>/usr/X11R6/bin</file> has
|
| 2023 |
been dropped and only remains as a symlink to <file>/usr/bin</file>.
|
| 2024 |
This means this directory has to be empty at the time the new packages
|
| 2025 |
are installed. The new packages conflict with most packages that used
|
| 2026 |
<file>/usr/X11R6/bin</file>,
|
| 2027 |
but in some cases manual intervention may be needed.
|
| 2028 |
Please remember to not run upgrades within an X session.</p>
|
| 2029 |
|
| 2030 |
<p>In case the upgrade aborts during X.Org installation, you should
|
| 2031 |
check if any files are still left in <file>/usr/X11R6/bin</file>.
|
| 2032 |
You can then use <tt>dpkg -S</tt> to find out which Debian package
|
| 2033 |
installed that file (if any), and remove such packages with
|
| 2034 |
<tt>dpkg --remove</tt>. Please make a note which packages you
|
| 2035 |
remove, so that you can install substitute packages later on.
|
| 2036 |
Before continuing with the upgrade, all files in
|
| 2037 |
<file>/usr/X11R6/bin</file> need to be removed.</p>
|
| 2038 |
|
| 2039 |
<p>Please read <url id="http://wiki.debian.org/Xorg69To7">
|
| 2040 |
for more details and other issues.</p>
|
| 2041 |
|
| 2042 |
</sect>
|
| 2043 |
|
| 2044 |
<sect id="exim"> <heading>Upgrading from exim to exim4</heading>
|
| 2045 |
<p>One of the packages that has been obsoleted by the &releasename;
|
| 2046 |
release is the Mail Transfer Agent (MTA) <package/exim/, which has been replaced
|
| 2047 |
by the completely new package <package/exim4/.</p>
|
| 2048 |
|
| 2049 |
<p><prgn/exim/ (version 3.xx) has been unmaintained upstream for years, and
|
| 2050 |
Debian has dropped support for that version as well. If you are still using
|
| 2051 |
<prgn/exim/ 3.xx, please upgrade your <package/exim/ installation to <package/exim4/ manually.
|
| 2052 |
Since <package/exim4/ is already part of &oldreleasename;, you can choose to do the
|
| 2053 |
upgrade on your &oldreleasename; system before the upgrade to &releasename;,
|
| 2054 |
or after the &releasename; upgrade at your convenience. Just remember that
|
| 2055 |
your old <package/exim/ package is not going to be upgraded and that it won't get
|
| 2056 |
security support after support for &oldreleasename; has been discontinued.</p>
|
| 2057 |
|
| 2058 |
<p>The <package/exim4/ packages in Debian are extensively documented. The package's
|
| 2059 |
home page is <url id="http://wiki.debian.org/PkgExim4"> on the Debian Wiki, and
|
| 2060 |
the README file can be found at
|
| 2061 |
<url id="http://pkg-exim4.alioth.debian.org/README/README.Debian.html"> and
|
| 2062 |
inside the packages as well.</p>
|
| 2063 |
|
| 2064 |
<p>The README file has a chapter about Packaging, which explains the
|
| 2065 |
different package variations we offer, and it has a chapter about
|
| 2066 |
Updating from <prgn/Exim/ 3, which will help you in doing the actual
|
| 2067 |
transition.</p>
|
| 2068 |
<!-- FIXME: update with decisions of (S)RMs might be needed -->
|
| 2069 |
</sect>
|
| 2070 |
|
| 2071 |
<sect id="apache2"> <heading>Upgrading apache2</heading>
|
| 2072 |
<p>Apache has been upgraded to the new version 2.2.
|
| 2073 |
Although this shouldn't impact the average user,
|
| 2074 |
there are some potential issues to be aware of.</p>
|
| 2075 |
|
| 2076 |
<p><url id="http://httpd.apache.org/docs/2.2/upgrading.html"> contains
|
| 2077 |
the upstream changes. Please read this page, and remember that especially:
|
| 2078 |
<list>
|
| 2079 |
<item><p>all modules need to be recompiled</p></item>
|
| 2080 |
<item><p>authorization modules have been resorted and renamed</p></item>
|
| 2081 |
<item><p>some configuration options have been renamed</p></item>
|
| 2082 |
</list></p>
|
| 2083 |
|
| 2084 |
<p>Debian-specific changes include that the string SSL is no longer defined,
|
| 2085 |
as ssl is now supported by the default package.</p>
|
| 2086 |
|
| 2087 |
</sect>
|
| 2088 |
|
| 2089 |
<sect id="php-globals"> <heading>Deprecated insecure php configurations</heading>
|
| 2090 |
<p>For many years, turning on the <tt/register_globals/ settings in PHP
|
| 2091 |
has been known to be insecure and dangerous, and this option has defaulted to
|
| 2092 |
off for some time now. This configuration is
|
| 2093 |
now finally deprecated on Debian systems as too dangerous.
|
| 2094 |
The same applies to flaws in <tt/safe_mode/ and <tt/open_basedir/, which
|
| 2095 |
have also been unmaintained for some time.</p>
|
| 2096 |
|
| 2097 |
<p>Starting with this release, the Debian security team does not provide
|
| 2098 |
security support for a number of PHP configurations which are known to
|
| 2099 |
be insecure. Most importantly, issues resulting from
|
| 2100 |
<tt/register_globals/ being turned on will no longer be addressed.</p>
|
| 2101 |
|
| 2102 |
<p>If you run legacy applications that require <tt/register_globals/,
|
| 2103 |
enable it for the respective paths only, e.g. through the Apache
|
| 2104 |
configuration file. More information is available in the
|
| 2105 |
<file>README.Debian.security</file> file in the PHP
|
| 2106 |
documentation directory (<file>/usr/share/doc/php4</file>,
|
| 2107 |
<file>/usr/share/doc/php5</file>).</p>
|
| 2108 |
</sect>
|
| 2109 |
|
| 2110 |
<!-- JFS: Bug #400311 -->
|
| 2111 |
<sect id="mozilla-security"> <heading>Security status of Mozilla products</heading>
|
| 2112 |
<p>The Mozilla programs <package>firefox</package> and <package>thunderbird</package>
|
| 2113 |
(rebranded in Debian to <package>iceweasel</package> and <package>icedove</package>, respectively),
|
| 2114 |
are important tools for many users.
|
| 2115 |
Unfortunately the upstream security policy is to urge users to update to
|
| 2116 |
new upstream versions, which conflicts with Debian's policy not to ship
|
| 2117 |
large functional changes in security updates.
|
| 2118 |
We cannot predict it today, but during lifetime of &releasename; the
|
| 2119 |
Debian Security Team may come to a point where supporting
|
| 2120 |
Mozilla products is no longer feasible and announce
|
| 2121 |
the end of security support for Mozilla products.
|
| 2122 |
You should take this into account when deploying Mozilla and consider
|
| 2123 |
alternatives available in Debian if the absence of security support would
|
| 2124 |
pose a problem for you.</p>
|
| 2125 |
</sect>
|
| 2126 |
|
| 2127 |
<!-- JFS: Bug #400838 -->
|
| 2128 |
<sect id="kde-desktop-changes"> <heading>KDE desktop</heading>
|
| 2129 |
<p>KDE media handling has changed in the version available in
|
| 2130 |
&releasename; from using <file>device:/</file> to <file>media:/</file>.
|
| 2131 |
Some user configuration files might have stored <file>device:/</file>
|
| 2132 |
links in them which should be adapted. Notably,
|
| 2133 |
<file>~/.kde/share/apps/konqsidebartng/virtual_folders/services</file>
|
| 2134 |
contains this reference and can be safely deleted as it will not be
|
| 2135 |
created when setting up new users.
|
| 2136 |
|
| 2137 |
<p>There have been many changes in the KDE desktop environment from
|
| 2138 |
the version shipped in &oldreleasename; to the version in
|
| 2139 |
&releasename;, you can find more information in the <url
|
| 2140 |
id="http://www.kde.org/announcements/announce-3.5.php" name="KDE
|
| 2141 |
3.5 Release Notes">.</p>
|
| 2142 |
</sect>
|
| 2143 |
|
| 2144 |
<!-- JFS: Bug #387921 -->
|
| 2145 |
<sect id="gnome-desktop-changes"> <heading>GNOME desktop changes and support</heading>
|
| 2146 |
<p>If you used the GNOME desktop in &oldreleasename; you will not benefit
|
| 2147 |
of some of the changes introduced in the default configuration in
|
| 2148 |
Debian for &releasename;. In some extreme cases the GNOME desktop might
|
| 2149 |
not properly handle your old configuration and might not behave properly.</p>
|
| 2150 |
|
| 2151 |
<p>If you have not heavily invested in configuring your GNOME desktop
|
| 2152 |
you might want to move the the <file>.gconf</file> directory in user's
|
| 2153 |
home directories to a different name (such as <file>.gconf.old</file>)
|
| 2154 |
so that it gets recreated, with the default configuration for
|
| 2155 |
&releasename;, upon starting a new session.</p>
|
| 2156 |
|
| 2157 |
<p>With the release of &releasename;, Debian no longer contains packages for
|
| 2158 |
most of the obsolete version 1 release of GNOME. Although some packages
|
| 2159 |
remain in order to support some Debian packages which have not yet
|
| 2160 |
been updated to GNOME 2. Packages for GTK1.2 remain fully maintained.</p>
|
| 2161 |
|
| 2162 |
<p>There have been many changes in the GNOME desktop environment from
|
| 2163 |
the version shipped in &oldreleasename; to the version in
|
| 2164 |
&releasename;, you can find more information in the <url
|
| 2165 |
id="http://www.gnome.org/start/2.14/notes/en/" name="GNOME
|
| 2166 |
2.14 Release Notes">.</p>
|
| 2167 |
</sect>
|
| 2168 |
|
| 2169 |
<!-- FJP: Bug #398887 -->
|
| 2170 |
<sect id="default-editor"> <heading>Default editor</heading>
|
| 2171 |
<p>If you were using <prgn/vim/ as your default editor, this may
|
| 2172 |
be changed to <prgn/nano/ during the upgrade.</p>
|
| 2173 |
|
| 2174 |
<p>Administrators that wish to change the default editor for all users
|
| 2175 |
will have to update the alternatives system using:
|
| 2176 |
|
| 2177 |
<example>
|
| 2178 |
# update-alternatives --config editor
|
| 2179 |
</example>
|
| 2180 |
</p>
|
| 2181 |
|
| 2182 |
<p>Users wishing to change the default editor can define the
|
| 2183 |
environment variable <em>EDITOR</em> by introducing the following lines
|
| 2184 |
in their own profiles:
|
| 2185 |
|
| 2186 |
<example>
|
| 2187 |
EDITOR=vi
|
| 2188 |
export EDITOR
|
| 2189 |
alias editor=$EDITOR
|
| 2190 |
</example>
|
| 2191 |
</p>
|
| 2192 |
|
| 2193 |
</sect>
|
| 2194 |
|
| 2195 |
</chapt>
|
| 2196 |
|
| 2197 |
<chapt id="moreinfo">
|
| 2198 |
|
| 2199 |
<heading>More information on &debian;</heading>
|
| 2200 |
|
| 2201 |
<sect id="morereading"> <heading>Further reading</heading>
|
| 2202 |
<p>Beyond these release notes and the installation guide, further
|
| 2203 |
documentation on &debian; is available from the Debian
|
| 2204 |
Documentation Project (DDP), whose goal is to create high quality
|
| 2205 |
documentation for Debian users and developers. Documentation
|
| 2206 |
including the Debian Reference, Debian New Maintainers Guide, and Debian
|
| 2207 |
FAQ are available, and many more. For full details of the existing resources
|
| 2208 |
see the <url id="&url-ddp;" name="DDP website">.</p>
|
| 2209 |
|
| 2210 |
<p>Documentation for individual packages is installed into
|
| 2211 |
<file>/usr/share/doc/<var>package</var></file>, this may include
|
| 2212 |
copyright information, Debian specific details and any upstream
|
| 2213 |
documentation.</p>
|
| 2214 |
|
| 2215 |
</sect>
|
| 2216 |
|
| 2217 |
<sect id="gethelp">
|
| 2218 |
<heading>Getting help</heading>
|
| 2219 |
|
| 2220 |
<p>There are many sources of help, advice and support for Debian
|
| 2221 |
users, but these should only be considered if research into
|
| 2222 |
documentation of the issue has exhausted all sources. This section
|
| 2223 |
provides a short introduction into these which may be helpful for
|
| 2224 |
new Debian users.</p>
|
| 2225 |
|
| 2226 |
<sect1 id="lists">
|
| 2227 |
<heading>Mailing lists</heading>
|
| 2228 |
<p>The mailing lists of most interest to Debian users are the
|
| 2229 |
debian-user list (English) and other debian-user-<var/language/ lists
|
| 2230 |
(for other languages). For information on these lists and details of
|
| 2231 |
how to subscribe see <url id="&url-debian-list-archives;">. Please
|
| 2232 |
check the archives for answers to your question prior to posting and
|
| 2233 |
also adhere to standard list etiquette.</p>
|
| 2234 |
</sect1>
|
| 2235 |
<!-- TODO: Changed to OFTC -->
|
| 2236 |
<sect1 id="irc">
|
| 2237 |
<heading>Internet Relay Chat</heading>
|
| 2238 |
|
| 2239 |
<p>Debian has an IRC channel dedicated to the support and aid of
|
| 2240 |
Debian users located on the OFTC IRC network which exists to
|
| 2241 |
provide interactive services to peer-directed project communities.
|
| 2242 |
To access the channel, point your favourite IRC client at
|
| 2243 |
&debian-irc-server; and join #debian.</p>
|
| 2244 |
|
| 2245 |
<p>Please follow the channel guidelines, respecting other users
|
| 2246 |
fully. For more information on OFTC please visit the <url
|
| 2247 |
id="&url-irc-host;" name="website">.</p>
|
| 2248 |
|
| 2249 |
</sect1>
|
| 2250 |
</sect>
|
| 2251 |
|
| 2252 |
<sect id="bugs">
|
| 2253 |
<heading>Reporting bugs</heading>
|
| 2254 |
|
| 2255 |
<p>We strive to make Debian GNU/Linux a high quality operating
|
| 2256 |
system, however that does not mean that the packages we provide are
|
| 2257 |
totally free of bugs.
|
| 2258 |
Consistent with Debian's "open development" philosophy and as a
|
| 2259 |
service to our users, we provide all the information on reported bugs
|
| 2260 |
at our own Bug Tracking System (BTS). The BTS is browseable at
|
| 2261 |
<url id="&url-bts;" name="bugs.debian.org">.</p>
|
| 2262 |
|
| 2263 |
<p>If you find a bug in the distribution or in packaged software
|
| 2264 |
that is part of it, please report it so that it can be properly
|
| 2265 |
fixed for next releases. Reporting bugs requires a valid email
|
| 2266 |
address, we ask for this so that we can trace bugs and developers
|
| 2267 |
can get in contact with submitters should they need more
|
| 2268 |
information.</p>
|
| 2269 |
|
| 2270 |
<p>You can submit a bug report using the program
|
| 2271 |
<package>reportbug</package> or manually using email.
|
| 2272 |
You can read more about the Bug Tracking System and how to use it by
|
| 2273 |
reading the reference cards (available at
|
| 2274 |
<file>/usr/share/doc/debian</file> if you have
|
| 2275 |
<package>doc-debian</package> installed) or online at the
|
| 2276 |
<url id="&url-bts;" name="Bug Tracking System">.</p>
|
| 2277 |
|
| 2278 |
</sect>
|
| 2279 |
|
| 2280 |
<sect id="contributing">
|
| 2281 |
<heading>Contributing to Debian</heading>
|
| 2282 |
|
| 2283 |
<p>You do not need to be an expert to contribute to Debian. By
|
| 2284 |
assisting users with problems on the various user support <url
|
| 2285 |
id="&url-debian-list-archives;" name="lists"> you are contributing to
|
| 2286 |
the community. Identifying (and importantly solving) problems
|
| 2287 |
related to the development of the distribution by participating on
|
| 2288 |
the development <url id="&url-debian-list-archives;" name="lists"> is
|
| 2289 |
also extremely helpful. To maintain Debian's high quality
|
| 2290 |
distribution <url id="&url-bts;" name="submit bugs">
|
| 2291 |
and help developers track them down and fix them. If you have a way
|
| 2292 |
with words then you may want to contribute more actively by helping
|
| 2293 |
to write <url id="&url-ddp;"
|
| 2294 |
name="documentation"> or <url
|
| 2295 |
id="&url-debian-i18n;" name="translate"> existing
|
| 2296 |
documentation into your own language.</p>
|
| 2297 |
|
| 2298 |
<p>If you can dedicate more time, you could manage a piece of the
|
| 2299 |
Free Software collection within Debian. Especially helpful is if
|
| 2300 |
people adopt or maintain items that people have requested for
|
| 2301 |
inclusion within Debian, the <url id="&url-wnpp;" name="Work Needing
|
| 2302 |
and Prospective Packages database"> details this information. If you
|
| 2303 |
have an interest in specific groups then you may find enjoyment in
|
| 2304 |
contributing to some of Debian's subprojects which include ports to
|
| 2305 |
particular architectures, <url id="&url-debian-jr;" name="Debian
|
| 2306 |
Jr."> and <url id="&url-debian-med;" name="Debian Med">.</p>
|
| 2307 |
|
| 2308 |
<p>In any case, if you are working in the free software community in
|
| 2309 |
any way, as a user, programmer, writer or translator you are already
|
| 2310 |
helping the free software effort. Contributing is rewarding and fun,
|
| 2311 |
and as well as allowing you to meet new people it gives you that
|
| 2312 |
warm fuzzy feeling inside.</p></sect>
|
| 2313 |
|
| 2314 |
</chapt>
|
| 2315 |
|
| 2316 |
<!-- This may or may not still be useful -->
|
| 2317 |
<appendix id="old-stuff">
|
| 2318 |
<heading>Managing your &oldreleasename; system</heading>
|
| 2319 |
|
| 2320 |
<p>This appendix contains information on how to make sure you can install
|
| 2321 |
or upgrade &oldreleasename; packages before you upgrade to &releasename;.
|
| 2322 |
This should only be necessary in specific situations.</p>
|
| 2323 |
|
| 2324 |
<sect id="old-upgrade">
|
| 2325 |
<heading>Upgrading your &oldreleasename; system</heading>
|
| 2326 |
|
| 2327 |
<p>Basically this is no different than any other upgrade of
|
| 2328 |
&oldreleasename; you've been doing. The only difference is that you
|
| 2329 |
first need to make sure your package list still contains
|
| 2330 |
&oldreleasename; packages as explained in <ref id="old-sources">.</p>
|
| 2331 |
|
| 2332 |
<p>You should upgrade to the latest &oldreleasename; point release:
|
| 2333 |
r5, published February 2007.</p>
|
| 2334 |
|
| 2335 |
</sect>
|
| 2336 |
|
| 2337 |
<sect id="old-sources">
|
| 2338 |
<heading>Checking your sources list</heading>
|
| 2339 |
|
| 2340 |
<p>If any of the lines in your <file>/etc/apt/sources.list</file>
|
| 2341 |
refer to 'stable', you are effectively already "using" &releasename;.
|
| 2342 |
If you have already run <tt>apt-get update</tt>, you can still get
|
| 2343 |
back without problems following the procedure below.</p>
|
| 2344 |
|
| 2345 |
<p>If you have also already installed packages from &releasename;,
|
| 2346 |
there probably is not much point in installing packages from
|
| 2347 |
&oldreleasename; anymore. In that case you will have to decide for
|
| 2348 |
yourself whether you want to continue or not. It is possible to
|
| 2349 |
downgrade packages, but that is not covered here.</p>
|
| 2350 |
|
| 2351 |
<p>Open the file <file>/etc/apt/sources.list</file> with your favorite
|
| 2352 |
editor (as root) and check all lines beginning with <tt>deb http:</tt>
|
| 2353 |
or <tt>deb ftp:</tt> for a reference to "<tt/stable/". If you find any,
|
| 2354 |
change <tt/stable/ to <tt/&oldreleasename;/.</p>
|
| 2355 |
|
| 2356 |
<p>If you have any lines starting with <tt>deb file:</tt>, you will
|
| 2357 |
have to check for yourself if the location they refer to contains
|
| 2358 |
a &oldreleasename; or a &releasename; archive.</p>
|
| 2359 |
|
| 2360 |
<p><strong/Important!/ Do not change any lines that begin with
|
| 2361 |
<tt>deb cdrom:</tt>. Doing so would invalidate the line and you would
|
| 2362 |
have to run <prgn/apt-cdrom/ again. Do not be alarmed if a 'cdrom' source
|
| 2363 |
line refers to "<tt/unstable/". Although confusing, this is normal.</p>
|
| 2364 |
|
| 2365 |
<p>If you've made any changes, save the file and execute
|
| 2366 |
|
| 2367 |
<example>
|
| 2368 |
# apt-get update
|
| 2369 |
</example>
|
| 2370 |
|
| 2371 |
to refresh the package list.</p>
|
| 2372 |
|
| 2373 |
</sect>
|
| 2374 |
|
| 2375 |
</appendix>
|
| 2376 |
|
| 2377 |
</book>
|
| 2378 |
</debiandoc>
|
| 2379 |
|
| 2380 |
<!-- Keep this comment at the end of the file
|
| 2381 |
Local Variables:
|
| 2382 |
mode: sgml
|
| 2383 |
sgml-omittag:t
|
| 2384 |
sgml-shorttag:t
|
| 2385 |
sgml-namecase-general:t
|
| 2386 |
sgml-general-insert-case:lower
|
| 2387 |
sgml-minimize-attributes:nil
|
| 2388 |
sgml-always-quote-attributes:t
|
| 2389 |
sgml-indent-step:2
|
| 2390 |
sgml-indent-data:nil
|
| 2391 |
sgml-declaration:nil
|
| 2392 |
sgml-parent-document:nil
|
| 2393 |
sgml-exposed-tags:nil
|
| 2394 |
sgml-local-catalogs:nil
|
| 2395 |
sgml-local-ecat-files:nil
|
| 2396 |
fill-column: 75
|
| 2397 |
End:
|
| 2398 |
-->
|