解决vim: /usr/lib/libc.so.6: version `GLIBC_2.28' not found (required by vim)问题

问题

今天尝鲜manjaro,当安装完vim却发现无法使用,抛出如下错误

vim: /usr/lib/libc.so.6: version `GLIBC_2.28' not found (required by vim)

显然没这个库,我按装的是manjaro 17 ,百度这个库GLIBC_2.28,发现最近跟新,于是更新系统

 sudo pacman -Syyu

一路 yes发现更新失败,

:: Synchronizing package databases...
core 147.5 KiB 1378K/s 00:00 [#######################] 100%
extra 1796.2 KiB 5.43M/s 00:00 [#######################] 100%
community 4.8 MiB 8.92M/s 00:01 [#######################] 100%
multilib 180.0 KiB 3.52M/s 00:00 [#######################] 100%
:: Starting full system upgrade...
:: Replace compositeproto with extra/xorgproto? [Y/n]
:: Replace damageproto with extra/xorgproto? [Y/n]
:: Replace fixesproto with extra/xorgproto? [Y/n]
:: Replace fontsproto with extra/xorgproto? [Y/n]
:: Replace gnome-themes-standard with extra/gnome-themes-extra? [Y/n]
:: Replace gnome-tweak-tool with extra/gnome-tweaks? [Y/n]
:: Replace inputproto with extra/xorgproto? [Y/n]
:: Replace kbproto with extra/xorgproto? [Y/n]
:: Replace manjaro-gnome-extension-settings with community/manjaro-gnome-extension-settings-17.0? [Y/n]
:: Replace manjaro-gnome-extension-settings with community/manjaro-gnome-extension-settings-18.0? [Y/n]
:: Replace manjaro-gnome-maia-theme with community/manjaro-gdm-theme? [Y/n]
:: Replace manjaro-gnome-settings with community/manjaro-gnome-settings-17.0? [Y/n]
:: Replace manjaro-gnome-settings with community/manjaro-gnome-settings-18.0? [Y/n]
:: Replace pkg-config with core/pkgconf? [Y/n]
:: Replace randrproto with extra/xorgproto? [Y/n]
:: Replace recordproto with extra/xorgproto? [Y/n]
:: Replace renderproto with extra/xorgproto? [Y/n]
:: Replace scrnsaverproto with extra/xorgproto? [Y/n]
:: Replace videoproto with extra/xorgproto? [Y/n]
:: Replace xextproto with extra/xorgproto? [Y/n]
:: Replace xf86vidmodeproto with extra/xorgproto? [Y/n]
:: Replace xineramaproto with extra/xorgproto? [Y/n]
:: Replace xproto with extra/xorgproto? [Y/n]
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: manjaro-gnome-extension-settings-18.0 and manjaro-gnome-extension-settings-17.0 are in conflict

解决

仔细研究了一下,应该这样解决这个冲突,当问到是否替换17.0的时候选择NO,替换18.0的时候选择YES,如果反着来也可以,更新完成。重启最后vim可以正常使用

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值