Skip to content

安装xlings失败 - chown: invalid user: ‘nil’ #25

@AaronSong321

Description

@AaronSong321
oot@0bf4d85e44eb:~/pg# curl -fsSL https://d2learn.org/xlings-install.sh | bash
 
 __   __  _      _                     
 \ \ / / | |    (_)    pre-v0.0.4
  \ V /  | |     _  _ __    __ _  ___ 
   > <   | |    | || '_ \  / _  |/ __|
  / . \  | |____| || | | || (_| |\__ \
 /_/ \_\ |______|_||_| |_| \__, ||___/
                            __/ |     
                           |___/      

repo:  https://github.com/d2learn/xlings
forum: https://forum.d2learn.org

---
Testing network...
Latency for github.com : 83.413 ms
Latency for gitee.com : 39.497 ms
Downloading xlings...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  119k    0  119k    0     0   141k      0 --:--:-- --:--:-- --:--:--  141k
Extracting files...
Running install.unix.sh...
[xlings]: start detect environment and try to auto config...
[xlings]: start install xmake...
[xlings]: remove /home/xlings/.xlings - ok
[xlings]: xlings uninstalled - ok
[xlings]: create xlings home dir /home/xlings
chown: invalid user: ‘nil’
error: exec(/usr/bin/sudo env PATH="/opt/buildtools/lcov-1.16/bin:/opt/buildtools/python3.11.4/bin:/root/.cursor-server/bin/5c17eb2968a37f66bc6662f48d6356a100b67be0/bin/remote-cli:/root/.cursor-server/bin/5c17eb2968a37f66bc6662f48d6356a100b67be0/bin/remote-cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" XMAKE_STATS= COLORTERM="truecolor" chown nil /home/xlings) failed(1)
tools/install.unix.sh: line 65: xlings: command not found
[xlings]: xlings installed

            run [ xlings help ] get more information
         after restart  cmd/shell  to refresh environment

Cleaning up...
Removing /root/pg/.xlings_software_install(tmpfiles)...
Installation completed!
root@0bf4d85e44eb:~/pg# xlings install d2x:mcpp-standard
bash: xlings: command not found
root@0bf4d85e44eb:~/pg# ls /home/xlings/
root@0bf4d85e44eb:~/pg# 

如题,安装xlings失败,环境 docker 下
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions