%dynamicdata; %shareddata; ]> Release Notes for &debian; &release; (`&releasename'), &arch-title; Josip Rodin, Bob Hilliard, Adam Di Carlo, Anne Bezemer, Rob Bradford (current) debian-doc@lists.debian.org &docid; What's new in the Release Notes

[The most recent version of this document is always available at . If your version is more than a month old, you might wish to download the latest version.]

Please note that previous editions of the release notes contained information about upgrading from releases older than than the previous release. However such content often complicated the documentation so we have decided to only discuss upgrades from &debian; 3.0 ('woody'). If you need to upgrade from older releases please read previous editions of the release notes.

What's new in &debian; &release;

The list of supported architectures has not changed since the previous release, &debian; 3.0 ('woody'). Here is the full list of architectures for this release.

Intel x86 ('i386')

Motorola 680x0 ('m68k')

Alpha ('alpha')

SPARC ('sparc')

PowerPC ('powerpc')

ARM ('arm')

MIPS ('mips' (Big endian) and 'mipsel' (Little endian))

Intel Itanium ('ia64')

HP PA-RISC ('hppa')

S/390 ('s390')

You can read more about port status, and port-specific information for your architecture at the .

This is only the second official release of &debian; for the &arch-title; architecture. We feel that it has proven itself sufficiently to be released. However, because it has not had the exposure (and hence testing by users) that our other releases on other architectures have had, you may encounter a few bugs. Please use our to report any problems; make sure to mention the fact that the bug is on the &architecture; platform.

]]>

&debian; &release; for the &arch-title; architecture ships with kernel version &kernelversion;.

On the &arch-title; architecture a 2.6 kernel is also available, this has kernel version &kernelversion-2.6;. Note that Debian's 2.6.8 kernel packages include the 2.6.8.1 kernel release and selected other patches.

]]> What's new in the installation system?

The old &debian; installation system has been replaced by a completely new installation system called debian-installer. The new installation system is modular in design and so has been developed with extensibility in mind.

Some of the new features in the installation system include support for booting off USB flash devices, choosing aptitude to install packages in the first-boot stage and support for the XFS file system and LVM (a volume management tool).

For full details of the new Debian installation system, users are advised to read the Debian Installation Guide included on the first CD or at .

Kernel images are available in various "flavours". These flavours each support a different set of hardware. The flavours available in &debian; &release; for &arch-title; are:

vanilla

The standard kernel package available in Debian. This includes almost all drivers supported by Linux built as modules. Including drivers for network devices, SCSI devices, sound cards, Video4Linux devices, etc. The `vanilla' flavour includes one boot, one root and two driver disks.

speakup

This is almost the same as the vanilla kernel above but with support for braille displays. A complete list of supported models may be found in the brltty documentation. This flavour includes one boot, one root and one driver floppy disk image.

The kernel config files for these flavours can be found in their respective directories in a file named 'kernel-config'.

]]> An installer using a 2.6 based kernel is available for &arch-title;. For more details on how to use it please consult the installation guide.

]]>
What's new in the distribution?

To replace the aging, much-maligned, yet still popular dselect, many apt frontends have been in development during the woody release cycle. Interested users should investigate the aptitude and synaptic packages.

This release of &debian; contains the much improved XFree86 4.3 release, which includes support for a greater range of hardware, better autodetection support, and improved support for advanced technologies such as Xinerama and 3D acceleration.

&debian; is more desktop orientated than ever in this new release, it now includes GNOME 2.8 and KDE 3.3. Also included for the first time is a complete office suite in the form of OpenOffice.org 1.1, other productivity tools included in the release are the Evolution groupware software and GAIM instant messaging client.

The official &debian; distribution now ships on thirteen binary CDs with a similar number of source CDs, and a DVD version of the distribution is now also available.

New installs

If you are making a new installation of Debian, you should read the Installation Guide, which is available on the Official CD at: /doc/install/manual/language/index.html or on the Internet at: .

The old &debian; installation system called boot-floppies has been replaced by a new componentized and more powerful installation system called debian-installer.

Upgrades from previous releases Preparing for the upgrade

Before upgrading your system, it is strongly recommended that you make a full backup, or at least backup any data or configuration information you can't afford to lose. The upgrade tools and process are quite reliable, but a hardware failure in the middle of an upgrade could result in a severely damaged system.

The main things you'll want to back up are the contents of /etc, /var/lib/dpkg and the output of dpkg --get-selections \*.

