页次: 1
系统很久没有更新了,这次更新后polybar无法启动了。
vvlaw@archlinux ~ polybar -vvv
polybar: error while loading shared libraries: libjsoncpp.so.25: cannot open shared object file: No such file or directory
桌面管理器 i3
离线
你的 polybar 更新到 3.7.2-2 了吗?
离线
你的 polybar 更新到 3.7.2-2 了吗?
还真没有。。。 :(
vvlaw@archlinux ~ sudo pacman -S polybar
[sudo] password for vvlaw:
resolving dependencies...
looking for conflicting packages...
Packages (2) xcb-util-xrm-1.3-3 polybar-3.7.2-2
Total Download Size: 0.69 MiB
Total Installed Size: 2.17 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
polybar-3.7.2-2-... 711.5 KiB 552 KiB/s 00:01 100%
(2/2) checking keys in keyring 100%
(2/2) checking package integrity 100%
(2/2) loading package files 100%
(2/2) checking for file conflicts 100%
error: failed to commit transaction (conflicting files)
xcb-util-xrm: /usr/include/xcb/xcb_xrm.h exists in filesystem
xcb-util-xrm: /usr/lib/libxcb-xrm.so exists in filesystem
xcb-util-xrm: /usr/lib/libxcb-xrm.so.0 exists in filesystem
xcb-util-xrm: /usr/lib/libxcb-xrm.so.0.0.0 exists in filesystem
xcb-util-xrm: /usr/lib/pkgconfig/xcb-xrm.pc exists in filesystem
xcb-util-xrm: /usr/share/licenses/xcb-util-xrm/COPYING exists in filesystem
polybar: /usr/bin/polybar exists in filesystem
polybar: /usr/bin/polybar-msg exists in filesystem
polybar: /usr/share/bash-completion/completions/polybar exists in filesystem
polybar: /usr/share/doc/polybar/CHANGELOG.md exists in filesystem
polybar: /usr/share/doc/polybar/examples/config.ini exists in filesystem
polybar: /usr/share/licenses/polybar/LICENSE exists in filesystem
polybar: /usr/share/man/man1/polybar-msg.1.gz exists in filesystem
polybar: /usr/share/man/man1/polybar.1.gz exists in filesystem
polybar: /usr/share/man/man5/polybar.5.gz exists in filesystem
polybar: /usr/share/zsh/site-functions/_polybar exists in filesystem
polybar: /usr/share/zsh/site-functions/_polybar_msg exists in filesystem
Errors occurred, no packages were upgraded.
看来还是得加上 --overwrite ‘*’
离线
页次: 1