Package: extlinux Version: 2:4.05+dfsg-6 Severity: grave Tags: patch Justification: leaves system in unbootable state if updating in wheezy
Hi, when preparing a patch for #681426 I noticed that after updating the debian wheezy extlinux theme (by installing an updated version of syslinux-themes-debian-wheezy) running extlinux-update does not update the theme in /boot/extlinux/themes/debian-wheezy but instead copies the new theme to /boot/extlinux/themes/debian-wheezy/extlinux . Therefore, the old theme is then used. This means that systems which had the broken theme (as described in #681426) installed and upgrade to a newer theme and run extlinux-update still won't boot. The problem can be fixed by removing the old theme before copying the new one: diff -Nru syslinux-4.05+dfsg/debian/local/extlinux-update syslinux-4.05+dfsg/debian/local/extlinux-update --- syslinux-4.05+dfsg/debian/local/extlinux-update 2012-06-30 14:00:10.000000000 +0200 +++ syslinux-4.05+dfsg/debian/local/extlinux-update 2012-09-16 17:07:40.000000000 +0200 @@ -403,9 +403,11 @@ if [ -n "${EXTLINUX_THEME_ORIG}" ] then + rm -rf "${_EXTLINUX_DIRECTORY}/themes/${EXTLINUX_THEME_ORIG}" cp -aL "/usr/share/syslinux/themes/${EXTLINUX_THEME_ORIG}/extlinux" "${_EXTLINUX_DIRECTORY}/themes/${EXTLINUX_THEME_ORIG}" ln -sf "${EXTLINUX_THEME_ORIG}" "${_EXTLINUX_DIRECTORY}/themes/${EXTLINUX_THEME}" else + rm -rf "${_EXTLINUX_DIRECTORY}/themes/${EXTLINUX_THEME}" cp -aL "/usr/share/syslinux/themes/${EXTLINUX_THEME}/extlinux" "${_EXTLINUX_DIRECTORY}/themes/${EXTLINUX_THEME}" fi Cheers, Mika -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org