Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu 18.04 安装vnc-server失败 #12

Closed
oxcz opened this issue Aug 4, 2020 · 2 comments
Closed

ubuntu 18.04 安装vnc-server失败 #12

oxcz opened this issue Aug 4, 2020 · 2 comments

Comments

@oxcz
Copy link

oxcz commented Aug 4, 2020

先把日志贴上来,没有时间继续看了。
`Fetched 146 MB in 16s (9,404 kB/s)
E: Failed to fetch http://mirrors.cloud.aliyuncs.com/ubuntu/pool/main/x/xorg-server/xserver-xorg-core_1.19.6-1ubuntu4.4_amd64.deb Undetermined Error [IP: 100.100.2.148 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
�[32m�[1m桌面环境,浏览器,以及VNC服务器安装成功。�(B�[0m
开始配置VNC服务器...

spawn /usr/bin/vncpasswd
couldn't execute "/usr/bin/vncpasswd": no such file or directory
while executing
"spawn "/usr/bin/vncpasswd""
1.sh: line 288: vncserver: command not found
1.sh: line 290: vncserver: command not found
Job for vncserver@1.service failed because the control process exited with error code.
See "systemctl status vncserver@1.service" and "journalctl -xe" for details.
Created symlink /etc/systemd/system/multi-user.target.wants/vncserver@1.service → /etc/systemd/system/vncserver@.service.
1.sh: line 294: /root/Desktop/EnableCopyPaste.sh: No such file or directory
1.sh: line 293: /usr/bin/vncconfig: No such file or directory
chmod: cannot access '/root/Desktop/EnableCopyPaste.sh': No such file or directory`

@majianyu2007
Copy link

应该是vnc服务器没有安装。试试apt get update --fix-missing

@Har-Kuun
Copy link
Owner

Har-Kuun commented Aug 4, 2020

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing

大概率你用的阿里云镜像有问题,apt-get无法获取安装包,可以按楼上说的试试,或者换个源,应该就可以了。

@Har-Kuun Har-Kuun closed this as completed Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants