sudo apt-get install libsqlite3-dev libmysqlclient-dev -y
Output:
After this operation, 10.5 MB of additional disk space will be used.
Err:1 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-0ubuntu2
Could not connect to in.archive.ubuntu.com:80 (2403:8940:ffff::f), connection timed out Could not connect to in.archive.ubuntu.com:80 (103.97.84.254), connection timed out
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/z/zlib/zlib1g-dev_1.2.11.dfsg-0ubuntu2_amd64.deb Could not connect to in.archive.ubuntu.com:80 (2403:8940:ffff::f), connection timed out Could not connect to in.archive.ubuntu.com:80 (103.97.84.254), connection timed out
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Does someone know to workaround this issue
It seems like apt could not connect to the right archive. Maybe there's an option, where you can change the server to download from.
Also you could try running
sudo apt updateorsudo apt install libsqlite3-dev libmysqlclient-de --fix-missingas suggested in the error message.Edit: I found out, that you can change the mirror by going to
software sources(Linux Mint, maybe this also works for you)