Thanks for keeping this open.

Packages should really not contain "time-bombs" like this.

On Fri, 26 Apr 2019, Holger Levsen wrote:

> control: severity -1 normal
> control: retitle -1 debian-security-support needs to be adapted to each new 
> Debian release
> thanks
> 
> On Fri, Apr 26, 2019 at 12:34:44AM +0200, Christoph Anton Mitterer wrote:
> > As if I wouldn't have written it before... o.O
> 
> talk is cheap, show me the code ;)

Just make the error to be non-fatal instead of exiting with error and
breaking the whole packaging system.

Only as a proof of concept, I believe the patch below would be better
than nothing, but of course you might want to do it with gettext and
debconf to do it properly.

Thanks.

--- a/check-support-status.in
+++ b/check-support-status.in
@@ -22,7 +22,9 @@ fi
 
 if [ "$DEBIAN_VERSION" -lt "$DEB_LOWEST_VER_ID" ] || [ "$DEBIAN_VERSION" -gt 
"$DEB_NEXT_VER_ID" ] ; then
     eval_gettext "Unknown DEBIAN_VERSION \$DEBIAN_VERSION. Valid values from 
\$DEB_LOWEST_VER_ID and \$DEB_NEXT_VER_ID"; echo
-    exit 1
+    echo "Warning: This package does nothing with the current installed 
version of Debian"
+    sleep 5
+    exit 0
 fi
 
 LIST=

Reply via email to