fixes to tupkgupdate to use repo-add and repo-remove
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904