makinsane@makinsane:~$ sudo apt install python-pip && sudo apt install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
build-essential cpp-5 dpkg-dev fakeroot g++ g++-5 gcc-5 gcc-5-base
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
libasan2 libatomic1 libcc1-0 libcilkrts5 libexpat1-dev libfakeroot
libgcc-5-dev libgomp1 libitm1 liblsan0 libmpx0 libpython-all-dev
libpython-dev libpython2.7-dev libquadmath0 libstdc++-5-dev libstdc++6
libtsan0 libubsan0 python-all python-all-dev python-dev python-pip-whl
python-pkg-resources python-setuptools python-wheel python2.7-dev
Fetched 37.6 MB in 2min 4s (303 kB/s)
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/g/gcc-5/cpp-5_5.4.0-6ubuntu1~16.04.5_amd64.deb Hash Sum mismatch
答案 0 :(得分:2)
首先运行double y = x;
return x; // function has double return type
f(x); // function expects double argument
。
答案 1 :(得分:0)
如果在HTTP传输期间或镜像上数据已损坏,通常会发生这种情况。尝试使用另一个镜像int /etc/apt/sources.list
(或系统用于镜像配置的任何其他文件)并重试。