我正在尝试使用 yaourt 在 Arch linux 中安装 dotnet-cli,但有一个步骤无法验证 libcurl-openssl-1.0 软件包的真实性,因此我gpg --recv-keys 5CC908FDB71E12C2
按照评论在 Arch Linux 存储库中,该存储库有效,但之后 coreclr 没有构建,因为它无法复制文件,所以我手动尝试抛出一个错误,说我没有足够的空间量,我实际拥有的空间量只有大约 1%的索引节点已被使用。起初,当我尝试复制文件时,它说我没有授权访问权限,但无法再重现此错误。我看到他尝试复制 ( tmp/yaourt-tmp-rinaldi/aur-dotnet/src/coreclr-1.1.2/bin/Product/Linux.x64.Release/./crossgen
) 文件的路径中有一个点,这不是问题吗?我不应该对 yaourt 使用 sudo 吗?
CMake Error at src/tools/crossgen/cmake_install.cmake:36 (file):
file INSTALL cannot copy file
"/tmp/yaourt-tmp-rinaldi/aur-dotnet/src/coreclr-1.1.2/bin/obj/Linux.x64.Release/src/tools/crossgen/crossgen"
to
"/tmp/yaourt-tmp-rinaldi/aur-dotnet/src/coreclr-1.1.2/bin/Product/Linux.x64.Release/./crossgen".
Call Stack (most recent call first):
src/tools/cmake_install.cmake:37 (include)
src/cmake_install.cmake:53 (include)
cmake_install.cmake:44 (include)
make: *** [Makefile:118: install] Error 1
Failed to build coreclr components.
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build dotnet.
==> Restart building dotnet ? [y/N]
df -i 输出:
Filesystem Inodes IUsed IFree IUse% Mounted on
dev 752469 438 752031 1% /dev
run 753579 768 752811 1% /run
/dev/sda3 3662848 220787 3442061 7% /
tmpfs 753579 143 753436 1% /dev/shm
tmpfs 753579 13 753566 1% /sys/fs/cgroup
tmpfs 753579 52000 701579 7% /tmp
tmpfs 753579 18 753561 1% /run/user/120
tmpfs 753579 62 753517 1% /run/user/1000
/dev/sda2 57030444 542814 56487630 1% /mnt