Bug#422568: python-support: handle missing /usr/share/python-support/*/ gracefully

2007-05-08 Thread Bernd Zeimetz
Heya, are you going to change the maintainer scripts soon? There're some people out there who have installed he broken python-pyusb package and can't upgrade it now, this could be fixed by having a non-failing prerm script in the new package. As the new package won't go into testing too soon (as

Bug#422568: python-support: handle missing /usr/share/python-support/*/ gracefully

2007-05-07 Thread Josselin Mouette
Le lundi 07 mai 2007 à 11:03 +0200, Bernd Zeimetz a écrit : > You could also add something like [ -d /usr/share/python-support/.../ ] > && update-... for the case that some maintainer uploads a broken package > accidentally. If the package is broken, it's better to not consider it configured. This

Bug#422568: python-support: handle missing /usr/share/python-support/*/ gracefully

2007-05-07 Thread Bernd Zeimetz
Heya, > This is true for the prerm, indeed. I'll try to make it better for the > case where the directory is missing, but it is not that easy, as it > requires cleaning up /var/lib/python-support of the broken symbolic > links that could be left behind. Yeah, that's indeed not very easy. But I th

Bug#422568: python-support: handle missing /usr/share/python-support/*/ gracefully

2007-05-07 Thread Josselin Mouette
reopen 422568 severity 422568 normal thanks Le lundi 07 mai 2007 à 10:34 +0200, Bernd Zeimetz a écrit : > indeed, this was a case of some stupid extra rules in debian/rules - I > thought the /usr/share directory was deleted before dh_pysupport did run. > But this still doesn't stop the package fro

Bug#422568: python-support: handle missing /usr/share/python-support/*/ gracefully

2007-05-07 Thread Bernd Zeimetz
Hi, > Furthermore, the postinst was probably crafted by hand for launching > update-python-modules without the directory existing; if you use > dh_pysupport, it should add the postinst/prerm snippets automatically > only when the directory exists. indeed, this was a case of some stupid extra rule