| 1 |
<!DOCTYPE debiandoc PUBLIC "-//DebianDoc//DTD DebianDoc//EN" [ |
<!DOCTYPE debiandoc PUBLIC "-//DebianDoc//DTD DebianDoc//EN" [ |
| 2 |
<!entity % dynamicdata SYSTEM "../dynamic.ent" > %dynamicdata; |
<!entity % dynamicdata SYSTEM "../dynamic.ent" > %dynamicdata; |
| 3 |
<!entity % shareddata SYSTEM "../release-notes.ent" > %shareddata; |
<!entity % shareddata SYSTEM "../release-notes.ent" > %shareddata; |
| 4 |
<!entity docid "$Id: release-notes.en.sgml,v 1.122 2007-03-18 18:30:36 jfs Exp $"> |
<!entity docid "$Id: release-notes.en.sgml,v 1.214 2007-04-01 12:20:29 fjp Exp $"> |
| 5 |
]> |
]> |
| 6 |
|
|
| 7 |
<!-- Be careful with automatic reformatting. Please note that the indentation |
<!-- Be careful with automatic reformatting. Please note that the indentation |
| 24 |
<chapt id="about"><heading>Introduction</heading> |
<chapt id="about"><heading>Introduction</heading> |
| 25 |
|
|
| 26 |
<p>The primary goals of these Release Notes are to inform users |
<p>The primary goals of these Release Notes are to inform users |
| 27 |
of major changes in this release of the Debian distribution, to |
of major changes in this release of the &debian; distribution, to |
| 28 |
provide information on how to upgrade safely from the previous |
provide information on how to upgrade safely from the previous |
| 29 |
to the this release and finally to inform users of known potential |
release to the current release and finally to inform users of known potential |
| 30 |
issues users could encounter when upgrading to or using the |
issues users could encounter when upgrading to or using the |
| 31 |
release.</p> |
&releasename; release.</p> |
| 32 |
|
|
| 33 |
<p>Note that it is impossible to list every known issue and that |
<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 |
therefore a selection has been made based on a combination of the |
| 35 |
expected prevalence and impact of issues.</p> |
expected prevalence and impact of issues.</p> |
| 36 |
|
|
| 37 |
<p>The most recent version of this document is always available at |
<p>The most recent version of this document is always available at <url |
| 38 |
<url id="&url-release-notes;">. If your version is more than a month |
id="&url-release-notes;">. If the version you are reading is more than a |
| 39 |
old, you might wish to download the latest version.</p> |
month old<footnote>On front page 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 |
<p>Please note that we only support |
| 44 |
and document upgrading from the previous release of Debian (in this case, |
and document upgrading from the previous release of Debian (in this case, |
| 45 |
the upgrade from &oldreleasename;). If you need to upgrade from older |
the upgrade from &oldreleasename;). If you need to upgrade from older |
| 46 |
releases, we suggest you read previous editions of the release notes.</p> |
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> |
<sect id="changes"><heading>Changes in the Release Notes</heading> |
| 102 |
|
|
| 120 |
<p>This release adds official support for the AMD64 architecture which |
<p>This release adds official support for the AMD64 architecture which |
| 121 |
supports 64-bit processors from both Intel (EM64T) and AMD (AMD64). |
supports 64-bit processors from both Intel (EM64T) and AMD (AMD64). |
| 122 |
During the previous release, &debian; 3.1 ('sarge'), an unofficial |
During the previous release, &debian; 3.1 ('sarge'), an unofficial |
| 123 |
version of this port was available. Upgrading from this unofficial |
version of this port was available. |
| 124 |
version should be possible using these Release Notes, but is not |
<![ %amd64 [ |
| 125 |
supported.</p> |
Upgrading from this unofficial version should be possible using these |
| 126 |
|
Release Notes, but is not supported. |
| 127 |
|
]]> |
| 128 |
|
</p> |
| 129 |
|
|
| 130 |
<p>Official support for the Motorola 680x0 ('m68k') architecture has been |
<p>Official support for the Motorola 680x0 ('m68k') architecture has been |
| 131 |
dropped because it did not meet the criteria set by the Debian Release |
dropped because it did not meet the criteria set by the Debian Release |
| 173 |
|
|
| 174 |
<sect id="newdistro"><heading>What's new in the distribution?</heading> |
<sect id="newdistro"><heading>What's new in the distribution?</heading> |
| 175 |
|
|
| 176 |
<!-- TODO: Numbers need to be updated --> |
<!-- TODO (jfs): numbers could be entities so that updating them was easier, like |
| 177 |
<p>TODO: Update numbers</p> |
in the FAQ --> |
| 178 |
|
<!-- TODO: Numbers need to be reviewed, these values have been obtained |
| 179 |
|
using the changes-release script --> |
| 180 |
<p>This new release of Debian again comes with a lot more software |
<p>This new release of Debian again comes with a lot more software |
| 181 |
than its predecessor &oldreleasename;; the distribution includes |
than its predecessor &oldreleasename;; the distribution includes |
| 182 |
over 9000 new packages. Most of the software in the distribution |
over 6,200 new packages, for a total of over 18,000 packages. Most |
| 183 |
has been updated: almost 6500 software packages (this is 73% of |
of the software in the distribution has been updated: over 10,500 |
| 184 |
all packages in &oldreleasename;). Also, a significant number |
software packages (this is 67% of all packages in &oldreleasename;). |
| 185 |
of packages have for various reasons been removed from the distribution. |
Also, a significant number of packages (over 3400, 22% of the |
| 186 |
You will not see any updates for these packages and they will be |
packages in &oldreleasename;) have for various reasons been removed |
| 187 |
marked as 'obsolete' in package management front-ends.</p> |
from the distribution. You will not see any updates for these |
| 188 |
|
packages and they will be marked as 'obsolete' in package management |
| 189 |
|
front-ends.</p> |
| 190 |
|
|
| 191 |
<p>With this release &debian; switches from XFree86 to the 7.1 |
<p>With this release &debian; switches from XFree86 to the 7.1 |
| 192 |
release of X.Org, which includes support for a greater range of |
release of X.Org, which includes support for a greater range of |
| 195 |
Window System, taking full advantage of hardware |
Window System, taking full advantage of hardware |
| 196 |
OpenGL-acceleration for supported devices.</p> |
OpenGL-acceleration for supported devices.</p> |
| 197 |
|
|
| 198 |
<p>&debian; again ships with current desktop applications. Amongst |
<p>&debian; again ships with several desktop applications and environments. Amongst |
| 199 |
others it now includes GNOME 2.14, KDE 3.5 and OpenOffice.org 2.0.</p> |
others it now includes the desktop environments GNOME 2.14<footnote>With some modules from |
| 200 |
|
GNOME 2.16.</footnote>, KDE 3.5.5a, and Xfce 4.4. Productivity applications |
| 201 |
|
have also been upgraded, including the office suites OpenOffice.org 2.0.4a and |
| 202 |
|
KOffice 1.6 as well as GNUcash 2.0.5, GNUmeric 1.6.3 and Abiword 2.4.6</p> |
| 203 |
|
|
| 204 |
|
<p>Updates to other desktop applications include the upgrade of |
| 205 |
|
Evolution 2.6.3 and Gaim 2.0. The Mozilla suite has also been updated, |
| 206 |
|
but the main programs have been renamed: <prgn>iceweasel</prgn> |
| 207 |
|
(version 2.0.0.2) is the unbranded <prgn>Firefox</prgn> web browser |
| 208 |
|
and <prgn/icedove/ (version 1.5) is the unbranded <prgn/Thunderbird/ |
| 209 |
|
mail client.</p> |
| 210 |
|
|
| 211 |
|
<p>This release also includes, amongst others, the following software updates:</p> |
| 212 |
|
|
| 213 |
|
<p><list> |
| 214 |
|
|
| 215 |
|
<item>the GNU C library, version 2.3.6.</item> |
| 216 |
|
|
| 217 |
|
<item>the GNU Compiler Collection 4.1 as default compiler.</item> |
| 218 |
|
|
| 219 |
|
<item>language interpreters: PHP 5.5, Python 2.4.</item> |
| 220 |
|
|
| 221 |
|
<item>server software: |
| 222 |
|
|
| 223 |
|
<p><list> |
| 224 |
|
<item>e-mail servers: Exim 4.63 (default email server |
| 225 |
|
for new installations), Postfix 2.3, Courier 0.53, Cyrus 2.2.</item> |
| 226 |
|
|
| 227 |
|
<!-- TODO: Cherokee, lighttpd, and Tomcat 5 are NEW --> |
| 228 |
|
<!-- Note: No significant changes for Roxen4, Boa, and thttpd --> |
| 229 |
|
<item>web servers: Apache 2.2, fnord 1.10</item> |
| 230 |
|
|
| 231 |
|
<item>database servers: MySQL 5.0.32, PostgreSQL 8.1</item> |
| 232 |
|
|
| 233 |
|
<item>the OpenSSH server, version 4.3.</item> |
| 234 |
|
|
| 235 |
|
<item>name servers: Bind 9.3, maradns 1.2.</item> |
| 236 |
|
|
| 237 |
|
<item>directory server: OpenLDAP 2.3</item> |
| 238 |
|
|
| 239 |
|
<!-- FIXME (JFS): List other server software? RADIUS? Streaming ? --> |
| 240 |
|
</list></p> |
| 241 |
|
|
| 242 |
|
</list></p> |
| 243 |
|
|
| 244 |
|
|
| 245 |
<p><prgn/aptitude/ is the preferred program for package management |
<p><prgn/aptitude/ is the preferred program for package management |
| 246 |
from console. |
from console. |
| 249 |
If you are still using <prgn/dselect/, you should switch to |
If you are still using <prgn/dselect/, you should switch to |
| 250 |
<package/aptitude/ as the official frontend for package management.</p> |
<package/aptitude/ as the official frontend for package management.</p> |
| 251 |
|
|
| 252 |
<p>The official &debian; distribution now ships on thirteen to fifteen |
<p>The official &debian; distribution now ships on 19 to 23 |
| 253 |
binary CDs (depending on the architecture) and a similar number of |
binary CDs (depending on the architecture) and a similar number of |
| 254 |
source CDs. A DVD version of the distribution is also available.</p> |
source CDs. A DVD version of the distribution is also available.</p> |
| 255 |
|
|
| 256 |
|
<!-- FIXME: Note on LSB support? (3.1?) --> |
| 257 |
|
|
| 258 |
|
<sect1 id="secureapt"><heading>Secure APT</heading> |
| 259 |
|
|
| 260 |
|
<!-- FIXME: More content needed here? --> |
| 261 |
|
<p><prgn/apt-secure/ (also known as <em/Secure APT/) is now available |
| 262 |
|
in &releasename;. This feature adds extra security to &debian; |
| 263 |
|
systems by easily supporting strong cryptography and digital |
| 264 |
|
signatures to validate downloaded packages. This release includes |
| 265 |
|
the <prgn/apt-key/ tool for adding new keys to apt's keyring, which by |
| 266 |
|
default includes only the current Debian archive signing key, provided |
| 267 |
|
in the <package>debian-archive-keyring</package>.</p> |
| 268 |
|
|
| 269 |
|
<p>In its default configuration, <prgn>apt-secure</prgn> will |
| 270 |
|
warn if packages are downloaded from sources that are not authenticated. |
| 271 |
|
Future releases might force all packages to be verified before downloading |
| 272 |
|
them. Administrators of unofficial apt repositories are encouraged to |
| 273 |
|
generate a cryptographic key and sign their Release files, as well |
| 274 |
|
as providing a secure way to distribute their public keys.</p> |
| 275 |
|
|
| 276 |
|
<p>For more information please read <prgn>apt-secure</prgn>'s manual |
| 277 |
|
page, the <url |
| 278 |
|
id="http://www.debian.org/doc/manuals/securing-debian-howto/ch7#s-deb-pack-sign" |
| 279 |
|
name="Package signing in Debian"> chapter of the <em/Securing Debian |
| 280 |
|
Manual/ and the <url id="http://wiki.debian.org/SecureApt" |
| 281 |
|
name="wiki documentation">.</p> |
| 282 |
|
|
| 283 |
|
</sect1> |
| 284 |
<sect1 id="volatile"><heading>debian-volatile now an official service</heading> |
<sect1 id="volatile"><heading>debian-volatile now an official service</heading> |
| 285 |
|
|
| 286 |
<p>The <em/debian-volatile/ service that was introduced as an |
<p>The <em/debian-volatile/ service that was introduced as an |
| 302 |
</sect1> |
</sect1> |
| 303 |
</sect> |
</sect> |
| 304 |
|
|
| 305 |
<sect id="inst-new"><heading>What's new in the installation system?</heading> |
<sect id="improves_in_etch"><heading>System improvements</heading> |
| 306 |
|
|
| 307 |
|
<p>There have been a number of changes in the distribution that will |
| 308 |
|
benefit new installations of &releasename;, but may not be automatically |
| 309 |
|
applied on upgrades from &oldreleasename;. This section gives an |
| 310 |
|
overview of the most relevant changes. |
| 311 |
|
</p> |
| 312 |
|
|
| 313 |
|
<p><taglist> |
| 314 |
|
|
| 315 |
|
<!-- Bug #301138, fixed in etch --> |
| 316 |
|
<tag>Priority for basic development packages lowered</tag> |
| 317 |
|
<item><p>A number of development packages that used to be priority |
| 318 |
|
<em/standard/ are now priority <em/optional/, which means they will |
| 319 |
|
no longer be installed by default. |
| 320 |
|
This includes the standard C/C++-compiler, <package>gcc</package>, |
| 321 |
|
as well as some other software (<package>dpkg-dev</package>, |
| 322 |
|
<package>flex</package>, <package>make</package>) and development |
| 323 |
|
headers (<package>libc6-dev</package>, |
| 324 |
|
<package>linux-kernel-headers</package>).</p> |
| 325 |
|
<!-- TODO: Point to the bug report for the full list of packages in case |
| 326 |
|
users want to remove them ? --> |
| 327 |
|
<p>If you do wish to have these packages on your system, the easiest way |
| 328 |
|
to install them is by installing <package/build-essential/, which will |
| 329 |
|
pull in most of them.</p> |
| 330 |
|
</item> |
| 331 |
|
|
| 332 |
|
<!-- FIXME: Bug Manoj for a link to documentation on enabling SELinux --> |
| 333 |
|
<tag>SELinux priority standard, but not enabled by default</tag> |
| 334 |
|
<item><p>The packages needed for SELinux support have been |
| 335 |
|
promoted to priority <em/standard/. This means that they will be |
| 336 |
|
installed by default during new installations. For existing systems |
| 337 |
|
you can install SELinux using: |
| 338 |
|
<example> |
| 339 |
|
# aptitude install selinux-basics |
| 340 |
|
</example></p> |
| 341 |
|
|
| 342 |
|
<p>Note that SELinux support is not enabled by default. If you want to |
| 343 |
|
secure your system using SELinux, you will need to enable it by adding |
| 344 |
|
the kernel boot parameter <tt/selinux=1/. Additional information |
| 345 |
|
can be found on the <url id="&url-wiki-selinux" name="Debian Wiki">. |
| 346 |
|
</p></item> |
| 347 |
|
|
| 348 |
|
<tag>New default inet superdaemon</tag> |
| 349 |
|
<item><p>The default inet superdaemon for &releasename; is |
| 350 |
|
<package>openbsd-inetd</package> instead of <package>netkit-inetd</package>. |
| 351 |
|
It will not be started if no services are configured, which is the |
| 352 |
|
default. The new default will be installed automatically on upgrading. |
| 353 |
|
</p></item> |
| 354 |
|
|
| 355 |
|
<tag>Default <prgn/vi/ clone changed</tag> |
| 356 |
|
<item><p>The <prgn/vi/ clone installed by default is now a compact version |
| 357 |
|
of <prgn/vim/ (<package/vim-tiny/) instead of <package/nvi/.</p></item> |
| 358 |
|
|
| 359 |
|
<tag>Changes in default features for <tt>ext2</tt>/<tt>ext3</tt></tag> |
| 360 |
|
<item><p>New ext2 and ext3 filesystems will be created with features |
| 361 |
|
<em/dir_index/ and <em/resize_inode/ enabled by default. The first |
| 362 |
|
the so feature speeds up operations on directories with many files; the |
| 363 |
|
second makes it possible to resize a file system on-line (i.e. while it |
| 364 |
|
is mounted).</p> |
| 365 |
|
<p>Users upgrading from &oldreleasename; could consider adding the |
| 366 |
|
<em/dir_index/ flag manually using <prgn/tune2fs/<footnote> |
| 367 |
|
The flag <em/filetype/ should already be set on most file systems, except |
| 368 |
|
possibly on systems installed before &oldreleasename;. |
| 369 |
|
</footnote>; the <em/reset_inode/ flag cannot be added to an existing |
| 370 |
|
file system. It is possible to check which flags are set for a file |
| 371 |
|
system using <tt/dumpe2fs -h/.</p></item> |
| 372 |
|
|
| 373 |
|
<!-- TODO: Add for lenny, link to utf8-migration-tool, which is right now not |
| 374 |
|
available for etch --> |
| 375 |
|
<tag>Default encoding for &releasename; is UTF-8</tag> |
| 376 |
|
<item><p>The default encoding for new &debian installations is UTF-8. A |
| 377 |
|
number of applications will also be set up to use UTF-8 by default.</p> |
| 378 |
|
<p>Users upgrading to &releasename; that wish to switch to UTF-8 will |
| 379 |
|
need to reconfiguring their environment and locale definitions. The |
| 380 |
|
system-wide default can be changed using <tt/dpkg-reconfigure locales/; |
| 381 |
|
first select a UTF-8 locale for your language and country and then |
| 382 |
|
set that as default. Note that switching to UTF-8 means that you will |
| 383 |
|
probably also need to convert existing files from your previous |
| 384 |
|
(legacy) encoding to UTF-8.</p> |
| 385 |
|
<p>The package <package/utf8-migration-tool/ contains a tool that may |
| 386 |
|
help the migration, however that package is only available in unstable |
| 387 |
|
as it was not ready in time for &releasename;. Making a backup of |
| 388 |
|
your data and configuration before using the tool is strongly |
| 389 |
|
recommended.</p> |
| 390 |
|
<p>Note that not some applications may not yet work correctly in a UTF-8 |
| 391 |
|
environment (mostly display issues).</p></item> |
| 392 |
|
|
| 393 |
|
</taglist></p> |
| 394 |
|
|
| 395 |
|
<p>The <url id="http://wiki.debian.org/Sarge2EtchUpgrade" |
| 396 |
|
name="Debian Wiki"> has some additional information about changes between |
| 397 |
|
&oldreleasename; and &releasename;.</p> |
| 398 |
|
|
| 399 |
|
</sect> |
| 400 |
|
</chapt> |
| 401 |
|
|
| 402 |
|
<chapt id="installing"><heading>Installation System</heading> |
| 403 |
|
|
| 404 |
|
<p>The Debian Installer is the official installation system for Debian. |
| 405 |
|
It offers a variety of installation methods. Which methods |
| 406 |
|
are available to install your system depends on your architecture.</p> |
| 407 |
|
|
| 408 |
|
<p>Images of the installer for &releasename; and the Installation Guide |
| 409 |
|
can be found on the <url id="&url-installer;" name="Debian website">.</p> |
| 410 |
|
|
| 411 |
|
<p>The Installation Guide is also included on the first CD/DVD of the |
| 412 |
|
official Debian CD/DVD sets, at: |
| 413 |
|
|
| 414 |
|
<example> |
| 415 |
|
/doc/install/manual/<var>language</var>/index.html |
| 416 |
|
</example></p> |
| 417 |
|
|
| 418 |
|
<p>You may also want to check the <url id="&url-installer;index#errata" |
| 419 |
|
name="errata"> for debian-installer for a list of known issues.</p> |
| 420 |
|
|
| 421 |
|
<![ %alpha [ |
| 422 |
|
<!-- TODO: Still true? --> |
| 423 |
|
<p>The installer can only be used to install on alpha systems which |
| 424 |
|
support the SRM console. Be sure to switch your system to SRM before |
| 425 |
|
starting the installation. If your machine supports only the AlphaBIOS/ARC |
| 426 |
|
console, you can still install &releasename; using a (minimal) &oldreleasename; |
| 427 |
|
installation and a subsequent upgrade. For more information about the |
| 428 |
|
different consoles please read the references on the |
| 429 |
|
<url id="http://www.debian.org/ports/alpha" name="Debian alpha port web pages">. |
| 430 |
|
</p> |
| 431 |
|
]]> |
| 432 |
|
|
| 433 |
|
<![ %sparc [ |
| 434 |
|
<sect id="sparc_fb"><heading>Issues with framebuffer on &arch-title;</heading> |
| 435 |
|
|
| 436 |
|
<p>Because of display problems on some systems, framebuffer support is |
| 437 |
|
disabled by default for &arch-title; for most graphics cards. This can |
| 438 |
|
result in ugly display on systems that do properly support the framebuffer. |
| 439 |
|
If you see display problems in the installer, you can try booting the installer |
| 440 |
|
with the parameter <tt>framebuffer=true</tt>. |
| 441 |
|
Please let us know if the framebuffer is not used by default, but works for |
| 442 |
|
your hardware.</p> |
| 443 |
|
|
| 444 |
|
</sect> |
| 445 |
|
]]> |
| 446 |
|
|
| 447 |
|
<sect id="inst-new"><heading>What's new in the installation system?</heading> |
| 448 |
|
|
|
<!-- TODO: Hhhm. Whats new in the installer ? --> |
|
| 449 |
<p>There has been a lot of development on the Debian Installer |
<p>There has been a lot of development on the Debian Installer |
| 450 |
since its first official release with &oldreleasename; resulting |
since its first official release with &oldreleasename; resulting |
| 451 |
in both improved hardware support and some exciting new features.</p> |
in both improved hardware support and some exciting new features.</p> |
| 488 |
will create an encrypted LVM partition that contains any other |
will create an encrypted LVM partition that contains any other |
| 489 |
filesystems (except <file>/boot</file>) as logical volumes.</p></item> |
filesystems (except <file>/boot</file>) as logical volumes.</p></item> |
| 490 |
|
|
| 491 |
<![ %i386-amd64 [ |
<![ %g-i [ |
| 492 |
<tag>Graphical user interface</tag> |
<tag>Graphical user interface</tag> |
| 493 |
<item><p>If you prefer a graphical user interface, try booting |
<item> |
| 494 |
|
<![ %i386-amd64 [ |
| 495 |
|
<p>If you prefer a graphical user interface, try booting |
| 496 |
the installer with <tt/installgui/.</p> |
the installer with <tt/installgui/.</p> |
|
<p>The functionality of the graphical installer is almost identical |
|
|
to the regular installer, only the presentation differs. There is one |
|
|
exception: the graphical frontend does not support setting up |
|
|
encrypted partitions using random keys.</p> |
|
|
<p>Note: the graphical user interface is not available for all |
|
|
architectures.</p></item> |
|
| 497 |
]]> |
]]> |
| 498 |
|
|
| 499 |
<![ %powerpc [ |
<![ %powerpc [ |
| 500 |
<tag>Graphical user interface</tag> |
<p>For &arch-title; a separate installation image using a |
|
<item><p>For &arch-title; a separate installation image using a |
|
| 501 |
graphical user interface is available on an experimental basis. |
graphical user interface is available on an experimental basis. |
| 502 |
It is known to work on most CHRP systems that have an ATI graphics |
It is known to work on most CHRP systems that have an ATI graphics |
| 503 |
card, but has been insufficiently tested on &arch-title; to include |
card, but has been insufficiently tested on &arch-title; to include |
| 504 |
it on the normal installation CDs.</p> |
it on the normal installation CDs.</p> |
| 505 |
<p>If you'd like to try the graphical installer, look for the |
<p>If you'd like to try the graphical installer, look for the |
| 506 |
"gtk-miniiso" image.</p></item> |
"gtk-miniiso" image.</p> |
| 507 |
|
]]> |
| 508 |
|
|
| 509 |
|
<p>The functionality of the graphical installer is almost identical |
| 510 |
|
to the regular installer, only the presentation differs. There is one |
| 511 |
|
exception: the graphical frontend does not support setting up |
| 512 |
|
encrypted partitions using random keys.</p> |
| 513 |
|
<p>The major advantage of the graphical user interface is that it |
| 514 |
|
supports more languages than the regular user interface (newt). |
| 515 |
|
Information about the graphical installer and the most important |
| 516 |
|
differences between the graphical and regular installer are documented |
| 517 |
|
in an appendix in the installation guide.</p> |
| 518 |
|
<p>Note: the graphical user interface is not available for all |
| 519 |
|
architectures.</p> |
| 520 |
|
</item> |
| 521 |
]]> |
]]> |
| 522 |
|
|
| 523 |
<tag>Rescue mode</tag> |
<tag>Rescue mode</tag> |
| 536 |
up <prgn/sudo/ so that the first user can use that for |
up <prgn/sudo/ so that the first user can use that for |
| 537 |
system administration.</p></item> |
system administration.</p></item> |
| 538 |
|
|
| 539 |
<!-- FIXME: Bug Manoj for a link to documentation on enabling SELinux --> |
<tag>Cryptographic verification of downloaded packages</tag> |
| 540 |
<tag>SELinux</tag> |
<item><p>Packages downloaded with the installer are |
| 541 |
<item><p>The packages needed for SELinux support have been |
now cryptographically checked using <prgn/secure apt/ |
| 542 |
promoted to priority "standard". This means that they will be |
making it more difficult to compromise a system being |
| 543 |
installed by default if you select the Standard task during |
installed over the network.</p></item> |
| 544 |
installation. However, SELinux support is not enabled by default. |
|
| 545 |
If you want to secure your system using SELinux, you will need |
<tag>Simplified mail configuration</tag> |
| 546 |
to enable it manually after the installation.</p></item> |
<item><p>The installation system sets up a basic configuration for |
| 547 |
|
the system's mail server which will only provide for local e-mail |
| 548 |
|
delivery, if the "standard system" is installed. The mail |
| 549 |
|
server will be unavailable to other systems connected to the same |
| 550 |
|
network. If you want to configure your system to handle e-mail not |
| 551 |
|
local to the system (either to send e-mail or to receive it) you |
| 552 |
|
will have to reconfigure the mail system after |
| 553 |
|
installation.</p></item> |
| 554 |
|
|
| 555 |
|
<tag>Desktop selection</tag> |
| 556 |
|
<item><p>The installation system will install |
| 557 |
|
a GNOME desktop as the default desktop if the user asks for one.</p> |
| 558 |
|
<p>However, users wishing to install alternate desktop environments |
| 559 |
|
can easily do so by adding boot parameters: |
| 560 |
|
<tt>tasks="standard, kde-desktop"</tt> for KDE and |
| 561 |
|
<tt>tasks="standard, xfce-desktop"</tt> for Xfce. Note that this |
| 562 |
|
will not work when installing from a full CD image without using |
| 563 |
|
a network mirror as an additional package source; it will work |
| 564 |
|
when using a DVD image or any other installation method.</p> |
| 565 |
|
<p>There are also separate CD images available that install the |
| 566 |
|
KDE or Xfce desktop environment by default.</p></item> |
| 567 |
|
|
| 568 |
<![ %not-s390 [ |
<![ %not-s390 [ |
| 569 |
<tag>New languages</tag> |
<tag>New languages</tag> |
| 570 |
<item><p>Thanks to the huge efforts of translators, Debian can |
<item><p>Thanks to the huge efforts of translators, Debian can |
| 571 |
now be installed in $FIXME$ languages. |
now be installed in 47 languages using the text-based |
| 572 |
|
installation user interface. This is six languages more |
| 573 |
|
than in &oldreleasename;. Languages added in this release include |
| 574 |
|
Belarusian, Esperanto, Estonian, Kurdish, Macedonian, |
| 575 |
|
Tagalog, Vietnamese and Wolof. |
| 576 |
|
Languages dropped in this release due to lack of translation |
| 577 |
|
updates include Persian and Welsh.</p> |
| 578 |
<![ %g-i [ |
<![ %g-i [ |
| 579 |
If the graphical user interface is used, an additional $FIXME$ |
<p>If the graphical user interface is used, an additional eleven |
| 580 |
languages are supported. |
languages are supported. These languages can only be selected |
| 581 |
|
using this installer as their character sets cannot be presented |
| 582 |
|
in a non-graphical environment. The new languages are: |
| 583 |
|
Bengali, Dzongkha, Gujarati, Hindi, Georgian, Khmer, Malayalam, |
| 584 |
|
Nepali, Punjabi, Tamil and Thai.</p> |
| 585 |
]]> |
]]> |
| 586 |
|
<p>Users that do not wish to use any locale can now select |
| 587 |
|
<em/C/ as their preferred locale in the installer's language |
| 588 |
|
selection. |
| 589 |
|
More information on language coverage is available at the |
| 590 |
|
<url id="&url-d-i-i18n;" name="d-i languages list">. |
| 591 |
</p></item> |
</p></item> |
| 592 |
|
|
| 593 |
|
<tag>Simplified localization and timezone selection</tag> |
| 594 |
|
<item><p>Configuration of language, countries and timezones |
| 595 |
|
have been simplified to reduce the amount of information |
| 596 |
|
needed from the user. The installer will now guess |
| 597 |
|
what the system's country and timezone is based on the |
| 598 |
|
language selected, or will provide a limited selection |
| 599 |
|
if it cannot. Users can still introduce obscure |
| 600 |
|
combinations if need be.</p></item> |
| 601 |
|
|
| 602 |
|
<tag>Improved system-wide localization</tag> |
| 603 |
|
<item><p>Most of the internationalization and localization tasks that |
| 604 |
|
were previously handled by the <package>localization-config</package> tool are now |
| 605 |
|
included in the stock &debian; installer or in packages themselves. This |
| 606 |
|
means that selection of a language will automatically install packages |
| 607 |
|
necessary for that language (dictionaries, documentation, fonts...) both |
| 608 |
|
in standard and desktop environments. Configuration that is no longer |
| 609 |
|
handled automatically include the papersize configuration and some |
| 610 |
|
advanced X Windows keyboard settings for some languages.</p> |
| 611 |
|
<p>Note that language specific packages will only be installed |
| 612 |
|
automatically if they are available during the installation.</p></item> |
| 613 |
|
|
| 614 |
]]> <!-- not-s390 --> |
]]> <!-- not-s390 --> |
| 615 |
|
|
| 616 |
</taglist></p> |
</taglist></p> |
| 635 |
and encrypted LVM. See the documentation for details.</p> |
and encrypted LVM. See the documentation for details.</p> |
| 636 |
|
|
| 637 |
</sect1> |
</sect1> |
|
</sect> |
|
|
|
|
|
</chapt> |
|
|
|
|
|
<!-- TODO: Mention default usage of UTF-8 for new installs --> |
|
|
<chapt id="installing"><heading>New installations</heading> |
|
|
|
|
|
<p>The Debian Installer is the official installation system for Debian. |
|
|
It offers a variety of installation methods. Which methods |
|
|
are available to install your system depends on your architecture.</p> |
|
|
|
|
|
<p>Images of the installer for &releasename; and the Installation Guide |
|
|
can be found on the <url id="&url-installer;" name="Debian website">.</p> |
|
|
|
|
|
<p>The Installation Guide is also included on the first CD/DVD of the |
|
|
official Debian CD/DVD sets, at: |
|
|
|
|
|
<example> |
|
|
/doc/install/manual/<var>language</var>/index.html |
|
|
</example></p> |
|
|
|
|
|
<p>You may also want to check the <url id="&url-installer;index#errata" |
|
|
name="errata"> for debian-installer.</p> |
|
|
|
|
|
<![ %alpha [ |
|
|
<!-- TODO: Still true? --> |
|
|
<p>The installer can only be used to install on alpha systems which |
|
|
support the SRM console. Be sure to switch your system to SRM before |
|
|
starting the installation. If your machine supports only the AlphaBIOS/ARC |
|
|
console, you can still install &releasename; using a (minimal) &oldreleasename; |
|
|
installation and a subsequent upgrade. For more information about the |
|
|
different consoles please read the references on the |
|
|
<url id="http://www.debian.org/ports/alpha" name="Debian alpha port web pages">. |
|
|
</p> |
|
|
]]> |
|
|
|
|
|
<![ %sparc [ |
|
|
<sect id="sparc_fb"><heading>Issues with framebuffer on &arch-title;</heading> |
|
|
|
|
|
<p>Because of display problems on some systems, framebuffer support is |
|
|
disabled by default for &arch-title; for most graphics cards. This can |
|
|
result in ugly display on systems that do properly support the framebuffer. |
|
|
If you see display problems in the installer, you can try booting the installer |
|
|
with the parameter <tt>framebuffer=true</tt>. |
|
|
Please let us know if the framebuffer is not used by default, but works for |
|
|
your hardware.</p> |
|
|
|
|
| 638 |
</sect> |
</sect> |
|
]]> |
|
| 639 |
|
|
| 640 |
<sect id="popcon"><heading>Popularity contest</heading> |
<sect id="popcon"><heading>Popularity contest</heading> |
| 641 |
|
|
| 642 |
<p>Unlike for the previous release, the installation system will again offer |
<p>The installation system will again offer |
| 643 |
to install the <package/popularity-contest/ package.</p> |
to install the <package/popularity-contest/ package. This package was not |
| 644 |
|
installed by default in &oldreleasename; but it was installed in older releases.</p> |
| 645 |
|
|
| 646 |
<p><package/popularity-contest/ provides the Debian project with valuable information |
<p><package/popularity-contest/ provides the Debian project with valuable information |
| 647 |
on which packages in the distribution are actually used. This information |
on which packages in the distribution are actually used. This information |
| 655 |
you will thereby help improve Debian.</p> |
you will thereby help improve Debian.</p> |
| 656 |
|
|
| 657 |
</sect> |
</sect> |
| 658 |
|
|
| 659 |
</chapt> |
</chapt> |
| 660 |
|
|
| 661 |
|
|
| 682 |
directly related to the upgrade process but which could still be |
directly related to the upgrade process but which could still be |
| 683 |
relevant.</p> |
relevant.</p> |
| 684 |
|
|
| 685 |
|
<sect1><heading>Backup any data or configuration information</heading> |
| 686 |
|
|
| 687 |
<p>Before upgrading your system, it is strongly recommended that |
<p>Before upgrading your system, it is strongly recommended that |
| 688 |
you make a full backup, or at least backup any data or |
you make a full backup, or at least backup any data or |
| 689 |
configuration information you can't afford to lose. The upgrade |
configuration information you can't afford to lose. The upgrade |
| 705 |
backup may help to restore or recreate the old settings. You may |
backup may help to restore or recreate the old settings. You may |
| 706 |
also want to inform users about this.</p> |
also want to inform users about this.</p> |
| 707 |
|
|
| 708 |
|
<p>Any package installation operation must be run with superuser |
| 709 |
|
privileges, so either login as root or use <prgn/su/ or |
| 710 |
|
<prgn/sudo/ to gain the necessary access rights.</p> |
| 711 |
|
|
| 712 |
|
<p>The upgrade has a few preconditions; you should check them |
| 713 |
|
before actually executing the upgrade.</p> |
| 714 |
|
|
| 715 |
|
</sect1> |
| 716 |
|
|
| 717 |
|
<sect1><heading>Inform users in advance</heading> |
| 718 |
|
|
| 719 |
<p>It's wise to inform all users in advance of any upgrades you're |
<p>It's wise to inform all users in advance of any upgrades you're |
| 720 |
planning, although users accessing your system via an <prgn/ssh/ |
planning, although users accessing your system via an <prgn/ssh/ |
| 721 |
connection should notice little during the upgrade, and should be |
connection should notice little during the upgrade, and should be |
| 722 |
able to continue working. If you wish to take extra precautions, back up or |
able to continue working. </p> |
| 723 |
unmount users' partitions (<file>/home</file>) before upgrading. A |
|
| 724 |
reboot will not normally be necessary, unless you also plan to |
<p>If you wish to take extra precautions, back up or |
| 725 |
|
unmount users' partitions (<file>/home</file>) before upgrading.</p> |
| 726 |
|
|
| 727 |
|
<!-- JFS: Not true in etch, maybe for lenny? |
| 728 |
|
<p>A reboot will not normally be necessary, unless you also plan to |
| 729 |
upgrade your kernel.</p> |
upgrade your kernel.</p> |
| 730 |
|
--> |
| 731 |
|
<p>You will probably have to do a kernel upgrade when upgrading to |
| 732 |
|
&releasename;, so a reboot will normally be necessary. Typically, |
| 733 |
|
this will be done after the upgrade is finished.</p> |
| 734 |
|
|
| 735 |
<!-- TODO: Is not necessary to change the kernel? e.g. udev ? --> |
</sect1> |
| 736 |
|
|
| 737 |
<p>Distribution upgrade should be done either locally from a |
<sect1><heading>Prepair a safe environment for the upgrade</heading> |
| 738 |
|
|
| 739 |
|
<p>The distribution upgrade should be done either locally from a |
| 740 |
textmode virtual console (or a directly connected serial |
textmode virtual console (or a directly connected serial |
| 741 |
terminal), or remotely via an <prgn/ssh/ link.</p> |
terminal), or remotely via an <prgn/ssh/ link.</p> |
| 742 |
|
|
| 743 |
|
<p>In order to gain extra safety margin, we suggest you to run |
| 744 |
|
upgrade processes in the virtual console provided by the |
| 745 |
|
<prgn/screen/ program which enables the safe reconnection and ensures |
| 746 |
|
the uninterrupted upgrade processes even if the remote connection |
| 747 |
|
process fails by chance.</p> |
| 748 |
|
|
| 749 |
|
<!-- JFS: probably can be removed for lenny --> |
| 750 |
|
<p>If you are upgrading remotely via an <prgn/ssh/ link it is highly |
| 751 |
|
recommended that you take the necessary precautions to be able to |
| 752 |
|
access the server through a remote serial terminal. There are chances |
| 753 |
|
that, after upgrading the kernel and rebooting, some devices will |
| 754 |
|
be renamed (as described in <ref id="device-reorder">) and you will |
| 755 |
|
have to fix the system configuration through a local console. Also, |
| 756 |
|
if the system is rebooted accidentally in the middle of an upgrade |
| 757 |
|
there are chances you will need to recover using a local console.</p> |
| 758 |
|
<!-- END - remove for lenny --> |
| 759 |
|
|
| 760 |
<p><strong/Important!/ You should <em/not/ upgrade using <prgn/telnet/, |
<p><strong/Important!/ You should <em/not/ upgrade using <prgn/telnet/, |
| 761 |
<prgn/rlogin/, <prgn/rsh/, or from an X session managed by <prgn/xdm/, |
<prgn/rlogin/, <prgn/rsh/, or from an X session managed by <prgn/xdm/, |
| 762 |
<prgn/gdm/ or <prgn/kdm/ etc on the machine you are upgrading. That is |
<prgn/gdm/ or <prgn/kdm/ etc on the machine you are upgrading. That is |
| 765 |
half-upgraded.</p> |
half-upgraded.</p> |
| 766 |
|
|
| 767 |
<!-- TODO: surely gdm/kdm are sane? --> |
<!-- TODO: surely gdm/kdm are sane? --> |
| 768 |
|
</sect1> |
|
<p>Any package installation operation must be run with superuser |
|
|
privileges, so either login as root or use <prgn/su/ or |
|
|
<prgn/sudo/ to gain the necessary access rights.</p> |
|
|
|
|
|
<p>The upgrade has a few preconditions; you should check them |
|
|
before actually executing the upgrade.</p> |
|
|
|
|
|
<sect1><heading>Make sure you have sufficient space for the upgrade</heading> |
|
|
|
|
|
<p>You have to make sure before upgrading your system that you have |
|
|
sufficient hard disk space when you start the full system upgrade |
|
|
described in <ref id="upgrading_other">. You will first need |
|
|
enough hard disk on the filesystem partition that holds <file>/var/</file> |
|
|
to temporarily download the packages that will be installed in your system. |
|
|
After the download, you will probably need more space in other |
|
|
filesystem partitions in order to both install upgraded packages (which |
|
|
might contain bigger binaries or more data) and new packages that will be pulled |
|
|
in for the upgrade. If your system does not have sufficient space you |
|
|
might end up with an incomplete upgrade that might be difficult to |
|
|
recover from.</p> |
|
|
|
|
|
<!-- JFS: Apt will not always abort if you do not have enough disk space. |
|
|
For reference see: #247331, #214119, #192146, #185201, #40438 and #32919 --> |
|
|
|
|
|
<p>Both <prgn/aptitude/ and <prgn/apt/ will show you detailed information |
|
|
of the disk space needed for the installation. Before executing the |
|
|
upgrade, you can see this estimate by running: |
|
|
</p> |
|
|
|
|
|
<p><example> |
|
|
# aptitude -y -s -f --with-recommends dist-upgrade |
|
|
[ ... ] |
|
|
XXX upgraded, XXX newly installed, XXX to remove and XXX not upgraded. |
|
|
Need to get xx.xMB/yyyMB of archives. After unpacking AAAMB will be used. |
|
|
Would download/install/remove packages. |
|
|
</example></p> |
|
|
|
|
|
|
|
|
<p>If you do not have enough space for the upgrade, make sure you free up |
|
|
space beforehand. You can: |
|
|
</p> |
|
|
|
|
|
<!-- JFS There are more tips at |
|
|
http://lists.debian.org/debian-user/2005/11/msg02078.html |
|
|
or |
|
|
http://www.debian-administration.org/articles/143 |
|
|
but maybe that should be in the Debian Reference best and pointed from here --> |
|
|
<p> |
|
|
<list> |
|
|
<!-- JFS: Does aptitude to 'apt-get autoclean' by itself? --> |
|
|
<item>Remove packages that have been previously downloaded for |
|
|
installation (at <file>/var/cache/apt/archive</file>), cleaning up the |
|
|
package cache by running <prgn>apt-get clean</prgn>. |
|
|
|
|
|
<!-- JFS Point to http://www.enricozini.org/blog/eng/pkgsizestat.html ? |
|
|
Enrico's script shows files that occupy space in a given partition |
|
|
which might be good for systems that are heavily partitioned --> |
|
|
|
|
|
<item>Remove old packages you no longer use. If you have |
|
|
<prgn/popularity-contest/ installed, you can use |
|
|
<prgn/popcon-largest-unused/ to list the packages you do not use in the |
|
|
system that occupy the most space. You can also use <prgn/deborphan/ |
|
|
or <prgn/debfoster/ to find obsolete packages (see |
|
|
<ref id="obsolete">). |
|
|
|
|
|
<item>Remove packages taking up too much space, which are not currently |
|
|
needed (you can always reinstall them after the |
|
|
upgrade). You can list the packages that take up most of the disk space |
|
|
with <prgn/dpigs/ (available in the <package/debian-goodies/ package) |
|
|
or with <prgn/wajig/ (running <tt>wajig size</tt>). |
|
|
|
|
|
<item>Temporarily move to another system, or permanently remove, system |
|
|
logs residing under <file>/var/log/</file>. |
|
|
|
|
|
</list></p> |
|
|
</sect1> |
|
| 769 |
|
|
| 770 |
<sect1 id="glibc-kernel"><heading>Support for 2.2-kernels has been dropped</heading> |
<sect1 id="glibc-kernel"><heading>Support for 2.2-kernels has been dropped</heading> |
| 771 |
<p>In case you run a kernel prior to 2.4.1, |
<p>In case you run a kernel prior to 2.4.1, |
| 772 |
you need to upgrade to (at least) the |
you need to upgrade to (at least) the |
| 773 |
2.4-series before upgrading <package/glibc/, |
2.4-series before upgrading <package/glibc/. |
| 774 |
so preferably before starting the upgrade. |
This should preferably be done before starting the upgrade. |
| 775 |
It is recommended to upgrade to the 2.6-kernel series. |
It is recommended you directly upgrade to the 2.6-kernel (available |
| 776 |
|
in &oldreleasename;, instead of upgrading to a 2.4-kernel series. |
| 777 |
</p> |
</p> |
| 778 |
</sect1> |
</sect1> |
| 779 |
|
|
|
<sect1 id="kernelorder"><heading>Upgrade your kernel or userland first?</heading> |
|
|
<!-- TODO: remove this section, it is just that one can see "needs to be done" on the normal output --> |
|
|
<p>[FIXME: Needs decision/documentation whether to upgrade userland or kernel first.]</p> |
|
|
</sect1> |
|
|
|
|
| 780 |
</sect> |
</sect> |
| 781 |
|
|
| 782 |
<sect id="system-status"> |
<sect id="system-status"> |
| 790 |
latest point release of &oldreleasename;. If you have not done this |
latest point release of &oldreleasename;. If you have not done this |
| 791 |
or are unsure, follow the instructions in <ref id="old-upgrade">.</p> |
or are unsure, follow the instructions in <ref id="old-upgrade">.</p> |
| 792 |
|
|
| 793 |
|
<sect1><heading>Review actions pending in package manager</heading> |
| 794 |
|
|
| 795 |
|
<p>In some cases, the use of <prgn/apt-get/ for installing packages instead |
| 796 |
|
of <prgn/aptitude/ might make <prgn/aptitude/ consider a package as |
| 797 |
|
"unused" and schedule it for removal. In general, the system should be |
| 798 |
|
fully up-to-date and "clean".</p> |
| 799 |
|
|
| 800 |
|
<p>Because of this you should review if there are any pending actions |
| 801 |
|
in the package manager <prgn/aptitude/. If a package is scheduled |
| 802 |
|
for removal or update in the package manager, it might impact negatively |
| 803 |
|
on the upgrade procedure. Note that this is only possible if your |
| 804 |
|
<file/sources.list/ still points to <em/&oldreleasename/; and not to |
| 805 |
|
<em/stable/ or <em/&releasename;/; see <ref id="old-sources">.</p> |
| 806 |
|
|
| 807 |
|
<p>To do this, you have to run <prgn/aptitude/'s user interface and |
| 808 |
|
press 'g' ("Go"). If it shows any actions, you should review them and |
| 809 |
|
either fix them or implement the suggested actions. If no actions are |
| 810 |
|
suggested you will be presented with a message saying "No packages are |
| 811 |
|
scheduled to be installed, removed, or upgraded".</p> |
| 812 |
|
|
| 813 |
|
</sect1> |
| 814 |
|
|
| 815 |
<sect1><heading>Disabling APT pinning</heading> |
<sect1><heading>Disabling APT pinning</heading> |
| 816 |
|
|
| 817 |
<p>If you have configured APT to install certain packages from a |
<p>If you have configured APT to install certain packages from a |
| 845 |
or |
or |
| 846 |
|
|
| 847 |
<example> |
<example> |
| 848 |
# dpkg --get-selections > ~/curr-pkgs.txt |
# dpkg --get-selections "*" > ~/curr-pkgs.txt |
| 849 |
</example></p> |
</example></p> |
| 850 |
|
|
| 851 |
<p>It is desirable to remove any holds before upgrading. If any |
<p>It is desirable to remove any holds before upgrading. If any |
| 904 |
|
|
| 905 |
</sect1> |
</sect1> |
| 906 |
</sect> |
</sect> |
| 907 |
|
|
| 908 |
|
<!-- JFS: This section should be probably removed for lenny --> |
| 909 |
|
<sect id="handle-conflict"><heading>Manually unmarking packages</heading> |
| 910 |
|
|
| 911 |
|
<p>To prevent <prgn/aptitude/ from removing some packages that were pulled |
| 912 |
|
in through dependencies, you need to manually unmark them as <em/auto/ |
| 913 |
|
packages. This includes OpenOffice and Vim for desktop installs: |
| 914 |
|
<!-- This is a no-op if none of them are installed --> |
| 915 |
|
<example> |
| 916 |
|
# aptitude unmarkauto openoffice.org vim |
| 917 |
|
</example></p> |
| 918 |
|
|
| 919 |
|
<!-- JFS: This cannot be in the same line as above since it produces an ugly output if |
| 920 |
|
you just have 2.4 kernels installed --> |
| 921 |
|
<p>And 2.6 kernel images if you have installed them using a kernel metapackage: |
| 922 |
|
|
| 923 |
|
<example> |
| 924 |
|
# aptitude unmarkauto $(dpkg-query -W 'kernel-image-2.6*' | cut -f1) |
| 925 |
|
</example></p> |
| 926 |
|
|
| 927 |
|
<p>Note: You can review which packages are marked as <em/auto/ in aptitude running: |
| 928 |
|
|
| 929 |
|
<example> |
| 930 |
|
# aptitude search 'i~M <package name>' |
| 931 |
|
</example></p> |
| 932 |
|
</sect> |
| 933 |
|
|
| 934 |
<sect id="upgrade-process"><heading>Preparing sources for APT</heading> |
<sect id="upgrade-process"><heading>Preparing sources for APT</heading> |
| 935 |
|
|
| 1095 |
|
|
| 1096 |
<p>Next you should double check that the APT source entries (in |
<p>Next you should double check that the APT source entries (in |
| 1097 |
<file>/etc/apt/sources.list</file>) refer either to |
<file>/etc/apt/sources.list</file>) refer either to |
| 1098 |
"<tt/&releasename;/" or to "<tt>stable</tt>". Note: source |
"<tt/&releasename;/" or to "<tt>stable</tt>". There should not be |
| 1099 |
lines for a CD-ROM will often refer to "<tt/unstable/"; |
any sources entries pointing to &oldreleasename;. |
| 1100 |
|
Note: source lines for a CD-ROM will often refer to "<tt/unstable/"; |
| 1101 |
although this may be confusing, you should <em/not/ change it.</p> |
although this may be confusing, you should <em/not/ change it.</p> |
| 1102 |
|
|
| 1103 |
|
<sect1 id="record_session"><heading>Recording the session</heading> |
| 1104 |
|
|
| 1105 |
<p>It is strongly recommended that you use the |
<p>It is strongly recommended that you use the |
| 1106 |
<prgn>/usr/bin/script</prgn> program to record a transcript of the |
<prgn>/usr/bin/script</prgn> program to record a transcript of the |
| 1107 |
upgrade session. Then if a problem occurs, you will have a log of |
upgrade session. Then if a problem occurs, you will have a log of |
| 1109 |
report. To start the recording, type: |
report. To start the recording, type: |
| 1110 |
|
|
| 1111 |
<example> |
<example> |
| 1112 |
# script -a ~/upgrade-to-&releasename;.typescript |
# script -t -a ~/upgrade-&releasename;.script 2>~/upgrade-&releasename;.time |
| 1113 |
</example> |
</example> |
| 1114 |
|
|
| 1115 |
or similar. Do not put the typescript file in a temporary |
or similar. Do not put the typescript file in a temporary |
| 1119 |
|
|
| 1120 |
<p>The typescript will also allow you to review information that has |
<p>The typescript will also allow you to review information that has |
| 1121 |
scrolled off-screen. Just switch to VT2 (using <tt/Alt-F2/) and, after |
scrolled off-screen. Just switch to VT2 (using <tt/Alt-F2/) and, after |
| 1122 |
logging in, use <tt>less ~root/upgrade-to-&releasename;.typescript</tt> |
logging in, use <tt>less -R ~root/upgrade-&releasename;.script</tt> |
| 1123 |
to view the file.</p> |
to view the file.</p> |
| 1124 |
|
|
| 1125 |
|
|
| 1126 |
<p>After you have completed the upgrade, you can stop <prgn/script/ |
<p>After you have completed the upgrade, you can stop <prgn/script/ |
| 1127 |
by typing <tt/exit/ at the prompt.</p> |
by typing <tt/exit/ at the prompt.</p> |
| 1128 |
|
|
| 1129 |
|
<!-- TODO: Could mention the script I provided in 400725 which is useful if you |
| 1130 |
|
have not dumped the timing file --> |
| 1131 |
|
<p>If you have used the <em>-t</em> switch for <prgn/script/ |
| 1132 |
|
you can use the <prgn/scriptreplay/ program to replay the whole session: |
| 1133 |
|
|
| 1134 |
|
<example> |
| 1135 |
|
# scriptreplay ~/upgrade-&releasename;.time ~/upgrade-&releasename;.script |
| 1136 |
|
</example> |
| 1137 |
|
|
| 1138 |
|
</p> |
| 1139 |
|
</sect1> |
| 1140 |
|
|
| 1141 |
<sect1 id="updating_lists"><heading>Updating the package list</heading> |
<sect1 id="updating_lists"><heading>Updating the package list</heading> |
| 1142 |
|
|
| 1143 |
<p>First the list of available packages for the new release needs to |
<p>First the list of available packages for the new release needs to |
| 1144 |
be fetched. This is done by executing<footnote>We use <prgn/apt-get/ |
be fetched. This is done by executing:</p> |
|
for this because the &oldreleasename; version <prgn/aptitude/ may fail |
|
|
when new sources have been added to <file/sources.list/.</footnote>:</p> |
|
| 1145 |
|
|
| 1146 |
<p><example> |
<p><example> |
| 1147 |
# apt-get update |
# aptitude update |
| 1148 |
</example></p> |
</example></p> |
| 1149 |
|
|
| 1150 |
|
<!-- JFS: Hopefully this will be fixed in lenny --> |
| 1151 |
|
<p>Running this the first time new sources are updated will print out |
| 1152 |
|
some warnings related to the availability of the sources. These |
| 1153 |
|
warnings are harmless and will not appear if you rerun the command again. |
| 1154 |
|
</p> |
| 1155 |
|
|
| 1156 |
|
</sect1> |
| 1157 |
|
|
| 1158 |
|
<sect1><heading>Make sure you have sufficient space for the upgrade</heading> |
| 1159 |
|
|
| 1160 |
|
<p>You have to make sure before upgrading your system that you have |
| 1161 |
|
sufficient hard disk space when you start the full system upgrade |
| 1162 |
|
described in <ref id="upgrading_other">. You will first need |
| 1163 |
|
enough hard disk on the filesystem partition that holds <file>/var/</file> |
| 1164 |
|
to temporarily download the packages that will be installed in your system. |
| 1165 |
|
After the download, you will probably need more space in other |
| 1166 |
|
filesystem partitions in order to both install upgraded packages (which |
| 1167 |
|
might contain bigger binaries or more data) and new packages that will be pulled |
| 1168 |
|
in for the upgrade. If your system does not have sufficient space you |
| 1169 |
|
might end up with an incomplete upgrade that might be difficult to |
| 1170 |
|
recover from.</p> |
| 1171 |
|
|
| 1172 |
|
<!-- JFS: Apt will not always abort if you do not have enough disk space. |
| 1173 |
|
For reference see: #247331, #214119, #192146, #185201, #40438 and #32919 --> |
| 1174 |
|
|
| 1175 |
|
<p>Both <prgn/aptitude/ and <prgn/apt/ will show you detailed information |
| 1176 |
|
of the disk space needed for the installation. Before executing the |
| 1177 |
|
upgrade, you can see this estimate by running: |
| 1178 |
|
</p> |
| 1179 |
|
|
| 1180 |
|
<p><example> |
| 1181 |
|
# aptitude -y -s -f --with-recommends dist-upgrade |
| 1182 |
|
[ ... ] |
| 1183 |
|
XXX upgraded, XXX newly installed, XXX to remove and XXX not upgraded. |
| 1184 |
|
Need to get xx.xMB/yyyMB of archives. After unpacking AAAMB will be used. |
| 1185 |
|
Would download/install/remove packages. |
| 1186 |
|
</example></p> |
| 1187 |
|
|
| 1188 |
|
|
| 1189 |
|
<p>If you do not have enough space for the upgrade, make sure you free up |
| 1190 |
|
space beforehand. You can: |
| 1191 |
|
</p> |
| 1192 |
|
|
| 1193 |
|
<!-- JFS There are more tips at |
| 1194 |
|
http://lists.debian.org/debian-user/2005/11/msg02078.html or |
| 1195 |
|
http://www.debian-administration.org/articles/143 |
| 1196 |
|
but maybe that should be in the Debian Reference best and pointed from here --> |
| 1197 |
|
<p> |
| 1198 |
|
<list> |
| 1199 |
|
<!-- JFS: Does aptitude to 'apt-get autoclean' by itself? --> |
| 1200 |
|
<item>Remove packages that have been previously downloaded for |
| 1201 |
|
installation (at <file>/var/cache/apt/archive</file>), cleaning up the |
| 1202 |
|
package cache by running <prgn>apt-get autoclean</prgn> or |
| 1203 |
|
<prgn>aptitude autoclean</prgn> will remove unused package files. If |
| 1204 |
|
that does not give you enough space, you can clean up the package cache |
| 1205 |
|
further by running <prgn>apt-get clean</prgn> or <prgn>aptitude |
| 1206 |
|
clean</prgn>. |
| 1207 |
|
|
| 1208 |
|
<!-- JFS Point to http://www.enricozini.org/blog/eng/pkgsizestat.html ? |
| 1209 |
|
Enrico's script shows files that occupy space in a given partition |
| 1210 |
|
which might be good for systems that are heavily partitioned --> |
| 1211 |
|
|
| 1212 |
|
<item>Remove old packages you no longer use. If you have |
| 1213 |
|
<prgn/popularity-contest/ installed, you can use |
| 1214 |
|
<prgn/popcon-largest-unused/ to list the packages you do not use in the |
| 1215 |
|
system that occupy the most space. You can also use <prgn/deborphan/ |
| 1216 |
|
or <prgn/debfoster/ to find obsolete packages (see |
| 1217 |
|
<ref id="obsolete">). |
| 1218 |
|
Alternatively you can start <prgn/aptitude/ into "visual mode" and find |
| 1219 |
|
obsolete packages under "Obsolete and Locally Created Packages". |
| 1220 |
|
|
| 1221 |
|
<item>Remove packages taking up too much space, which are not currently |
| 1222 |
|
needed (you can always reinstall them after the |
| 1223 |
|
upgrade). You can list the packages that take up most of the disk space |
| 1224 |
|
with <prgn/dpigs/ (available in the <package/debian-goodies/ package) |
| 1225 |
|
or with <prgn/wajig/ (running <tt>wajig size</tt>). |
| 1226 |
|
|
| 1227 |
|
<!-- TODO: consider this for lenny |
| 1228 |
|
You can list packages that take up most of the disk space with |
| 1229 |
|
<prgn/aptitude/ . Start <prgn/aptitude/ into "visual mode", select |
| 1230 |
|
"Views" and "New Flat Package List" (this menu entry is available only |
| 1231 |
|
after etch version), press "l" and enter "~i", press "S" and enter |
| 1232 |
|
"~installsize", then it will give you nice list to work with. Doing |
| 1233 |
|
this after partial upgrade described in <ref id="upgrading_aptitude"> |
| 1234 |
|
should give you access to this new feature. |
| 1235 |
|
--> |
| 1236 |
|
|
| 1237 |
|
<item>Temporarily move to another system, or permanently remove, system |
| 1238 |
|
logs residing under <file>/var/log/</file>. |
| 1239 |
|
|
| 1240 |
|
</list></p> |
| 1241 |
|
|
| 1242 |
|
<p>Note that in order to safely remove packages, it is advisable to |
| 1243 |
|
switch your <file>sources.list</file> back to &oldreleasename; as |
| 1244 |
|
described in <ref id="old-sources">.</p> |
| 1245 |
|
|
| 1246 |
</sect1> |
</sect1> |
| 1247 |
|
|
| 1248 |
|
<sect1 id="minimal_upgrade"><heading>Minimal system upgrade</heading> |
| 1249 |
|
|
| 1250 |
|
<p>Before you start the full upgrade you have to make a minimal system upgrade |
| 1251 |
|
to ensure you have the basic system libraries upgraded.</p> |
| 1252 |
|
|
| 1253 |
|
<p>First run: |
| 1254 |
|
<example> |
| 1255 |
|
# aptitude upgrade |
| 1256 |
|
</example> |
| 1257 |
|
</p> |
| 1258 |
|
|
| 1259 |
|
<p>This will upgrade a number of packages, include <package/base-files/, |
| 1260 |
|
<package/console-common/, and <package/debconf/. You will be asked information |
| 1261 |
|
about your console keymap as well as the default level and frontend for |
| 1262 |
|
package configuration questions.</p> |
| 1263 |
|
|
| 1264 |
|
<p>You have to follow the minimal upgrade with: |
| 1265 |
|
|
| 1266 |
|
<example> |
| 1267 |
|
# aptitude install initrd-tools |
| 1268 |
|
</example></p> |
| 1269 |
|
|
| 1270 |
|
<p>This step will automatically upgrade <package/libc6/ and |
| 1271 |
|
<package/locales/ and will pull in SE linux support libraries |
| 1272 |
|
(<package/libselinux1/). At this point, some running services will be |
| 1273 |
|
restarted, including <prgn/xdm/, <prgn/gdm/ and <prgn/kdm/, as a |
| 1274 |
|
consequence local X11 sessions will be disconnected.</p> |
| 1275 |
|
|
| 1276 |
|
<p>The following step depends on your system configuration: |
| 1277 |
|
|
| 1278 |
<!-- FJP: This next section can probably be dropped for etch --> |
<p><list> |
| 1279 |
<sect1 id="upgrading_aptitude"><heading>Upgrading aptitude</heading> |
<item><p>If you are running a system with a Desktop environment, you first |
| 1280 |
|
have to verify if you have <package/libfam0c102/ and <package/xlibmesa-glu/ |
| 1281 |
|
installed. You have them installed if you have selected &oldreleasename;'s |
| 1282 |
|
Desktop task but if you have a custom-made environment you have to manually |
| 1283 |
|
verify it: |
| 1284 |
|
<example> |
| 1285 |
|
# dpkg -l "libfam*" | grep ^ii |
| 1286 |
|
# dpkg -l "xlibmesa-glu*" | grep ^ii |
| 1287 |
|
</example> |
| 1288 |
|
|
| 1289 |
<p>Upgrade tests have shown that &releasename;'s version of |
if you have them installed then you have to install the latest |
| 1290 |
<prgn/aptitude/ is better at solving the complex dependencies during |
versions from &releasename;. The following command will install both, |
| 1291 |
an upgrade than either <prgn/apt-get/ or &oldreleasename;'s |
if you have only one of them you should remove the other: |
|
<prgn/aptitude/. |
|
| 1292 |
|
|
|
It should therefore be upgraded first using: |
|
| 1293 |
<example> |
<example> |
| 1294 |
# aptitude install aptitude |
# aptitude install libfam0 xlibmesa-glu |
| 1295 |
</example></p> |
</example></p> |
| 1296 |
|
|
| 1297 |
<p>You will be shown a list of the changes that will be |
<p>Note that doing this will also install the File Alteration Monitor |
| 1298 |
made and asked you to confirm them. You should take a careful look at |
(<package/fam/) as well as the RPC portmapper (<package/portmap/) if |
| 1299 |
the proposed changes, especially packages that will be removed by the |
not already available in your system. Both packages will enable a new |
| 1300 |
upgrade, before you confirm.</p> |
network service in the system although they can both be configured to |
| 1301 |
|
be bound to the (internal) loopback network device.</p> |
| 1302 |
<p>In some cases if a large number of packages is listed for removal, |
|
| 1303 |
you may be able to reduce this list by "pre-upgrading" selected other |
<item><p>For all other systems, verify if you have any |
| 1304 |
packages alongside <package/aptitude/. An example may clarify this. |
X Window System packages installed by running the following command: |
| 1305 |
During upgrade tests for systems having KDE installed, we have seen |
<example> |
| 1306 |
that this step would cause removal of a large number of KDE packages |
# dpkg -l "xfree86-common*" | grep ^ii |
| 1307 |
and/or perl. The solution proved to be to <tt>install aptitude perl</tt> |
</example> |
| 1308 |
instead of <tt>install aptitude</tt>.</p> |
|
| 1309 |
|
Notice that if you selected some server tasks in &oldreleasename; you |
| 1310 |
|
might have parts of it installed. If you have the X Window System |
| 1311 |
|
installed you will need to upgrade to the latest version in |
| 1312 |
|
&releasename;: |
| 1313 |
|
|
| 1314 |
|
<example> |
| 1315 |
|
# aptitude install x11-common |
| 1316 |
|
</example> |
| 1317 |
|
|
| 1318 |
|
<p>If you are running a server system, with no X packages |
| 1319 |
|
installed, you do not need to do any additional installation steps. |
| 1320 |
|
</p> |
| 1321 |
|
|
| 1322 |
|
</list></p> |
| 1323 |
|
|
| 1324 |
|
<p>Note: After this minimal upgrade has finished you might want to |
| 1325 |
|
consider upgrading the kernel before upgrading the full system, |
| 1326 |
|
as described in <ref id="newkernel">. |
| 1327 |
|
Doing so reduces the timeframe in which the system will not |
| 1328 |
|
properly boot if rebooted accidentally. |
| 1329 |
|
This is because the full upgrade described in the next section will |
| 1330 |
|
install a new version of <prgn/udev/ and will remove <prgn/hotplug/. |
| 1331 |
|
This might not be an option for systems with a Desktop environment, |
| 1332 |
|
as large parts of the system will be removed if you do the kernel |
| 1333 |
|
upgrade here.</p> |
| 1334 |
|
|
| 1335 |
</sect1> |
</sect1> |
| 1336 |
|
|
| 1337 |
|
<!-- TODO: For lenny, consider restoring the section 'Upgrade aptitude' --> |
| 1338 |
|
|
| 1339 |
<sect1 id="upgrading_other"><heading>Upgrading the rest of the system</heading> |
<sect1 id="upgrading_other"><heading>Upgrading the rest of the system</heading> |
| 1340 |
|
|
| 1341 |
<p>You are now ready to continue with the main part of the |
<p>You are now ready to continue with the main part of the |
| 1342 |
upgrade. Execute:</p> |
upgrade. Execute:</p> |
| 1343 |
|
<!-- NOTE (jfs): we have not tested with the -f and with-recommends option --> |
| 1344 |
<p><example> |
<p><example> |
| 1345 |
# aptitude -f --with-recommends dist-upgrade |
# aptitude dist-upgrade |
| 1346 |
</example></p> |
</example></p> |
| 1347 |
|
|
| 1348 |
<p>This will perform a complete upgrade of the system, i.e. install |
<p>This will perform a complete upgrade of the system, i.e. install |
| 1350 |
possible dependency changes between packages in different releases. |
possible dependency changes between packages in different releases. |
| 1351 |
If necessary, it will install some new packages (usually new library |
If necessary, it will install some new packages (usually new library |
| 1352 |
versions, or renamed packages), and remove any conflicting obsoleted |
versions, or renamed packages), and remove any conflicting obsoleted |
| 1353 |
packages (such as <package>console-tools-libs</package>).</p> |
packages.</p> |
| 1354 |
|
|
| 1355 |
<p>When upgrading from a set of CD-ROMs, you will be asked to |
<p>When upgrading from a set of CD-ROMs, you will be asked to |
| 1356 |
insert specific CDs at several points during the upgrade. You |
insert specific CDs at several points during the upgrade. You |
| 1364 |
packages for installation or by trying <tt>aptitude -f install |
packages for installation or by trying <tt>aptitude -f install |
| 1365 |
<var>package</var></tt>.</p> |
<var>package</var></tt>.</p> |
| 1366 |
|
|
|
<p>The <tt/--fix-broken/ (or just <tt/-f/) option causes |
|
|
<package/apt/ to attempt to correct a system with broken |
|
|
dependencies in place. <package/apt/ does not allow broken package |
|
|
dependencies to exist on a system.</p> |
|
|
|
|
| 1367 |
</sect1> |
</sect1> |
| 1368 |
|
|
| 1369 |
<sect1 id="trouble"><heading>Possible issues during upgrade</heading> |
<sect1 id="trouble"><heading>Possible issues during upgrade</heading> |
| 1419 |
backports installed. A file conflict will result in an error like: |
backports installed. A file conflict will result in an error like: |
| 1420 |
|
|
| 1421 |
<example> |
<example> |
| 1422 |
Unpacking replacement <var><package-foo></var> ... |
Unpacking <var><package-name></var> (from <var><package-foo></var>) ... |
| 1423 |
dpkg: error processing <var><package-name-for-foo></var> (--unpack): |
dpkg: error processing <var><package-name-for-foo></var> (--install): |
| 1424 |
trying to overwrite `<var><some-file-name></var>', |
trying to overwrite `<var><some-file-name></var>', |
| 1425 |
which is also in package <var><package-bar></var> |
which is also in package <var><package-bar></var> |
| 1426 |
|
dpkg-deb: subprocess paste killed by signal (Broken pipe) |
| 1427 |
|
Errors were encountered while processing: |
| 1428 |
|
<var><package-foo></var> |
| 1429 |
</example></p> |
</example></p> |
| 1430 |
|
|
| 1431 |
<p>You can try to solve a file conflict by forcibly removing the |
<p>You can try to solve a file conflict by forcibly removing the |
| 1478 |
series kernel, as 2.4 is no longer supported in &releasename;. |
series kernel, as 2.4 is no longer supported in &releasename;. |
| 1479 |
If you are currently using a kernel from the 2.2 series, you |
If you are currently using a kernel from the 2.2 series, you |
| 1480 |
must upgrade to (at least) the 2.4 series, preferably to a 2.6 series |
must upgrade to (at least) the 2.4 series, preferably to a 2.6 series |
| 1481 |
kernel prior to upgrading your packages. |
kernel, prior to upgrading your packages. |
| 1482 |
<!-- TODO: incoporate this part in this section --> |
<!-- TODO: incorporate this part in this section --> |
| 1483 |
Some general issues associated with an upgrade to 2.6 are documented |
Some general issues associated with an upgrade to 2.6 are documented |
| 1484 |
in <ref id="upgrade-to-2.6">.</p> |
in <ref id="upgrade-to-2.6">.</p> |
| 1485 |
]]> |
]]> |
| 1486 |
|
|
| 1487 |
|
<sect1><heading>Installing the kernel metapackage</heading> |
| 1488 |
|
<p>When you dist-upgrade from &oldreleasename; to &releasename;, |
| 1489 |
|
it is strongly recommended that you install a new |
| 1490 |
|
linux-image-2.6-* metapackage. |
| 1491 |
|
This package may be installed automatically by the dist-upgrade |
| 1492 |
|
process. You can verify this by running: |
| 1493 |
|
<!-- NOTE (jfs): Users using apt/aptitude might not have their available file |
| 1494 |
|
updated so '^ii' is really unnecessary, maybe dpkg -l 'linux-image*' would be |
| 1495 |
|
better here? --> |
| 1496 |
|
<example> |
| 1497 |
|
# dpkg -l "linux-image*" | grep ^ii |
| 1498 |
|
</example></p> |
| 1499 |
|
|
| 1500 |
|
<p>If you do not see any output, then you will need to install a |
| 1501 |
|
new linux-image package by hand. To see a list of available |
| 1502 |
|
linux-image-2.6 metapackages, run: |
| 1503 |
|
<example> |
| 1504 |
|
# apt-cache search linux-image-2.6- | grep -v transition |
| 1505 |
|
</example></p> |
| 1506 |
|
|
| 1507 |
|
<p>If you are unsure about which package to select, run |
| 1508 |
|
<tt>uname -r</tt> and look for a package with a similar name. |
| 1509 |
|
For example, if you see '2.4.27-3-686', it is recommended that you |
| 1510 |
|
install <package/linux-image-2.6-686/. |
| 1511 |
|
You may also use <prgn>apt-cache</prgn> to see a long description of each |
| 1512 |
|
package in order to help choose the best one available. |
| 1513 |
|
For example: |
| 1514 |
|
<example> |
| 1515 |
|
# apt-cache show linux-image-2.6-686 |
| 1516 |
|
</example></p> |
| 1517 |
|
|
| 1518 |
|
<p>You should then use <tt/aptitude install/ to install it. Once |
| 1519 |
|
this new kernel is installed you should reboot at the next available |
| 1520 |
|
opportunity to get the benefits provided by the new kernel version.</p> |
| 1521 |
|
|
| 1522 |
|
<p>For the more adventurous there is an easy way to compile your |
| 1523 |
|
own custom kernel on &debian;. Install the |
| 1524 |
|
<package>kernel-package</package> tool and read the documentation |
| 1525 |
|
in <file>/usr/share/doc/kernel-package</file>.</p> |
| 1526 |
|
|
| 1527 |
|
</sect1> |
| 1528 |
|
|
| 1529 |
|
<sect1 id="upgrade-from-2.6"><heading>Upgrading from a 2.6 kernel</heading> |
| 1530 |
|
|
| 1531 |
|
<p>If you are currently running a 2.6 series kernel from |
| 1532 |
|
&oldreleasename; this upgrade will take place automatically after you do a full upgrade |
| 1533 |
|
of the system packages (as described in <ref id="upgradingpackages">). |
| 1534 |
|
</p> |
| 1535 |
|
|
| 1536 |
|
<p>Take into account that the <prgn/udev/ version in &releasename; does |
| 1537 |
|
not support kernel versions earlier than 2.6.15 (which includes |
| 1538 |
|
&oldreleasename; 2.6.8 kernels). Conversely the <prgn/udev/ version in |
| 1539 |
|
&oldreleasename; will not work properly with the latest kernels. |
| 1540 |
|
As a consequence, the previous kernel package will probably not boot |
| 1541 |
|
properly after this upgrade. Similarly, there is a time window through |
| 1542 |
|
the upgrade in which <prgn/udev/ has been upgraded but not the |
| 1543 |
|
latest kernel. If the system were to be rebooted at this point, |
| 1544 |
|
in the middle of the upgrade, it might not be bootable.</p> |
| 1545 |
|
|
| 1546 |
|
<!-- JFS: Bug #413458, #413311, aka coreutils dependency |
| 1547 |
|
not mentioned - fixed in 2.6.18.dfsg.1-12, entered testing already --> |
| 1548 |
|
<p>Consequently, you might want to upgrade to the latest kernel |
| 1549 |
|
before doing the full upgrade. Before you can upgrade to the 2.6 |
| 1550 |
|
series kernel available in &releasename; you will have to |
| 1551 |
|
upgrade to the latest version of <package/initrd-tools/. |
| 1552 |
|
To upgrade the kernel before the upgrade, take |
| 1553 |
|
all the steps up to and including the steps related to the a minimal |
| 1554 |
|
upgrade of the system, as described in <ref id="minimal_upgrade">. |
| 1555 |
|
Once <package/initrd-tools/ have been upgraded after those steps |
| 1556 |
|
you can then do the following (changing the kernel package name to the one most |
| 1557 |
|
suited to your system by substituting <em><flavor></em>): |
| 1558 |
|
<example> |
| 1559 |
|
# aptitude install linux-image-2.6-<flavor> |
| 1560 |
|
</example> |
| 1561 |
|
</p> |
| 1562 |
|
|
| 1563 |
|
<p>This step will also update <package/libc6/, install <prgn/udev/, and |
| 1564 |
|
remove <package/base-config/ and <package/hotplug/.</p> |
| 1565 |
|
|
| 1566 |
|
<p>You can also take this step if you are using your own custom |
| 1567 |
|
kernel and want to use the kernel available in &releasename;. |
| 1568 |
|
If your kernel version is not supported by <prgn/udev/ then |
| 1569 |
|
it is recommended you upgrade after the minimal upgrade. |
| 1570 |
|
If your version is supported by <prgn/udev/ you can safely wait |
| 1571 |
|
until after the full system upgrade.</p> |
| 1572 |
|
|
| 1573 |
|
<!-- |
| 1574 |
|
<p><em>TRY</em>: In aptitude, upgrade only 'required' 'important' |
| 1575 |
|
'standard' packages limit by pressing 'l' and input |
| 1576 |
|
!~v(~pextra|~poptional) keep with : for hold this time upgrade by |
| 1577 |
|
pressing 'U" and 'g' (untested but ...) (You can do this in much |
| 1578 |
|
finer steps.) |
| 1579 |
|
--> |
| 1580 |
|
</sect1> |
| 1581 |
|
|
| 1582 |
|
<sect1 id="upgrade-from-2.4"><heading>Upgrading from a 2.4 kernel</heading> |
| 1583 |
|
|
| 1584 |
|
<p>If you have a 2.4 kernel installed, and your system relies on |
| 1585 |
|
<package/hotplug/ for its hardware detection you should first upgrade |
| 1586 |
|
to a 2.6 series kernel from &releasename; before attempting the upgrade. Make |
| 1587 |
|
sure that the 2.6 series kernel boots your system and all your hardware is |
| 1588 |
|
properly detected before you perform the upgrade. The <package/hotplug/ package |
| 1589 |
|
is removed from the system (in favor of <package/udev/) when you do a full system |
| 1590 |
|
upgrade. If you do not do the kernel upgrade before this your system might |
| 1591 |
|
not boot up properly from this point on. Once you have done an upgrade |
| 1592 |
|
to a the 2.6 series kernel in &releasename; you can do a kernel upgrade |
| 1593 |
|
as described in <ref id="upgrade-from-2.6">.</p> |
| 1594 |
|
|
| 1595 |
|
<p>If your system does not rely on <package/hotplug/<footnote>You can |
| 1596 |
|
have the kernel modules needed by your system loaded statically through proper configuration |
| 1597 |
|
of <file>/etc/modules</file></footnote> you can delay the kernel upgrade |
| 1598 |
|
to after you have done a full system upgrade, as described in <ref |
| 1599 |
|
id="upgrading_other">. Once your system has been upgraded |
| 1600 |
|
you can then do the following (changing the kernel package name to the one most |
| 1601 |
|
suited to your system by substituting <em><flavor></em>): |
| 1602 |
|
<example> |
| 1603 |
|
# aptitude install linux-image-2.6-<flavor> |
| 1604 |
|
</example> |
| 1605 |
|
</p> |
| 1606 |
|
|
| 1607 |
|
</sect1> |
| 1608 |
|
|
| 1609 |
<sect1><heading>initrd-tools deprecated</heading> |
<sect1><heading>initrd-tools deprecated</heading> |
| 1610 |
<p><package/initrd-tools/ is no longer supported and has been |
<p><package/initrd-tools/ is no longer supported and has been |
| 1611 |
superseded by <package/initramfs-tools/ and <package/yaird/. |
superseded by <package/initramfs-tools/ and <package/yaird/. |
| 1629 |
manually before upgrading to an &releasename; kernel.</p> |
manually before upgrading to an &releasename; kernel.</p> |
| 1630 |
|
|
| 1631 |
<p>If you see the string 'devfs' in <file>/proc/mounts</file>, |
<p>If you see the string 'devfs' in <file>/proc/mounts</file>, |
| 1632 |
you are likely using <prgn>devfs</prgn>. |
you are most likely using <prgn>devfs</prgn>. |
| 1633 |
Any config files that reference devfs style names will need to be |
Any config files that reference <prgn>devfs</prgn> style names will need to be |
| 1634 |
adjusted to use udev style names. Files that are most likely to |
adjusted to use <prgn>udev</prgn> style names. Files that are most likely to |
| 1635 |
refer to devfs style device names include <file>/etc/fstab</file>, |
refer to <prgn>devfs</prgn> style device names are <file>/etc/fstab</file>, |
| 1636 |
<file>/etc/lilo.conf</file>, <file>/boot/grub/menu.lst</file>, etc.</p> |
<file>/etc/lilo.conf</file>, <file>/boot/grub/menu.lst</file>, etc.</p> |
| 1637 |
|
|
| 1638 |
<p>More information about potential issues is available in bug report |
<p>More information about potential issues is available in bug report |
| 1640 |
</sect1> |
</sect1> |
| 1641 |
|
|
| 1642 |
<![ %i386-amd64-ia64 [ |
<![ %i386-amd64-ia64 [ |
| 1643 |
<sect1><heading>Standard kernels contain SMP abilities</heading> |
<sect1><heading>Standard kernels have SMP abilities</heading> |
| 1644 |
<p>Multiprocessor systems no longer require a *-smp flavour of the |
<p>Multiprocessor systems no longer require a *-smp flavor of the |
| 1645 |
Linux kernel. For &arch-title; linux-image packages without the -smp |
Linux kernel. For &arch-title;, linux-image packages without the -smp |
| 1646 |
suffix support both uniprocessor and multiprocessor systems.</p> |
suffix support both uniprocessor and multiprocessor systems.</p> |
| 1647 |
</sect1> |
</sect1> |
| 1648 |
]]> |
]]> |
| 1649 |
|
|
| 1650 |
<![ %i386 [ |
<![ %i386 [ |
| 1651 |
<sect1><heading>386 kernel flavour deprecated</heading> |
<sect1><heading>386 kernel flavor deprecated</heading> |
| 1652 |
<p>Support for the 80386 sub-archicture for &arch-title; has been dropped |
<p>Support for the 80386 sub-architecture for &arch-title; has been dropped |
| 1653 |
in &releasename;. The 386 kernel flavor is no longer supported and has been |
in &releasename;. The 386 kernel flavor is no longer supported and has been |
| 1654 |
replaced by the new 486 flavour.</p> |
replaced by the new 486 flavor.</p> |
| 1655 |
</sect1> |
</sect1> |
| 1656 |
]]> |
]]> |
| 1657 |
|
|
| 1658 |
<sect1><heading>Device enumeration reordering</heading> |
<sect1 id="device-reorder"><heading>Device enumeration reordering</heading> |
| 1659 |
<p>&releasename; features a more robust mechanism for hardware discovery |
<p>&releasename; features a more robust mechanism for hardware discovery |
| 1660 |
than previous releases. However, this may cause changes in the |
than previous releases. However, this may cause changes in the |
| 1661 |
order devices are discovered on your system affecting the order |
order devices are discovered on your system, affecting the order |
| 1662 |
in which device names are assigned. |
in which device names are assigned. |
| 1663 |
For example, if you have two network adapters that are associated |
For example, if you have two network adapters that are associated |
| 1664 |
with two different drivers, the devices eth0 and eth1 refer to |
with two different drivers, the devices eth0 and eth1 refer to |
| 1672 |
specific names at boot time. |
specific names at boot time. |
| 1673 |
<!-- TODO: add ifupdown-scripts-zg2 as well here? --> |
<!-- TODO: add ifupdown-scripts-zg2 as well here? --> |
| 1674 |
See <manref name="ifrename" section="8"> and <manref name="iftab" |
See <manref name="ifrename" section="8"> and <manref name="iftab" |
| 1675 |
section="5"> for more information.</p> |
section="5"> for more information. You can also avoid this by |
| 1676 |
|
using <prgn>udev</prgn> rules, more specifically, through the |
| 1677 |
|
definitions at |
| 1678 |
|
<file>/etc/udev/rules.d/z25_persistent-net.rules</file><footnote> |
| 1679 |
|
The rules there are automatically generated to have persistent names for network |
| 1680 |
|
interfaces.</footnote>. Both alternatives (<prgn>ifrename</prgn> |
| 1681 |
|
and <prgn>udev</prgn>) should not be used at the same time. |
| 1682 |
|
</p> |
| 1683 |
|
|
| 1684 |
<!-- TODO: |
<!-- TODO: |
| 1685 |
*** maks: please review the initramfs stuff for accuracy - I'm going |
*** maks: please review the initramfs stuff for accuracy - I'm going |
| 1722 |
console port (the connector labelled "console" on the 3-headed |
console port (the connector labelled "console" on the 3-headed |
| 1723 |
cable), this kernel upgrade will break your console!</p> |
cable), this kernel upgrade will break your console!</p> |
| 1724 |
|
|
| 1725 |
|
<p>Upon reboot, the system will show up the message "Loading |
| 1726 |
|
initrd...." but it will stop there. Notice that systems with |
| 1727 |
|
outdated firmware will show similar symptoms, although the issue is |
| 1728 |
|
related to kernel incompatibilities (see <ref |
| 1729 |
|
id="upgrade-to-2.6">).</p> |
| 1730 |
|
|
| 1731 |
<p>Please read the following information before upgrading.</p> |
<p>Please read the following information before upgrading.</p> |
| 1732 |
|
|
| 1733 |
<p><list> |
<p><list> |
| 1769 |
</sect1> |
</sect1> |
| 1770 |
]]> |
]]> |
| 1771 |
|
|
| 1772 |
<sect1><heading>Upgrading the kernel</heading> |
</sect> |
|
<p>When you dist-upgrade from &oldreleasename; to &releasename;, |
|
|
it is strongly recommended that you install a new |
|
|
linux-image-2.6-* metapackage. |
|
|
This package may be installed automatically by the dist-upgrade |
|
|
process. You can verify this by running: |
|
|
<example> |
|
|
# dpkg -l | grep '^ii linux-image' |
|
|
</example></p> |
|
| 1773 |
|
|
| 1774 |
<p>If you do not see any output, then you will need to install a |
<sect id="nownownow"><heading>Things to do before rebooting</heading> |
|
new linux-image package by hand. To see a list of available |
|
|
linux-image-2.6 metapackages, run: |
|
|
<example> |
|
|
# apt-cache search linux-image-2.6- | grep -v transition |
|
|
</example></p> |
|
| 1775 |
|
|
| 1776 |
<p>If you are unsure about which package to select, run |
<p>When <tt>aptitude dist-upgrade</tt> has finished, the |
| 1777 |
<tt>uname -r</tt> and look for a package with a similar name. |
"formal" upgrade is complete, but there are some other things |
| 1778 |
For example, if you see '2.4.27-3-686', it is recommended that you |
that should be taken care of <em/before/ the next reboot.</p> |
| 1779 |
install <package/linux-image-2.6-686/. |
|
| 1780 |
You may also use <prgn>apt-cache</prgn> to see a long description of each |
<![ %i386-amd64 [ |
| 1781 |
package in order to help choose the best one available. |
<sect1 id="rerunlilo"><heading>Rerun lilo</heading> |
| 1782 |
For example: |
|
| 1783 |
|
<p>If you are using <package/lilo/ as your bootloader (it is the |
| 1784 |
|
default bootloader for some installations of &oldreleasename;) it is strongly recommended |
| 1785 |
|
that you rerun lilo after the upgrade: |
| 1786 |
<example> |
<example> |
| 1787 |
# apt-cache show linux-image-2.6-686 |
# /sbin/lilo |
| 1788 |
</example></p> |
</example></p> |
| 1789 |
|
|
| 1790 |
<p>You should then use <tt/aptitude install/ to install it. Once |
<p>Notice this is needed even if you did not upgrade your system's kernel, as |
| 1791 |
this new kernel is installed you should reboot at the next available |
lilo's second stage will change due to the package upgrade.</p> |
|
opportunity to get the benefit.</p> |
|
|
|
|
|
<p>For the more adventurous there is an easy way to compile your |
|
|
own custom kernel on &debian;. Install the |
|
|
<package>kernel-package</package> tool and read the documentation |
|
|
in <file>/usr/share/doc/kernel-package</file>.</p> |
|
| 1792 |
|
|
| 1793 |
</sect1> |
<p>Also, review the contents of your <file>/etc/kernel-img.conf</file> and |
| 1794 |
</sect> |
make sure that you have <em>do_bootloader = Yes</em> in it. That way the |
| 1795 |
|
bootloader will always be rerun after a kernel upgrade. |
| 1796 |
|
</p> |
| 1797 |
|
|
| 1798 |
<sect id="nownownow"><heading>Things to do before rebooting</heading> |
<p>If you encounter any issues when running <prgn/lilo/ review the |
| 1799 |
|
symbolic links in <file>/</file> to <file>vmlinuz</file> and |
| 1800 |
|
<file>initrd</file>, as well as the contents of your |
| 1801 |
|
<file>/etc/lilo.conf</file> for discrepancies.</p> |
| 1802 |
|
|
| 1803 |
|
<p>If you forgot to rerun <prgn/lilo/ before the reboot or the system |
| 1804 |
|
is accidentally rebooted before you could do this manually, your |
| 1805 |
|
system might fail to boot. Instead of the lilo prompt, you will only |
| 1806 |
|
see <em/LI/ when booting the system<footnote>For more information on |
| 1807 |
|
<prgn/lilo/'s boot error codes please see <url |
| 1808 |
|
id="http://tldp.org/HOWTO/Bootdisk-HOWTO/a1483.html" name="The Linux |
| 1809 |
|
Bootdisk HOWTO">.</footnote>. In order to |
| 1810 |
|
recover from this you will have to start up a media installation disk |
| 1811 |
|
in <em/rescue/ mode. For |
| 1812 |
|
more information on how to do this please review the <url |
| 1813 |
|
id="http://wiki.debian.org/DebianInstaller/FAQ" name="DebianInstaller |
| 1814 |
|
FAQ">.</p> |
| 1815 |
|
|
| 1816 |
<p>When <tt>aptitude dist-upgrade</tt> has finished, the |
</sect1> |
| 1817 |
"formal" upgrade is complete, but there are some other things |
]]> |
|
that should be taken care of <em/before/ the next reboot.</p> |
|
| 1818 |
|
|
| 1819 |
<sect1 id="mdadm"><heading>Upgrading mdadm</heading> |
<sect1 id="mdadm"><heading>Upgrading mdadm</heading> |
| 1820 |
|
|
| 1830 |
</sect1> |
</sect1> |
| 1831 |
</sect> |
</sect> |
| 1832 |
|
|
| 1833 |
|
<sect id="for_next"><heading>Preparing for the next release</heading> |
| 1834 |
|
|
| 1835 |
|
<p>After the upgrade there are several things you can do |
| 1836 |
|
to prepare for the next release.</p> |
| 1837 |
|
|
| 1838 |
|
<p><list> |
| 1839 |
|
|
| 1840 |
|
<item><p>If using <prgn/grub/, edit <file>/etc/kernel-img.conf</file> |
| 1841 |
|
and adjust the location of the <prgn/update-grub/ program changing |
| 1842 |
|
<file>/sbin/update-grub</file> to <file>/usr/sbin/update-grub</file>.</p> |
| 1843 |
|
|
| 1844 |
|
<!-- TODO: (jfs) Is this needed? aptitude-0.4.4-1 "fixed" this, see #386307 --> |
| 1845 |
|
<item><p>Unmark the 2.6 kernel image installed as not an automatic |
| 1846 |
|
package, so that <prgn/aptitude/ never considers it unused: |
| 1847 |
|
<example> |
| 1848 |
|
# aptitude unmarkauto linux-image-2.6-<flavor> |
| 1849 |
|
</example> |
| 1850 |
|
</p> |
| 1851 |
|
<item><p>Remove &oldreleasename;'s kernel metapackages by running: |
| 1852 |
|
<example> |
| 1853 |
|
# aptitude purge kernel-image-2.6-<flavor> |
| 1854 |
|
</example> |
| 1855 |
|
</p> |
| 1856 |
|
|
| 1857 |
|
<item><p>Move any kernel configuration values at |
| 1858 |
|
<file>/etc/network/options</file> to <file>/etc/sysctl.conf</file>.</p> |
| 1859 |
|
|
| 1860 |
|
<item><p>Remove obsolete and unused packages as described in <ref |
| 1861 |
|
id="obsolete">. You should review which configuration files they use |
| 1862 |
|
and consider purging the packages to remove their configuration files</p> |
| 1863 |
|
|
| 1864 |
|
</list></p> |
| 1865 |
|
|
| 1866 |
|
</sect> |
| 1867 |
|
|
| 1868 |
<sect id="obsolete"><heading>Obsolete packages</heading> |
<sect id="obsolete"><heading>Obsolete packages</heading> |
| 1869 |
|
|
| 1870 |
<!-- JFS: Providing a full listing might be useful, especially if we can |
<!-- JFS: Providing a full listing might be useful, especially if we can |
| 1889 |
no longer a Debian Developer interested in maintaining the packages; |
no longer a Debian Developer interested in maintaining the packages; |
| 1890 |
the functionality they provide has been superseded by different |
the functionality they provide has been superseded by different |
| 1891 |
software (or a new version); or they are no longer considered |
software (or a new version); or they are no longer considered |
| 1892 |
suitable for &releasename; due to bugs in them. In the later case, |
suitable for &releasename; due to bugs in them. In the latter case, |
| 1893 |
packages might still be present in the "unstable" distribution.</p> |
packages might still be present in the "unstable" distribution.</p> |
| 1894 |
|
|
| 1895 |
<p>Detecting which packages in an updated system are "obsolete" is |
<p>Detecting which packages in an updated system are "obsolete" is |
| 1971 |
|
|
| 1972 |
<sect1 id="window-scaling"><heading>Certain networking site cannot be reached by TCP</heading> |
<sect1 id="window-scaling"><heading>Certain networking site cannot be reached by TCP</heading> |
| 1973 |
<p> |
<p> |
| 1974 |
Since 2.6.17, Linux uses TCP window scaling which is specified in RFC 1323 in |
Since 2.6.17, Linux aggressively uses TCP window scaling which is specified in RFC 1323. |
| 1975 |
an aggressive way. Some servers have a broken behaviour, and announce wrong |
Some servers have a broken behavior, and announce wrong |
| 1976 |
window sizes for themselves. Please see the bugs |
window sizes for themselves. Please see the bugs |
| 1977 |
<url id="http://bugs.debian.org/381262" name="#381262"> and |
<url id="http://bugs.debian.org/381262" name="#381262"> and |
| 1978 |
<url id="http://bugs.debian.org/395066" name="#395066"> |
<url id="http://bugs.debian.org/395066" name="#395066"> |
| 2009 |
<p> |
<p> |
| 2010 |
Certain models of HP laptops have an ACPI BIOS that is incompatible with the |
Certain models of HP laptops have an ACPI BIOS that is incompatible with the |
| 2011 |
Linux 2.6.18 kernel shipped in &releasename;, which would prevent the fans from |
Linux 2.6.18 kernel shipped in &releasename;, which would prevent the fans from |
| 2012 |
spinning up leading to unnecessary heat stress. The kernel therefore disables |
spinning up leading to unnecessary heat stress. Also, fans might not work after |
| 2013 |
ACPI support internally when it detects certain ACPI BIOS versions. Models |
the system is suspended. The kernel therefore disables ACPI support |
| 2014 |
known to be affected by this change include the HP nx6125, nx6325, and nc6120 |
internally when it detects certain ACPI BIOS versions. Models known |
| 2015 |
models. |
to be affected by this change include the HP nx6125, nx6120, nx6325, |
| 2016 |
|
nc6120 and nc6000 models. |
| 2017 |
</p> |
</p> |
| 2018 |
<p> |
<p> |
| 2019 |
Users who require ACPI support on these systems may install a Linux 2.6.19 or |
Users who require ACPI support on these systems may install a Linux 2.6.19 or |
| 2020 |
later kernel. Please see bug |
later kernel. Please see Debian bug |
| 2021 |
<url id="http://bugs.debian.org/404143" name="#404143"> |
<url id="http://bugs.debian.org/404143" name="#404143"> and |
| 2022 |
|
<url id="http://bugs.debian.org/400488" name="#400488">, |
| 2023 |
|
and Linux Kernel's bugs |
| 2024 |
|
<url id="http://bugzilla.kernel.org/show_bug.cgi?id=5534" name="#5534"> |
| 2025 |
|
and |
| 2026 |
|
<url id="http://bugzilla.kernel.org/show_bug.cgi?id=7122" name="#7122"> |
| 2027 |
for additional information. |
for additional information. |
| 2028 |
</p> |
</p> |
| 2029 |
</sect1> |
</sect1> |
| 2053 |
|
|
| 2054 |
<p>Debian attempts to avoid changing upstream packages, therefore |
<p>Debian attempts to avoid changing upstream packages, therefore |
| 2055 |
any changes in the upstream package will be present in the version in |
any changes in the upstream package will be present in the version in |
| 2056 |
&debian;. This can mean that program behaviour may change between |
&debian;. This can mean that program behavior may change between |
| 2057 |
releases of &debian;. </p> |
releases of &debian;. </p> |
| 2058 |
|
|
| 2059 |
<p><em>No changes yet reported.</em></p> |
<p><em>No changes yet reported.</em></p> |
| 2072 |
lightly. This section aims to make you aware of some of the issues |
lightly. This section aims to make you aware of some of the issues |
| 2073 |
you may face.</p> |
you may face.</p> |
| 2074 |
|
|
| 2075 |
|
<!-- TODO - needs to be changed for etch, not TRUE --> |
| 2076 |
<p>You are therefore strongly advised not to upgrade to a 2.6 kernel |
<p>You are therefore strongly advised not to upgrade to a 2.6 kernel |
| 2077 |
as part of the upgrade from &oldreleasename; to &releasename;. |
as part of the upgrade from &oldreleasename; to &releasename;. |
| 2078 |
Instead, you should first make sure your system works correctly |
Instead, you should first make sure your system works correctly |
| 2097 |
module names may have changed. If this happens you will have to update |
module names may have changed. If this happens you will have to update |
| 2098 |
this file with the new module names.</p> |
this file with the new module names.</p> |
| 2099 |
|
|
| 2100 |
|
<!-- JFS: Can't this device name change even for some other disk controllers? I've found |
| 2101 |
|
references in debian-user posts talking about some strange chipsets and BIOS |
| 2102 |
|
which are seen in sarge' 2.4 as hda and in etch's 2.6 as hdf... --> |
| 2103 |
<![ %i386-amd64 [ |
<![ %i386-amd64 [ |
| 2104 |
<p>For some SATA disk controllers, the device assigned to a drive and |
<p>For some SATA disk controllers, the device assigned to a drive and |
| 2105 |
its partitions may change from <file>/dev/hdX</file> to |
its partitions may change from <file>/dev/hdX</file> to |
| 2106 |
<file>/dev/sdX</file>. If this happens, you will have to modify your |
<file>/dev/sdX</file>. If this happens, you will have to modify your |
| 2107 |
<file>/etc/fstab</file> and bootloader configuration accordingly. |
<file>/etc/fstab</file> and bootloader configuration accordingly. |
| 2108 |
Unless these changes are made correctly, your system may not boot |
Unless these changes are made correctly, your system may not boot |
| 2109 |
correctly.</p> |
correctly<footnote>It will boot the kernel but will fail when trying |
| 2110 |
|
to mount the root filesystem and will abort with an error <em>waiting for root filesystem</em> |
| 2111 |
|
followed by <em>unable to mount /dev/hdX ..not found</em>. |
| 2112 |
|
You can use the <prgn/initramfs/ shell to fix this issue, after you |
| 2113 |
|
identify the names newly assigned devices in the kernel boot messages or by reviewing |
| 2114 |
|
the contents of <file>/dev/disk</file>.</footnote>.</p> |
| 2115 |
|
]]> |
| 2116 |
|
|
| 2117 |
|
<!-- Bug: #416720 --> |
| 2118 |
|
<![ %ia64 [ |
| 2119 |
|
<p>HP Itanium systems running older firmware are incompatible with the |
| 2120 |
|
2.6 kernel in &releasename;. That means you should upgrade your |
| 2121 |
|
system to the latest firmware before upgrading your kernel. It is |
| 2122 |
|
recommended you do this before the system upgrade, as if you are |
| 2123 |
|
already running a 2.6 kernel you will automatically retrieve the |
| 2124 |
|
latest kernel when upgrading the rest of the system (see <ref |
| 2125 |
|
id="upgrading_other">). Failing to do this will result in an system |
| 2126 |
|
that does not boot, |
| 2127 |
|
</p> |
| 2128 |
]]> |
]]> |
| 2129 |
|
|
| 2130 |
<p>Once you have installed your 2.6 kernel, but before you reboot, |
<p>Once you have installed your 2.6 kernel, but before you reboot, |
| 2131 |
make sure you have a recovery method. First, make sure that the |
make sure you have a recovery method. First, make sure that the |
| 2132 |
bootloader configuration has entries for both the new kernel and |
bootloader configuration has entries for both the new kernel and |
| 2133 |
the old, working 2.4 kernel. You should also ensure you have a "rescue" |
the old, working 2.4 kernel. You should also ensure you have a "rescue" |
| 2134 |
floppy or cdrom to hand, in case misconfiguration of the bootloader |
floppy or CD-ROM to hand, in case misconfiguration of the bootloader |
| 2135 |
prevents you booting the old kernel.</p> |
prevents you booting the old kernel.</p> |
| 2136 |
|
|
| 2137 |
<![ %not-s390 [ |
<![ %not-s390 [ |
| 2153 |
|
|
| 2154 |
<p>If your console keyboard is affected, you will probably also need to |
<p>If your console keyboard is affected, you will probably also need to |
| 2155 |
reconfigure your keyboard for the X Window System. You can do this |
reconfigure your keyboard for the X Window System. You can do this |
| 2156 |
either by running <tt>dpkg-reconfigure xserver-xfree86</tt> or by |
either by running <tt>dpkg-reconfigure xserver-xorg</tt> or by |
| 2157 |
editing <file>/etc/X11/XF86Config-4</file> directly. Don't forget |
editing <file>/etc/X11/xorg.conf</file> directly. Don't forget |
| 2158 |
to read the documentation referred to in <ref id="nownownow">.</p> |
to read the documentation referred to in <ref id="nownownow">.</p> |
| 2159 |
|
|
| 2160 |
<![ %i386 [ |
<![ %i386 [ |
| 2219 |
<p>As <package/udev/ is automatically installed as a dependency of the new |
<p>As <package/udev/ is automatically installed as a dependency of the new |
| 2220 |
default initrd generator used with the 2.6 kernels |
default initrd generator used with the 2.6 kernels |
| 2221 |
(<package/initramfs-tools/), upgrading to a 2.6 kernel will normally result |
(<package/initramfs-tools/), upgrading to a 2.6 kernel will normally result |
| 2222 |
in <package/udev/ being activated.</p> |
in <package/udev/ being activated. You can avoid installing <package/udev/ |
| 2223 |
|
if you install an alternate initrd generator, such as <package/yaird/. |
| 2224 |
|
<package/initramfs-tools/ is the recommended initrd generator.</p> |
| 2225 |
|
|
| 2226 |
<p>Although <package/udev/ has been tested extensively, you may experience |
<p>Although <package/udev/ has been tested extensively, you may experience |
| 2227 |
minor problems with some devices that will need to be fixed. The most |
minor problems with some devices that will need to be fixed. The most |
| 2242 |
<p>The transition to X.Org involves some structural changes. In case |
<p>The transition to X.Org involves some structural changes. In case |
| 2243 |
all installed packages are from Debian and also included in &releasename;, |
all installed packages are from Debian and also included in &releasename;, |
| 2244 |
the upgrade should work without problems. |
the upgrade should work without problems. |
| 2245 |
Experience has however shown there are a few changes to be aware of as |
However, experience has shown that there are a few changes to be aware |
| 2246 |
they can potentially cause issues during the upgrade.</p> |
of, as they can potentially cause issues during the upgrade.</p> |
| 2247 |
|
|
| 2248 |
<p>The most important change is that <file>/usr/X11R6/bin</file> has |
<p>The most important change is that <file>/usr/X11R6/bin</file> has |
| 2249 |
been dropped and only remains as a symlink to <file>/usr/bin</file>. |
been dropped and only remains as a symlink to <file>/usr/bin</file>. |
| 2250 |
This means this directory has to be empty at the time the new packages |
This means the directory has to be empty at the time the new packages |
| 2251 |
are installed. The new packages conflict with most packages that used |
are installed. The new packages conflict with most packages that used |
| 2252 |
<file>/usr/X11R6/bin</file>, |
<file>/usr/X11R6/bin</file>, |
| 2253 |
but in some cases manual intervention may be needed. |
but in some cases manual intervention may be needed. |
| 2254 |
Please remember to not run upgrades within an X session.</p> |
Please remember to not run the distribution upgrade from within an |
| 2255 |
|
X session.</p> |
| 2256 |
|
|
| 2257 |
<p>In case the upgrade aborts during X.Org installation, you should |
<p>In case the upgrade aborts during X.Org installation, you should |
| 2258 |
check if any files are still left in <file>/usr/X11R6/bin</file>. |
check if any files are still left in <file>/usr/X11R6/bin</file>. |
| 2270 |
|
|
| 2271 |
<sect id="exim"> <heading>Upgrading from exim to exim4</heading> |
<sect id="exim"> <heading>Upgrading from exim to exim4</heading> |
| 2272 |
<p>One of the packages that has been obsoleted by the &releasename; |
<p>One of the packages that has been obsoleted by the &releasename; |
| 2273 |
release is the Mail Transfer Agent (MTA) exim, which has been replaced |
release is the Mail Transfer Agent (MTA) <package/exim/, which has been replaced |
| 2274 |
by the completely new package exim4.</p> |
by the completely new package <package/exim4/.</p> |
| 2275 |
|
|
| 2276 |
<p>exim (version 3.xx) has been unmaintained upstream for years, and |
<p><prgn/exim/ (version 3.xx) has been unmaintained upstream for years, and |
| 2277 |
Debian has dropped support for that version as well. If you are still using |
Debian has dropped support for that version as well. If you are still using |
| 2278 |
exim 3.xx, please upgrade your exim installation to exim4 manually. |
<prgn/exim/ 3.xx, please upgrade your <package/exim/ installation to <package/exim4/ manually. |
| 2279 |
Since exim4 is already part of &oldreleasename;, you can choose to do the |
Since <package/exim4/ is already part of &oldreleasename;, you can choose to do the |
| 2280 |
upgrade on your &oldreleasename; system before the upgrade to &releasename;, |
upgrade on your &oldreleasename; system before the upgrade to &releasename;, |
| 2281 |
or after the &releasename; upgrade at your convenience. Just remember that |
or after the &releasename; upgrade at your convenience. Just remember that |
| 2282 |
your old exim package is not going to be upgraded and that it won't get |
your old <package/exim/ package is not going to be upgraded and that it won't get |
| 2283 |
security support after support for &oldreleasename; will be discontinued.</p> |
security support after support for &oldreleasename; has been discontinued.</p> |
| 2284 |
|
|
| 2285 |
<p>The exim4 packages in Debian are extensively documented. The package's |
<p>The <package/exim4/ packages in Debian are extensively documented. The package's |
| 2286 |
home page is <url id="http://wiki.debian.org/PkgExim4"> on the Debian Wiki, and |
home page is <url id="http://wiki.debian.org/PkgExim4"> on the Debian Wiki, and |
| 2287 |
the README file can be found at |
the README file can be found at |
| 2288 |
<url id="http://pkg-exim4.alioth.debian.org/README/README.Debian.html"> and |
<url id="http://pkg-exim4.alioth.debian.org/README/README.Debian.html"> and |
| 2290 |
|
|
| 2291 |
<p>The README file has a chapter about Packaging, which explains the |
<p>The README file has a chapter about Packaging, which explains the |
| 2292 |
different package variations we offer, and it has a chapter about |
different package variations we offer, and it has a chapter about |
| 2293 |
Updating from Exim 3, which will help you in doing the actual |
Updating from <prgn/Exim/ 3, which will help you in doing the actual |
| 2294 |
transition.</p> |
transition.</p> |
| 2295 |
<!-- FIXME: update with decisions of (S)RMs might be needed --> |
<!-- FIXME: update with decisions of (S)RMs might be needed --> |
| 2296 |
</sect> |
</sect> |
| 2334 |
<file>/usr/share/doc/php5</file>).</p> |
<file>/usr/share/doc/php5</file>).</p> |
| 2335 |
</sect> |
</sect> |
| 2336 |
|
|
| 2337 |
|
<!-- JFS: Bug #400311 --> |
| 2338 |
<sect id="mozilla-security"> <heading>Security status of Mozilla products</heading> |
<sect id="mozilla-security"> <heading>Security status of Mozilla products</heading> |
| 2339 |
<p>The Mozilla programs are important tools for many users. |
<p>The Mozilla programs <package>firefox</package> and <package>thunderbird</package> |
| 2340 |
|
(rebranded in Debian to <package>iceweasel</package> and <package>icedove</package>, respectively), |
| 2341 |
|
are important tools for many users. |
| 2342 |
Unfortunately the upstream security policy is to urge users to update to |
Unfortunately the upstream security policy is to urge users to update to |
| 2343 |
new upstream versions, which conflicts with Debian's policy not to ship |
new upstream versions, which conflicts with Debian's policy of not shipping |
| 2344 |
large functional changes in security updates. |
large functional changes in security updates. |
| 2345 |
We cannot predict it today, but during lifetime of &releasename; the |
We cannot predict it today, but during the lifetime of &releasename; the |
| 2346 |
Debian Security Team may come to a point where supporting |
Debian Security Team may come to a point where supporting |
| 2347 |
Mozilla products is no longer feasible and announce |
Mozilla products is no longer feasible and announce |
| 2348 |
the end of security support for Mozilla products. |
the end of security support for Mozilla products. |
| 2350 |
alternatives available in Debian if the absence of security support would |
alternatives available in Debian if the absence of security support would |
| 2351 |
pose a problem for you.</p> |
pose a problem for you.</p> |
| 2352 |
</sect> |
</sect> |
| 2353 |
|
|
| 2354 |
|
<!-- JFS: Bug #400838 --> |
| 2355 |
|
<sect id="kde-desktop-changes"> <heading>KDE desktop</heading> |
| 2356 |
|
<p>KDE media handling has changed in the version available in |
| 2357 |
|
&releasename; from using <file>device:/</file> to <file>media:/</file>. |
| 2358 |
|
Some user configuration files might have stored <file>device:/</file> |
| 2359 |
|
links in them which should be adapted. Notably, |
| 2360 |
|
<file>~/.kde/share/apps/konqsidebartng/virtual_folders/services</file> |
| 2361 |
|
contains this reference and can be safely deleted as it will not be |
| 2362 |
|
created when setting up new users. |
| 2363 |
|
|
| 2364 |
|
<p>There have been many changes in the KDE desktop environment from |
| 2365 |
|
the version shipped in &oldreleasename; to the version in |
| 2366 |
|
&releasename;, you can find more information in the <url |
| 2367 |
|
id="http://www.kde.org/announcements/announce-3.5.php" name="KDE |
| 2368 |
|
3.5 Release Notes">.</p> |
| 2369 |
|
</sect> |
| 2370 |
|
|
| 2371 |
|
<!-- JFS: Bug #387921 --> |
| 2372 |
|
<sect id="gnome-desktop-changes"> <heading>GNOME desktop changes and support</heading> |
| 2373 |
|
<p>If you used the GNOME desktop in &oldreleasename; you will not benefit |
| 2374 |
|
of some of the changes introduced in the default configuration in |
| 2375 |
|
Debian for &releasename;. In some extreme cases the GNOME desktop might |
| 2376 |
|
not properly handle your old configuration and might not behave properly.</p> |
| 2377 |
|
|
| 2378 |
|
<p>If you have not heavily invested in configuring your GNOME desktop |
| 2379 |
|
you might want to move the the <file>.gconf</file> directory in user's |
| 2380 |
|
home directories to a different name (such as <file>.gconf.old</file>) |
| 2381 |
|
so that it gets recreated, with the default configuration for |
| 2382 |
|
&releasename;, upon starting a new session.</p> |
| 2383 |
|
|
| 2384 |
|
<p>With the release of &releasename;, Debian no longer contains packages for |
| 2385 |
|
most of the obsolete version 1 release of GNOME. Although some packages |
| 2386 |
|
remain in order to support some Debian packages which have not yet |
| 2387 |
|
been updated to GNOME 2. Packages for GTK1.2 remain fully maintained.</p> |
| 2388 |
|
|
| 2389 |
|
<p>There have been many changes in the GNOME desktop environment from |
| 2390 |
|
the version shipped in &oldreleasename; to the version in |
| 2391 |
|
&releasename;, you can find more information in the <url |
| 2392 |
|
id="http://www.gnome.org/start/2.14/notes/en/" name="GNOME |
| 2393 |
|
2.14 Release Notes">.</p> |
| 2394 |
|
</sect> |
| 2395 |
|
|
| 2396 |
|
<!-- FJP: Bug #398887 --> |
| 2397 |
|
<sect id="default-editor"> <heading>Default editor</heading> |
| 2398 |
|
<p>If you were using <prgn/vim/ as your default editor, this may |
| 2399 |
|
be changed to <prgn/nano/ during the upgrade.</p> |
| 2400 |
|
|
| 2401 |
|
<p>Administrators who wish to change the default editor for all users |
| 2402 |
|
will have to update the alternatives system using: |
| 2403 |
|
|
| 2404 |
|
<example> |
| 2405 |
|
# update-alternatives --config editor |
| 2406 |
|
</example> |
| 2407 |
|
</p> |
| 2408 |
|
|
| 2409 |
|
<p>Users wishing to change the default editor can define the |
| 2410 |
|
environment variable <em>EDITOR</em> by introducing the following lines |
| 2411 |
|
in their own profiles: |
| 2412 |
|
|
| 2413 |
|
<example> |
| 2414 |
|
EDITOR=vi |
| 2415 |
|
export EDITOR |
| 2416 |
|
alias editor=$EDITOR |
| 2417 |
|
</example> |
| 2418 |
|
</p> |
| 2419 |
|
|
| 2420 |
|
</sect> |
| 2421 |
|
|
| 2422 |
</chapt> |
</chapt> |
| 2423 |
|
|
| 2424 |
<chapt id="moreinfo"> |
<chapt id="moreinfo"> |
| 2429 |
<p>Beyond these release notes and the installation guide, further |
<p>Beyond these release notes and the installation guide, further |
| 2430 |
documentation on &debian; is available from the Debian |
documentation on &debian; is available from the Debian |
| 2431 |
Documentation Project (DDP), whose goal is to create high quality |
Documentation Project (DDP), whose goal is to create high quality |
| 2432 |
documentation for Debian users and developers. Documentation |
documentation for Debian users and developers. Documentation, |
| 2433 |
including the Debian Reference, Debian New Maintainers Guide, and Debian |
including the Debian Reference, Debian New Maintainers Guide, and Debian |
| 2434 |
FAQ are available, and many more. For full details of the existing resources |
FAQ are available, and many more. For full details of the existing resources |
| 2435 |
see the <url id="&url-ddp;" name="DDP website">.</p> |
see the <url id="&url-ddp;" name="DDP website">.</p> |
| 2461 |
</sect1> |
</sect1> |
| 2462 |
<!-- TODO: Changed to OFTC --> |
<!-- TODO: Changed to OFTC --> |
| 2463 |
<sect1 id="irc"> |
<sect1 id="irc"> |
| 2464 |
<heading>Internet Relay Chat</heading> |
<heading>Internet Relay Chat</heading> |
| 2465 |
|
|
| 2466 |
<p>Debian has an IRC channel dedicated to the support and aid of |
<p>Debian has an IRC channel dedicated to the support and aid of |
| 2467 |
Debian users located on the OFTC IRC network which exists to |
Debian users located on the OFTC IRC network which exists to |
| 2468 |
provide interactive services to peer-directed project communities. |
provide interactive services to peer-directed project communities. |
| 2469 |
To access the channel, point your favourite IRC client at |
To access the channel, point your favorite IRC client at |
| 2470 |
&debian-irc-server; and join #debian.</p> |
&debian-irc-server; and join #debian.</p> |
| 2471 |
|
|
| 2472 |
<p>Please follow the channel guidelines, respecting other users |
<p>Please follow the channel guidelines, respecting other users |
| 2474 |
id="&url-irc-host;" name="website">.</p> |
id="&url-irc-host;" name="website">.</p> |
| 2475 |
|
|
| 2476 |
</sect1> |
</sect1> |
| 2477 |
</sect> |
</sect> |
| 2478 |
|
|
| 2479 |
<sect id="bugs"> |
<sect id="bugs"> |
| 2480 |
<heading>Reporting bugs</heading> |
<heading>Reporting bugs</heading> |
| 2489 |
|
|
| 2490 |
<p>If you find a bug in the distribution or in packaged software |
<p>If you find a bug in the distribution or in packaged software |
| 2491 |
that is part of it, please report it so that it can be properly |
that is part of it, please report it so that it can be properly |
| 2492 |
fixed for next releases. Reporting bugs requires a valid email |
fixed for future releases. Reporting bugs requires a valid email |
| 2493 |
address, we ask for this so that we can trace bugs and developers |
address. We ask for this so that we can trace bugs and developers |
| 2494 |
can get in contact with submitters should they need more |
can get in contact with submitters should additional information be |
| 2495 |
information.</p> |
needed.</p> |
| 2496 |
|
|
| 2497 |
<p>You can submit a bug report using the program |
<p>You can submit a bug report using the program |
| 2498 |
<package>reportbug</package> or manually using email. |
<package>reportbug</package> or manually using email. |
| 2499 |
You can read more about the Bug Tracking System and how to use it by |
You can read more about the Bug Tracking System and how to use it by |
| 2500 |
reading the reference cards (available at |
reading the reference cards (available at |
| 2501 |
<file>/usr/share/doc/debian</file> if you have |
<file>/usr/share/doc/debian</file> if you have |
| 2510 |
<p>You do not need to be an expert to contribute to Debian. By |
<p>You do not need to be an expert to contribute to Debian. By |
| 2511 |
assisting users with problems on the various user support <url |
assisting users with problems on the various user support <url |
| 2512 |
id="&url-debian-list-archives;" name="lists"> you are contributing to |
id="&url-debian-list-archives;" name="lists"> you are contributing to |
| 2513 |
the community. Identifying (and importantly solving) problems |
the community. Identifying (and also solving) problems |
| 2514 |
related to the development of the distribution by participating on |
related to the development of the distribution by participating on |
| 2515 |
the development <url id="&url-debian-list-archives;" name="lists"> is |
the development <url id="&url-debian-list-archives;" name="lists"> is |
| 2516 |
also extremely helpful. To maintain Debian's high quality |
also extremely helpful. To maintain Debian's high quality |
| 2517 |
distribution <url id="&url-bts;" name="submit bugs"> |
distribution, <url id="&url-bts;" name="submit bugs"> |
| 2518 |
and help developers track them down and fix them. If you have a way |
and help developers track them down and fix them. If you have a way |
| 2519 |
with words then you may want to contribute more actively by helping |
with words then you may want to contribute more actively by helping |
| 2520 |
to write <url id="&url-ddp;" |
to write <url id="&url-ddp;" |
| 2556 |
first need to make sure your package list still contains |
first need to make sure your package list still contains |
| 2557 |
&oldreleasename; packages as explained in <ref id="old-sources">.</p> |
&oldreleasename; packages as explained in <ref id="old-sources">.</p> |
| 2558 |
|
|
| 2559 |
|
<p>You should upgrade to the latest &oldreleasename; point release: |
| 2560 |
|
r5, published February 2007.</p> |
| 2561 |
|
|
| 2562 |
</sect> |
</sect> |
| 2563 |
|
|
| 2564 |
<sect id="old-sources"> |
<sect id="old-sources"> |