Can't install Sync on Linux using Yum Repo - Gets 404


jybleau

Recommended Posts

Hello,

 

Is the linux-packages.resilio.com RPM repository broken? It returns 404...

 

I'm following the usual Linux install procedure for RPM-Based distro:

https://help.resilio.com/hc/en-us/articles/206178924-Installing-Sync-package-on-Linux

 

I cannot install on CentOS after creating the  /etc/yum.repos.d/resilio-sync.repo file (and adding the public key).

Here is the command I used to create the resilio-sync.repo file, in a format easier to read:

(Edit: My error is $basearch is not escaped like this \$basearch)

 

tee /etc/yum.repos.d/resilio-sync.repo <<EOF
[resilio-sync]
name=Resilio Sync
baseurl=https://linux-packages.resilio.com/resilio-sync/rpm/$basearch
enabled=1
gpgcheck=1
EOF

 

Yum gets a 404 error.

It did work unescaped though, in many other CentOS instance setup.

 

Thanks 

Link to comment
Share on other sites

Solved.

My (embarrassing) error.

Make sure to use the exact escaped code from the tutorial when creating the repo file:

printf "[resilio-sync]\nname=Resilio Sync\nbaseurl=https://linux-packages.resilio.com/resilio-sync/rpm/\$basearch\nenabled=1\ngpgcheck=1\n" | sudo tee /etc/yum.repos.d/resilio-sync.repo

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.