Pulp file content upload failing to upload new file with same name

I used below commands to upload new /root/bundle/srg-fix-1.2.8.4.tar file and to update /root/bundle/version-srg it was able to upload /root/bundle/srg-fix-1.2.8.4.tar I am not able to upload new version-srg file. how do I remove old version-srg file from repo so that I can upload new one ? I could not find delete content or modify options

pulp file content upload --repository cis-bundle --file /root/bundle/srg-fix-1.2.8.4.tar --relative-path srg-fix-1.2.8.4.tar
pulp file content upload --repository cis-bundle --file /root/bundle/version-srg --relative-path version-srg

pulp file publication create --repository cis-bundle

pulp file distribution update --name cis-bundle --publication XXXXXXXXXXXXXXX

1 Like

There’s the pulp file repository content remove command.

I can see there is some confusion with the command structure. I thought we deprecated the ones without repository but it seems this is by no ways reflected in the help texts.

1 Like