1. 程式人生 > >終於在kali linux中安裝好了快盤1402版本。

終於在kali linux中安裝好了快盤1402版本。

中間的過程記不清了,但是在gnome-terminal中有記錄。。

[email protected]:/media/80/SoftBag/storageTools# ls <span style="color:#CC0000;">//這是下載好的兩個32位版本的快盤安裝包deb的</span>
kuaipan4uk_1204_2.0.0.2_i386.deb  kuaipan4uk_1404_2.0.0.3_i386.deb

[email protected]:/media/80/SoftBag/storageTools# dpkg -i kuaipan4uk_1404_2.0.0.3_i386.deb <span style="color:#CC0000;">//開始安裝</span>
Selecting previously unselected package kuaipan4uk.
(正在讀取資料庫 ... 系統當前共安裝有 361675 個檔案和目錄。)
正在解壓縮 kuaipan4uk (從 kuaipan4uk_1404_2.0.0.3_i386.deb) ...
dpkg: dependency problems prevent configuration of kuaipan4uk:
 kuaipan4uk 依賴於 <span style="color:#6600CC;">libboost-iostreams1.54.0</span>;然而:
  未安裝軟體包 <span style="color:#6600CC;">libboost-iostreams1.54.0</span>。  <span style="color:#FF0000;">//缺少這個包</span>
 kuaipan4uk 依賴於 <span style="color:#6600CC;">libc6 (>= 2.15)</span>;然而:<span style="color:#FF0000;"> //還缺少這個包版本要在2.15或以上</span>
系統中 libc6:i386 的版本為 2.13-38+deb7u3。
 kuaipan4uk 依賴於 libqxt-gui0;然而:     <span style="color:#FF0000;">//libqxt-gui0 這個包也缺少,後面有下載地址</span>
  未安裝軟體包 <span style="color:#6600CC;">libqxt-gui0</span>。

dpkg: error processing kuaipan4uk (--install):
 依賴關係問題 - 仍未被配置
正在處理用於 desktop-file-utils 的觸發器...
正在處理用於 gnome-menus 的觸發器...
在處理時有錯誤發生:
 kuaipan4uk

