rEFInd引导系统启动提示找不到vmlinuz-linux
根据refind的配置文件,程序会根据Label,查找这个分区上的vmlinuz-linux文件。由于重新划分分区,定义的Label已经消失,并且没有重新设置,再开机时才会出现报错。使用Gparted给root分区加上需要的Label便可以正常启动系统。
根据refind的配置文件,程序会根据Label,查找这个分区上的vmlinuz-linux文件。由于重新划分分区,定义的Label已经消失,并且没有重新设置,再开机时才会出现报错。使用Gparted给root分区加上需要的Label便可以正常启动系统。
https://bbs.archlinux.org/viewtopic.php?id=221435 pacman -Sy archlinux-keyring && pacman -Syyu sudo pacman -S archlinux-keyring 升级旧系统时遇到一种报错的处理办法
长期不升级的系统,再次升级时比较容易遇到。 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目录及其文件
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是查看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 这是有安装的反应。没反应说明没安装。
问题: 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 …
1. aclocal: command not found sudo pacman -S automake autoconf 2. ./autogen.sh: line 25: intltoolize: command not found sudo pacman -S intltool 3. install from sources autogen.sh make sudo make install
一、使用pip出现: Traceback (most recent call last): File “/usr/bin/pip3”, line 9, in <module> from pip import main ImportError: cannot import name ‘main’ 二、解决方法:输入以下命令重新安装pip。 sudo python3 -m pip uninstall pip && sudo apt install python3-pip –reinstall
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 …
1、打开 vi /etc/sysconfig/network-scripts/ifcfg-eth0(每个机子都可能不一样,但格式会是“ifcfg-eth数字”),把ONBOOT=no,改为ONBOOT=yes 2、重启网络:service network restart