[Splashy-devel] Bug#517922: splashy: Postinst fails on etch-lenny upgrade

Matthew Johnson mjj29 at debian.org
Mon Mar 2 21:53:59 UTC 2009


Package: splashy
Version: 0.3.2
Severity: important


I'm upgrading etch to lenny. First I get this:

Warning: Old themes directory moved to /etc/splashy/themes.old
Unpacking replacement splashy ...
dpkg: error processing /var/cache/apt/archives/splashy_0.3.13-3_amd64.deb (--unpack):
    trying to overwrite `/etc/splashy/themes', which is also in package splashy-themes
    Processing triggers for man-db ...
    Errors were encountered while processing:
     /var/cache/apt/archives/splashy_0.3.13-3_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
$ apt-cache policy splashy splashy-themes
    splashy:
      Installed: 0.3.2
      Candidate: 0.3.13-3
      Version table:
         0.3.13-3 0
            500 http://ftp.uk.debian.org lenny/main Packages
     *** 0.3.2 0
            100 /var/lib/dpkg/status
    splashy-themes:
      Installed: 0.4
      Candidate: 0.4
      Version table:
     *** 0.4 0
            500 http://ftp.uk.debian.org lenny/main Packages
            100 /var/lib/dpkg/status

Then, if I re-run apt-get dist-upgrade I get:

Preparing to replace splashy 0.3.2 (using .../splashy_0.3.13-3_amd64.deb) ...

/etc/splashy/themes.old already exist, please remove this directory or file

dpkg: error processing /var/cache/apt/archives/splashy_0.3.13-3_amd64.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/splashy_0.3.13-3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Then, if I rm -rf /etc/splashy/themes.old I get:

mv: cannot stat `/etc/splashy/themes': No such file or directory
dpkg: error processing /var/cache/apt/archives/splashy_0.3.13-3_amd64.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/splashy_0.3.13-3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Aside from the conflict (which isn't great), it should definitely behave well
with different combinations of /etc/splashy/themes* existing or not.


-r System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.20-rc6-mm3 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages splashy depends on:
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libglib2.0-0           2.16.6-1          The GLib library of C routines
ii  libmagic1              4.26-1            File type determination library us
ii  libsplashy0            0.3.2             Library to draw splash screen on b
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages splashy recommends:
ii  lsb-base                      3.2-20     Linux Standard Base 3.2 init scrip

Versions of packages splashy suggests:
ii  initramfs-tools               0.92o      tools for generating an initramfs
ii  splashy-themes                0.4        A complete user-space boot splash 

-- no debconf information





More information about the Splashy-devel mailing list