i think we need to do it differently. The --remove-all is essential to workaround dpkg bugs.
if the error code is the problem we can do something like;
update-alternatives --list flashplugin-... | wc -l || true
to check whether there are no alternatives left.
i think we need to do it differently. The --remove-all is essential to workaround dpkg bugs.
if the error code is the problem we can do something like;
update-alternatives --list flashplugin-... | wc -l || true
to check whether there are no alternatives left.