Hello,
I updated sabnzbd to version 3.2.0 yesterday using the apt-get upgrade command and I now get this message: Your UNRAR version is 5.21, we recommend version 5.50 or higher.<br />
When I run unrar from terminal it gives: UNRAR 5.21 freeware Copyright (c) 1993-2015 Alexander Roshal
sudo apt-get update / sudo apt-get upgrade does not show any updates for unrar.
Can anyone tell me how I can get a newer unrar version? Is there another repo I have to add or maybe another package?
How to update unrar on ubuntu 18.04
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: How to update unrar on ubuntu 18.04
I don't know if there is a repo / PPA for 18.04 with a newer unrar. Did you google it?
FWIW: 20.04 has unrar 5.6.6 ... see https://packages.ubuntu.com/focal/unrar
So ... what you can do: a manual download from https://www.rarlab.com/download.htm ... "RAR 6.00 for Linux x64" ...
But ... only do that if you now what "x64" and sudo means
FWIW: 20.04 has unrar 5.6.6 ... see https://packages.ubuntu.com/focal/unrar
So ... what you can do: a manual download from https://www.rarlab.com/download.htm ... "RAR 6.00 for Linux x64" ...
But ... only do that if you now what "x64" and sudo means
Re: How to update unrar on ubuntu 18.04
Thanks jcfp!
It now found an update and installed - but it did not replace the already installed version. And sabnzbd still complains about the old version.
What can I do?
It now found an update and installed - but it did not replace the already installed version. And sabnzbd still complains about the old version.
What can I do?
Re: How to update unrar on ubuntu 18.04
Hard to tell from here, could be changes you made earlier that get in the way, or another unrar somewhere on the path. Post the output of the following three commands:
Code: Select all
apt policy unrar
namei -l /usr/bin/unrar
unrar | head -n2
Re: How to update unrar on ubuntu 18.04
Thank you for your reply - here you go:
kodi@nas:~$ apt policy unrar
unrar:
Installiert: 1:6.0.3-0ubuntu1~jcfp1~18.04
Installationskandidat: 1:6.0.3-0ubuntu1~jcfp1~18.04
Versionstabelle:
*** 1:6.0.3-0ubuntu1~jcfp1~18.04 500
500 ppa launchpad net/jcfp/sab-addons/ubuntu bionic/main amd64 Pa ckages
100 /var/lib/dpkg/status
1:5.5.8-1 500
500 de archive ubuntu com/ubuntu bionic/multiverse amd64 Packages
kodi@nas:~$ namei -l /usr/bin/unrar
f: /usr/bin/unrar
drwxr-xr-x root root /
drwxr-xr-x root root usr
drwxr-xr-x root root bin
-rwxr-xr-x root root unrar
kodi@nas:~$ unrar | head -n2
UNRAR 5.21 freeware Copyright (c) 1993-2015 Alexander Roshal
kodi@nas:~$ apt policy unrar
unrar:
Installiert: 1:6.0.3-0ubuntu1~jcfp1~18.04
Installationskandidat: 1:6.0.3-0ubuntu1~jcfp1~18.04
Versionstabelle:
*** 1:6.0.3-0ubuntu1~jcfp1~18.04 500
500 ppa launchpad net/jcfp/sab-addons/ubuntu bionic/main amd64 Pa ckages
100 /var/lib/dpkg/status
1:5.5.8-1 500
500 de archive ubuntu com/ubuntu bionic/multiverse amd64 Packages
kodi@nas:~$ namei -l /usr/bin/unrar
f: /usr/bin/unrar
drwxr-xr-x root root /
drwxr-xr-x root root usr
drwxr-xr-x root root bin
-rwxr-xr-x root root unrar
kodi@nas:~$ unrar | head -n2
UNRAR 5.21 freeware Copyright (c) 1993-2015 Alexander Roshal
Re: How to update unrar on ubuntu 18.04
The symlink that should be at /usr/bin/unrar has been replaced with an (outdated) copy of the actual unrar executable. Normally, /usr/bin/unrar is a symlink to /etc/alternatives/unrar which in turn is a symlink to /usr/bin/unrar-nonfree.
Assuming the symlink from /etc/alternatives to unrar-nonfree still exists, you could try to restore things like this:
Then rerun the three commands above.
Assuming the symlink from /etc/alternatives to unrar-nonfree still exists, you could try to restore things like this:
Code: Select all
sudo rm /usr/bin/unrar && sudo ln -s /etc/alternatives/unrar /usr/bin/unrar
Re: How to update unrar on ubuntu 18.04
This seems to have fixed it - thank you very much!