[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#503566: desktop-base: Failed to configure splashy theme

Package: desktop-base
Version: 5.0.2
Severity: grave
Justification: renders package unusable

If Splashy package is installed but /etc/splashy/config.xml doesn't exist,
package installation fails at postinstallation time. The "debian/postinst" file
of desktop-base package contains the following code:

if [ -x /sbin/splashy_config ]; then
    splashy_config --set-theme moreblue-orbit

But splashy_config fails with an error code if config.xml doesn't exist, thus
causing postinstallation process to fail, leaving the package unconfigured.
I can confirm this situation happens when installing a new system from Debian
Installer: splashy installed but /etc/splashy/config.xml doesn't exist yet,
desktop-base tries to be configured and installation fails.

I suggest checking if that file exists or adding a "|| true" command after
splashy_config to ensure return code is 0

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-4-686 (SMP w/2 CPU cores)
Locale: LANG=es_ES, LC_CTYPE=es_ES (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages desktop-base depends on:
ii  librsvg2-common               2.22.2-2   SAX-based renderer library for SVG

desktop-base recommends no packages.

Versions of packages desktop-base suggests:
pn  gnome | kde | xfce4 | wmaker  <none>     (no description available)

-- no debconf information

Reply to: