Here this result is of when i was installing pip in my system
i----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------i
xc@xc:~$ sudo apt install python3-pip Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: libexpat1-dev libjs-jquery libjs-sphinxdoc libjs-underscore libpython3-dev libpython3.9-dev python-pip-whl python3-dev python3-distutils python3-setuptools python3-wheel python3.9-dev zlib1g-dev Suggested packages: python-setuptools-doc The following NEW packages will be installed: libexpat1-dev libjs-jquery libjs-sphinxdoc libjs-underscore libpython3-dev libpython3.9-dev python-pip-whl python3-dev python3-distutils python3-pip python3-setuptools python3-wheel python3.9-dev zlib1g-dev 0 upgraded, 14 newly installed, 0 to remove and 2 not upgraded. Need to get 8,653 kB of archives. After this operation, 29.9 MB of additional disk space will be used. Do you want to continue? [Y/n] y WARNING: The following packages cannot be authenticated! libjs-jquery libjs-underscore libjs-sphinxdoc libpython3-dev python-pip-whl python3-distutils python3-dev python3-setuptools python3-wheel python3-pip Install these packages without verification? [y/N] y Err:1 impish-security/main amd64 libexpat1-dev amd64 2.4.1-2ubuntu0.3 404 Not Found [IP: 2620:2d:4000:1::19 80] Ign:2 impish/main amd64 libjs-jquery all 3.5.1+dfsg+~3.5.5-7 Err:3 impish-security/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu7.1 404 Not Found [IP: 2620:2d:4000:1::19 80] Ign:4 impish/main amd64 libjs-underscore all 1.9.1~dfsg-3 Ign:5 impish/main amd64 libjs-sphinxdoc all 3.5.4-2 Err:6 impish-security/main amd64 libpython3.9-dev amd64 3.9.7-2ubuntu0.1 404 Not Found [IP: 2620:2d:4000:1::19 80] Err:7 impish-security/main amd64 python3.9-dev amd64 3.9.7-2ubuntu0.1 404 Not Found [IP: 2620:2d:4000:1::19 80] Err:8 impish/main amd64 libpython3-dev amd64 3.9.4-1build1 404 Not Found [IP: 2620:2d:4000:1::16 80] Ign:9 impish/universe amd64 python-pip-whl all 20.3.4-4 Ign:10 impish/main amd64 python3-distutils all 3.9.7-1 Err:11 impish/main amd64 python3-dev amd64 3.9.4-1build1 404 Not Found [IP: 2620:2d:4000:1::16 80] Ign:12 impish/main amd64 python3-setuptools all 52.0.0-4 Get:13 impish/universe amd64 python3-wheel all 0.34.2-1 [23.8 kB] Ign:14 impish/universe amd64 python3-pip all 20.3.4-4 Err:2 impish/main amd64 libjs-jquery all 3.5.1+dfsg+~3.5.5-7 404 Not Found [IP: 2620:2d:4000:1::16 80] Err:4 impish/main amd64 libjs-underscore all 1.9.1~dfsg-3 404 Not Found [IP: 2620:2d:4000:1::16 80] Err:5 impish/main amd64 libjs-sphinxdoc all 3.5.4-2 404 Not Found [IP: 2620:2d:4000:1::16 80] Err:9 impish/universe amd64 python-pip-whl all 20.3.4-4 404 Not Found [IP: 2620:2d:4000:1::16 80] Err:10 impish/main amd64 python3-distutils all 3.9.7-1 404 Not Found [IP: 2620:2d:4000:1::16 80] Err:12 impish/main amd64 python3-setuptools all 52.0.0-4 404 Not Found [IP: 2620:2d:4000:1::16 80] Err:14 impish/universe amd64 python3-pip all 20.3.4-4 404 Not Found [IP: 2620:2d:4000:1::16 80] Fetched 23.8 kB in 3s (8,811 B/s) E: Failed to fetch 404 Not Found [IP: 2620:2d:4000:1::19 80] E: Failed to fetch 404 Not Found [IP: 2620:2d:4000:1::16 80] E: Failed to fetch 404 Not Found [IP: 2620:2d:4000:1::16 80] E: Failed to fetch 404 Not Found [IP: 2620:2d:4000:1::16 80] E: Failed to fetch 404 Not Found [IP: 2620:2d:4000:1::19 80] E: Failed to fetch 404 Not Found [IP: 2620:2d:4000:1::19 80] E: Failed to fetch 404 Not Found [IP: 2620:2d:4000:1::16 80] E: Failed to fetch 404 Not Found [IP: 2620:2d:4000:1::16 80] E: Failed to fetch 404 Not Found [IP: 2620:2d:4000:1::19 80] E: Failed to fetch 404 Not Found [IP: 2620:2d:4000:1::16 80] E: Failed to fetch 404 Not Found [IP: 2620:2d:4000:1::16 80] E: Failed to fetch 404 Not Found [IP: 2620:2d:4000:1::16 80] E: Failed to fetch 404 Not Found [IP: 2620:2d:4000:1::16 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 1 Answer
First try this two commands sudo apt-get update and sudo apt-get upgrade and try to install what do you want sudo apt-get install (package name).