ersilia-os / ersilia

The Ersilia Model Hub, a repository of AI/ML models for infectious and neglected disease research.
https://ersilia.io
GNU General Public License v3.0
203 stars 131 forks source link

🐛 Bug: getting error while running "sudo apt install build-essential" on ubuntu on windows #407

Closed PranjuP closed 1 year ago

PranjuP commented 1 year ago

Describe the bug.

getting error while running "sudo apt install build-essential" on ubuntu on windows, it is failing with error code 404 with the following error statement "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_5.4.0-100.113_amd64.deb 404 Not Found [IP: 91.189.91.38 80]" Here is a snap of the error window: bug

Describe the steps to reproduce the behavior

  1. to run "sudo apt install build-essential" on ubuntu on windows

Expected behavior.

it should install successfully

Screenshots.

image

Operating environment

Microsoft Windows 10 Home Single Language(Version   -10.0.19042 Build 19042

)

Additional context

No response

Zainab-ik commented 1 year ago

I presume you are trying to download the GCC Compiler which gave you an error, make sure to enable WSL in your PowerShell to be sure you are running it in the correct terminal. However, I believe you can proceed with other steps.

Malikbadmus commented 1 year ago

Hello @PranjuP, @Zheeburg suggested a solution to your issue, so basically check that your system clock is in sync with your host environment. you can find more about this here.

https://github.com/ersilia-os/ersilia/issues/359#issuecomment-1286572578

GemmaTuron commented 1 year ago

Hi @PranjuP, I'm sorry this is related to installing ubuntu, not to Ersilia's specific installation so I can't provide much support. Please check the suggestions above and see if you can get over it.