It's wise to inform all users in advance of any upgrades you're planning, although users accessing your system via SSH (at least) shouldn't notice much during the upgrade, and may want to continue working. If you wish to take extra precautions, back up or unmount user's partitions (/home) before upgrading. A reboot will not normally be necessary.

Distribution upgrade should be done either locally from a textmode virtual console (or a directly connected serial terminal), or remotely via an

Disabling APT pinning

If you have configured APT to install certain packages from a distribution other than stable (e.g from testing), you may have to change your APT pinning configuration (stored in /etc/apt/preferences) to allow the upgrade of packages to the versions in the new stable release. Further information on APT pinning can be found in .

Checking packages status

Regardless of the method used for upgrading, it is recommended that you check the status of all packages first, and verify that all packages are in an upgradable state. The following command will show any packages which have a status of Half-Installed or Failed-Config, and those with any error status. # dpkg --audit

You could also inspect the state of all packages on your system using # dpkg -l | pager or # dpkg --get-selections > ~/curr-pkgs.txt

It is desirable to remove any holds before upgrading. If any package that is essential for the upgrade is on hold, the upgrade will fail. You can identify packages on hold with # dpkg --audit

If you changed and recompiled a package locally, and didn't rename it or put an epoch in the version, you must put it on hold to prevent it from being upgraded. The `hold' package state can be changed by using aptitude hold | unhold <package>

Special considerations for SSH users

The commercial SSH located in the Preparing sources for APT

The recommended method of upgrading is to use

Any package installation operation must be run with superuser privileges, so either login as root or use

Before starting the upgrade you must set up /etc/apt/sources.list.

deb" line, and install the package with the highest version number, giving priority to the first mentioned lines (that way, in case of multiple mirror locations, you'd typically first name a local harddisk, then CD-ROMs, and then HTTP/FTP mirrors).

Adding APT Internet sources

The default configuration is set up for installation from main Debian Internet servers, but you may wish to modify /etc/apt/sources.list to use other mirrors, preferably a mirror that is network-wise closest to you.

Debian HTTP or FTP mirror addresses can be found at (look at the "Full list of mirrors" section). HTTP mirrors are generally speedier than FTP mirrors.

For example, suppose your closest Debian mirror is &url-debian-mirror-eg;/. When inspecting that mirror with a web browser or FTP program, you will notice that the main directories are organized like this: &url-debian-mirror-eg;/dists/stable/main/binary-&architecture;/... &url-debian-mirror-eg;/dists/stable/contrib/binary-&architecture;/...

To use this mirror with deb &url-debian-mirror-eg; &releasename; main contrib

Note that the `dists' is added implicitly, and the arguments after the release name are used to expand the path into multiple directories.

After adding your new sources, disable the previously existing "

Any package needed for installation that is fetched from the network is stored in /var/cache/apt/archives (and the partial/ subdirectory, during download), so you must make sure you have enough space before attempting to start the installation. With a reasonably extended Debian installation, you can expect at least 300 MB of downloaded data.

Adding APT sources for a local mirror

Instead of using HTTP or FTP packages mirrors, you may wish to modify /etc/apt/sources.list to use a mirror on a local disk (possibly NFS-mounted).

For example, your packages mirror may be under /var/ftp/debian/, and have main directories like this: /var/ftp/debian/dists/stable/main/binary-&architecture;/... /var/ftp/debian/dists/stable/contrib/binary-&architecture;/...

To use this with deb file:/var/ftp/debian stable main contrib

Note that the `dists' is added implicitly, and the arguments after the release name are used to expand the path into multiple directories.

After adding your new sources, disable the previously existing " Adding APT source from CD-ROM

