终于在kali linux中安装好了快盘1402版本。
来源:互联网 发布:诚信网络平台 编辑:程序博客网 时间:2024/05/16 06:31
中间的过程记不清了,但是在gnome-terminal中有记录。。
root@kali:/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.debroot@kali:/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 的触发器...在处理时有错误发生: kuaipan4ukroot@kali:/media/80/SoftBag/storageTools# apt-get install libb <span style="color:#FF0000;"> //按两次TAB,发现更新源中居然没有1.54这个版本。</span>Display all 379 possibilities? (y or n)root@kali:/media/80/SoftBag/storageTools# apt-get install libboost-iostreams<span style="color:#FF0000;"> //按两次TAB,更新源中真的居然没有1.54这个版本。</span>libboost-iostreams1.49.0 libboost-iostreams-devlibboost-iostreams1.49-dev root@kali:/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>root@kali:/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) 正在读取软件包列表... 完成root@kali:/media/80/SoftBag/storageTools# apt-get install libboost-iostreams <span style="color:#CC0000;">//按两次TAB,发现缺少的包出来了。</span>libboost-iostreams1.49.0 libboost-iostreams1.55.0libboost-iostreams1.49-dev libboost-iostreams1.55-dev<span style="color:#6600CC;">libboost-iostreams1.54.0 </span> libboost-iostreams-devlibboost-iostreams1.54-dev root@kali:/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 maindeb http://security.debian.org/debian-security wheezy/updates maindeb http://ftp.de.debian.org/debian wheezy main </span>root@kali:/media/80/SoftBag/storageTools# apt-get -f install<span style="color:#FF0000;"> //将之前安装错误的修复一下。该删除的删除,该修复的修复</span>正在读取软件包列表... 完成正在分析软件包的依赖关系树 正在读取状态信息... 完成 正在更正依赖关系... 完成下列软件包是自动安装的并且现在不需要了: libavutil53 libchromaprint0 libfreerdp1 libproxy-tools libvdpau1Use '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 directorylocale: Cannot set LC_MESSAGES to default locale: No such file or directorylocale: Cannot set LC_ALL to default locale: No such file or directorySetting 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 directorylocale: Cannot set LC_MESSAGES to default locale: No such file or directorylocale: Cannot set LC_ALL to default locale: No such file or directorySetting 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 foundperl: 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").root@kali:/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 foundProcessing triggers for desktop-file-utils ...Processing triggers for gnome-menus ...root@kali:/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. Throwingexceptions from an event handler is not supported in Qt. You mustreimplement 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>root@kali:/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 unconfiguredProcessing triggers for desktop-file-utils ...Processing triggers for gnome-menus ...Errors were encountered while processing: kuaipan4uk<span style="color:#FF0000;">//一样的结果,看来不是快盘版本问题</span>root@kali:/media/80/SoftBag/storageTools# apt-get dist-upgrade <span style="color:#FF0000;"> //猛地更新一下,出了已经安装的软件更新以外,将更新源中的都更新一下。</span>Reading package lists... DoneBuilding dependency tree Reading state information... DoneYou 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 installableE: Unmet dependencies. Try using -f.root@kali:/media/80/SoftBag/storageTools# apt-get -f installReading package lists... DoneBuilding dependency tree Reading state information... DoneCorrecting dependencies... DoneThe following extra packages will be installed: kuaipan4ukThe following packages will be upgraded: kuaipan4uk1 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]? yGet: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... Doneperl: 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 directorylocale: Cannot set LC_MESSAGES to default locale: No such file or directorylocale: 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 foundperl: 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").root@kali:/media/80/SoftBag/storageTools# locale<span style="color:#FF0000;"> //果然还是要安装语言,locale看看本地</span>locale: Cannot set LC_CTYPE to default locale: No such file or directorylocale: Cannot set LC_MESSAGES to default locale: No such file or directorylocale: Cannot set LC_ALL to default locale: No such file or directoryLANG=zh_CN.UTF-8LANGUAGE=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=root@kali:/media/80/SoftBag/storageTools# leafpad /etc/default/locale <span style="color:#FF0000;">//打开locale里面是空的,我就添加了这么几条# File generated by update-localeLANG=zh_CN.UTF-8#LANGUAGE="zh_CN:zh"</span>root@kali:/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' !root@kali:/media/80/SoftBag/storageTools# dpkg --helpUsage: 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.root@kali:/media/80/SoftBag/storageTools# dpkg- <span style="color:#FF0000;">//原来是这样的,dpkg-reconfigure -reconfigure不是参数而是连在一起是一条命令</span>dpkg-architecture dpkg-gensymbols dpkg-scansourcesdpkg-buildflags dpkg-maintscript-helper dpkg-shlibdepsdpkg-buildpackage dpkg-mergechangelogs dpkg-sourcedpkg-checkbuilddeps dpkg-name dpkg-splitdpkg-deb dpkg-parsechangelog dpkg-statoverridedpkg-distaddfile dpkg-preconfigure dpkg-triggerdpkg-divert dpkg-query dpkg-vendordpkg-genchanges <span style="color:#6600CC;">dpkg-reconfigure</span> dpkg-gencontrol dpkg-scanpackages root@kali:/media/80/SoftBag/storageTools# dpkg-reconfigure locales <span style="color:#FF0000;">//重新配置语言,我配置了两个zh_CN.UTF-8和en_US.UTF-8</span><img src="http://img.blog.csdn.net/20140812110729863?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQveGNoZ3g=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="" />root@kali:/media/80/SoftBag/storageTools# localelocale: Cannot set LC_CTYPE to default locale: No such file or directorylocale: Cannot set LC_MESSAGES to default locale: No such file or directorylocale: Cannot set LC_ALL to default locale: No such file or directoryLANG=zh_CN.UTF-8LANGUAGE=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= root@kali:/media/80/SoftBag/storageTools# export LC_ALL="en_US.utf8"bash: 警告:setlocale: LC_ALL: 无法改变区域选项 (en_US.utf8): 没有那个文件或目录root@kali:/media/80/SoftBag/storageTools# export LANG="zh_CN.utf8" <span style="color:#FF0000;">//设置locale的语言</span>root@kali:/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() root@kali:/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 foundProcessing triggers for desktop-file-utils ...Processing triggers for gnome-menus ...<span style="color:#FF0000;">//启动快盘成功。哈哈到这里就搞定了</span>root@kali:/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改来改去,后来又不能启动了。。。
后来改成这样,就不能启动了
root@kali:~# localelocale: Cannot set LC_CTYPE to default locale: No such file or directorylocale: Cannot set LC_MESSAGES to default locale: No such file or directorylocale: Cannot set LC_ALL to default locale: No such file or directoryLANG=zh_CN.UTF-8LANGUAGE=zh_CN.UTF-8LC_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也要是空空的。
root@kali:~# localelocale: Cannot set LC_CTYPE to default locale: No such file or directorylocale: Cannot set LC_MESSAGES to default locale: No such file or directorylocale: Cannot set LC_ALL to default locale: No such file or directoryLANG=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,搞定
0 0
- 终于在kali linux中安装好了快盘1402版本。
- 终于在本本安装好了Mac OS!
- 如何在虚拟机中安装kali linux
- 在Kali Linux中安装的拼音输入法
- git终于安装好了
- 在VM8.0中兼容地安装FreeBSD2.2.9终于好了
- Robi改造计划更新---moveit终于在树莓派raspberry 3B(raspbian<Jessie>, ROS Indigo版本)上安装好了
- 昨天终于在AIX上安装好了DB2
- 终于在ubuntu上安装好了中文输入法
- 在Kali Linux中安装IBus的拼音输入法
- 在VMware虚拟机中安装Kali Linux 17.1
- 在 Kali Linux 中如何安装 Google Chrome
- 终于把Mantis安装好了
- 在VMware Workstation上安装Kali Linux
- 在Kali Linux上安装maven
- 在Kali Linux上安装LOIC
- 在虚拟机下安装kali linux
- kali linux 在VM VirtualBox中的安装
- matlab 黄金分割算法
- 【Linux】Linux下的多线程编程
- T-code
- 解决error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppC
- BeanUtils的转换器
- 终于在kali linux中安装好了快盘1402版本。
- python爬虫小程序
- boost高并发网络框架+线程池
- EBS12.1.3往smtp邮件服务器发送邮件的bug
- 时间函数对比
- !
- hd 2064 汉诺塔III
- Mysql----浅入浅出之事务处理及其他
- 使用AS3获取组合键