EXIT CODE 127 ./run.sh
- Lingua principale
- Haskell
- Stelle
- 1.3k
- Fork
- 201
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
```bash
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
===============================================
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia leggendo i passaggi per l'installazione dei pacchetti in install.sh e il flusso dei comandi in run.sh e base.sh, quindi riproduci su Ubuntu i fallimenti di libncurses5 e codeworld-server. Il lavoro è completato quando l'installazione termina e run.sh avvia il server senza il codice di uscita 127.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- haskell, shell, ubuntu
- Ambito
- build-system, devops
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100