Skip to content
This repository was archived by the owner on Apr 2, 2026. It is now read-only.
This repository was archived by the owner on Apr 2, 2026. It is now read-only.

Getting an error when running on windows environment #11

Description

@martinkcc

#8 0.264 /opt/install.sh: line 2: $'\r': command not found
: invalid optiont/install.sh: line 3: set: -
#8 0.264 set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
#8 0.264 /opt/install.sh: line 4: $'\r': command not found
#8 0.265 /opt/install.sh: line 7: $'\r': command not found
#8 0.399 Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
#8 0.521 Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
#8 0.661 Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
#8 0.725 Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
#8 0.787 Get:5 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
#8 0.812 Get:6 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
#8 0.854 Get:7 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
#8 1.047 Get:8 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [3,513 kB]
#8 2.003 Get:9 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1,226 kB]
#8 2.090 Get:10 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1,792 kB]
#8 2.116 Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2,854 kB]
#8 2.145 Get:12 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2,554 kB]
#8 2.174 Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [3,652 kB]
#8 2.201 Get:14 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [45.2 kB]
#8 2.270 Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [53.3 kB]
#8 2.271 Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,517 kB]
#8 2.298 Get:17 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [81.4 kB]
#8 2.299 Get:18 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [33.8 kB]
#8 2.968 Fetched 35.9 MB in 3s (13.3 MB/s)
#8 2.968 Reading package lists...
#8 3.556 Reading package lists...
#8 4.111 Building dependency tree...
#8 4.243 Reading state information...
#8 4.248 E: Unable to locate package jq
#8 4.249 /opt/install.sh: line 9: $'\r': command not found
#8 4.249 /opt/install.sh: line 10: cd: $'/opt\r': No such file or directory
#8 4.249 /opt/install.sh: line 11: $'\r': command not found
#8 4.251 --2025-01-07 20:31:45-- https://github.com/pmd/pmd/releases/download/pmd_releases/7.7.0/pmd-dist-7.7.0-bin.zip%0D
#8 4.252 Resolving github.com (github.com)... 140.82.114.3
#8 4.328 Connecting to github.com (github.com)|140.82.114.3|:443... connected.
#8 4.406 HTTP request sent, awaiting response... 404 Not Found
#8 4.501 2025-01-07 20:31:45 ERROR 404: Not Found.
#8 4.501
: Invalid host name.
#8 4.521 /opt/install.sh: line 13: syntax error near unexpected token &&' ' #8 4.521 /opt/install.sh: line 13: && unzip pmd.zip
#8 ERROR: process "/bin/sh -c bash /opt/install.sh && rm -rf /var/lib/apt/lists/* && rm /opt/install.sh" did not complete successfully: exit code: 2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions