aptirepo: remove duplicate method