问题描述
(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