2010.0 Notes

From Mandriva Community Wiki

Jump to: navigation, search


Contents

Mandriva Linux 2010 Release Notes

Introduction

This page contains important information the Mandriva Linux (2010.0) release, code name Adelie.

The following topics are covered:

  • General information about new features and major changes
  • Changes to the Mandriva installer and upgrade instructions for users of previous releases
  • Changes to supported hardware and drivers
  • Changes regarding software packages
  • Other technical information for experienced users

Please also refer to Mandriva Linux 2010 Errata - the Errata for the 2010 release. The Errata page contains information on known bugs and problems in the release and instructions on fixing, avoiding or working around them.

For a more detailed and graphical introduction to the most obvious user-visible changes in this release, please see the Release Tour.

Editions

Mandriva Linux 2010 is available in several different editions, listed below.

One Edition

The One edition is an installable live CD integrating the latest proprietary drivers, available free of charge. Six different versions of the One edition are available: two for GNOME and four for KDE, each with a different set of supported languages.

Powerpack Edition

The Powerpack edition includes support, services, a wider range of packages, third-party proprietary applications, a subset of the Fluendo multimedia codec pack, providing support for MP3, WMA and WMV files and Fluendo DVD player.

Free Edition

The Free edition is a pure free / open source software edition, without any of the non-free packages bundled with the other editions, available as a free download.

For more information on the various editions, see Choosing the right edition.

Additional information is also available online:

Deprecation

KDE 3

KDE 3 is no longer included in Mandriva Linux 2010. KDE 3 was dropped completely from the distribution, including all its libraries as it's no longer supported by upstream. This means some applications are no longer available any more because they haven't been ported to KDE 4 yet, like KMyMoney2 (Skrooge is available in official 2010.0 repositories), Kbudget, etc.

splashy

As mentioned above, splashy is now deprecated by plymouth and has been removed from the distribution from this release onwards.

draksplash

draksplash has been dropped as it doesn't support Plymouth.

Installation

Partitioning tool

  • Partitioning tool in Free and One installers has been redesigned to make it more easily understandable by non advanced users. As the partitioning step is always quite a sensitive step, the new layout tries to give more information using graphical representation. You can read more about this [in this blog entry by Pascal Terjan].
  • Ext4 is now used as the default filesystem for newly created partitions.

Password check

Users management, both in the installer and userdrake (Mandriva Control Center Image:Drakconf-icon.png -> System -> Manager users on system), now provide an easy way to check the strength of a password. Three different icons (and associated background colour for each of them) will show three different password strength levels:

  • trivial to guess.
  • password should resist to basic attacks.
  • password seems secure.

Guest account

2010 comes also with Guest account enabled by default. You can use it to allow somebody to safely use your system. Guest account is a temporary account, it can be only used to log in via gdm or kdm. Home and temporary directories for this user are mounted on tmpfs: all data stored in those directories are wiped automatically when on logout. You can disable it in advanced configuration for users' account. You can also enable/disable it using userdrake (Mandriva Control Center Image:Drakconf-icon.png -> System -> Manager users on system). Guest account is provided by the xguest package.

Minimum installation size

Minimal installation size has been reviewed so that it's even more minimal now!

Upgrade

Upgrading from previous releases

Please note!
If you upgrade from a previous releases, KDE 3 – if installed - will be replaced by KDE 4. The old .kde directory in the user's /home will be backed up.

Upgrading between releases always has the potential to cause some problems. Upgrading is supported and we do test upgrades, but due to the huge range of packages and hardware configurations possible, it is always the case that in your particular situation, the upgrade may cause a problem we did not anticipate. Therefore we recommend that you always back up your system prior to upgrading.

If you tested one of the Mandriva Linux 2010 pre-releases (beta or RC), we advise you to remove all package sources and add them back using the Mandriva Control Center Image:Drakconf-icon.png > Software Management > Configure media sources for install and update to be sure you have stable release media sources.

Upgrading from 2009 Spring

After taking the necessary precautions pointed out above, you can upgrade using the Free or Powerpack editions respective DVD's, and it should work well. You can also upgrade in-line. What that means is that the Mandriva update notification applet, Mandriva Online, will notify you that a new Mandriva Linux release (2010.0) is available, and ask if you wish to upgrade. If you agree, the upgrade will be carried out from within your running system, just like a regular system update. You should then be able to reboot into a working 2010 system. If you have disabled the applet or it is not automatically running for some reason, you can upgrade manually either using the GUI or the CLI. Both methods are outlined below.

Upgrade using the GUI, mdkonline

First make sure you have the latest updates for your currently running release prior to upgrading. To upgrade run this command as root from terminal:

mdkapplet-upgrade-helper --new_distro_version=2010.0

Upgrade using the CLI, urpmi

