yadm icon indicating copy to clipboard operation
yadm copied to clipboard

Ubuntu 20.04 in WSL provides old version

Open xandora opened this issue 2 years ago • 1 comments

This issue is about

  • [ ] Man pages or command-line usage
  • [ ] Website documentation
  • [x] Packaging
  • [ ] Other

Describe the issue

When installing on Ubuntu 20.04 running on WSL2, the only packaged version is 2.3.0-2. This causes issues when attempting to yadm clone after setting git to use main as the new default branch name as experienced in #385 .

$ apt list yadm
Listing... Done
yadm/focal,now 2.3.0-2 all [installed]

xandora avatar Jun 22 '22 00:06 xandora

yadm's version is too old on ubuntu, Alternate Files extension not support extension

canghai118 avatar Aug 07 '22 11:08 canghai118

How can I get the newest version of yadm on ubuntu?

daribock avatar Aug 30 '22 06:08 daribock

How can I get the newest version of yadm on ubuntu?

Okay forget this I found a way: https://yadm.io/docs/install#clone

Just download the git repo and symlink yadm to ~/bin/yadm:

git clone https://github.com/TheLocehiliosan/yadm.git ~/.yadm-project
ln -s ~/.yadm-project/yadm ~/bin/yadm

daribock avatar Aug 30 '22 06:08 daribock

Or if you just want the single file:

wget -O ~/bin/yadm https://raw.githubusercontent.com/TheLocehiliosan/yadm/HEAD/yadm
chmod +x ~/bin/yadm

rasa avatar Aug 31 '22 02:08 rasa

I believe 22.04 (Jammy Jellyfish) includes and updated version of yadm (3.1.1).

You might be able to upgrade WSL to use that, but I certainly don't advise doing that upgrade just to get yadm. As others have commented above, there are other ways to get the newer code.

TheLocehiliosan avatar Sep 04 '22 00:09 TheLocehiliosan