If you want to use CDs /etc/apt/sources.list by placing a hash sign (

Make sure there is a line in /etc/fstab that enables mounting your CD-ROM drive at the /cdrom mount point (the exact /cdrom mount point is required for /dev/hdc is your CD-ROM drive, /etc/fstab should contain a line like: /dev/hdc /cdrom auto defaults,noauto,ro 0 0

Note that there must be defaults,noauto,ro in the fourth field.

To verify it works, insert a CD and try running mount /cdrom # this will mount the CD to the mount point ls -alF /cdrom # this should show the CD's root directory umount /cdrom # this will unmount the CD

Next, run: apt-cdrom add for each Debian Binary CD-ROM you have, to add the data about each CD to APT's database.

Upgrading packages

The recommended tool for upgrading between &debian; releases is to use the package management tool aptitude. This tool makes safer decisions about package installations than running apt-get directly.

Don't forget to mount all needed partitions (notably the root and /usr partitions) read-write, with a command like: mount -o remount,rw /mountpoint

Next ensure that the APT source entries (in /etc/apt/sources.list) refer to the 'stable' distribution and do not refer to it by its codename (e.g. &oldreleasename;).

It is strongly recommended that you use the /usr/bin/script program to record a transcript of the upgrade session. Then if any problems develop, you will have a log of what happened, and if needed, can provide exact information in a bug report. To start the recording, type: script -a ~/upgrade-to-&releasename;.typescript or similar. Do not put the typescript file in a temporary directory such as /tmp or /var/tmp (files in those directories may be deleted during the upgrade or during any restart).

Next the aptitude package needs to be installed. This is done with:

apt-get install aptitude

Provided that you have a working APT configuration as described above this will install the &releasename; version of aptitude.

First aptitude needs to fetch a list of new and updated packages for the new release. This is done by executing:

aptitude update

Once aptitude has information on all the available packages, the system is almost ready to be fully upgraded.

aptitude -f --with-recommends dist-upgrade

This will perform a complete upgrade of the system, i.e. install the newest available versions of all packages, and resolve all possible dependency changes between packages in different releases. If necessary, it will install some new packages (usually new library versions, or renamed packages), and remove any conflicting obsoleted packages (such as console-tools-libs).

When upgrading from a set of CD-ROMs, you will be asked to insert specific CDs at several points during the upgrade. You might have to insert the same CD multiple times; this is due to inter-related packages that have been spread out over the CDs.

New versions of currently installed packages that cannot be upgraded without changing the install status of another package will be left at their current version (displayed as "held back"). This can be resolved by either using aptitude to choose these packages for installation or by trying aptitude -f install <package>.

The Possible issues during upgrade

Sometimes it's necessary to enable APT::Force-LoopBreak option in APT to be able to temporarily remove an essential package due to a Conflicts/Pre-Depends loop. -o APT::Force-LoopBreak=1 option on

It is possible that a system's dependency structure can be so corrupt as to require manual intervention. Usually this means using dpkg --remove packagename to eliminate some of the offending packages, or aptitude --fix-broken install dpkg --configure --pending

In extreme cases you might have to force re-installation with a command like dpkg --install /path/to/packagename.deb

After fixing things up, you should be able to resume the upgrade by repeating the previously described

During the upgrade, you will be asked questions for configuring or re-configure several packages. When you are asked if any file in the /etc/init.d or /etc/terminfo directories, or the /etc/manpath.config file should be replaced by the package maintainer's version, it's usually necessary to answer `yes' to ensure system consistency. You can always revert to the old versions, since they will be saved with a

If you're not sure what to do, write down the name of the package or file, and sort things out at a later time. You can search in the typescript file to review the information that was on the screen during the upgrade.

Things to do before rebooting

When aptitude dist-upgrade has finished, the "formal" upgrade is complete, but there are some other things that should be taken care of

Read /usr/share/doc/xfree86-common/README.Debian-upgrade for more info on the upgrade of the X window system packages. This is relevant for users of all previous Debian releases. In short, you need to read it.

Upgrading your kernel

Note that the Linux kernel was &debian; comes with a &kernelversion; kernel which is in the 2.4 series, the older stable Linux kernel series. You may wish to use a 2.6 series kernel for better hardware support or improved performance.

]]>

To upgrade your kernel you must first choose the kernel most appropriate for your subarchitecture. A list of kernels available for you to install can be found with: apt-cache search ^kernel-image

You should then use

For the more adventurous there is an easy way to compile your own custom kernel on &debian;. Install the kernel-package tool and read the documentation in /usr/share/doc/kernel-package.

Detailed changes to the system Changes to Python packages

None of the python2.X packages that are included with &releasename; include the standard modules 'profile' and 'pstats', because they are licensed under a license that does not conform to the DFSG (see bug #293932 for details). These two modules can be found in the python-profiler and python2.X-profiler packages that are included in the non-free section of the Debian archive.

Keyboard issues on upgrades to a 2.6 kernel

After the upgrade to Sarge, you may have 2.6 kernel images available for installation. There is an important change in the input layer for 2.6 kernels that you should be aware of before you attempt to switch from using a 2.4 to a 2.6 kernel.

The change in the input layer makes all keyboards look like "normal" PC keyboards. This means that if you currently have a different type of keyboard selected (e.g. a USB-MAC or Sun keyboard), you will very likely end up with a non-working keyboard after rebooting with the new 2.6 kernel.

If you can SSH into the box from another system, you can resolve this issue by running 'dpkg-reconfigure console-data', choosing the option "Select keymap from full list" and selecting a "pc" keyboard.

This issue is unlikely to affect the &arch-title; architecture as all PS/2 and most USB keyboards will already be configured as a "normal" PC keyboard.

]]> Note that if you are using a USB keyboard, this may be configured as either a "normal" PC keyboard or as a USB-MAC keyboard. In the first case you will not be affected by this issue.

]]> ]]> Issues with keyboards on &arch-title;

There are several issues with keyboard selection during installation.

The first issue is with USB keyboards by Sun as used on for example SunBlade systems. These are incorrectly "recognized" by the installer as regular Sun keyboards. A workaround is documented in the Installation Guide (see link above, chapter "Using the Debian Installer").

The second issue is kernel related. Kernels in the 2.6 series use a different input layer that makes all keyboards look like "normal" PC keyboards. This means that if you boot the installer with a 2.4 kernel and configure it for a Sun or USB keyboard and later (in expert mode) select a 2.6 kernel for the new system, you will very likely end up with a non-working keyboard after reboot.

Issues with framebuffer on &arch-title;

Because of display problems on some systems, framebuffer support is disabled by default for &arch-title;. This can result in ugly display on systems that do properly support the framebuffer, like those with ATI graphical cards. If you see display problems in the installer, you can try booting the installer with parameter "debian-installer/framebuffer=true".

]]>
More information on &debian; Further reading

Beyond these release notes and the installation guide further documentation on &debian; is available from the Debian Documentation Project (DDP), whose goal is to create high quality documentation for Debian users and developers. Documentation including the Debian Guide, Debian New Maintainers Guide, and Debian FAQ are available, and many more. For full details of the resources available see the DDP website at .

Documentation for individual packages is installed into /usr/share/doc/package, this may include copyright information, Debian specific details and any upstream documentation.

Getting help

There are many sources of help, advice and support for Debian users, but these should only be considered if research into documentation of the issue has exhausted all sources. This section provides a short introduction into these which may be helpful for new Debian users.

Mailing lists

The mailing lists of most interest to Debian users are the debian-user list (English) and other debian-user-. Please check the archives for answers to your question prior to posting and also adhere to standard list etiquette.

Internet Relay Chat

Debian has an IRC channel dedicated to the support and aid of Debian users located on the Open Projects IRC network which is dedicated to providing collaborative information sharing resources for the Open Source community. To access the channel point your favourite IRC client at &opn-irc-server; and join #debian.

Please follow the channel guidelines, respecting other users fully. For more information on Open Projects please visit the .

Reporting bugs

We strive to make Debian GNU/Linux a high quality operating system, however that does not mean that the packages we provide are totally free of bugs. As our service to our users we provide all the information on reported bugs at our own Bug Tracking System (BTS) browseable at , this is consistent with Debian's open development.

If you find a bug in the distribution or in packaged software that is part of it, please report it so that it can be properly fixed for next releases. Reporting bugs requires a valid email address, we ask for this so that we can trace bugs and developers can get in contact with submitters should they need more information.

You can submit a bug report using the program reportbug or manually using email. You can read more about the Bug Tracking System and how to use it by reading the reference cards (available at /usr/share/doc/debian in any installed system) or online at the .

Contributing to Debian

You do not need to be an expert to contribute to Debian. By assisting users with problems on the various user support you are contributing to the community. Identifying (and importantly solving) problems related to the development of the distribution by participating on the development is also extremely helpful. To maintain Debian's high quality distribution and help developers track them down and fix them. If you have a way with words then you may want to contribute more actively by helping to write or existing documentation into your own language.

If you can dedicate more time, you could manage a piece of the Free Software collection within Debian. Especially helpful is if people adopt or maintain items that people have requested for inclusion within Debian, the details this information. If you have an interest in specific groups then you may find enjoyment in contributing to some of Debian's subprojects which include ports to particular architectures, and .

In any case, if you are working in the free software community in any way, as a user, programmer, writer or translator you are already helping the free software effort. Contributing is rewarding and fun, and as well as allowing you to meet new people it gives you that warm fuzzy feeling inside.