在ubuntu上安装pygame-sdl2依赖项时出错

时间:2019-03-05 08:48:57

标签: python ubuntu pygame sdl-2

我在ubuntu终端上为pygame_sdl2运行以下命令

sudo apt-get install build-essential python-dev libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libjpeg-dev libpng-dev virtualenvwrapper --fix-missing

我收到错误消息:

Err:1 http:// fr.archive.ubuntu.com/ubuntu zesty/main amd64 libpcrecpp0v5 amd64 2:8.39-3
  404  Not Found [IP: 194.158.119.186 80]
Err:2 http:// fr.archive.ubuntu.com/ubuntu zesty-updates/main amd64 libudev-dev amd64 232-21ubuntu3
  404  Not Found [IP: 194.158.119.186 80]
Err:3 http:// fr.archive.ubuntu.com/ubuntu zesty/main amd64 libdbus-1-dev amd64 1.10.10-1ubuntu2

Err:12 http:// fr.archive.ubuntu.com/ubuntu zesty/main amd64 libmircookie-dev amd64 0.26.2+17.04.20170322.1-0ubuntu2


Err:19 http:// fr.archive.ubuntu.com/ubuntu zesty/main amd64 libpcre32-3 amd64 2:8.39-3

E: Failed to fetch http:// fr.archive.ubuntu.com/ubuntu/pool/main/s/stevedore/python-stevedore_1.20.0-0ubuntu2_all.deb  404  Not Found [IP: 194.158.119.186 80]
E: Aborting install.

有人请帮助我:(

1 个答案:

答案 0 :(得分:0)

Ubuntu Zesty(17.04)没有长期支持,这意味着它只有9个月的支持until January, 2018

现在此版本的Ubuntu已停产,请升级到Bionic(18.04 LTS)或降级到Xenial(16.04 LTS)。

如果您仍要使用此版本的Ubuntu,请更改源(即,将内容/etc/apt/sources.list替换为Old Releases http://old-releases.ubuntu.com/ubuntu/)。