我对snap商店和Ubuntu20.04上的snap软件包有问题。当我试图安装VLC媒体播放器时,我的问题就开始了,我在下面的问题中详细介绍了这个问题:链接到邮政
我试图删除和重新安装store与snap和。在我这样做后,我的快照存储有点坏了,不能显示任何字符。见下面的截图:

当我试图在终端中打开它时,我会在终端中收到以下错误消息:
bobi@bobi:~$ snap-store
19:15:19:0438 Gs enabled plugins: odrs, rewrite-resource, snap, icons, key-colors, key-colors-metadata
19:15:19:0438 Gs disabled plugins: appstream, desktop-categories, desktop-menu-path, dpkg, dummy, epiphany, fedora-pkgdb-collections, generic-updates, hardcoded-blacklist, hardcoded-featured, hardcoded-popular, modalias, os-release, provenance, provenance-license, repos, shell-extensions
19:15:19:0597 Gs failed to create an app for */*/*/*/system/*
19:15:19:0602 Gs updates-shell: failed to get updates: no plugin could handle get-updates
19:15:19:0602 Gs failed to create an app for */*/*/*/system/*
19:15:19:0602 Gs failed to get system app
19:15:19:0602 Gs Only 0 apps for recent list, hiding
19:15:19:0740 Gs hiding category audio-video featured applications: found only 0 to show, need at least 9
19:15:19:0740 Gs hiding category graphics featured applications: found only 0 to show, need at least 9
19:15:20:0309 GsPluginSnap Failed to load snap icon: local snap has no icon
19:15:20:0608 GsPluginSnap Failed to load snap icon: local snap has no icon此外,当我在终端中安装GIMP的snap版本时,它也无法在启动期间加载任何字符,一旦加载就会崩溃。请参见此处的加载屏幕故障:

这里的错误信息是:
bobi@bobi:~$ gimp
/snap/gimp/273/usr/bin/gimp: Gimp-Widgets-FIGYELMEZTETÉS: parse_iso_codes: error parsing '/build/gimp/parts/gimp/install/usr/share/xml/iso-codes/iso_639.xml': No such file or directory
Fontconfig warning: FcPattern object width does not accept value [75 100)
/snap/gimp/273/usr/bin/gimp: Gimp-Text-KRITIKUS: gimp_font_factory_load_names: assertion 'fontset' failed
(gimp:7182): GdkPixbuf-CRITICAL **: 21:27:19.894: gdk_pixbuf_scale_simple: assertion 'dest_width > 0' failed
(gimp:7182): GdkPixbuf-CRITICAL **: 21:27:19.894: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:7182): GdkPixbuf-CRITICAL **: 21:27:19.894: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:7182): GdkPixbuf-CRITICAL **: 21:27:19.894: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:7182): GdkPixbuf-CRITICAL **: 21:27:19.894: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:7182): GdkPixbuf-CRITICAL **: 21:27:19.894: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:7182): GdkPixbuf-CRITICAL **: 21:27:19.894: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:7182): GdkPixbuf-CRITICAL **: 21:27:19.894: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(gimp:7182): GLib-ERROR **: 21:27:19.894: ../../../../glib/gmem.c:333: overflow allocating 18446744073709551615*18446744073709551615 bytes
(script-fu:7285): LibGimpBase-WARNING **: 21:27:19.970: script-fu: gimp_wire_read(): error
Nyomkövetési/töréspont csapda (core készült)该怎么办呢?Flathub和“旧”deb版本的Gimp和Vlc工作良好。我想我现在需要坚持这些。
发布于 2020-05-27 06:12:22
贝内回答了问题!谢谢!
在这个帖子!中,下面的解决方案几乎对我起作用
但是,上面帖子中的第二个命令给了我一个错误消息。我对它们做了一些修改,因此下面的解决方案对我有效,并在系统重新启动后继续工作:
sudo find /usr/share/fonts -type f -exec sudo chmod 644 {} \;
sudo fc-cache -r -vhttps://askubuntu.com/questions/1243967
复制相似问题