在Arch Linux更新HarfBuzz后,VirtualBox无法打开
时间:2020-03-21 11:48:42 来源:igfitidea点击:
尝试打开VirtualBox时,显示以下消息:
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: /usr/lib/libharfbuzz.so.0: undefined symbol: FT_Get_Var_Blend_Coordinates
在仔细检查上述错误之后,我得出了一个结论,VirtualBox在更新HarfBuzz到1.4.1-1版本之后不起作用。
因此,我认为将HarfBuzz降级到旧版本可能解决这个问题。
我已经搜索了我的本地缓存,看看是否有任何旧版HarfBuzz。
$ls /var/cache/pacman/pkg/
示例输出:
harfbuzz-1.4.1-1-x86_64.pkg.tar.xz virtualbox-5.1.12-1-x86_64.pkg.tar.xz harfbuzz-icu-1.4.1-1-x86_64.pkg.tar.xz
不幸的是,我在本地缓存文件夹中没有任何旧版本的Harfbuzz来回滚。
但是,我知道另一个解决方法来解决这个问题。
在Arch Linux及其衍生产品中,我们可以使用"降级"实用程序轻松降级到其旧版本的包。
只需按照以下链接中所述安装降级实用程序。
- 如何在Arch Linux中降级包
一旦安装了降级实用程序,我们就可以轻松降级HarfBuzz包,如下所示。
$sudo downgrade harfbuzz
我们应该在本地缓存和Arch Linux存储库中查看列表旧包。
只需选择较旧版本并按Enter键。
在我的情况下,我选择了显示HarfBuzz-1.3.4-1版本的第三个选项。
Available packages: 1) harfbuzz-1.4.1-1-x86_64.pkg.tar.xz (remote) 2) harfbuzz-1.4.1-1-x86_64.pkg.tar.xz (local) 3) harfbuzz-1.3.4-1-x86_64.pkg.tar.xz (remote) 4) harfbuzz-1.3.3-2-x86_64.pkg.tar.xz (remote) 5) harfbuzz-1.3.3-1-x86_64.pkg.tar.xz (remote) 6) harfbuzz-1.3.2-1-x86_64.pkg.tar.xz (remote) 7) harfbuzz-1.3.1-1-x86_64.pkg.tar.xz (remote) 8) harfbuzz-1.3.0-1-x86_64.pkg.tar.xz (remote) 9) harfbuzz-1.2.7-1-x86_64.pkg.tar.xz (remote) 10) harfbuzz-1.2.6-1-x86_64.pkg.tar.xz (remote) 11) harfbuzz-1.2.4-3-x86_64.pkg.tar.xz (remote) 12) harfbuzz-1.2.4-1-x86_64.pkg.tar.xz (remote) 13) harfbuzz-1.2.3-1-x86_64.pkg.tar.xz (remote) 14) harfbuzz-1.2.1-1-x86_64.pkg.tar.xz (remote) 15) harfbuzz-1.2.0-1-x86_64.pkg.tar.xz (remote) 16) harfbuzz-1.1.3-1-x86_64.pkg.tar.xz (remote) 17) harfbuzz-1.1.2-3-x86_64.pkg.tar.xz (remote) 18) harfbuzz-1.1.2-2-x86_64.pkg.tar.xz (remote) 19) harfbuzz-1.1.2-1-x86_64.pkg.tar.xz (remote) 20) harfbuzz-1.1.1-1-x86_64.pkg.tar.xz (remote) 21) harfbuzz-1.1.0-1-x86_64.pkg.tar.xz (remote) 22) harfbuzz-1.0.6-2-x86_64.pkg.tar.xz (remote) 23) harfbuzz-1.0.6-1-x86_64.pkg.tar.xz (remote) 24) harfbuzz-1.0.5-1-x86_64.pkg.tar.xz (remote) 25) harfbuzz-1.0.4-1-x86_64.pkg.tar.xz (remote) 26) harfbuzz-1.0.3-1-x86_64.pkg.tar.xz (remote) 27) harfbuzz-1.0.1-1-x86_64.pkg.tar.xz (remote) 28) harfbuzz-0.9.41-1-x86_64.pkg.tar.xz (remote) 29) harfbuzz-0.9.40-2-x86_64.pkg.tar.xz (remote) 30) harfbuzz-0.9.40-1-x86_64.pkg.tar.xz (remote) 31) harfbuzz-0.9.38-1-x86_64.pkg.tar.xz (remote) 32) harfbuzz-0.9.37-1-x86_64.pkg.tar.xz (remote) 33) harfbuzz-0.9.36-1-x86_64.pkg.tar.xz (remote) 34) harfbuzz-0.9.35-2-x86_64.pkg.tar.xz (remote) 35) harfbuzz-0.9.35-1-x86_64.pkg.tar.xz (remote) 36) harfbuzz-0.9.32-1-x86_64.pkg.tar.xz (remote) 37) harfbuzz-0.9.30-1-x86_64.pkg.tar.xz (remote) 38) harfbuzz-0.9.29-1-x86_64.pkg.tar.xz (remote) 39) harfbuzz-0.9.28-1-x86_64.pkg.tar.xz (remote) 40) harfbuzz-0.9.26-2-x86_64.pkg.tar.xz (remote) 41) harfbuzz-0.9.26-1-x86_64.pkg.tar.xz (remote) 42) harfbuzz-0.9.24-1-x86_64.pkg.tar.xz (remote) 43) harfbuzz-0.9.23-1-x86_64.pkg.tar.xz (remote) 44) harfbuzz-0.9.22-1-x86_64.pkg.tar.xz (remote) 45) harfbuzz-0.9.19-1-x86_64.pkg.tar.xz (remote) select a package by number: 3 [1/2]: https://archive.archlinux.org/packages/h/harfbuzz/harfbuzz-1.3.4-1-x86_64.pkg.tar.xz --> harfbuzz-1.3.4-1-x86_64.pkg.tar.xz --_curl_--https://archive.archlinux.org/packages/h/harfbuzz/harfbuzz-1.3.4-1-x86_64.pkg.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 298k 100 298k 0 0 120k 0 0:00:02 0:00:02 --:--:-- 120k [2/2]: https://archive.archlinux.org/packages/h/harfbuzz/harfbuzz-1.3.4-1-x86_64.pkg.tar.xz.sig --> harfbuzz-1.3.4-1-x86_64.pkg.tar.xz.sig --_curl_--https://archive.archlinux.org/packages/h/harfbuzz/harfbuzz-1.3.4-1-x86_64.pkg.tar.xz.sig 100 310 100 310 0 0 1562 0 --:--:-- --:--:-- --:--:-- 1562 loading packages... warning: downgrading package harfbuzz (1.4.1-1 => 1.3.4-1) resolving dependencies... looking for conflicting packages... Packages (1) harfbuzz-1.3.4-1 Total Installed Size: 2.25 MiB Net Upgrade Size: -0.15 MiB :: Proceed with installation? [Y/n] y (1/1) checking keys in keyring [##############] 100% (1/1) checking package integrity [##############] 100% (1/1) loading package files [##############] 100% (1/1) checking for file conflicts [##############] 100% (1/1) checking available disk space [##############] 100% :: Processing package changes... (1/1) downgrading harfbuzz [##############] 100% add harfbuzz to IgnorePkg? [y/n] y