我正在嘗試使用 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