剛剛想要安裝 Teamviewer 時出現了上圖的錯誤。
哎呀!這是怎麼了?我用的是 Lubuntu 64 位元,當然是下載 64 位元的套件吧!怎麼還是跟我說缺少 32 位元的相依套件?
看一下終端機的輸出:
mattias@W510:/dev/shm$ sudo gdebi teamviewer_10.0.41499_amd64.deb
[sudo] password for mattias:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Building data structures... Done
此套件無法安裝
Dependency is not satisfiable: lib32asound2
Google 了一下,有人說要安裝這個 teamviewer_amd64.deb 檔案,我也來試試看,首先下載:
mattias@W510:/dev/shm$ wget https://download.teamviewer.com/download/teamviewer_amd64.deb
--2015-06-04 11:31:45-- https://download.teamviewer.com/download/teamviewer_amd64.deb
正在查找主機 download.teamviewer.com (download.teamviewer.com)... 46.163.100.220
正在連接 download.teamviewer.com (download.teamviewer.com)|46.163.100.220|:80... 連上了。
已送出 HTTP 要求,正在等候回應... 302 Found
位置:https://downloadap1.teamviewer.com/download/teamviewer_amd64.deb [跟隨至新的 URL]
--2015-06-04 11:31:46-- https://downloadap1.teamviewer.com/download/teamviewer_amd64.deb
正在查找主機 downloadap1.teamviewer.com (downloadap1.teamviewer.com)... 103.254.155.5
正在連接 downloadap1.teamviewer.com (downloadap1.teamviewer.com)|103.254.155.5|:80... 連上了。
已送出 HTTP 要求,正在等候回應... 302 Moved Temporarily
位置:https://downloadap1.teamviewer.com/download/version_10x/teamviewer_10.0.41499_amd64.deb [跟隨至新的 URL]
--2015-06-04 11:31:47-- https://downloadap1.teamviewer.com/download/version_10x/teamviewer_10.0.41499_amd64.deb
繼續使用和 downloadap1.teamviewer.com:80 的連線。
已送出 HTTP 要求,正在等候回應... 200 OK
長度: 41166632 (39M) [application/octet-stream]
Saving to: ‘teamviewer_amd64.deb’
100%[====================================================================================================================================================>] 41,166,632 117KB/s in 5m 44s
然後安裝:
mattias@W510:/dev/shm$ sudo gdebi teamviewer_
teamviewer_10.0.41499_amd64.deb teamviewer_amd64.deb
mattias@W510:/dev/shm$ sudo gdebi teamviewer_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Building data structures... Done
此套件無法安裝
Dependency is not satisfiable: lib32asound2
(。ŏ_ŏ) 不行啊,出現一樣的錯誤!看來 teamviewer_10.0.41499_amd64.deb 和 teamviewer_amd64.deb 這兩個檔案根本一樣的吧!?
直接來看看官網有沒有相關說明好了,免得被不正確的文章誤導,應該有很多人都會遇到相同的狀況吧!
有了!就是說在比較新的系統上便會發生這個問題是吧,所以只能安裝 32 位元版本的 teamviewer_i386.deb 了是嗎?好吧!就試試看!
首先下載:
mattias@W510:/dev/shm$ wget https://download.teamviewer.com/download/teamviewer_i386.deb
--2015-06-04 11:48:51-- https://download.teamviewer.com/download/teamviewer_i386.deb
正在查找主機 download.teamviewer.com (download.teamviewer.com)... 46.163.100.220
正在連接 download.teamviewer.com (download.teamviewer.com)|46.163.100.220|:80... 連上了。
已送出 HTTP 要求,正在等候回應... 302 Found
位置:https://downloadap1.teamviewer.com/download/teamviewer_i386.deb [跟隨至新的 URL]
--2015-06-04 11:48:54-- https://downloadap1.teamviewer.com/download/teamviewer_i386.deb
正在查找主機 downloadap1.teamviewer.com (downloadap1.teamviewer.com)... 103.254.155.5
正在連接 downloadap1.teamviewer.com (downloadap1.teamviewer.com)|103.254.155.5|:80... 連上了。
已送出 HTTP 要求,正在等候回應... 302 Moved Temporarily
位置:https://downloadap1.teamviewer.com/download/version_10x/teamviewer_10.0.41499_i386.deb [跟隨至新的 URL]
--2015-06-04 11:48:54-- https://downloadap1.teamviewer.com/download/version_10x/teamviewer_10.0.41499_i386.deb
繼續使用和 downloadap1.teamviewer.com:80 的連線。
已送出 HTTP 要求,正在等候回應... 200 OK
長度: 41166700 (39M) [application/octet-stream]
Saving to: ‘teamviewer_i386.deb’
100%[====================================================================================================================================================>] 41,166,700 119KB/s in 5m 37s
2015-06-04 11:54:31 (119 KB/s) - ‘teamviewer_i386.deb’ saved [41166700/41166700]
然後安裝,安裝時會出現提示詢問是否要安裝必要套件 libjpeg62:i386 和 libxtst6:i386,就打 "y" 確認吧:
mattias@W510:/dev/shm$ sudo gdebi teamviewer_i386.deb
[sudo] password for mattias:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Building data structures... Done
必須安裝以下套件: libjpeg62:i386 libxtst6:i386
TeamViewer (Remote Control Application)
TeamViewer is a remote control application. TeamViewer provides easy, fast and secure remote access to Linux, Windows PCs, and Macs.
.
TeamViewer is free for personal use. You can use TeamViewer completely free of charge to access your private computers or to help your friends with their computer problems.
.
To buy a license for commercial use, please visit https://www.teamviewer.com
要安裝軟體套件嗎?[y/N]:y
0% [正連線至 us.archive.ubuntu.com]
0% [正和 us.archive.ubuntu.com (91.189.91.24) 連線]
0% [等待標頭]
Get:1 https://us.archive.ubuntu.com/ubuntu/ trusty/main libjpeg62 i386 6b1-4ubuntu1 [75.8 kB]
84% [等待標頭]
Get:2 https://us.archive.ubuntu.com/ubuntu/ trusty/main libxtst6 i386 2:1.2.2-1 [13.8 kB]
Fetched 89.7 kB in 0s (0 B/s)
選取了原先未選的套件 libjpeg62:i386。
(讀取資料庫 ... 目前共安裝了 160143 個檔案和目錄。)
準備解開 .../libjpeg62_6b1-4ubuntu1_i386.deb ...
解開 libjpeg62:i386 (6b1-4ubuntu1) 中...
選取了原先未選的套件 libxtst6:i386。
準備解開 .../libxtst6_2%3a1.2.2-1_i386.deb ...
解開 libxtst6:i386 (2:1.2.2-1) 中...
設定 libjpeg62:i386 (6b1-4ubuntu1) ...
設定 libxtst6:i386 (2:1.2.2-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
選取了原先未選的套件 teamviewer。
(讀取資料庫 ... 目前共安裝了 160147 個檔案和目錄。)
準備解開 teamviewer_i386.deb ...
解開 teamviewer (10.0.41499) 中...
設定 teamviewer (10.0.41499) ...
Warning in file "/usr/share/applications/gnumeric.desktop": usage of MIME type "zz-application/zz-winassoc-xls" is discouraged ("zz-application/zz-winassoc-xls" should be replaced with "application/vnd.ms-excel")
mattias@W510:/dev/shm$
可以了!可喜可賀呀!這時候進去應用程式選單選看應該就可以看到 "Teamviewer 10" 這個選項了。
那麼,這就是解決方法了,Debian, Mint, Ubuntu, Kubuntu, Xubuntu… 都通用,不嫌棄的話你也試試看吧 ヽ(✿゚▽゚)ノ
沒有留言:
張貼留言