安装脚本报错:/etc/apt/sources.list.d/gitlab-jh.list: No such file or directory
Summary
ucloud 客户反馈安装 gitlab-jh 报错
客户链接: https://jihulab.com/jh-presales/north/-/issues/601
Steps to reproduce
- new ubuntu 22.04 server
-
rm -rf /etc/apt/sources.list.d/
,不知是云厂商精简了系统 还是 用户自己删除的 curl -L get.gitlab.cn | bash
What is the current bug behavior?
error:
tee: /etc/apt/sources.list.d/gitlab-jh.list: No such file or directory
What is the expected correct behavior?
mkdir -p /etc/apt/sources.list.d/
Relevant logs and/or screenshots
由 Qian Zhang (Gary) 编辑于