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

Bug#878016: debian-edu-artwork-softwaves: fails to upgrade from 'testing' with debian-edu-artwork-spacefun installed



Package: debian-edu-artwork-softwaves
Version: 0.903-1
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts
Control: affects -1 + debian-edu-artwork-spacefun

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'testing'.
It installed fine in 'testing', then the upgrade to 'sid' fails.

>From the attached log (scroll to the bottom...):

  Setting up debian-edu-artwork-softwaves (0.903-1) ...
  update-alternatives: error: alternative path /usr/share/desktop-base/active-theme/wallpaper/contents/images/1920x1080.svg doesn't exist
  dpkg: error processing package debian-edu-artwork-softwaves (--configure):
   subprocess installed post-installation script returned error exit status 2
  Processing triggers for libc-bin (2.24-17) ...
  Errors were encountered while processing:
   debian-edu-artwork-softwaves

# ls -la /usr/share/desktop-base/active-theme/wallpaper/contents/images
total 5072
drwxr-xr-x 2 root root     180 Oct  8 14:49 .
drwxr-xr-x 3 root root      60 Oct  8 14:49 ..
-rw-r--r-- 1 root root  373052 Mar  5  2017 1024x768.png
-rw-r--r-- 1 root root  519641 Mar  5  2017 1280x1024.png
-rw-r--r-- 1 root root  725420 Mar  5  2017 1280x800.png
-rw-r--r-- 1 root root  786883 Mar  5  2017 1366x768.png
-rw-r--r-- 1 root root  478100 Mar  5  2017 1600x1200.png
-rw-r--r-- 1 root root 1082819 Mar  5  2017 1920x1080.png
-rw-r--r-- 1 root root 1208769 Mar  5  2017 1920x1200.png

# readlink -f /usr/share/desktop-base/active-theme/wallpaper/contents/images   
/usr/share/desktop-base/debian-edu-spacefun-theme/wallpaper/contents/images

# update-alternatives --display desktop-theme
desktop-theme - auto mode
  link best version is /usr/share/desktop-base/debian-edu-spacefun-theme
  link currently points to /usr/share/desktop-base/debian-edu-spacefun-theme
  link desktop-theme is /usr/share/desktop-base/active-theme
/usr/share/desktop-base/debian-edu-softwaves-theme - priority 60
/usr/share/desktop-base/debian-edu-spacefun-theme - priority 60
/usr/share/desktop-base/joy-inksplat-theme - priority 30
/usr/share/desktop-base/joy-theme - priority 30
/usr/share/desktop-base/lines-theme - priority 40
/usr/share/desktop-base/softwaves-theme - priority 50
/usr/share/desktop-base/spacefun-theme - priority 30


In this case the problem comes from softwaves and spacefun having
the same priority (60) for the desktop-theme alternative and spacefun
winning because it was installed first.

So either raise the priority or add Breaks against spacefun (for not
having .svg variants), which is probably the better alternative (since
it prevents the user from manually switching to the 'broken' theme).


cheers,

Andreas

Attachment: debian-edu-artwork-spacefun_None.log.gz
Description: application/gzip


Reply to: