Hello,
We’ve just got Sublime licenses for our developers to use on RHEL, and since they’re not allowed to download from the internet themselves, I need to create a local mirror of the RPMs for them. It’s something I’m already doing for a bunch of other sources, including RHEL itself.
However, there’s an issue with the Sublime repository that prevents reposync from working
# /usr/bin/reposync --download-metadata --delete --newest-only -c /tmp/tmpXOFcpP --repoid sublimetext-el8-x86_64-sublimetext -p '/data/sublimetext-el6-x86_64/sublimetext'
sublimetext-el8-x86_64-sublimetext 8.5 kB/s | 2.9 kB 00:00
sublimetext-el8-x86_64-sublimetext 9.9 kB/s | 7.6 kB 00:00
Error: Download target '/data/files/sublime-merge-2056-1.x86_64.rpm' is outside of download path '/data/sublimetext-el6-x86_64/sublimetext/sublimetext-el8-x86_64-sublimetext'.
The reposync configuration is quite simple:
# more /tmp/tmpXOFcpP
[sublimetext-el8-x86_64-sublimetext]
name=sublimetext-el8-x86_64-sublimetext
baseurl=https://download.sublimetext.com/rpm/stable/x86_64
enabled=1
Any suggestion on how to get this to work?
Thanks,
Laurent