Skip to content

Syncing Debian Repository http://dl.yarnpkg.com/debian/ #3044

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ErikOlufson opened this issue Apr 5, 2017 · 3 comments
Closed

Syncing Debian Repository http://dl.yarnpkg.com/debian/ #3044

ErikOlufson opened this issue Apr 5, 2017 · 3 comments
Assignees

Comments

@ErikOlufson
Copy link

ErikOlufson commented Apr 5, 2017

Hi guys,

our developers are using yarn for their daily business and it is standard to mirror remote repositories to minimize traffic and ensure offline availability.

For normal Debian repositories we are using apt-mirror. Those are our connectionstrings:

# cat /etc/apt/mirror.list
[...]
deb-amd64 http://dl.yarnpkg.com/debian/ stable main 
deb-i386 http://dl.yarnpkg.com/debian/ stable main
[...]

Unfortunately apt-get on our desktop clients reports missing all-binaries.

# apt-get update
[...]
E: Fehlschlag beim Holen von http://internalmirror.fqdn.de/mirror/dl.yarnpkg.com/debian/dists/stable/main/binary-all/Packages  404  Not Found
[...]

This behavior is already known from other repositories mirrored by us. In those cases we use rsync. But dl.yarnpkg.com does not offer rsync for mirroring. So thats exactly what I ask for. Could you offer rsync for syncing?

Thanks in advance,

Erik

@Daniel15
Copy link
Member

Daniel15 commented Apr 7, 2017

Are you able to use Git rather than rsync? The Yarn repository is available as a Git repo. You can run this command to get a copy of the repo:

git clone https://github.com/yarnpkg/releases.git yarn-releases

And then periodically run git pull to get the latest changes.

Also for what it's worth, I'm using apt-cacher-ng and don't have any issues with hitting the Yarn repo. I have apt-cacher-ng configured as a proxy server.

@bovi
Copy link

bovi commented Oct 7, 2018

@ErikOlufson I think you should use deb-all http://dl.yarnpkg.com/debian/ stable main to get binary-all

@Daniel15
Copy link
Member

Closing issue as it's stale. Let me know if you still need help with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants