Linux问题汇总

​1. sudo apt-get update 报以下错误(Ubuntu18.04)

(appstreamcli:10947): GLib-ERROR **: 09:43:36.719: g_variant_new_parsed: 11-13:invalid GVariant format string
sh: 行 1: 10512 追踪与中断点陷阱(核心已转储) appstreamcli refresh-cache > /dev/null

Linux问题汇总_第1张图片

解决

apt-get install --reinstall libappstream4

参考:https://askubuntu.com/questions/1088606/glib-error-when-using-apt-get-update

  1. make时出现以下warning
make: warning:  Clock skew detected.  Your build may be incomplete.

解决

find ./ -type f |xargs touch

你可能感兴趣的:(linux,运维,服务器)