Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] zip is not installed on server #953

Closed
jemin-hwang opened this issue Jun 6, 2024 · 2 comments
Closed

[Question] zip is not installed on server #953

jemin-hwang opened this issue Jun 6, 2024 · 2 comments
Assignees
Labels
question Further information is requested tech-support various issues related to servers, tools, etc

Comments

@jemin-hwang
Copy link

jemin-hwang commented Jun 6, 2024

I am currently working on our server.
When I run ./scripts/submit.sh, I get the following error message:

./scripts/submit.sh: line 4: zip: command not found
./scripts/submit.sh: line 5: zip: command not found
./scripts/submit.sh: line 6: zip: command not found
./scripts/submit.sh: line 7: zip: command not found

I remember I got the same error message before, and I resolved it by manually installing zip by sudo apt-get install zip.
But it seems that it does not work for this time:

ubuntu@CS431:~/cs431/homework$ sudo apt-get install zip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  unzip
The following NEW packages will be installed:
  unzip zip
0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
Need to get 350 kB of archives.
After this operation, 933 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Ign:1 http://archive.ubuntu.com/ubuntu noble/main amd64 unzip amd64 6.0-28ubuntu4
Ign:2 http://archive.ubuntu.com/ubuntu noble/main amd64 zip amd64 3.0-13build1
Ign:1 http://archive.ubuntu.com/ubuntu noble/main amd64 unzip amd64 6.0-28ubuntu4
Ign:2 http://archive.ubuntu.com/ubuntu noble/main amd64 zip amd64 3.0-13build1
Ign:1 http://archive.ubuntu.com/ubuntu noble/main amd64 unzip amd64 6.0-28ubuntu4
Ign:2 http://archive.ubuntu.com/ubuntu noble/main amd64 zip amd64 3.0-13build1
Err:1 http://archive.ubuntu.com/ubuntu noble/main amd64 unzip amd64 6.0-28ubuntu4
  Could not connect to 10.22.0.2:3142 (10.22.0.2). - connect (111: Connection refused)
Err:2 http://archive.ubuntu.com/ubuntu noble/main amd64 zip amd64 3.0-13build1
  Unable to connect to 10.22.0.2:3142:
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/unzip/unzip_6.0-28ubuntu4_amd64.deb  Could not connect to 10.22.0.2:3142 (10.22.0.2). - connect (111: Connection refused)
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/z/zip/zip_3.0-13build1_amd64.deb  Unable to connect to 10.22.0.2:3142:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
@jemin-hwang jemin-hwang added the question Further information is requested label Jun 6, 2024
@kingdoctor123
Copy link
Member

kingdoctor123 commented Jun 6, 2024

Sorry for the inconvenience. Can you create another workspace and try it again? I guess it will now work.

@kingdoctor123 kingdoctor123 added the tech-support various issues related to servers, tools, etc label Jun 6, 2024
@jemin-hwang
Copy link
Author

zip: command not found still occurred for a new workspace, but sudo apt-get install zip worked for this new workspace!
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested tech-support various issues related to servers, tools, etc
Projects
None yet
Development

No branches or pull requests

3 participants