Noticed multiple times that yum proxy repository not refreshing metadata (repodata) that was updated on remote side (Invalidate cache, rebuild index didnt help)
to solve it is possible:
- to recreate whole proxy repo
- via UI browse to repodata/repomd.xml and press “delete asset”
but is it possible to do same via cli / api ?
as per documentation: curl with DELETE option returns 404, and also REST search not showing repodata
e.g.
curl -v -u ${NEXUS_USER}:${NEXUS_PASSWORD} -X DELETE ${NEXUS_URL}/${REPO_NAME}/repodata/repomd.xml
current Nexus version: Sonatype Nexus Repository OSS 3.60.0-02