Just an idea... Wouldn't it be possible to depend the rpms to sailfish-version, so that they would be automatically uninstalled when upgrading?