Eventually the async apt-check is to avoid stalling humans, and there it makes total sense.
We could think to do something like
function checkit {
*code of the check*
}
if [[ $- == *i* ]];
then
checkit &
else
checkit
fi
That would cause the check to be synchronous (as it was in the past), but only if it is a non interactive environment read "nobody directly cares about the sync delay"
Scott, let me know if you - as discussed on IRC in 2016 - could test a deb with that approach that I'd build for you.
Eventually the async apt-check is to avoid stalling humans, and there it makes total sense.
We could think to do something like
function checkit {
*code of the check*
}
if [[ $- == *i* ]];
then
checkit &
else
checkit
fi
That would cause the check to be synchronous (as it was in the past), but only if it is a non interactive environment read "nobody directly cares about the sync delay"
Scott, let me know if you - as discussed on IRC in 2016 - could test a deb with that approach that I'd build for you.