我对这个问题非常困惑。在从20.10升级到21.04后,gimp已经停止工作。我试过移除、清除、重新安装它,而我尝试的每一件事似乎都不起作用。我没有从ppa安装的任何软件包,应该会影响它,afaik。
下面是从我的系统上的ppas安装的软件包:
apt-cache policy $(dpkg --get-selections | grep -v deinstall$ | awk '{ print $1 }') | perl -e '@a = <>; $a=join("", @a); $a =~ s/\n(\S)/\n\n$1/g; @packages = split("\n\n", $a); foreach $p (@packages) {print "$1: $2\n" if $p =~ /^(.*?):.*?500 http:\/\/ppa\.launchpad\.net\/(.*?)\s/s}'
oracle-java16-installer: linuxuprising/java/ubuntu
oracle-java16-set-default: linuxuprising/java/ubuntu
ulauncher: agornostal/ulauncher/ubuntu如果我要从我的系统中清除gimp并删除它的所有依赖项,这就是它所报告的:
sudo apt purge gimp
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
gimp-data graphviz libamd2 libann0 libcamd2 libccolamd2 libcdt5 libcgraph6
libcholmod3 libgegl-0.4-0 libgegl-common libgimp2.0 libgts-0.7-5 libgts-bin
libgvc6 libgvpr2 liblab-gamut1 libmetis5 libpathplan4 libraw20 libumfpack5
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
gimp*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 20.6 MB disk space will be freed.
Do you want to continue? [Y/n] 即使是跟踪一个sudo apt autoremove --purge,然后重新安装gimp也不起作用。它仍然会产生gimp: symbol lookup error: gimp: undefined symbol: gegl_buffer_share_storage错误。
不知道还能尝试什么。
这里还编辑了which gimp; apt-cache policy gimp libgegl-0.4-0; ldd $(which gimp) | grep local的输出,N0rbert要求这样做:
/usr/bin/gimp
gimp:
Installed: 2.10.22-3
Candidate: 2.10.22-3
Version table:
*** 2.10.22-3 500
500 http://us.archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages
100 /var/lib/dpkg/status
libgegl-0.4-0:
Installed: 1:0.4.28-3
Candidate: 1:0.4.28-3
Version table:
*** 1:0.4.28-3 500
500 http://us.archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages
100 /var/lib/dpkg/status
libgegl-0.4.so.0 => /usr/local/lib/x86_64-linux-gnu/libgegl-0.4.so.0 (0x00007fe782b20000)
libgegl-npd-0.4.so => /usr/local/lib/x86_64-linux-gnu/libgegl-npd-0.4.so (0x00007fe782b16000)
libbabl-0.1.so.0 => /usr/local/lib/x86_64-linux-gnu/libbabl-0.1.so.0 (0x00007fe7829f5000)发布于 2021-05-14 19:27:01
因此,您有本地安装的库,GIMP使用。
删除库文件
sudo rm -v /usr/local/lib/x86_64-linux-gnu/libgegl-0.4.so.0
sudo rm -v /usr/local/lib/x86_64-linux-gnu/libgegl-npd-0.4.so
sudo rm -v /usr/local/lib/x86_64-linux-gnu/libbabl-0.1.so.0然后重新启动GIMP。
https://askubuntu.com/questions/1338286
复制相似问题