突然,我无法在我的计算机上打开设置或与设置相关的任何内容(更改 wifi、连接到 vpn 等)。
我尝试了针对其他问题的一些建议的解决方案,例如删除 Pop ppa 并重新安装,gnome-control-center
但没有起作用,当我尝试启动gnome-control-center
via 终端时出现以下错误:
$ gnome-control-center
gnome-control-center: /usr/local/lib/x86_64-linux-gnu/libjson-glib-1.0.so.0: no version information available (required by /lib/x86_64-linux-gnu/libsnapd-glib.so.1)
gnome-control-center: /usr/local/lib/x86_64-linux-gnu/libjson-glib-1.0.so.0: no version information available (required by /lib/x86_64-linux-gnu/libgoa-backend-1.0.so.1)
gnome-control-center: /usr/local/lib/x86_64-linux-gnu/libjson-glib-1.0.so.0: no version information available (required by /lib/x86_64-linux-gnu/libclutter-1.0.so.0)
gnome-control-center: symbol lookup error: /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37: undefined symbol: gst_codec_utils_caps_get_mime_codec
我尝试删除并重新安装,libwebkit2gtk
但没有成功。
更新:
可能的相关文件列表:
$ lsdd /usr/local/lib/x86_64-linux-gnu/libgst*
0 lrwxrwxrwx 1 root root 28 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstadaptivedemux-1.0.so -> libgstadaptivedemux-1.0.so.0
0 lrwxrwxrwx 1 root root 35 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstadaptivedemux-1.0.so.0 -> libgstadaptivedemux-1.0.so.0.1701.0
356K -rwxr-xr-x 1 root root 354K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstadaptivedemux-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 25 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstallocators-1.0.so -> libgstallocators-1.0.so.0
0 lrwxrwxrwx 1 root root 32 Sep 23 09:29 /usr/local/lib/x86_64-linux-gnu/libgstallocators-1.0.so.0 -> libgstallocators-1.0.so.0.1701.0
72K -rwxr-xr-x 1 root root 69K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstallocators-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 18 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstapp-1.0.so -> libgstapp-1.0.so.0
0 lrwxrwxrwx 1 root root 25 Sep 23 09:29 /usr/local/lib/x86_64-linux-gnu/libgstapp-1.0.so.0 -> libgstapp-1.0.so.0.1701.0
260K -rwxr-xr-x 1 root root 258K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstapp-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 20 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstaudio-1.0.so -> libgstaudio-1.0.so.0
0 lrwxrwxrwx 1 root root 27 Sep 23 09:29 /usr/local/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0 -> libgstaudio-1.0.so.0.1701.0
2,1M -rwxr-xr-x 1 root root 2,1M Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 23 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstbadaudio-1.0.so -> libgstbadaudio-1.0.so.0
0 lrwxrwxrwx 1 root root 30 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstbadaudio-1.0.so.0 -> libgstbadaudio-1.0.so.0.1701.0
224K -rwxr-xr-x 1 root root 221K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstbadaudio-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 19 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstbase-1.0.so -> libgstbase-1.0.so.0
0 lrwxrwxrwx 1 root root 26 Sep 23 09:29 /usr/local/lib/x86_64-linux-gnu/libgstbase-1.0.so.0 -> libgstbase-1.0.so.0.1701.0
2,1M -rwxr-xr-x 1 root root 2,1M Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstbase-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 31 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstbasecamerabinsrc-1.0.so -> libgstbasecamerabinsrc-1.0.so.0
0 lrwxrwxrwx 1 root root 38 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstbasecamerabinsrc-1.0.so.0 -> libgstbasecamerabinsrc-1.0.so.0.1701.0
120K -rwxr-xr-x 1 root root 117K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstbasecamerabinsrc-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 20 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstcheck-1.0.so -> libgstcheck-1.0.so.0
0 lrwxrwxrwx 1 root root 27 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstcheck-1.0.so.0 -> libgstcheck-1.0.so.0.1701.0
556K -rwxr-xr-x 1 root root 556K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstcheck-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 27 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstcodecparsers-1.0.so -> libgstcodecparsers-1.0.so.0
0 lrwxrwxrwx 1 root root 34 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstcodecparsers-1.0.so.0 -> libgstcodecparsers-1.0.so.0.1701.0
2,2M -rwxr-xr-x 1 root root 2,2M Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstcodecparsers-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 21 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstcodecs-1.0.so -> libgstcodecs-1.0.so.0
0 lrwxrwxrwx 1 root root 28 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstcodecs-1.0.so.0 -> libgstcodecs-1.0.so.0.1701.0
452K -rwxr-xr-x 1 root root 450K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstcodecs-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 25 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstcontroller-1.0.so -> libgstcontroller-1.0.so.0
0 lrwxrwxrwx 1 root root 32 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstcontroller-1.0.so.0 -> libgstcontroller-1.0.so.0.1701.0
320K -rwxr-xr-x 1 root root 317K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstcontroller-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 18 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstfft-1.0.so -> libgstfft-1.0.so.0
0 lrwxrwxrwx 1 root root 25 Sep 23 09:29 /usr/local/lib/x86_64-linux-gnu/libgstfft-1.0.so.0 -> libgstfft-1.0.so.0.1701.0
216K -rwxr-xr-x 1 root root 213K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstfft-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 17 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstgl-1.0.so -> libgstgl-1.0.so.0
0 lrwxrwxrwx 1 root root 24 Sep 23 09:29 /usr/local/lib/x86_64-linux-gnu/libgstgl-1.0.so.0 -> libgstgl-1.0.so.0.1701.0
2,1M -rwxr-xr-x 1 root root 2,1M Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstgl-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 24 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstinsertbin-1.0.so -> libgstinsertbin-1.0.so.0
0 lrwxrwxrwx 1 root root 31 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstinsertbin-1.0.so.0 -> libgstinsertbin-1.0.so.0.1701.0
92K -rwxr-xr-x 1 root root 89K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstinsertbin-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 20 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstisoff-1.0.so -> libgstisoff-1.0.so.0
0 lrwxrwxrwx 1 root root 27 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstisoff-1.0.so.0 -> libgstisoff-1.0.so.0.1701.0
108K -rwxr-xr-x 1 root root 105K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstisoff-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 21 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstmpegts-1.0.so -> libgstmpegts-1.0.so.0
0 lrwxrwxrwx 1 root root 28 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstmpegts-1.0.so.0 -> libgstmpegts-1.0.so.0.1701.0
588K -rwxr-xr-x 1 root root 587K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstmpegts-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 18 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstnet-1.0.so -> libgstnet-1.0.so.0
0 lrwxrwxrwx 1 root root 25 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstnet-1.0.so.0 -> libgstnet-1.0.so.0.1701.0
376K -rwxr-xr-x 1 root root 375K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstnet-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 21 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstopencv-1.0.so -> libgstopencv-1.0.so.0
0 lrwxrwxrwx 1 root root 28 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstopencv-1.0.so.0 -> libgstopencv-1.0.so.0.1701.0
232K -rwxr-xr-x 1 root root 232K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstopencv-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 22 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstpbutils-1.0.so -> libgstpbutils-1.0.so.0
0 lrwxrwxrwx 1 root root 29 Sep 23 09:29 /usr/local/lib/x86_64-linux-gnu/libgstpbutils-1.0.so.0 -> libgstpbutils-1.0.so.0.1701.0
924K -rwxr-xr-x 1 root root 924K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstpbutils-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 26 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstphotography-1.0.so -> libgstphotography-1.0.so.0
0 lrwxrwxrwx 1 root root 33 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstphotography-1.0.so.0 -> libgstphotography-1.0.so.0.1701.0
92K -rwxr-xr-x 1 root root 89K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstphotography-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 21 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstplayer-1.0.so -> libgstplayer-1.0.so.0
0 lrwxrwxrwx 1 root root 28 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstplayer-1.0.so.0 -> libgstplayer-1.0.so.0.1701.0
460K -rwxr-xr-x 1 root root 457K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstplayer-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 21 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstreamer-1.0.so -> libgstreamer-1.0.so.0
0 lrwxrwxrwx 1 root root 28 Sep 23 09:29 /usr/local/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 -> libgstreamer-1.0.so.0.1701.0
5,5M -rwxr-xr-x 1 root root 5,5M Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 19 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstriff-1.0.so -> libgstriff-1.0.so.0
0 lrwxrwxrwx 1 root root 26 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstriff-1.0.so.0 -> libgstriff-1.0.so.0.1701.0
204K -rwxr-xr-x 1 root root 202K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstriff-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 18 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstrtp-1.0.so -> libgstrtp-1.0.so.0
0 lrwxrwxrwx 1 root root 25 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstrtp-1.0.so.0 -> libgstrtp-1.0.so.0.1701.0
580K -rwxr-xr-x 1 root root 578K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstrtp-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 19 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstrtsp-1.0.so -> libgstrtsp-1.0.so.0
0 lrwxrwxrwx 1 root root 26 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstrtsp-1.0.so.0 -> libgstrtsp-1.0.so.0.1701.0
512K -rwxr-xr-x 1 root root 509K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstrtsp-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 25 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstrtspserver-1.0.so -> libgstrtspserver-1.0.so.0
0 lrwxrwxrwx 1 root root 32 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstrtspserver-1.0.so.0 -> libgstrtspserver-1.0.so.0.1701.0
1,8M -rwxr-xr-x 1 root root 1,8M Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstrtspserver-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 19 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstsctp-1.0.so -> libgstsctp-1.0.so.0
0 lrwxrwxrwx 1 root root 26 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstsctp-1.0.so.0 -> libgstsctp-1.0.so.0.1701.0
36K -rwxr-xr-x 1 root root 33K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstsctp-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 18 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstsdp-1.0.so -> libgstsdp-1.0.so.0
0 lrwxrwxrwx 1 root root 25 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstsdp-1.0.so.0 -> libgstsdp-1.0.so.0.1701.0
380K -rwxr-xr-x 1 root root 379K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstsdp-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 18 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgsttag-1.0.so -> libgsttag-1.0.so.0
0 lrwxrwxrwx 1 root root 25 Sep 23 09:29 /usr/local/lib/x86_64-linux-gnu/libgsttag-1.0.so.0 -> libgsttag-1.0.so.0.1701.0
964K -rwxr-xr-x 1 root root 962K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgsttag-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 25 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgsttranscoder-1.0.so -> libgsttranscoder-1.0.so.0
136K -rwxr-xr-x 1 root root 134K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgsttranscoder-1.0.so.0
0 lrwxrwxrwx 1 root root 28 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgsturidownloader-1.0.so -> libgsturidownloader-1.0.so.0
0 lrwxrwxrwx 1 root root 35 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgsturidownloader-1.0.so.0 -> libgsturidownloader-1.0.so.0.1701.0
112K -rwxr-xr-x 1 root root 110K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgsturidownloader-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 23 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstvalidate-1.0.so -> libgstvalidate-1.0.so.0
0 lrwxrwxrwx 1 root root 30 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstvalidate-1.0.so.0 -> libgstvalidate-1.0.so.0.1701.0
1,7M -rwxr-xr-x 1 root root 1,7M Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstvalidate-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 41 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstvalidate-default-overrides-1.0.so -> libgstvalidate-default-overrides-1.0.so.0
0 lrwxrwxrwx 1 root root 48 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstvalidate-default-overrides-1.0.so.0 -> libgstvalidate-default-overrides-1.0.so.0.1701.0
24K -rwxr-xr-x 1 root root 24K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstvalidate-default-overrides-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 20 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstvideo-1.0.so -> libgstvideo-1.0.so.0
0 lrwxrwxrwx 1 root root 27 Sep 23 09:29 /usr/local/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0 -> libgstvideo-1.0.so.0.1701.0
3,0M -rwxr-xr-x 1 root root 3,0M Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0.1701.0
0 lrwxrwxrwx 1 root root 21 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstwebrtc-1.0.so -> libgstwebrtc-1.0.so.0
0 lrwxrwxrwx 1 root root 28 Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstwebrtc-1.0.so.0 -> libgstwebrtc-1.0.so.0.1701.0
192K -rwxr-xr-x 1 root root 192K Jun 26 2020 /usr/local/lib/x86_64-linux-gnu/libgstwebrtc-1.0.so.0.1701.0
答案1
根据电子邮件交流发现这里,这是由于 中的文件过时所致/usr/local/lib/x86_64-linux-gnu
。很少有软件包会将文件安装到 中/usr/local/lib
(这不是该文件夹的用途),但您可能曾经有理由将文件放在那里。
删除这些文件解决了 OP 的问题。但是,请谨慎操作:
查明您是否确实有一个安装文件的包
/usr/local/lib
:dpkg -S /usr/local/lib
这将生成该文件夹中包含文件的软件包列表,或者类似的消息dpkg-query: no path found matching pattern /usr/local/lib
。
如果找到任何包,请使用它
apt-cache rdepends [package name]
来查明是否有任何重要的东西依赖于它们。否则,
sudo apt remove
他们。这可能已经解决了问题。如果不是,请将文件夹重命名
x86_64-linux-gnu
为其他名称。现在libgst
将找不到有问题的 * 文件(而是使用正确的文件),并且gnome-control-center
可以正常启动。
万一最后一步导致桌面出现故障,仍然可以通过撤消重命名操作来恢复情况,可以在文本终端(使用Ctrl+ Alt+ F3-F6)中,或者,如果失败,则在救援模式下。