您尚未登录。

#1 2025-01-11 18:40:44

vvlaw
会员
注册时间: 2021-08-03
帖子: 44

polybar无法启动了。。。

系统很久没有更新了,这次更新后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

离线

#2 2025-01-11 19:04:19

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 9,023
个人网站

Re: polybar无法启动了。。。

你的 polybar 更新到 3.7.2-2 了吗?

离线

#3 2025-01-11 19:38:21

vvlaw
会员
注册时间: 2021-08-03
帖子: 44

Re: polybar无法启动了。。。

依云 说:

你的 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 ‘*’

离线

页脚