[email protected]
:/media/80/SoftBag/storageTools# apt-get install libb <span style="color:#FF0000;"> //按兩次TAB,發現更新源中居然沒有1.54這個版本。</span> Display all 379 possibilities? (y or n) [email protected]:/media/80/SoftBag/storageTools# apt-get install libboost-iostreams<span style="color:#FF0000;"> //按兩次TAB,更新源中真的居然沒有1.54這個版本。</span> libboost-iostreams1.49.0 libboost-iostreams-dev libboost-iostreams1.49-dev
[email protected]
:/media/80/SoftBag/storageTools# apt-get install libboost-iostreams1.54.0 <span style="color:#FF0000;">//強行安裝,雖然預感會失敗,但試試才知道,反正也浪費不了1秒鐘</span> 正在讀取軟體包列表... 完成 正在分析軟體包的依賴關係樹 正在讀取狀態資訊... 完成 現在沒有可用的軟體包 libboost-iostreams1.54.0,但是它被其它的軟體包引用了。 這可能意味著這個缺失的軟體包可能已被廢棄, 或者只能在其他釋出源中找到 E: 軟體包 libboost-iostreams1.54.0 沒有可供安裝的候選者 <span style="color:#FF0000;">//百度搜索後,訪問https://packages.debian.org/zh-cn/sid/libboost-iostreams-dev其他缺少的包下載也在這個網站中。</span> <span style="color:#FF0000;">//用在 Interl x86 上 libboost-iostreams1.54.0_1.54.0-5+b1_i386.deb 的下載頁面deb http://ftp.de.debian.org/debian sid main </span> <span style="color:#6600CC;">#為了快盤下載用在 Interl x86 上 libboost-iostreams1.54.0_1.54.0-5+b1_i386.deb</span><span style="color:#6600CC;">新增/etc/apt/sources.list中</span> <span style="color:#6600CC;">deb http://ftp.de.debian.org/debian wheezy main </span><span style="color:#6600CC;"> </span>
[email protected]
:/media/80/SoftBag/storageTools# apt-get update <span style="color:#FF0000;">//新增後當然要更新一下了。</span> 命中 http://repo.mysql.com wheezy Release.gpg 命中 http://repo.mysql.com wheezy Release 命中 http://webmin.mirror.somersettechsolutions.co.uk sarge Release.gpg 命中 http://download.webmin.com sarge Release.gpg 命中 http://ftp.de.debian.org sid Release.gpg 命中 http://repo.mysql.com wheezy/mysql-5.6 Sources 命中 http://webmin.mirror.somersettechsolutions.co.uk sarge Release 命中 http://security.kali.org kali/updates Release.gpg 命中 http://repo.mysql.com wheezy/mysql-5.6 i386 Packages 命中 http://webmin.mirror.somersettechsolutions.co.uk sarge/contrib i386 Packages 獲取:1 http://ftp.de.debian.org wheezy Release.gpg [1,655 B] 命中 http://security.debian.org wheezy/updates Release.gpg 命中 http://http.debian.net wheezy-backports Release.gpg 命中 http://download.webmin.com sarge Release 命中 http://ftp.de.debian.org sid Release 命中 http://security.kali.org kali/updates Release 命中 http://security.debian.org wheezy/updates Release 獲取:2 http://ftp.de.debian.org wheezy Release [168 kB] 命中 http://security.kali.org kali/updates/main i386 Packages 命中 http://security.debian.org wheezy/updates/main i386 Packages 命中 http://security.kali.org kali/updates/contrib i386 Packages 命中 http://security.debian.org wheezy/updates/main Translation-en 命中 http://download.webmin.com sarge/contrib i386 Packages 命中 http://security.kali.org kali/updates/non-free i386 Packages 忽略 http://webmin.mirror.somersettechsolutions.co.uk sarge/contrib Translation-zh_CN 忽略 http://webmin.mirror.somersettechsolutions.co.uk sarge/contrib Translation-zh 忽略 http://webmin.mirror.somersettechsolutions.co.uk sarge/contrib Translation-en 命中 http://archive.ubuntukylin.com trusty Release.gpg 命中 http://archive.ubuntukylin.com trusty Release 命中 http://archive.ubuntukylin.com trusty/main i386 Packages 命中 http://ftp.de.debian.org sid/main i386 Packages/DiffIndex 命中 http://ftp.de.debian.org sid/main Translation-zh_CN/DiffIndex 命中 http://ftp.de.debian.org sid/main Translation-zh/DiffIndex 忽略 http://archive.ubuntukylin.com trusty/main Translation-zh_CN 忽略 http://archive.ubuntukylin.com trusty/main Translation-zh 命中 http://http.kali.org kali Release.gpg 忽略 http://archive.ubuntukylin.com trusty/main Translation-en 命中 http://ftp.de.debian.org sid/main Translation-en/DiffIndex 獲取:3 http://ftp.de.debian.org wheezy/main i386 Packages [5,859 kB] 命中 http://http.debian.net wheezy-backports Release 命中 http://http.kali.org kali Release 命中 http://http.debian.net wheezy-backports/main i386 Packages/DiffIndex 命中 http://http.kali.org kali/main Sources 命中 http://http.debian.net wheezy-backports/main Translation-en/DiffIndex 命中 http://http.kali.org kali/non-free Sources 命中 http://http.kali.org kali/contrib Sources 命中 http://http.kali.org kali/main i386 Packages 命中 http://http.kali.org kali/non-free i386 Packages 命中 http://http.kali.org kali/contrib i386 Packages 忽略 http://security.kali.org kali/updates/contrib Translation-zh_CN 忽略 http://security.kali.org kali/updates/contrib Translation-zh 忽略 http://security.kali.org kali/updates/contrib Translation-en 忽略 http://security.kali.org kali/updates/main Translation-zh_CN 忽略 http://security.kali.org kali/updates/main Translation-zh 忽略 http://security.kali.org kali/updates/main Translation-en 忽略 http://security.kali.org kali/updates/non-free Translation-zh_CN 忽略 http://security.kali.org kali/updates/non-free Translation-zh 忽略 http://security.kali.org kali/updates/non-free Translation-en 忽略 http://repo.mysql.com wheezy/mysql-5.6 Translation-zh_CN 忽略 http://http.kali.org kali/contrib Translation-zh_CN 忽略 http://http.kali.org kali/contrib Translation-zh 忽略 http://http.kali.org kali/contrib Translation-en 忽略 http://http.kali.org kali/main Translation-zh_CN 忽略 http://repo.mysql.com wheezy/mysql-5.6 Translation-zh 忽略 http://http.kali.org kali/main Translation-zh 忽略 http://download.webmin.com sarge/contrib Translation-zh_CN 忽略 http://http.kali.org kali/main Translation-en 忽略 http://http.kali.org kali/non-free Translation-zh_CN 忽略 http://http.kali.org kali/non-free Translation-zh 忽略 http://http.kali.org kali/non-free Translation-en 忽略 http://download.webmin.com sarge/contrib Translation-zh 忽略 http://download.webmin.com sarge/contrib Translation-en 忽略 http://repo.mysql.com wheezy/mysql-5.6 Translation-en <span style="color:#6600CC;">獲取:4 http://ftp.de.debian.org wheezy/main Translation-zh_CN [127 kB] //找到地址,並且更新資料庫 獲取:5 http://ftp.de.debian.org wheezy/main Translation-zh [1,528 B] 獲取:6 http://ftp.de.debian.org wheezy/main Translation-en [3,847 kB] </span> 下載 10.0 MB,耗時 2分 24秒 (69.3 kB/s) 正在讀取軟體包列表... 完成 [email protected]:/media/80/SoftBag/storageTools# apt-get install libboost-iostreams <span style="color:#CC0000;">//按兩次TAB,發現缺少的包出來了。</span> libboost-iostreams1.49.0 libboost-iostreams1.55.0 libboost-iostreams1.49-dev libboost-iostreams1.55-dev <span style="color:#6600CC;">libboost-iostreams1.54.0 </span> libboost-iostreams-dev libboost-iostreams1.54-dev [email protected]:/media/80/SoftBag/storageTools# apt-get install libboost-iostreams1.54.0<span style="color:#FF0000;"> //趕緊安裝</span> 正在讀取軟體包列表... 完成 正在分析軟體包的依賴關係樹 正在讀取狀態資訊... 完成 您可能需要執行“apt-get -f install”來糾正下列錯誤: 下列軟體包有未滿足的依賴關係: kuaipan4uk : 依賴: <span style="color:#6600CC;">libc6 (>= 2.15)</span> 但是 2.13-38+deb7u3 正要被安裝 <span style="color:#FF0000;">//媽的,居然還有依賴包。</span> 依賴: <span style="color:#6600CC;">libqxt-gui0</span> 但是它將不會被安裝 E: 有未能滿足的依賴關係。請嘗試不指明軟體包的名字來執行“apt-get -f install”(也可以指定一個解決辦法)。 <span style="color:#6600CC;">//#為了快盤下載用在 Interl x86 上 libboost-iostreams1.54.0_1.54.0-5+b1_i386.deb 的下載頁面,把三個缺少的都新增進去 deb http://ftp.de.debian.org/debian sid main deb http://security.debian.org/debian-security wheezy/updates main deb http://ftp.de.debian.org/debian wheezy main </span> [email protected]:/media/80/SoftBag/storageTools# apt-get -f install<span style="color:#FF0000;"> //將之前安裝錯誤的修復一下。該刪除的刪除,該修復的修復</span> 正在讀取軟體包列表... 完成 正在分析軟體包的依賴關係樹 正在讀取狀態資訊... 完成 正在更正依賴關係... 完成 下列軟體包是自動安裝的並且現在不需要了: libavutil53 libchromaprint0 libfreerdp1 libproxy-tools libvdpau1 Use 'apt-get autoremove' to remove them. 將會安裝下列額外的軟體包: libboost-iostreams1.54.0 libc-dev-bin libc6 libc6-dev libc6-i686 libqxt-core0 libqxt-gui0 libtirpc1 locales 建議安裝的軟體包: glibc-doc 下列軟體包將被【解除安裝】: locales-all 下列【新】軟體包將被安裝: libboost-iostreams1.54.0 libqxt-core0 libqxt-gui0 下列軟體包將被升級: libc-dev-bin libc6 libc6-dev libc6-i686 libtirpc1 locales 升級了 6 個軟體包,新安裝了 3 個軟體包,要解除安裝 1 個軟體包,有 1747 個軟體包未被升級。 有 1 個軟體包沒有被完全安裝或解除安裝。 需要下載 12.9 MB 的軟體包。 解壓縮後將會空出 108 MB 的空間。 您希望繼續執行嗎?[Y/n]y 獲取:1 http://ftp.de.debian.org/debian/ sid/main libtirpc1 i386 0.2.4-1 [82.1 kB] 獲取:2 http://ftp.de.debian.org/debian/ sid/main locales all 2.19-7 [3,913 kB] 獲取:3 http://ftp.de.debian.org/debian/ sid/main libc6 i386 2.19-7 [3,973 kB] 獲取:4 http://ftp.de.debian.org/debian/ sid/main libc6-i686 i386 2.19-7 [1,163 kB] 獲取:5 http://ftp.de.debian.org/debian/ sid/main libc-dev-bin i386 2.19-7 [233 kB] 獲取:6 http://ftp.de.debian.org/debian/ sid/main libc6-dev i386 2.19-7 [3,040 kB] 獲取:7 http://ftp.de.debian.org/debian/ sid/main libboost-iostreams1.54.0 i386 1.54.0-5+b1 [49.2 kB] 獲取:8 http://ftp.de.debian.org/debian/ sid/main libqxt-core0 i386 0.6.2-1+b1 [167 kB] 獲取:9 http://ftp.de.debian.org/debian/ sid/main libqxt-gui0 i386 0.6.2-1+b1 [268 kB] 下載 12.9 MB,耗時 38秒 (335 kB/s) 讀取變更記錄(changelogs)... 完成 正在預設定軟體包 ... (正在讀取資料庫 ... 系統當前共安裝有 361701 個檔案和目錄。) 正預備替換 libtirpc1:i386 0.2.2-5 (使用 .../libtirpc1_0.2.4-1_i386.deb) ... 正在解壓縮將用於更替的包檔案 libtirpc1:i386 ... 正在處理用於 man-db 的觸發器... (正在讀取資料庫 ... 系統當前共安裝有 361700 個檔案和目錄。) 正在解除安裝 locales-all ... Generating locales (this might take a while)... Generation complete. (Reading database ... 355550 files and directories currently installed.) Preparing to replace locales 2.13-38+deb7u3 (using .../locales_2.19-7_all.deb) ... Unpacking replacement locales ... Preparing to replace libc6:i386 2.13-38+deb7u3 (using .../archives/libc6_2.19-7_i386.deb) ... Checking for services that may need to be restarted... Checking init scripts... Moving obsolete conffile /etc/ld.so.conf.d/i486-linux-gnu.conf out of the way... Unpacking replacement libc6:i386 ... Processing triggers for man-db ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Setting up libc6:i386 (2.19-7) ... Checking for services that may need to be restarted... Checking init scripts... Restarting services possibly affected by the upgrade: mysql: restarting...done. cron: restarting...done. atd: restarting...done. Services restarted successfully. Removing obsolete conffile /etc/ld.so.conf.d/i486-linux-gnu.conf ... (Reading database ... 355595 files and directories currently installed.) Preparing to replace libc6-i686:i386 2.13-38+deb7u3 (using .../libc6-i686_2.19-7_i386.deb) ... Unpacking replacement libc6-i686:i386 ... Preparing to replace libc-dev-bin 2.13-38+deb7u3 (using .../libc-dev-bin_2.19-7_i386.deb) ... Unpacking replacement libc-dev-bin ... Preparing to replace libc6-dev:i386 2.13-38+deb7u3 (using .../libc6-dev_2.19-7_i386.deb) ... Unpacking replacement libc6-dev:i386 ... Selecting previously unselected package libboost-iostreams1.54.0:i386. Unpacking libboost-iostreams1.54.0:i386 (from .../libboost-iostreams1.54.0_1.54.0-5+b1_i386.deb) ... Selecting previously unselected package libqxt-core0:i386. Unpacking libqxt-core0:i386 (from .../libqxt-core0_0.6.2-1+b1_i386.deb) ... Selecting previously unselected package libqxt-gui0:i386. Unpacking libqxt-gui0:i386 (from .../libqxt-gui0_0.6.2-1+b1_i386.deb) ... Processing triggers for man-db ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Setting up libtirpc1:i386 (0.2.4-1) ... Setting up locales (2.19-7) ... Installing new version of config file /etc/locale.alias ... Generating locales (this might take a while)... Generation complete. Setting up libc6-i686:i386 (2.19-7) ... Setting up libc-dev-bin (2.19-7) ... Setting up libc6-dev:i386 (2.19-7) ... Setting up libboost-iostreams1.54.0:i386 (1.54.0-5+b1) ... Setting up libqxt-core0:i386 (0.6.2-1+b1) ... Setting up libqxt-gui0:i386 (0.6.2-1+b1) ... Setting up kuaipan4uk (2.0.0.3) ... kuaipan4uk: no process found perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "zh_CN.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). [email protected]:/media/80/SoftBag/storageTools# dpkg -i kuaipan4uk_1404_2.0.0.3_i386.deb <span style="color:#FF0000;">//貌似缺少的包都新增好了,開始安裝</span> (Reading database ... 355635 files and directories currently installed.) Preparing to replace kuaipan4uk 2.0.0.3 (using kuaipan4uk_1404_2.0.0.3_i386.deb) ... Unpacking replacement kuaipan4uk ... Setting up kuaipan4uk (2.0.0.3) ... kuaipan4uk: no process found Processing triggers for desktop-file-utils ... Processing triggers for gnome-menus ... [email protected]:/media/80/SoftBag/storageTools# kuaipan4uk <span style="color:#FF0000;">//啟動一下看看</span> (process:20323): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Indicator::init() systemTray->show() Worker::sltNetworkSettingChanged() Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must reimplement QApplication::notify() and catch all exceptions there. terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid 已放棄 <span style="color:#FF0000;">//貌似是語言問題。</span> [email protected]:/media/80/SoftBag/storageTools# dpkg -i kuaipan4uk_1204_2.0.0.2_i386.deb <span style="color:#FF0000;">//安裝12版本試試</span> dpkg: warning: downgrading kuaipan4uk from 2.0.0.3 to 2.0.0.2 (Reading database ... 355507 files and directories currently installed.) Preparing to replace kuaipan4uk 2.0.0.3 (using kuaipan4uk_1204_2.0.0.2_i386.deb) ... Unpacking replacement kuaipan4uk ... dpkg: dependency problems prevent configuration of kuaipan4uk: kuaipan4uk depends on libboost-iostreams1.46.1 (>= 1.46.1-1); however: Package libboost-iostreams1.46.1 is not installed. dpkg: error processing kuaipan4uk (--install): dependency problems - leaving unconfigured Processing triggers for desktop-file-utils ... Processing triggers for gnome-menus ... Errors were encountered while processing: kuaipan4uk <span style="color:#FF0000;">//一樣的結果,看來不是快盤版本問題</span> [email protected]:/media/80/SoftBag/storageTools# apt-get dist-upgrade <span style="color:#FF0000;"> //猛地更新一下,出了已經安裝的軟體更新以外,將更新源中的都更新一下。</span> Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: kuaipan4uk : Depends: libboost-iostreams1.46.1 (>= 1.46.1-1) but it is not installable E: Unmet dependencies. Try using -f. [email protected]:/media/80/SoftBag/storageTools# apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following extra packages will be installed: kuaipan4uk The following packages will be upgraded: kuaipan4uk 1 upgraded, 0 newly installed, 0 to remove and 1742 not upgraded. 1 not fully installed or removed. Need to get 2245 kB of archives. After this operation, 3072 B disk space will be freed. Do you want to continue [Y/n]? y Get:1 http://archive.ubuntukylin.com/ubuntukylin/ trusty/main kuaipan4uk i386 2.0.0.3 [2245 kB] Fetched 2245 kB in 11s (200 kB/s) Can't set locale; make sure $LC_* and $LANG are correct! Reading changelogs... Done perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "zh_CN.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory (Reading database ... 355507 files and directories currently installed.) Preparing to replace kuaipan4uk 2.0.0.2 (using .../kuaipan4uk_2.0.0.3_i386.deb) ... Unpacking replacement kuaipan4uk ... Processing triggers for desktop-file-utils ... Processing triggers for gnome-menus ... Setting up kuaipan4uk (2.0.0.3) ... kuaipan4uk: no process found perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "zh_CN.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). [email protected]:/media/80/SoftBag/storageTools# locale<span style="color:#FF0000;"> //果然還是要安裝語言,locale看看本地</span> locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=zh_CN.UTF-8 LANGUAGE= LC_CTYPE="zh_CN.UTF-8" LC_NUMERIC="zh_CN.UTF-8" LC_TIME="zh_CN.UTF-8" LC_COLLATE="zh_CN.UTF-8" LC_MONETARY="zh_CN.UTF-8" LC_MESSAGES="zh_CN.UTF-8" LC_PAPER="zh_CN.UTF-8" LC_NAME="zh_CN.UTF-8" LC_ADDRESS="zh_CN.UTF-8" LC_TELEPHONE="zh_CN.UTF-8" LC_MEASUREMENT="zh_CN.UTF-8" LC_IDENTIFICATION="zh_CN.UTF-8" LC_ALL= [email protected]:/media/80/SoftBag/storageTools# leafpad /etc/default/locale <span style="color:#FF0000;">//開啟locale裡面是空的,我就添加了這麼幾條 #  File generated by update-locale LANG=zh_CN.UTF-8 #LANGUAGE="zh_CN:zh"</span> [email protected]:/media/80/SoftBag/storageTools# dpkg -reconfigure locales <span style="color:#FF0000;">//上面操作無效,更具度孃的提示,要重新配置語言,哎~~~居然這條命令打錯了</span> dpkg: error: conflicting actions -e (--control) and -r (--remove) Type dpkg --help for help about installing and deinstalling packages [*]; Use `dselect' or `aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Options marked [*] produce a lot of output - pipe it through `less' or `more' ! [email protected]:/media/80/SoftBag/storageTools# dpkg --help Usage: dpkg [<option> ...] <command> Commands: -i|--install <.deb file name> ... | -R|--recursive <directory> ... --unpack <.deb file name> ... | -R|--recursive <directory> ... -A|--record-avail <.deb file name> ... | -R|--recursive <directory> ... --configure <package> ... | -a|--pending --triggers-only <package> ... | -a|--pending -r|--remove <package> ... | -a|--pending -P|--purge <package> ... | -a|--pending --get-selections [<pattern> ...] Get list of selections to stdout. --set-selections Set package selections from stdin. --clear-selections Deselect every non-essential package. --update-avail <Packages-file> Replace available packages info. --merge-avail <Packages-file> Merge with info from file. --clear-avail Erase existing available info. --forget-old-unavail Forget uninstalled unavailable pkgs. -s|--status <package> ... Display package status details. -p|--print-avail <package> ... Display available version details. -L|--listfiles <package> ... List files `owned' by package(s). -l|--list [<pattern> ...] List packages concisely. -S|--search <pattern> ... Find package(s) owning file(s). -C|--audit Check for broken package(s). --add-architecture <arch> Add <arch> to the list of architectures. --remove-architecture <arch> Remove <arch> from the list of architectures. --print-architecture Print dpkg architecture. --print-foreign-architectures Print allowed foreign architectures. --compare-versions <a> <op> <b> Compare version numbers - see below. --force-help Show help on forcing. -Dh|--debug=help Show help on debugging. -?, --help Show this help message. --version Show the version. Use dpkg -b|--build|-c|--contents|-e|--control|-I|--info|-f|--field| -x|--extract|-X|--vextract|--fsys-tarfile on archives (type dpkg-deb --help). For internal use: dpkg --assert-support-predepends | --predep-package | --assert-working-epoch | --assert-long-filenames | --assert-multi-conrep | --assert-multi-arch. Options: --admindir=<directory> Use <directory> instead of /var/lib/dpkg. --root=<directory> Install on a different root directory. --instdir=<directory> Change installation dir without changing admin dir. --path-exclude=<pattern> Do not install paths which match a shell pattern. --path-include=<pattern> Re-include a pattern after a previous exclusion. -O|--selected-only Skip packages not selected for install/upgrade. -E|--skip-same-version Skip packages whose same version is installed. -G|--refuse-downgrade Skip packages with earlier version than installed. -B|--auto-deconfigure Install even if it would break some other package. --[no-]triggers Skip or force consequential trigger processing. --no-debsig Do not try to verify package signatures. --no-act|--dry-run|--simulate Just say what we would do - don't do it. -D|--debug=<octal> Enable debugging (see -Dhelp or --debug=help). --status-fd <n> Send status change updates to file descriptor <n>. --status-logger=<command> Send status change updates to <command>'s stdin. --log=<filename> Log status changes and actions to <filename>. --ignore-depends=<package>,... Ignore dependencies involving <package>. --force-... Override problems (see --force-help). --no-force-...|--refuse-... Stop when problems encountered. --abort-after <n> Abort after encountering <n> errors. Comparison operators for --compare-versions are: lt le eq ne ge gt (treat empty version as earlier than any version); lt-nl le-nl ge-nl gt-nl (treat empty version as later than any version); < << <= = >= >> > (only for compatibility with control file syntax). Use `dselect' or `aptitude' for user-friendly package management. [email protected]:/media/80/SoftBag/storageTools# dpkg- <span style="color:#FF0000;">//原來是這樣的,dpkg-reconfigure -reconfigure不是引數而是連在一起是一條命令</span> dpkg-architecture dpkg-gensymbols dpkg-scansources dpkg-buildflags dpkg-maintscript-helper dpkg-shlibdeps dpkg-buildpackage dpkg-mergechangelogs dpkg-source dpkg-checkbuilddeps dpkg-name dpkg-split dpkg-deb dpkg-parsechangelog dpkg-statoverride dpkg-distaddfile dpkg-preconfigure dpkg-trigger dpkg-divert dpkg-query dpkg-vendor dpkg-genchanges <span style="color:#6600CC;">dpkg-reconfigure</span> dpkg-gencontrol dpkg-scanpackages [email protected]:/media/80/SoftBag/storageTools# dpkg-reconfigure locales <span style="color:#FF0000;">//重新配置語言,我配置了兩個zh_CN.UTF-8和en_US.UTF-8</span> <img src="https://img-blog.csdn.net/20140812110729863?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQveGNoZ3g=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="" /> [email protected]:/media/80/SoftBag/storageTools# locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=zh_CN.UTF-8 LANGUAGE= LC_CTYPE="zh_CN.UTF-8" LC_NUMERIC="zh_CN.UTF-8" LC_TIME="zh_CN.UTF-8" LC_COLLATE="zh_CN.UTF-8" LC_MONETARY="zh_CN.UTF-8" LC_MESSAGES="zh_CN.UTF-8" LC_PAPER="zh_CN.UTF-8" LC_NAME="zh_CN.UTF-8" LC_ADDRESS="zh_CN.UTF-8" LC_TELEPHONE="zh_CN.UTF-8" LC_MEASUREMENT="zh_CN.UTF-8" LC_IDENTIFICATION="zh_CN.UTF-8" LC_ALL=  [email protected]:/media/80/SoftBag/storageTools# export LC_ALL="en_US.utf8" bash: 警告:setlocale: LC_ALL: 無法改變區域選項 (en_US.utf8): 沒有那個檔案或目錄 [email protected]:/media/80/SoftBag/storageTools# export LANG="zh_CN.utf8" <span style="color:#FF0000;">//設定locale的語言</span> [email protected]:/media/80/SoftBag/storageTools# kuaipan4uk <span style="color:#FF0000;">//啟動</span> main() Cannot load translation file "kuaipan4uk_en_US.qm" Indicator::init() systemTray->show() Worker::sltNetworkSettingChanged() Worker::sltNetworkSettingChanged() Upload bandwidth: 0 Download bandwidth: 0 Worker::loadCfg() Device ID "d0ce932c-1bc4-4b07-9fb1-6007aaa81c3e" Worker::readOSVersion() Linux distribution version "Kali-GNU/Linux-1.0.8" Worker::wizard() has not completed. worker::loadCfg() failed LibXLiveHelper::closeLibXLive() LibXLive closed. DestoryXLiveCoreThread::run() XLiveCore destroyed Indicator::sltOnClickQuit() Worker::sltSetQuit() destoryXLiveCore finished Indicator::run() quit TrayMenu::~TrayMenu() Tray menu terminated Indicator::sltOnClickQuit() Worker::sltSetQuit() destoryXLiveCore finished Indicator::~Indicator() [email protected]:/media/80/SoftBag/storageTools# dpkg -i kuaipan4uk_1404_2.0.0.3_i386.deb (Reading database ... 355507 files and directories currently installed.) Preparing to replace kuaipan4uk 2.0.0.3 (using kuaipan4uk_1404_2.0.0.3_i386.deb) ... Unpacking replacement kuaipan4uk ... Setting up kuaipan4uk (2.0.0.3) ... kuaipan4uk: no process found Processing triggers for desktop-file-utils ... Processing triggers for gnome-menus ... <span style="color:#FF0000;">//啟動快盤成功。哈哈到這裡就搞定了</span> [email protected]:/media/80/SoftBag/storageTools#

其中參考了語言安裝:

缺包補漏: https://packages.debian.org/zh-cn/wheezy/libc6-i686

解決Debian下setting locale failed的方法::http://www.linuxdiyf.com/viewarticle.php?id=100868

登陸後的介面

自己手賤把locale改來改去,後來又不能啟動了。。。

後來改成這樣,就不能啟動了

[email protected]:~# locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=zh_CN.UTF-8
LANGUAGE=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=zh_CN.UTF-8

經過http://www.cnblogs.com/ylan2009/articles/2484737.html幫助

原來LC_ALL=一定要留空。

而且LANGUAGE也要是空空的。

[email protected]:~# locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8   //這裡別搞成zh_CN.UTF-8喲。否則不能啟動快盤
LANGUAGE=
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=

這樣就可以執行:kuaipan4uk啟動快盤了。

因為LANG這個屬性在gnome-terminal不能儲存,所以我做了一個sh,先export LANG=en_US.UTF-8然後直接啟動kuaipan4uk,搞定