下载 TeamViewer:
mahi@mahi-lenovo-ideapad-320-15ikb:~$ wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
--2019-07-06 10:45:44-- https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
Resolving download.teamviewer.com (download.teamviewer.com)... 13.75.43.250
Connecting to download.teamviewer.com (download.teamviewer.com)|13.75.43.250|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://dl.teamviewer.com/download/linux/version_14x/teamviewer_14.3.4730_amd64.deb [following]
--2019-07-06 10:45:46-- https://dl.teamviewer.com/download/linux/version_14x/teamviewer_14.3.4730_amd64.deb
Resolving dl.teamviewer.com (dl.teamviewer.com)... 104.16.63.16, 104.16.62.16, 2606:4700::6810:3f10, ...
Connecting to dl.teamviewer.com (dl.teamviewer.com)|104.16.63.16|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13489636 (13M) [application/octet-stream]
Saving to: ‘teamviewer_amd64.deb.1’
teamviewer_amd64. 100%[===========>] 12.86M 1.44MB/s in 10s
2019-07-06 10:45:57 (1.27 MB/s) - ‘teamviewer_amd64.deb.1’ saved [13489636/13489636]
安装 TeamViewer:
mahi@mahi-lenovo-ideapad-320-15ikb:~$ sudo apt install ./teamviewer_amd64.deb
[sudo] password for mahi:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'teamviewer' instead of './teamviewer_amd64.deb'
The following additional packages will be installed:
libqt5positioning5 libqt5printsupport5 libqt5qml5 libqt5quick5
libqt5sensors5 libqt5webchannel5 libqt5webkit5
qml-module-qtgraphicaleffects qml-module-qtquick-controls
qml-module-qtquick-dialogs qml-module-qtquick-layouts
qml-module-qtquick-privatewidgets qml-module-qtquick-window2
qml-module-qtquick2
Suggested packages:
qt5-qmltooling-plugins
The following NEW packages will be installed:
libqt5positioning5 libqt5printsupport5 libqt5qml5 libqt5quick5
libqt5sensors5 libqt5webchannel5 libqt5webkit5
qml-module-qtgraphicaleffects qml-module-qtquick-controls
qml-module-qtquick-dialogs qml-module-qtquick-layouts
qml-module-qtquick-privatewidgets qml-module-qtquick-window2
qml-module-qtquick2 teamviewer
0 upgraded, 15 newly installed, 0 to remove and 5 not upgraded.
Need to get 178 kB/29.2 MB of archives.
After this operation, 135 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 /home/mahi/teamviewer_amd64.deb teamviewer amd64 14.3.4730 [13.5 MB]
Err:2 http://in.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5printsupport5 amd64 5.9.5+dfsg-0ubuntu2
404 Not Found [IP: 91.189.88.162 80]
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/q/qtbase-opensource-src/libqt5printsupport5_5.9.5+dfsg-0ubuntu2_amd64.deb 404 Not Found [IP: 91.189.88.162 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
现在有--fix-missing
:
mahi@mahi-lenovo-ideapad-320-15ikb:~$ sudo apt install ./teamviewer_amd64.deb --fix-missing
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'teamviewer' instead of './teamviewer_amd64.deb'
The following additional packages will be installed:
libqt5positioning5 libqt5printsupport5 libqt5qml5 libqt5quick5
libqt5sensors5 libqt5webchannel5 libqt5webkit5
qml-module-qtgraphicaleffects qml-module-qtquick-controls
qml-module-qtquick-dialogs qml-module-qtquick-layouts
qml-module-qtquick-privatewidgets qml-module-qtquick-window2
qml-module-qtquick2
Suggested packages:
qt5-qmltooling-plugins
The following NEW packages will be installed:
libqt5positioning5 libqt5printsupport5 libqt5qml5 libqt5quick5
libqt5sensors5 libqt5webchannel5 libqt5webkit5
qml-module-qtgraphicaleffects qml-module-qtquick-controls
qml-module-qtquick-dialogs qml-module-qtquick-layouts
qml-module-qtquick-privatewidgets qml-module-qtquick-window2
qml-module-qtquick2 teamviewer
0 upgraded, 15 newly installed, 0 to remove and 5 not upgraded.
Need to get 178 kB/29.2 MB of archives.
After this operation, 135 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 /home/mahi/teamviewer_amd64.deb teamviewer amd64 14.3.4730 [13.5 MB]
Err:2 http://in.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libqt5printsupport5 amd64 5.9.5+dfsg-0ubuntu2
404 Not Found [IP: 91.189.88.24 80]
Unable to correct missing packages.
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/q/qtbase-opensource-src/libqt5printsupport5_5.9.5+dfsg-0ubuntu2_amd64.deb 404 Not Found [IP: 91.189.88.24 80]
E: Aborting install.
答案1
我无法安装它的问题是因为我尝试使用 Institute 以太网(具有某种代理功能)来安装它。
感谢@Fabby、@tatsu 和@guiverc 的建设性意见。