当我对我创建的文件运行"emacs Makefile"时,文件会打开,但我在终端中得到以下内容:
/usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so:未定义符号:g_date_time_format_iso8601未能加载模块:/usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.soFontconfig警告:"/etc/fonts/fonts.conf";,第5行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/fonts.conf";,第6行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/fonts.conf";,第6行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/fonts.conf";,第6行:无效属性'选择器'Fontconfig错误:"/etc/fonts/fonts.conf";,第7行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/fonts.conf";,第7行:无效属性'版本'Fontconfig警告:"/etc/fonts/fonts.conf";,第9行:未知元素";描述";Fontconfig警告:"/etc/fonts/conf.d/10 hinting little.conf";,第4行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/10 hinting little.conf";,第5行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/10 hinting little.conf";,第5行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/10 hinting little.conf";,第5行:无效属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/10 hinting little.conf";,第6行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/10 hinting little.conf";,第6行:无效属性'版本'Fontconfig警告:"/etc/fonts/conf.d/10 hinting little.conf";,第8行:未知元素";描述";Fontconfig警告:"/etc/fonts/conf.d/10-scale bitmap fonts.conf";,第4行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/10-scale bitmap fonts.conf";,第5行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/10-scale bitmap fonts.conf";,第5行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/10-scale bitmap fonts.conf";,第5行:无效属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/10-scale bitmap fonts.conf";,第6行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/10-scale bitmap fonts.conf";,第6行:无效属性'版本'Fontconfig警告:"/etc/fonts/conf.d/10-scale bitmap fonts.conf";,第8行:未知元素";描述";Fontconfig警告:"/etc/fonts/conf.d/11 lcdfilter-default.conf";,第4行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/11 lcdfilter-default.conf";,第5行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/11 lcdfilter-default.conf";,第5行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/11 lcdfilter-default.conf";,第5行:无效属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/11 lcdfilter-default.conf";,第6行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/11 lcdfilter-default.conf";,第6行:无效属性'版本'Fontconfig警告:"/etc/fonts/conf.d/11 lcdfilter-default.conf";,第8行:未知元素";描述";Fontconfig警告:"/etc/fonts/conf.d/20 unint small vera.conf";,第4行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/20 unint small vera.conf";,第5行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/20 unint small vera.conf";,第5行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/20 unint small vera.conf";,第5行:无效属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/20 unint small vera.conf";,第6行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/20 unint small vera.conf";,第6行:无效属性'版本'Fontconfig警告:"/etc/fonts/conf.d/20 unint small vera.conf";,第8行:未知元素";描述";Fontconfig警告:"/etc/fonts/conf.d/30 metric aliases.conf";,第4行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/30 metric aliases.conf";,第5行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/30 metric aliases.conf";,第5行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/30 metric aliases.conf";,第5行:无效属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/30 metric aliases.conf";,第6行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/30 metric aliases.conf";,第6行:无效属性'版本'Fontconfig警告:"/etc/fonts/conf.d/30 metric aliases.conf";,第8行:未知元素";描述";Fontconfig警告:"/etc/fonts/conf.d/40 nonlatin.conf";,第4行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/40 nonlatin.conf";,第5行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/40 nonlatin.conf";,第5行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/40 nonlatin.conf";,第5行:无效属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/40 nonlatin.conf";,第6行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/40 nonlatin.conf";,第6行:无效属性'版本'Fontconfig警告:"/etc/fonts/conf.d/40 nonlatin.conf";,第8行:未知元素";描述";Fontconfig警告:"/etc/fonts/conf.d/45 generic.conf";,第4行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/45 generic.conf";,第5行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/45 generic.conf";,第5行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/45 generic.conf";,第5行:无效属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/45 generic.conf";,第6行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/45 generic.conf";,第6行:无效属性'版本'Fontconfig警告:"/etc/fonts/conf.d/45 generic.conf";,第8行:未知元素";描述";Fontconfig警告:"/etc/fonts/conf.d/45 latin-conf";,第4行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/45 latin-conf";,第5行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/45 latin-conf";,第5行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/45 latin-conf";,第5行:无效属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/45 latin-conf";,第6行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/45 latin-conf";,第6行:无效属性'版本'Fontconfig警告:"/etc/fonts/conf.d/45 latin-conf";,第8行:未知元素";描述";Fontconfig警告:"/etc/fonts/conf.d/49 sansserif.conf";,第4行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/49 sansserif.conf";,第5行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/49 sansserif.conf";,第5行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/49 sansserif.conf";,第5行:无效属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/49 sansserif.conf";,第6行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/49 sansserif.conf";,第6行:无效属性'版本'Fontconfig警告:"/etc/fonts/conf.d/49 sansserif.conf";,第8行:未知元素";描述";Fontconfig警告:"/etc/fonts/conf.d/50 user.conf";,第4行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/50 user.conf";,第5行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/50 user.conf";,第5行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/50 user.conf";,第5行:无效属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/50 user.conf";,第6行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/50 user.conf";,第6行:无效属性'版本'Fontconfig警告:"/etc/fonts/conf.d/50 user.conf";,第8行:未知元素";描述";Fontconfig警告:"/home/dilan-sheth/.config/fontconfig/fonts.conf";,第5行:未知元素";its:规则;Fontconfig警告:"/home/dilan-sheth/.config/fontconfig/fonts.conf";,第6行:未知元素";its:translateRule";Fontconfig错误:"/home/dilan-sheth/.config/fontconfig/fonts.conf";,第6行:无效属性'翻译apos;Fontconfig错误:"/home/dilan-sheth/.config/fontconfig/fonts.conf";,第6行:无效属性'选择器'Fontconfig错误:"/home/dilan-sheth/.config/fontconfig/fonts.conf";,第7行:无效属性'xmlns:its/apos;Fontconfig错误:"/home/dilan-sheth/.config/fontconfig/fonts.conf";,第7行:无效属性'版本'Fontconfig警告:"/home/dilan-sheth/.config/fontconfig/fonts.conf";,第9行:未知元素";描述";Fontconfig警告:"/etc/fonts/conf.d/51-local.conf";,第4行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/51-local.conf";,第5行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/51-local.conf";,第5行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/51-local.conf";,第5行:无效属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/51-local.conf";,第6行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/51-local.conf";,第6行:无效属性'版本'Fontconfig警告:"/etc/fonts/conf.d/51-local.conf";,第8行:未知元素";描述";Fontconfig警告:"/etc/fonts/conf.d/60 generic.conf";,第4行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/60 generic.conf";,第5行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/60 generic.conf";,第5行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/60 generic.conf";,第5行:无效属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/60 generic.conf";,第6行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/60 generic.conf";,第6行:无效属性'版本'Fontconfig警告:"/etc/fonts/conf.d/60 generic.conf";,第8行:未知元素";描述";Fontconfig警告:"/etc/fonts/conf.d/60 latin-conf";,第4行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/60 latin-conf";,第5行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/60 latin-conf";,第5行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/60 latin-conf";,第5行:无效属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/60 latin-conf";,第6行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/60 latin-conf";,第6行:无效属性'版本'Fontconfig警告:"/etc/fonts/conf.d/60 latin-conf";,第8行:未知元素";描述";Fontconfig警告:"/etc/fonts/conf.d/65-fonts-persian.conf";,第34行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/65-fonts-persian.conf";,第35行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/65-fonts-persian.conf";,第35行:无效的属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/65-fonts-persian.conf";,第35行:无效的属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/65-fonts-persian.conf";,第36行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/65-fonts-persian.conf";,第36行:无效属性'版本'Fontconfig警告:"/etc/fonts/conf.d/65nonlatin.conf";,第4行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/65nonlatin.conf";,第5行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/65nonlatin.conf";,第5行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/65nonlatin.conf";,第5行:无效属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/65nonlatin.conf";,第6行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/65nonlatin.conf";,第6行:无效属性'版本'Fontconfig警告:"/etc/fonts/conf.d/65nonlatin.conf";,第8行:未知元素";描述";Fontconfig警告:"/etc/fonts/conf.d/69unifont.conf";,第4行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/69unifont.conf";,第5行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/69unifont.conf";,第5行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/69unifont.conf";,第5行:无效属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/69unifont.conf";,第6行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/69unifont.conf";,第6行:无效属性'版本'Fontconfig警告:"/etc/fonts/conf.d/70 no bitmaps.conf";,第4行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/70 no bitmaps.conf";,第5行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/70 no bitmaps.conf";,第5行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/70 no bitmaps.conf";,第5行:无效属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/70 no bitmaps.conf";,第6行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/70 no bitmaps.conf";,第6行:无效属性'版本'Fontconfig警告:"/etc/fonts/conf.d/70 no bitmaps.conf";,第8行:未知元素";描述";Fontconfig警告:"/etc/fonts/conf.d/80美味conf";,第4行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/80美味conf";,第5行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/80美味conf";,第5行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/80美味conf";,第5行:无效属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/80美味conf";,第6行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/80美味conf";,第6行:无效属性'版本'Fontconfig警告:"/etc/fonts/conf.d/90-synthetic.conf";,第4行:未知元素";its:规则;Fontconfig警告:"/etc/fonts/conf.d/90-synthetic.conf";,第5行:未知元素";its:translateRule";Fontconfig错误:"/etc/fonts/conf.d/90-synthetic.conf";,第5行:无效属性'翻译apos;Fontconfig错误:"/etc/fonts/conf.d/90-synthetic.conf";,第5行:无效属性'选择器'Fontconfig错误:"/etc/fonts/conf.d/90-synthetic.conf";,第6行:无效属性'xmlns:its/apos;Fontconfig错误:"/etc/fonts/conf.d/90-synthetic.conf";,第6行:无效属性'版本'Fontconfig错误:无法从/etc/fonts/fonts.conf加载配置文件
我是Ubuntu 20.04的新手(我认为这是版本),所以一个循序渐进的解决方案会很有帮助!
谢谢
仅供参考,您可以通过删除未使用的、有问题的行来消除警告:
sed -i '/<description/d; /its:/d' /etc/fonts/fonts.conf /etc/fonts/conf.d/*conf
我通过转到;Ubuntu软件;应用程序并删除被列为";已安装";。然后我跑了好老的";sudo apt-get-install-emacs";。这安装了26.3而不是27.1;"啪"的一声;已经做到了,但至少它没有喷出大量的错误和警告。
通过从软件集线器卸载emacs并通过终端重新安装,以某种方式修复了它