LZ installing archlinux with virtualbox. Archwiki installing
according to the official document to execute (before executing the command, it is better to go to /etc/pacman.d/mirrorlist to change a faster source to copy the following Server template, change the middle http://mirrors.163.com/ after the same as the template)
pacstrap -i /mnt base base-devel
will throw an error
after executing this command
Errors occured, no packages were upgraded.
⇒ ERROR: Failed to install packages to new root.
after all kinds of methods can not be solved (all are all kinds of post bar big hand reply, today suddenly noticed is someone answered the correct method, there is a solution in pacman, did not see.) The second page to find a solution, of course, this method may not be universal, but also post bar reply method only for I did not
the solution is as follows, execute the command
pacman-key --refresh-keys
官方文档如下(不愧是archwiki) p>
注意:archlinux-keyring包是pacman的一个依赖项,它包含最新的密钥。但是,也可以使用pac -key -refresh-keys(作为根用户)手动更新密钥。在执行-refresh-keys时,您的本地密钥也将在远程keyserver上查找,并且您将收到一条关于未找到该密钥的消息。这没什么可担心的
引用>好的,问题解决。重新执行 p>
pacstrap -i /mnt base base-devel
div>
Read More:
- R language packages installation failed: Error in install.packages: error reading from connection
- Error handling of apt instruction e: unmet dependencies. Try ‘apt — fix broken install’ with no packages in Ubuntu 20.04
- Could not install packages due to anenvironment error: [winerror 5] access denied
- Error: could not install packages due to an environmenterror: [winerror 5] access denied.
- ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied
- Failed to execute stage ‘setup validation’: cannot locate gluster packages
- lerna WARN No packages found where npmlog can be added.
- After unity connects with androidstudio, unity packages APK with an error: commandinvocationfailure: failed to re package resources
- Centos7 Yum error downloading packages:
- Summary of Python deep learning packages
- yum error in PREUN scriptlet when removing packages
- Springboot starts, closes, and restarts scripts as jar packages
- The common module of idea Maven parent-child project packages and reports an error
- NPM installs dependent packages and reports an error node gyp rebuild… Solution
- Pyinstaller packages the EXE file and executes the error unknown encoding: IDNA
- Cannot remove entries from nonexistent file /usr/local/bin/anaconda2/lib/python2.7/site-packages/eas
- CentOS uses Yum install to report errors
- Visual SVN server provider failed to perform the attempted operation 0x80041024 after win7 upgraded win10
- KeyError: ‘/home/xxx/anaconda3/lib/python3.8/site-packages/parso/python/grammar38.txt‘