Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

EXIT CODE 127 ./run.sh

未关闭
#1,715 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
30/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
haskell, shell, ubuntu

调研方向

先阅读 install.sh 中的软件包安装步骤以及 run.sh 和 base.sh 中的命令流程,然后在 Ubuntu 上复现 libncurses5 和 codeworld-server 的失败。安装完成且 run.sh 启动服务器时不返回退出代码 127,即表示完成。

由索引模型根据 Issue 内容生成。

描述

david@david-550XED:~/codeworld$ ./install.sh
Detected apt-get: Installing packages from there.

===== RUNNING: sudo apt-get update -y
Warning: The unit file, source configuration file or drop-ins of apt-news.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Warning: The unit file, source configuration file or drop-ins of esm-cache.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Hit:1 http://br.archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://br.archive.ubuntu.com/ubuntu noble-updates InRelease         
Hit:3 http://br.archive.ubuntu.com/ubuntu noble-backports InRelease       
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease             
Hit:5 http://security.ubuntu.com/ubuntu noble-security InRelease
Reading package lists... Done
===== RUNNING: sudo apt-get install -y pkg-config
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done        
The following additional packages will be installed:
  libpkgconf3 pkgconf pkgconf-bin
The following NEW packages will be installed:
  libpkgconf3 pkg-config pkgconf pkgconf-bin
0 upgraded, 4 newly installed, 0 to remove, and 246 not upgraded.
Need to get 75.4 kB of archives.
After this operation, 283 kB of additional disk space will be used.
Get:1 http://br.archive.ubuntu.com/ubuntu noble/main amd64 libpkgconf3 amd64 1.8.1-2build1 [30.7 kB]
Get:2 http://br.archive.ubuntu.com/ubuntu noble/main amd64 pkgconf-bin amd64 1.8.1-2build1 [20.7 kB]
Get:3 http://br.archive.ubuntu.com/ubuntu noble/main amd64 pkgconf amd64 1.8.1-2build1 [16.8 kB]
Get:4 http://br.archive.ubuntu.com/ubuntu noble/main amd64 pkg-config amd64 1.8.1-2build1 [7,264 B]
Fetched 75.4 kB in 0s (372 kB/s)      
Selecting previously unselected package libpkgconf3:amd64.
(Reading database ... 182558 files and directories currently installed.)
Preparing to unpack .../libpkgconf3_1.8.1-2build1_amd64.deb ...
Unpacking libpkgconf3:amd64 (1.8.1-2build1) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../pkgconf-bin_1.8.1-2build1_amd64.deb ...
Unpacking pkgconf-bin (1.8.1-2build1) ...
Selecting previously unselected package pkgconf:amd64.
Preparing to unpack .../pkgconf_1.8.1-2build1_amd64.deb ...
Unpacking pkgconf:amd64 (1.8.1-2build1) ...
Selecting previously unselected package pkg-config:amd64.
Preparing to unpack .../pkg-config_1.8.1-2build1_amd64.deb ...
Unpacking pkg-config:amd64 (1.8.1-2build1) ...
Setting up libpkgconf3:amd64 (1.8.1-2build1) ...
Setting up pkgconf-bin (1.8.1-2build1) ...
Setting up pkgconf:amd64 (1.8.1-2build1) ...
Setting up pkg-config:amd64 (1.8.1-2build1) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
===== RUNNING: sudo apt-get install -y git
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done        
git is already the newest version (1:2.43.0-1ubuntu7.1).
0 upgraded, 0 newly installed, 0 to remove, and 246 not upgraded.
===== RUNNING: sudo apt-get install -y curl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done        
curl is already the newest version (8.5.0-2ubuntu10.5).
0 upgraded, 0 newly installed, 0 to remove, and 246 not upgraded.
===== RUNNING: sudo apt-get install -y wget
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done        
wget is already the newest version (1.21.4-1ubuntu4.1).
wget manually set to install.
0 upgraded, 0 newly installed, 0 to remove, and 246 not upgraded.
===== RUNNING: sudo apt-get install -y bzip2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done        
bzip2 is already the newest version (1.0.8-5.1build0.1).
bzip2 manually set to install.
0 upgraded, 0 newly installed, 0 to remove, and 246 not upgraded.
===== RUNNING: sudo apt-get install -y xz-utils
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done        
xz-utils is already the newest version (5.6.1+really5.4.5-1build0.1).
xz-utils manually set to install.
0 upgraded, 0 newly installed, 0 to remove, and 246 not upgraded.
===== RUNNING: sudo apt-get install -y psmisc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done        
psmisc is already the newest version (23.7-1build1).
psmisc manually set to install.
0 upgraded, 0 newly installed, 0 to remove, and 246 not upgraded.
===== RUNNING: sudo apt-get install -y zlib1g-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done        
zlib1g-dev is already the newest version (1:1.3.dfsg-3.1ubuntu2.1).
0 upgraded, 0 newly installed, 0 to remove, and 246 not upgraded.
===== RUNNING: sudo apt-get install -y libncurses5 libncurses5-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done        
Note, selecting 'libncurses-dev' instead of 'libncurses5-dev'
E: Unable to locate package libncurses5
david@david-550XED:~/codeworld$ ./run.sh
===== RUNNING: rm -rf data/*/build
find: ‘data/base’: File or directory not found
===== RUNNING: codeworld-server -p 8080 --no-access-log
./run.sh: line 32: codeworld-game-server: command not found
base.sh: line 83: codeworld-server: command not found

========== Aborting: Command failed. ==========
DIRECTORY: .
COMMAND  : codeworld-server -p 8080 --no-access-log
EXIT CODE: 127
===============================================
主要语言
Haskell
星标
1.3k
派生
201
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

google/codeworld 的其他 Issue

查看 google/codeworld 的全部 Issue

相似的 Issue

更多 Haskell Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。