Trying to install python-pip on a new Ubuntu virtual machine 14.04.2.
sudo apt-get update sudo apt-get install python-pip
The error I get indicates that some basic libc package was not found:
Err http://archive.ubuntu.com/ubuntu/ trusty-security/main linux-libc-dev amd64 3.13.0-52.86 404 Not Found [IP: 91.189.91.15 80] Fetched 26.1 MB in 4s (5918 kB/s) E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3.13.0-52.86_amd64.deb 404 Not Found [IP: 91.189.91.15 80]
Indeed, clicking the URL specified in the browser calls 404.
The same problem occurs when trying to install python-dev and python3-pip .
What is the workaround?
EDIT - Allowed
The problem was that I was building a virtual machine using tramps and dockers.
The RUN sudo apt-get update step RUN sudo apt-get update in my Dockerfile was cached for some reason, i.e. it was skipped. Consequently, python-pip was probably looking for an obsolete dependency.
linux ubuntu apt
Ryan tuck
source share