Installing Debian 8 Jessie
Showtime
Debian 8, alias "Jessie" is out in the world. The new version updates numerous software packages and puts new desktops into action, but switching from the predecessor might not be an option for many users who are concerned about the changing to systemd.
The massive and venerable free Linux distribution known as Debian has a special place in the Linux community. Debian serves as the basis for several popular downstream Linux editions, including Ubuntu, Knoppix, Mint, and many others. But, many Linux devotees prefer to use Debian directly.
Those who are serious about Free Software as a social or political movement are attracted to the project's promise that Debian will remain all free, without proprietary drivers or other components. Others like the huge scope of the Debian repositories. Still others prefer Debian for its stability: Major updates are infrequent, and each is tested very thoroughly by the worldwide community of Debian developers.
The new Debian 8 "Jessie" edition appeared on April 26 of this year. This article takes a quick look at what's inside – and what you'll need to know if you're considering an upgrade.
New Software
The Debian distribution is already big, and it is growing. According to the release notes [1], exactly 12,253 packages have been added since Debian Wheezy. If you subtract the 5,441 packages that have been removed, this Free Software flagship has a generous net increase of 6,812 packages. Although this expansion is impressive, IT professionals will need to remember that each of these changes has a potential for disruption. For instance, if you upgrade from the previous Debian Wheezy edition [2], you might need to adjust PHP scripts, because Debian Jessie updates the PHP version from 5.4 to 5.6.
The Apache web server steps from version 2.2 to version 2.4, with modified access control policies and configuration file syntax. Anyone who has customized these settings manually will want to read the corresponding document from the Apache Foundation [3].
The OpenSSH secure shell comes with some important configuration changes. Root will no longer be able to log in with a password on OpenSSH servers (PermitRootLogin without-password
). However, the installer tries to detect configurations that support OpenSSH login and lets the user decide interactively. A corresponding preset is available for unsupervised updates:
echo 'openssh-server openssh-server/ \ permit-root-login boolean true' | \ debconf-set-selections
In addition, the makers of Debian indicate that the packages with the prefixes libv8-31.4.-
and nodejs-
are available for Jessie in insecure versions with a high number of security vulnerabilities; no security updates are planned for these tools in the foreseeable future.
Gnome 3.14, defined as the default desktop in Jessie, no longer provides an SD fallback version and needs at least an SSE2 extension in the CPU, which is usually in place with the latest crop of computers. Anyone not using the x86 or x86-64 architectures will need a 3D-accelerated graphics card with EGL drivers. Gnome users should also make sure some keyboard shortcuts are customized to the other desktops in the new Debian.
Possible alternatives to Gnome are the KDE 4.11 desktop with Plasma 5, Xfce 4.10, or LXDE; the installer also offers the Cinnamon and Mate desktops for the first time (Figure 1).
The installer is basically identical to its predecessor. The Debian designers have fine-tuned UEFI support, but the system still does not support Secure Boot. The Debian/K-Free BSD, Debian/Hurd, and the Sparc and Itanium architectures are no longer available because there is not sufficient support for them. The Linux kernel version of the stable Debian release has increased to 3.16.
In addition to all the internals, Jessie delivers updates to several common desktop tools (Figure 2), including the Iceweasel 31.6 web browser (Iceweasel is the Debian community's Firefox fork without proprietary components and trademarks), as well as the corresponding Thunderbird knock-off Icedove 31.6. LibreOffice rolls over to version 4.3.3. You can set up MariaDB version 10.0.16 as an alternative to the MySQL 5.5.42 database.
The Debian-GIS project, which provides support for geographical information systems, benefits from improved cooperation with Ubuntu GIS and OS-Geo Live.
Open JDK 7 recently became the default Java Runtime; version 8 is also available. Debian 8 supports Tomcat 7 and 8; Tomcat 6 is history, and new tools for debugging and developing the Android SDK appear in androidsdk-tools
.
Changing Horses
The most profound change in the latest Debian is the systemd init daemon. After a loud and heated discussion, which caused some Debian developers to leave the project, the new init system finally made its way into Debian Jessie. The developers have fine-tuned systemd for two years now in order to provide the most stable system despite the major change.
Users who are considering upgrading to Jessie (see "Upgrading to Jessie" box) need to know that Debian automatically installs the systemd-sysv
package.
Upgrading to Jessie
In a brief test, the upgrade from a freshly installed Wheezy 7.8 to Jessie worked without any complications. The older the system and the more additional packages you have installed, the greater the potential for errors and compatibility issues. It is a good idea to study the Debian developers' update manual [4] precisely; the manual describes the important steps.
To trigger the update, Debian users first need to edit the /etc/apt/sources.list
file and replace all character strings with the wheezy
content with the jessie
character string. A dpkg --audit
in the next step discloses details of the states of the installed packages to the users. Users must update or, where needed, remove packages that are not installed correctly until they no longer see any error messages at the command line.
Users can now refresh the package list with apt-get update
, update the current software using apt-get upgrade
, and finally start a complete system update using apt-get dist-upgrade
. From time to time, you will want to check whether problems have arisen and resolve them as described below [4]. Finally, reboot the system.
After the reboot, apt-get autoremove
will remove all obsolete packages. No longer required command files, which could cause errors in subsequent operation, can be deleted using:
apt-get purge $(dpkg -l | awk '/^rc/ { print $2 }')
The step also completely removes the old init system sysvinit.
If you really want to prevent the system from installing systemd, you can do so with APT pinning. Create a /etc/apt/preferences.d/local-pin-init
file with the following contents:
Package: systemd-sysv Pin: release o=Debian Pin-Priority: -1
The developers warn that this step can restrict the behavior and functions of some packages. They also state that Debian would install systemd
packages despite APT pinning; they do not, however, affect the init system.
Debian Jessie installs the old init system parallel to systemd, and users can enable it with the init=/lib/sysvinit/init
kernel parameter.
Systemd demonstrates stricter behavior in Debian Jessie if the system does not mount drives when booting even though the auto
option is set in the /etc/fstab
file (auto-mount). Systemd aborts the boot process in such cases, and users end up in an emergency shell. To prevent this behavior, users can replace auto
with noauto
or nofail
.
Encrypted disks might also cause problems on some systems. Systemd does not support some crypttab
parameters, including precheck
, check
, checkargs
, noearly
, loud
, and in particular, keyscript
, which automatically passes on the password for mounting the encrypted disks. Anyone wanting to continue using these options needs to stay with Sysvinit. Typing:
grep -e precheck \ -e check -e checkargs \ -e noearly -e loud \ -e keyscript /etc/crypttab
shows the parameter that Debian uses to mount the encrypted drives.
Anyone wanting to interactively enter the password for encrypted partitions when booting will need to install and configure the graphic Plymouth bootsplash. The documentation found in the /usr/share/doc/plymouth/README.Debian
directory discloses how this works; Systemd does not support alternative home screens.
Emergency Kit
If something goes wrong when starting systemd, two kernel parameters make sure that a local recovery system starts. The systemd.unit=rescue.target
option opens a root shell – this is assuming that the system actually boots. However, Debian invokes a recovery shell at the earliest opportunity with the systemd.unit=emergency.target
parameter. The user can then manually mount the system partition.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.
-
DebConf24 to be Held in South Korea
Busan will be the location of the latest DebConf running July 28 through August 4