# Error message when downloading add-ons

**URL:** <https://forums.ankiweb.net/t/error-message-when-downloading-add-ons/16915>\
**Category:** Add-ons\
**Created:** [January 22, 2022, 2:28am UTC](https://forums.ankiweb.net/t/error-message-when-downloading-add-ons/16915 "2022-01-22T02:28:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sonzaisucks](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@sonzaisucks](https://forums.ankiweb.net/u/sonzaisucks)\
**Post date:** [January 22, 2022, 2:28am UTC](https://forums.ankiweb.net/t/error-message-when-downloading-add-ons/16915/1 "2022-01-22T02:28:11Z")

</div>

I attempted to download a couple different audio add-ons. One was Awesome TTS and the other was a forvo add-on. I tried this a couple weeks ago and it didn’t work, so I tried again with both today, and it still doesn’t. Instead, I get an error message saying the code is invalid, or that anki may not be up to date (I checked, and it is up to date). Any ideas what might be wrong?

---

<div class="post-metadata">

**Author:** ![sonzaisucks](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@sonzaisucks](https://forums.ankiweb.net/u/sonzaisucks)\
**Post date:** [January 22, 2022, 5:08am UTC](https://forums.ankiweb.net/t/error-message-when-downloading-add-ons/16915/2 "2022-01-22T05:08:40Z")

</div>

![Screenshot from 2022-01-21 21-07-21](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/3/36bfa347dce380d8c2c75dda663798eb0999bd85.png)

---

<div class="post-metadata">

**Author:** ![Rumo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/rumo/32/1505_2.png) [@Rumo](https://forums.ankiweb.net/u/Rumo)\
**Post date:** [January 22, 2022, 9:00am UTC](https://forums.ankiweb.net/t/error-message-when-downloading-add-ons/16915/3 "2022-01-22T09:00:44Z")

</div>

You say it’s up to date, but which version exactly are you running?  
This may be relevant: [Linux Distro Packages - Anki Manual](https://docs.ankiweb.net/platform/linux/distro-packages.html)

---

<div class="post-metadata">

**Author:** ![sonzaisucks](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@sonzaisucks](https://forums.ankiweb.net/u/sonzaisucks)\
**Post date:** [January 22, 2022, 3:27pm UTC](https://forums.ankiweb.net/t/error-message-when-downloading-add-ons/16915/4 "2022-01-22T15:27:31Z")

</div>

I checked just now, and I’m running the official one. When I first downloaded Anki I was very carefully to avoid downloading the “offbrand” version, I figured it’d have more issues. Should I try uninstalling and reinstalling Anki?

---

<div class="post-metadata">

**Author:** ![BlackBeans](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/blackbeans/32/2283_2.png) [@BlackBeans](https://forums.ankiweb.net/u/BlackBeans)\
**Post date:** [January 22, 2022, 4:27pm UTC](https://forums.ankiweb.net/t/error-message-when-downloading-add-ons/16915/5 "2022-01-22T16:27:35Z")

</div>

Could you go in _Help \> About_ and post your Anki version?

> [@sonzaisucks](#):
>
> When I first downloaded Anki I was very carefully to avoid downloading the “offbrand” version, I figured it’d have more issues.

The problem is that Anki is packaged by most Linux distribution very poorly, leading to most distributions having outdated versions. They all provide an official one.  
However, no matter how you installed Anki, you should still update it for it to be updated (sounds legit?). Packages installed via your package manager are usually auto-updated, but if you manually installed Anki, you have to manually update it.

---

<div class="post-metadata">

**Author:** ![sonzaisucks](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@sonzaisucks](https://forums.ankiweb.net/u/sonzaisucks)\
**Post date:** [January 22, 2022, 4:57pm UTC](https://forums.ankiweb.net/t/error-message-when-downloading-add-ons/16915/6 "2022-01-22T16:57:41Z")

</div>

Ah, well, I’ve already synced my decks and uninstalled Anki. I’ve been trying for the past hour or so to download the alternate version available in my app store, but it keeps failing to download. An error message pops up telling me to check my system for updates, reboot, and try again. Did all that, still doesn’t work.

I also tried downloading it from the Anki download web page. It’s not so much that it fails to download…but I cannot, for the life of me, get it to actually run.

//https://docs.ankiweb.net/platform/linux/installing.html

I’ve followed the instructions found there, I’ve tweaked the commands in case I’ve been unwittingly doing things wrong, but I keep getting this as a result:

~$ tar xjf Downloads/ **anki-2.1.49-linux.tar.bz2** cd anki-2.1.49-linux sudo ./install.sh  
tar (child): Downloads/anki-2.1.49-linux.tar.bz2: Cannot open: No such file or directory  
tar (child): Error is not recoverable: exiting now  
tar: Child returned status 2  
tar: Error is not recoverable: exiting now

I put a portion in bold because I’m wondering if I’m supposed to actually put “anki-2.1.49-linux.tar-1”? Because that’s the title of my download. Although I will say, I have tried using that, and I get the same result.

Gosh, I just want to add audio to my mandarin decks in peace. At this point I might just suck and it up and use the version that actually manages to work

---

<div class="post-metadata">

**Author:** ![BlackBeans](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/blackbeans/32/2283_2.png) [@BlackBeans](https://forums.ankiweb.net/u/BlackBeans)\
**Post date:** [January 23, 2022, 7:55am UTC](https://forums.ankiweb.net/t/error-message-when-downloading-add-ons/16915/7 "2022-01-23T07:55:53Z")

</div>

> [@sonzaisucks](#):
>
> I’ve been trying for the past hour or so to download the alternate version available in my app store, but it keeps failing to download.

To help you with that I would need to know what’s your Linux distribution, and, in case you don’t use their default package manager, which one do you use?  
For the first one, if you don’t know, please post the result of the command `cat /etc/os-release`, which will print the content of the file `/etc/os-release` (which contains the name of the distribution, its version and things like that).  
For the second one, if you don’t know, please describe how you install packages. Do you run a command, or do you open a graphical application?

> [@sonzaisucks](#):
>
> I’ve followed the instructions found there, I’ve tweaked the commands in case I’ve been unwittingly doing things wrong, but I keep getting this as a result:

It’s really easy to install Anki, you’ll see, once you have located the archive you have downloaded. Do you know where the file that you download end up? Usually, they end up by default (for most web browsers) in ~/Downloads.  
Once you have located that path, just do

```plaintext
$ tar xjf path/to/anki-2.1.49-linux.tar.bz2
[...]
$ cd anki-2.1.49-linux
$ sudo ./install.sh
[...]
$

```

(I have mimicked what you should see, please only type the commands. One mistake that you were making is that you were typing all the commands in the same line, which could not have worked in any case. Also replace `path/to/anki-2.1.49-linux.tar.bz2` with the actual path to the archive).

> [@sonzaisucks](#):
>
> Gosh, I just want to add audio to my mandarin decks in peace. At this point I might just suck and it up and use the version that actually manages to work

Upgrading software in general is pretty important, so you should definitively learn how to do it. Anki is particularly difficult to deal with because, since version 2.1.15, the build system changed and the packagers struggle. The first time might be complicated, but then you’ll be able to do it on your own in five minutes.
