Well finally I have decided to purge texlive
sudo apt-get purge texlive*
sudo su
rm -rf /usr/local/texlive/2012 and rm -rf ~/.texlive2012
rm -rf /usr/local/share/texmf
rm -rf /var/lib/texmf
Then I decided to install a vanillia version of tex.
wget wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
tar -xzf install-tl-unx.tar.gz
cd install-tl-20161022/
sudo ./install-tl
Wait a long time until the installation finishes. Then:
gksudo gedit /etc/environment
Adding </usr/local/texlive/2016/bin/x86_64-linux:> in the PATH
In my case PATH="/usr/local/texlive/2016/bin/x86_64-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/tagada/Documents/eclipse"
Saving the file.
Logout and login again for the changes to take effect.
Now start Terminal again and run:
which tex
This show the following:
/usr/local/texlive/2016/bin/x86_64-linux/tex
Try to compile with xelatex and biber. It worked in my case.
I am not sure if it's the best solution. The solution of Herbert "You should install an own TeXLive version: github.com/scottkosty/install-tl-ubuntu " seems to be good as well. I haven't tried yet.
biblatexpackage. – Oct 23 '16 at 15:03biblatex(3.4) don't match,biblatexshould be at 3.6 now. Did you install Biber viaapt-getas well? If that is so and after an update of all other TeX-related packages you still get the version mismatch error (make sure to delete the temporary auxiliary files.aux,.bcf,.bblbefore recompiling) you should complain with the Debian/Ubuntu package guys. They should ship matching package versions. You could use a vanilla TeX live instead of that from the repositories, then you can usetlmgrfor updates. – moewe Oct 23 '16 at 15:30biberfrom some non-standard repository. Ubuntu 16.04.01 comes with biber 2.4, 16.10 as well as the current developer release with 2.5, but you have 2.6. You have two options: downgrade biber, or install texlive 2016 independently of the ubuntu packages, see TeX Live and Debian/Ubuntu, section "Integrating vanilla TeX Live with Debian" (think Debian=Ubuntu as far as TeX Live is concerned). – gernot Oct 23 '16 at 15:32tlmgryourself and have always the newest packages. – Oct 23 '16 at 15:53