我如何更新到 Biber 2.8?

我如何更新到 Biber 2.8?

今天我刚刚在 Mac 电脑上运行了 TeX Live Utility,其中一个更新的软件包是biblatex。现在当我尝试运行时biber,出现了这个错误:

INFO - This is Biber 2.7
INFO - Logfile is 'drafter.blg'
INFO - Reading 'drafter.bcf'
ERROR - Error: Found biblatex control file version 3.4, expected version 3.3.
This means that your biber (2.7) and biblatex (3.8) versions are incompatible.
See compat matrix in biblatex or biber PDF documentation.
INFO - ERRORS: 1

但 Tex Live Utility 说没有新的更新。我尝试手动将biber目录中的文件替换/usr/local/texlive/2017/bin/x86_64-darwinbiber从以下位置下载的 2.8 版本源码,但这会导致biber返回进一步的错误:

Can't load '/var/folders/sv/81s9w58d08l025xt8kcf964h0000gn/T/par-616c6578616e647265/cache-1ee9314aaa3260adaf3551aacd2069b05422a0ef/79628e8f.bundle' for module XML::LibXML: dlopen(/var/folders/sv/81s9w58d08l025xt8kcf964h0000gn/T/par-616c6578616e647265/cache-1ee9314aaa3260adaf3551aacd2069b05422a0ef/79628e8f.bundle, 1): Library not loaded: /opt/local/lib/libxml2.2.dylib
  Referenced from: /var/folders/sv/81s9w58d08l025xt8kcf964h0000gn/T//par-616c6578616e647265/cache-1ee9314aaa3260adaf3551aacd2069b05422a0ef/79628e8f.bundle
  Reason: Incompatible library version: 79628e8f.bundle requires version 12.0.0 or later, but libxml2.2.dylib provides version 10.0.0 at /loader/HASH(0x1010521e0)/DynaLoader.pm line 197.
 at /loader/HASH(0x10180d3f8)/PAR/Heavy.pm line 123.
BEGIN failed--compilation aborted at /var/folders/sv/81s9w58d08l025xt8kcf964h0000gn/T/par-616c6578616e647265/cache-1ee9314aaa3260adaf3551aacd2069b05422a0ef/inc/lib/XML/LibXML.pm line 156.
Compilation failed in require at /var/folders/sv/81s9w58d08l025xt8kcf964h0000gn/T/par-616c6578616e647265/cache-1ee9314aaa3260adaf3551aacd2069b05422a0ef/inc/lib/XML/LibXML/Simple.pm line 17.
BEGIN failed--compilation aborted at /var/folders/sv/81s9w58d08l025xt8kcf964h0000gn/T/par-616c6578616e647265/cache-1ee9314aaa3260adaf3551aacd2069b05422a0ef/inc/lib/XML/LibXML/Simple.pm line 17.
Compilation failed in require at /var/folders/sv/81s9w58d08l025xt8kcf964h0000gn/T/par-616c6578616e647265/cache-1ee9314aaa3260adaf3551aacd2069b05422a0ef/inc/lib/Biber/LaTeX/Recode.pm line 16.
BEGIN failed--compilation aborted at /var/folders/sv/81s9w58d08l025xt8kcf964h0000gn/T/par-616c6578616e647265/cache-1ee9314aaa3260adaf3551aacd2069b05422a0ef/inc/lib/Biber/LaTeX/Recode.pm line 16.
Compilation failed in require at /var/folders/sv/81s9w58d08l025xt8kcf964h0000gn/T/par-616c6578616e647265/cache-1ee9314aaa3260adaf3551aacd2069b05422a0ef/inc/lib/Biber/Utils.pm line 19.
BEGIN failed--compilation aborted at /var/folders/sv/81s9w58d08l025xt8kcf964h0000gn/T/par-616c6578616e647265/cache-1ee9314aaa3260adaf3551aacd2069b05422a0ef/inc/lib/Biber/Utils.pm line 19.
Compilation failed in require at /var/folders/sv/81s9w58d08l025xt8kcf964h0000gn/T/par-616c6578616e647265/cache-1ee9314aaa3260adaf3551aacd2069b05422a0ef/inc/lib/Biber/Internals.pm line 8.
BEGIN failed--compilation aborted at /var/folders/sv/81s9w58d08l025xt8kcf964h0000gn/T/par-616c6578616e647265/cache-1ee9314aaa3260adaf3551aacd2069b05422a0ef/inc/lib/Biber/Internals.pm line 8.
Compilation failed in require at /loader/HASH(0x101052d20)/parent.pm line 16.
BEGIN failed--compilation aborted at /var/folders/sv/81s9w58d08l025xt8kcf964h0000gn/T/par-616c6578616e647265/cache-1ee9314aaa3260adaf3551aacd2069b05422a0ef/inc/lib/Biber.pm line 5.
Compilation failed in require at script/biber-darwin line 17.
BEGIN failed--compilation aborted at script/biber-darwin line 17.

我该如何解决这个问题?

答案1

我在这里遇到了完全相同的问题(Win7-64,TexLive 2017,昨天更新)。

今天,调用tlmgr update --list报告了 biblatex 的更新:

C:\Windows\system32>tlmgr update --all
tlmgr.pl: package repository http://ftp.cvut.cz/tex-archive/systems/texlive/tlnet (not verified: gpg
 unavailable)
tlmgr.pl: saving backups to D:/texlive/2017/tlpkg/backups
[ 1/12, ??:??/??:??] update: biblatex [7011k] (45690 -> 45702) ... done

... also 11 more packages, I removed from this answer ... 

running mktexlsr ...
done running mktexlsr.
running mtxrun --generate ...
done running mtxrun --generate.
regenerating fmtutil.cnf in D:/texlive/2017/texmf-dist
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt platex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt platex.
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt uplatex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt uplatex.
tlmgr.pl: package log updated: D:/texlive/2017/texmf-var/web2c/tlmgr.log

这次更新解决了这个问题。感谢您的提问,也感谢 Herbert 的评论。

答案2

现在应该已经修复了 - 请再次从 Sourceforge 获取 biber 2.8。

相关内容