You can also upgrade using urpmi from terminal. Below are the steps you need to follow:

  • First ensure your system is entirely up-to-date with the latest 2009 Spring updates (when upgrading it's assumed you have the latest updates available for your installed release, so for a smoother upgrade always make sure you have the latest updates) using this command as root in terminal:
su
urpmi --auto-update -v
  • Remove your existing repositories, either using:
    • The Mandriva Control Center Image:Drakconf-icon.png > Software Management > Configure media sources for install and update OR
    • Using this command:
su
urpmi.removemedia -av
  • Add 2010.0 repositories. To do this, use Easy URPMI. Set the Version field to 2010.0 also make sure the Architecture field is set correctly then click Add official medias. Next open the file it offers you with the default handler (gurpmi aka Software Installer).
  • To start the upgrade process, run the following command, as root:
su
urpmi --auto --auto-update --replacefiles 2>&1 | tee upgrade.log

This will save the output of the process to the file upgrade.log, in case you need to check it later, or you have any problems. Once the process completes (without errors), you should reboot, and you should find the system has been fully updated to 2010.0.

N.B. If you get any errors you should try and fix them before you reboot so as not to end up with a broken system e.g. without a graphical desktop (text console, aka tty, always works and can be used to fix most problems but is not as easy to use as a graphical desktop).

Advanced upgrade options

  • You can add --download-all to the above command when upgrading, this a brand new option in urpmi and will make it download all the packages first before trying to install them, this is useful in the case of internet connection failure during the upgrade process, since you can just relaunch the command and continue the process. Be aware though that this will requires quite some free space on the root / partition. Notice that urpmi displays info about the total size of the packages it's going to download, 10GB would usually be enough, but that depends on how many packages you have installed. You can also specify a location to download the rpms, in case the / partition is full and you have more free space say in your /home, you can do this using:
urpmi -v --auto-update --download-all /path/to/download/folder
  • However note that --download-all /path/to/download/folder won't work until you update urpmi as older urpmi versions will consider /path/to/download/folder a package name, and no package names are allowed on the same command line with --auto-select or --auto-update. Working around this is simple, when upgrading, urpmi will first update itself along with some other core packages, glibc, perl, rpm... ect. So first use:
urpmi -v --auto-update to update urpmi and the other packages mentioned above. After these packages are updated you'll be asked again for the rest of the packages, press Ctrl+C to cancel then relaunch it:
urpmi -v --auto-update --download-all /path/to/download/folder
  • Another option, --noclean, will make urpmi not delete the rpms it downloads, you can then copy the rpms to another machine and use them when upgrading.

Upgrading from 2008

With the caveats mentioned above, you can do a regular upgrade installation from the Free or Powerpack edition, and it should work well. It is also possible to do a text-based in-line upgrade using urpmi. To do this, first ensure your system is entirely up-to-date with the latest updates for your current version of the distribution (using either MandrivaUpdate, Mandriva Online (Mandriva update notification applet) or urpmi --auto-update. Then remove your existing repositories, either using the graphical repository configuration tool or the urpmi.removemedia command. urpmi.removemedia -a will remove all repositories. Then you should add repositories for 2010. To do this, you will need to know the address of a 2010 mirror. Look at the list of available mirrors (or here for x86-64). The URL for each mirror is at the end of each line. To add the repositories, run a command like this:

urpmi.addmedia --distrib ''URL''

Where URL is the URL you chose. For instance, to use the mirror with the URL ftp://ftp.nluug.nl/pub/os/Linux/distr/Mandrakelinux/official/2010.0/i586, run this command:

urpmi.addmedia --distrib ftp://ftp.nluug.nl/pub/os/Linux/distr/Mandrakelinux/official/2010.0/i586

Then run the following commands, as root:

urpmi --auto --auto-update --replacefiles 2>&1 | tee upgrade.log

You may see an error "unknown option --replacefiles" when you first run this, but don't worry, that's normal: older versions of urpmi do not use this option, but 2010's urpmi does, and it will be passed along to 2010's urpmi when the urpmi process is restarted after the package has been updated. This will save the output of the process to the file upgrade.log, in case you need to check it later, or you have any problems. Once the process completes, you should reboot immediately, and you should find the system has been fully updated to 2010.

Upgrading from releases older than 2008 Spring (aka 2008.1)

Upgrading from versions earlier than 2008 Spring is not supported or recommended. If you try upgrading from a very old release it may work, but if it breaks, which is likely to happen given how old it's, you get to keep both pieces. If you are determined to upgrade from a release older than 2008 Spring, we highly recommend, as usual, that you back up your important files first.

End of life distributions

When your distribution is no more officially supported (aka reached its end of life), a notification will be displayed through the mdkonline applet. It will offer to upgrade to a supported release. Currently 2009.0 will no longer receive desktop updates but will continue to receive base and security updates. 2008.1 and older releases have reached their End of Life and will no longer receive updates.

X configuration

XFdrake, the X server configuration tool in Mandriva will be launched automaitcally at the end of upgrade process through mdkonline (or when updating via the CLI) whenever it's needed. Some graphical chipsets which are no longer supported by proprietary drivers, will then be reconfigured to use open source drivers.

Base system

Plymouth

Bootsplash is now managed by Plymouth:

  • it supports Kernel Mode Settings but can also work via the VESA framebuffer so chipsets not yet supporting KMS can still have graphical boot, without feature regression.
  • Plymouth is much more customizable than Splashy, allowing nice graphical effects during system boot.
  • It has a nice and simple script language which allows to write quite new themes easily.

Many thanks to Plymouth team (Charles Brej and Ray Strode) who helped a lot with integration and theme building.

Change in device permission handling

Devices ownership is no longer changed to console privileged users. Instead, ACL are set and removed by udev on the fly. If you find any regression in device access, please fill bug reports against udev package. pam_console and Hal won’t take care anymore of setting the right permissions on hardware devices for console users. Instead, udev and consolekit will manage this.

Kernel 2.6.31

  • 2010 comes with kernel 2.6.31. There is a useful series of articles in the Heise Online series Kernel Log which detail the many new features of kernels 2.6.30 and 2.6.31 which appeared since Mandriva 2009.1. Of course, the most notable changes are improvements in hardware support, including ongoing improvements to support more LAN, Wi-Fi, audio and video hardware. There are also changes to the Ext3 and Ext4 file systems, faster encryption and booting, Tomoyo security framework.
  • Kernel Mode-Setting, which reduces screen flickering, permits smooth transitions between boot phase and X startup.
  • Tomoyo security framework is now the default one, replacing AppArmor

X server

X.Org 7.4 with X.Org X Server 1.6.5 is used in Mandriva Linux 2010.0 along with new driver version for Intel graphic chipsets should improve performance and stability, thanks to DRI2 and the UXA architecture.

Poulsbo drivers support

Poulsbo drivers (psb) are now fully supported (2d and 3D) out of the box when you use One or Powerpack isos. Hardware will be automatically detected and configured using XFdrake. As it needs non-free firmware, DRI will not work in Free isos.

Virtualization

VirtualBox

VirtualBox 3.0.8 is shipped with Mandriva 2010.0, it has these new features:

  • Guest SMP with up to 32 virtual CPUs
  • Windows guests: ability to use Direct3D 8/9 applications / games (experimental)
  • Support for OpenGL 2.0 for Windows, Linux and Solaris guests

You can read the full changelog here.

Xen

Xen kernel 2.6.30: Mandriva now includes a kernel for running on a Xen Dom0 based on the 2.6.30 kernel instead of the outdated 2.6.18 kernel.

qemu-kvm

qemu-kvm: the KVM virtualization tool is now available in kvm pakage.

Others

  • Bash 4.0: includes many improvements for shell programmers, such as support of associative arrays
  • GCC 4.4.1: better code generation and many improvements for developers, such as OpenMP 3 support and support for the upcoming C++0x ISO standard. This new version also improves code optimization thanks to the Graphite framework. Glibc was also updated to the latest version 2.10.
  • Glibc 2.10.1

Mandriva tools

Drakxtools

XFdrake, the Mandriva X server configuration tool

XFdrake, the Mandriva X server configuration tool, allows you to enable or disable (in Options) the Alt+Ctrl+Backspace shortcut to restart the graphical server. This feature is enabled by default, now you need to press Alt+Ctrl+Backspace twice (in less than 2 seconds) to restart the X server.

Tomoyo-gui

A new tool has been added: tomoyo-gui. This is a completely new frontend for Tomoyo. Tomoyo is the new security framework used by default instead of AppArmor.

Netprofiles

Network profiles management tool has been completely rewritten. Using it you can easily create and use several network profiles depending on where you are (at home, with friends, at work...).

To use profiles, go to Internet & Network section in the Mandriva Control Center Image:Drakconf-icon.png. Then open Manage different network profiles. Click on the New button. You can now configure your network, urpmi medias and proxy for this new profile using Mandriva tools. That's it! You can switch back to the default profile using net_applet icon or Manage different network profiles (draknetprofile).

net_monitor

A new network monitoring tool is available in Mandriva Linux, it is replacing net_monitor application from drakx-net package. You can reach it from net_applet.

Install & Remove Software (rpmdrake)

  • Starting from the 2010.0 release you can now search in full package names, to do that open Options and enable "Search in full package names", you can then search for package Version, e.g. searching for 4.3.2 will list all kde4.3.2 packages, you can also search for package Release. This wasn't possible in previous versions of rpmdrake.
  • To search using regular expressions, open Options and enable "Use regular expressions in searches", this was the default behaviour in previous versions, (but now you have to enable it from the Options menu).

mdkonline

  • You can now configure the frequency of checking for updates, this can be done by right-clicking on the mdkapplet icon in the system tray or from the Mandriva Control Center Image:Drakconf-icon.png -> Software Management -> Configure updates frequency.
  • Kernel updates management: when there are kernel updates, you will be asked to remove your old kernel. Only the last two kernels will be kept.

Urpmi

  • urpmi and URPM come with many improvements to help resolving complex dependencies, e.g. upgrading from an old version of the distribution to a newer one.
  • When the urpmi database is locked by another process it now gives you the specific command line and the process ID of the process that's locking the urpmi database.
  • A new option, --download-all, has been added to urpmi, when used it'll download all the packages you're installing before attempting to actually start installing them. You can also specify a where to download the rpm packages before installing them, for more information consult the urpmi manual pages.

Users environments

KDE

  • KDE 4.3.2 is an upgrade in stability and functionality over KDE 4.2. This release will add many new features to KDE 4, including some that were notably present in KDE 3 but lacking in KDE 4.0, 4.1 and 4.2, along with some brand new features. It should also provide a more stable desktop experience than KDE 4.2.
  • Data migration from KDE 3: data will be backed up and migrated to KDE 4 (user preferences, emails, ...)
  • Hourly background switch: a new plasma widget, plasma-wallpaper-timeoftheday, is now available to have hourly switch of backgrounds (in desktop configuration menu)
  • Nepomuk integration: Nepomuk technology has been further integrated. You will be able to organize your desktop depending on your projects, annotate documents, ... Complete information
  • Phonon (KDE's Multimedia Framework) is now integrated tightly with PulseAudio allowing full control over device order preferences from native KDE GUIs. You can read more about this integration work on Mandriva Contributor Colin Guthrie's blog. We'll hopefully be able to integrate this work upstream shortly, but in the mean time, try it out in Mandriva first!
  • Amarok 2.2 final release is shipped with Mandriva 2010.0: it has many bug fixes and some of the missing features of Amarok 1.4 now are back, most notable the ability to play audio CD's!
  • Kmymoney2: it has been removed as it's much too unstable for now. It has been replaced by skrooge. You can safely export your data from kmymoney and import it in Skrooge.
  • KOffice 2.0.82 is shipped with 2010.0.
  • Digikam finally reached 1.0 beta5 release for KDE4, including new first time assistant, a new batch queue manager and many other features.

GNOME

  • GNOME 2.28.1 is available. A notable planned change will be improvements in GNOME Media with : Webcam support and Live streaming recording in sound-recorder or podcaster. As a preview of GNOME 3.0, you can have a look on gnome-shell whose main goal is to redefine the user's interaction with his desktop.
  • Tomboy now can sync your notes with the Snowy web service
  • Pitivi video editor has been updated to version 0.13.1 which includes a complete core rewrite. Lots of interesting improvements for end users are in the pipeline for next versions.
  • Empathy is now installed by default instead of Pidgin

Moblin

A new environment is now included in Mandriva Linux and all integrated for 2010 release. Mandriva Linux is the first distribution to include full packaged Moblin environment.This environment has been designed for mobile desktop platforms. Netbooks are a given target but you can also use it when you want an ergonomic and simple environment for daily tasks. Install task-moblin package. Go back to connection manager and choose Moblin in sessions list.

Applications

Among Office, Internet and Multimedia these are the higlights of the main applications shipped with the 2010.0 release:

Mozilla Firefox

Firefox 3.5, the latest version of the famous open source browser (at the time of release, newer versions will be introduced through the security updates system as usual)

OpenOffice.org 3.1.1

OpenOffice.org 3.1.1 (based on the Go-OO branch) with plugins: presentation-minimizer, presenter-screen, wiki-publisher, pdfimport

Moovida (previously known as Elisa)

Elisa has now been renamed to Moovida. It includes a brand new graphical user interface.

Sage Math

Sage Math 4.1, a mathematics software system and several of its dependencies, including software like gap, singular, polymake, linbox, and many other scientific applications.

LiVES Video Editor

The LiVES video editor has reached version 1.0.0 and that version is shipped with Mandriva 2010.0.

Server and development

Cups

Cups 1.4 is now available.

apache

apache-2.2.14 now has native upstream SNI support (server name indication extension (RFC 4366)) previousely added as a third party patch added since 2008.1.

php

php has been upgraded to 5.3.1RC2. More info at the php site at http://www.php.net/ as there are simply too many changes to list here. When 5.3.1 final is released there will be updated packages to download.

Python

Python 3 is now available in contrib repository but for compatibility reasons Python 2.6 will remain the default version for now.

Personal tools