upgrade: fix delete installed apk bug