问题描述

(moc_vision) (moc) root@680bbe6757bb:~/code/MOC/vision_miniworld/baselines# apt-get install xvfb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libxfont2 libxkbfile1 x11-xkb-utils xfonts-base xfonts-encodings xfonts-utils xserver-common
The following NEW packages will be installed:
  libxfont2 libxkbfile1 x11-xkb-utils xfonts-base xfonts-encodings xfonts-utils xserver-common xvfb
0 upgraded, 8 newly installed, 0 to remove and 129 not upgraded.
Need to get 812 kB/7707 kB of archives.
After this operation, 11.7 MB of additional disk space will be used.
W: Target Packages (stable/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list.d/docker.list:1
W: Target Packages (stable/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list.d/docker.list:1
Do you want to continue? [Y/n] Y
Ign:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 xserver-common all 2:1.19.6-1ubuntu4.11
Ign:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/universe amd64 xvfb amd64 2:1.19.6-1ubuntu4.11
Err:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 xserver-common all 2:1.19.6-1ubuntu4.11
  404  Not Found [IP: 101.6.15.130 80]
Err:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/universe amd64 xvfb amd64 2:1.19.6-1ubuntu4.11
  404  Not Found [IP: 101.6.15.130 80]
E: Failed to fetch http://mirrors.tuna.tsinghua.edu.cn/ubuntu/pool/main/x/xorg-server/xserver-common_1.19.6-1ubuntu4.11_all.deb  404  Not Found [IP: 101.6.15.130 80]
E: Failed to fetch http://mirrors.tuna.tsinghua.edu.cn/ubuntu/pool/universe/x/xorg-server/xvfb_1.19.6-1ubuntu4.11_amd64.deb  404  Not Found [IP: 101.6.15.130 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

解决方案

apt-get update
apt-get install xvfb
Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