ArchLinux升级时签名错误的处理方法

长期不升级的系统,再次升级时比较容易遇到。 https://www.cnblogs.com/codeaaa/p/6844331.html 1、一般可以这样升级 sudo pacman -Syu 或 sudo yaourt -Syu 2、升级时经常遇到报错,类似: error: php53: signature from “lilac (build machine) <lilac@build.archlinuxcn.org>” is unknown trust 3、如果升级遇到报错,大部分都是签名错误的问题。长时间不更新就可能遇到这个问题。 解决的办法是重新生成签名。 sudo pacman-key –init sudo pacman-key –populate archlinux sudo pacman-key –refresh-keys 4、 sudo pacman-key –refresh-keys 在执行以上语句的时候,可能会遇到各种问题。这时需要确认两点。 一是,如果是虚拟机安装的系统,需要修改为桥接模式。 二是,如果报not changed 可能需要执行: cd /etc/pacman“.d/sudo rm -R  gnupg/ # 删除gnupg目录及其文件

ArchLinux: libpangox-1.0.so.0 => not found

https://blog.csdn.net/FiveCu5/article/details/107572967 https://jlk.fjfi.cvut.cz/arch/repo/README.html To enable the repository in pacman.conf: [jlk] Server = https://jlk.fjfi.cvut.cz/arch/repo Packages in the repository are signed with a subkey of my PGP key. The fingerprint of the signing key is 932BA3FA0C86812A32D1F54DAB5964AEB9FEDDDC. See the pacman/Package signing page for details. The package listing is available at /arch/repo/. There are modified packages from the official repositories as …

getenforce 报错-bash:getenforce:command not found

getenforce是查看selinux状态的指令 # rpm -qf `which getenforce` libselinux-utils-2.0.94-5.3.el6.x86_64 //getenforce这个命令是由libselinux-utils-2.0.94-5.3.el6.x86_64这个软件包提供的 你确认一下系统是否安装了selinux 追问 我输入# rpm -qa selinux 后没有反应是不是意味着没有安装 追答 # rpm -qa|grep selinux libselinux-utils-2.0.94-5.2.el6.x86_64 selinux-policy-3.7.19-54.el6.noarch selinux-policy-targeted-3.7.19-54.el6.noarch libselinux-python-2.0.94-5.2.el6.x86_64 libselinux-devel-2.0.94-5.2.el6.x86_64 libselinux-2.0.94-5.2.el6.x86_64 这是有安装的反应。没反应说明没安装。

解决- CAN’T EXEC “LOCALE”- NO SUCH FILE OR DIRECTORY AT -USR-SHARE-PERL5-DEBCONF-ENCODING.PM

问题: apt-get时出现问题: Can’t exec “locale”: No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16. Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17. dpkg: warning: ‘ldconfig’ not found in PATH or not executable dpkg: error: 1 expected program not found in PATH or not executable Note: root’s …

Fix AppStream cache update completed, but some metadata was ignored due to errors

The bug has been fixed in appstream package version 0.10.1, but the version that gets installed in Ubuntu 16.04 is 0.9.4 by default. Ubuntu 16.10 automatically receives the update as it’s provided in its standard repositories.   The updated package version with the bugfix for Ubuntu 16.04 however is only …