pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc mirror for local use



* On 2026-01-09 at 20:19 GMT, Andries Annema wrote:

I tried to adapt the pointers to the new public pkgsrc repo at "https://pkgsrc.smartos.org/packages/SmartOS/trunk/"; like so:

# rsync -n rsync://pkgsrc.smartos.org/packages/SmartOS/trunk/ /tank/pkgsrc_mirror

but it barfs with:

@ERROR: Unknown module 'packages'

If you run rsync in browse mode you can see what the remote offers:

  $ rsync rsync://pkgsrc.smartos.org
  pkgsrc         	https://pkgsrc.smartos.org/

So instead of /packages use /pkgsrc:

  $ rsync rsync://pkgsrc.smartos.org/pkgsrc
  drwxr-xr-x             15 2025/11/14 08:35:53 .
  -rw-r--r--          5,018 2022/07/15 16:04:27 favicon.ico
  ...

and that'll eventually lead you to:

  rsync://pkgsrc.smartos.org/pkgsrc/packages/SmartOS/trunk/

Would it be possible to provide a more detailed write-up on how to get such mirror set up?
I would expect such page to exist at the main wiki here:
https://github.com/TritonDataCenter/pkgsrc/wiki
but I suppose this matter has never had much priority to get documented properly. Which I can understand!

I'll take a look at adding this.

Thanks,

--
Jonathan Perkin                    pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index