安装g++一直在post processingg dependency怎么中断

Ubuntu循环依赖(Cycle Dependency)的解决[免编译+解决步骤]
最近在VMware中安装了一个Ubuntu系统。由于创建系统时没有要求安装虚拟网卡,因此需要安装Ubuntu的软件包时,需要自己下载deb 文件,拖进系统,然后双击调用gdebi进行安装。可是,当我尝试安装G++时却出现了问题:g++-4.1这个包依赖libstdc++6-4.1- dev这个包(也就是C++库),而libstdc++6-4.1-dev又依赖g++-4.1。结果两个包都装不上。
最近在VMware中安装了一个Ubuntu系统。由于创建系统时没有要求安装虚拟网卡,因此需要安装Ubuntu的软件包时,需要自己下载deb 文件,拖进系统,然后双击调用gdebi进行安装。可是,当我尝试安装G++时却出现了问题:g++-4.1这个包依赖libstdc++6-4.1- dev这个包(也就是C++库),而libstdc++6-4.1-dev又依赖g++-4.1。结果两个包都装不上。
上网搜索,在Ubuntu官方论坛找到了解决方法:
在命令行下执行以下语句
sudo dpkg -i &ignore-depends=libstdc++6-4.1-dev g++-4.1_4.1.2-0ubuntu4_i386.deb
sudo dpkg -i &ignore-depends=g++-4.1 libstdc++6-4.1-dev_4.1.2-0ubuntu4_i386.deb
(g++-4.1默认安装包名为g++-4.1_4.1.2-0ubuntu4_i386.deb;libstdc++6-4.1-dev默认安装包名为libstdc++6-4.1-dev_4.1.2-0ubuntu4_i386.deb)
也就是说,强行让两个安装包忽略依赖项。
使用apt-get自动安装应该没有这种问题。
附:dpkg命令中文帮助信息
用法:dpkg [&选项& ...] &命令&
-i|&install &.deb 文件名& & | -R|&recursive &目录& &
&unpack &.deb 文件名& & | -R|&recursive &目录& &
-A|&record-avail &.deb 文件名& & | -R|&recursive &目录& &
&configure &软件包名& & | -a|&pending
&triggers-only &软件包名& & | -a|&pending
-r|&remove &软件包名& & | -a|&pending
-P|&purge &软件包名& & | -a|&pending
&get-selections [&表达式& ...] 把已选中的软件包列表打印到标准输出。
&set-selections 从标准输入里读出要选择的软件。
&clear-selections 取消选中所有不必要的软件包。
&update-avail &软件包文件& 替换现有可安装的软件包信息。
&merge-avail &软件包文件& 把文件中的信息合并到系统中。
&clear-avail 清除现有的软件包信息。
&forget-old-unavail 忘却已被卸载的不可安装的软件包。
-s|&status &软件包名& & 显示软件包详尽的状态信息。
-p|&print-avail &软件包名& & 显示可供安装的版本详情。
-L|&listfiles &软件包名& & 列出所有&属于&该软件包(或多个)的文件。
-l|&list [&表达式& ... 简明地列出软件包的状态。
-S|--search &表达式& ... 搜寻拥有该文件(或多个文件)的包。
-C|--audit 检查搜寻残损的软件包。
--print-architecture 显示 dpkg 体系架构。
--compare-vesions &关系& 比较版本号 - 见下。
--force-help 显示本强制选项的帮助信息。
-Dh|--debug=help 显示有关出错调试的帮助信息。
-h|--help 显示本帮助信息。
--version 显示版本信息。
--license | --licence 显示版权和许可证条文。
对归档文件使用 dpkg -b|--build|-c|--contents|-e|--control|-I|--info|-f|--field|
-x|--extract|-X|--vextract|--fsys-tarfile (输入 dpkg-deb --help)。
供内部使用:dpkg --assert-support-predepends | --predep-package |
--assert-working-epoch | --assert-long-filenames | --assert-multi-conrep。
--admindir=&目录& 使用 &目录& 而非 /var/lib/dpkg。
--root=&目录& 安装到另一个根文件系统。
--instdir=&目录& 改变安装的根目录的同时保持管理(admin)目录不变。
-O|--selected-only 忽略没有被选中安装或升级的软件包。
-E|--skip-same-version 忽略版本与已安装软件版本相同的软件包。
-G|--refuse-downgrade 忽略版本早于已安装软件版本的的软件包。
-B|--auto-deconfigure 就算会影响其他软件包,也要安装。
--[no-]triggers 跳过或强制随之发生的触发器处理。
&no-debsig 不去试图验证软件包的签名。
&no-act|&dry-run|&simulate
仅仅报告我们要执行的操作 - 但是不执行。
-D|&debug=&八进制数字& 开启调试功能(参见 -Dhelp 或者 &debug=help)。
&status-fd 发送状态改变的更新信号到文件描述符。
&log=&文件名& 把状态的更动和操作信息记录到 &文件名&。
&ignore-depends=&软件包名&,&
忽略关于 &软件包名& 的所有依赖关系。
&force-& 忽视遇到的问题(参见 &force-help)。
&no-force-&|&refuse-&
当遇到问题时中止运行。
&abort-after 遇到个错误后终止。
可供&compare-version 使用的比较运算符有:
lt le eq ne ge gt (如果版本号为空,那么就认为它先于任意版本号);
lt-nl le-nl ge-nl gt-nl (如果版本号为空,那么就认为它后于任意版本号);
& && &= = &= && & (仅仅是为了与主控文件的语法兼容)。
------分隔线----------------------------
海外媒体日前称 谷歌的一个团队悄悄披露了一个新的操作系统Fuchsia 从理论上讲 这个系...
rdiff-backup 是一个用于本地/远程增量备份的强大而易用的 Python 脚本,它适用于任何...
5月10日,红帽公司宣布,宝马集团已经部署了红帽OpenShift容器平台,以支持其交付业务...
红帽和思科公司今天宣布,他们将共同合作提供一个与红帽企业Linux软件和思科整合计算...
部署环境:操作系统:CentOS release 6.5 (Final)Python版本:Python 2.7.10 (default, ...订阅你的位置: >
> 【已解决】Ubuntu中用sudo apt-get install安装某软件,结果出错:E: Unable to locate package makeinfo
【问题】折腾:期间,安装makeinfo时出问题:crifan@ubuntu:~/develop/crosstool-ng/crosstool-ng-1.18.0$ ./configure --prefix=/opt/crosstool-ng
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking whether sed understands -r -i -e... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for objcopy... objcopy
checking for absolute path to objcopy... /usr/bin/objcopy
checking for objdump... objdump
checking for absolute path to objdump... /usr/bin/objdump
checking for readelf... readelf
checking for absolute path to readelf... /usr/bin/readelf
checking for bison... bison
checking for flex... flex
checking for gperf... gperf
checking for makeinfo... no
configure: error: missing required tool: makeinfo
crifan@ubuntu:~/develop/crosstool-ng/crosstool-ng-1.18.0$ sudo apt-get install makeinfo
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package makeinfo
crifan@ubuntu:~/develop/crosstool-ng/crosstool-ng-1.18.0$ 【解决过程】1.之前就弄过这类事情。知道是更换源。2.参考:所以换源之前,先去update一下:crifan@ubuntu:~/develop/crosstool-ng/crosstool-ng-1.18.0$ sudo apt-get install makeinfo
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package makeinfo
crifan@ubuntu:~/develop/crosstool-ng/crosstool-ng-1.18.0$ sudo apt-get update
raring Release.gpg [72 B]
raring-security Release.gpg [933 B]
raring Release
raring-security Release [40.8 kB]
raring/main Sources
raring/main i386 Packages
raring-security/main Sources [36.2 kB]
Hit http://us. raring Release.gpg
Get:5 http://us. raring-updates Release.gpg [933 B]
Get:6 http://us. raring-backports Release.gpg [933 B]
Hit http://us. raring Release
Get:7 http://us. raring-updates Release [40.8 kB]
raring-security/restricted Sources [14 B]
raring/main Translation-en_US
Get:9 http://us. raring-backports Release [40.8 kB]
raring-security/universe Sources [8,839 B]
raring/main Translation-en
raring-security/multiverse Sources [1,825 B]
raring-security/main i386 Packages [94.3 kB]
Hit http://us. raring/main Sources
Hit http://us. raring/restricted Sources
Hit http://us. raring/universe Sources
Hit http://us. raring/multiverse Sources
Hit http://us. raring/main i386 Packages
Hit http://us. raring/restricted i386 Packages
Hit http://us. raring/universe i386 Packages
Hit http://us. raring/multiverse i386 Packages
Hit http://us. raring/main Translation-en
Hit http://us. raring/multiverse Translation-en
Hit http://us. raring/restricted Translation-en
Hit http://us. raring/universe Translation-en
Get:13 http://us. raring-updates/main Sources [57.5 kB]
Get:14 http://us. raring-updates/restricted Sources [14 B]
raring-security/restricted i386 Packages [14 B]
Get:16 http://us. raring-updates/universe Sources [68.5 kB]
raring-security/universe i386 Packages [32.9 kB]
Get:18 http://us. raring-updates/multiverse Sources [1,825 B]
Get:19 http://us. raring-updates/main i386 Packages [148 kB]
Get:20 http://us. raring-updates/restricted i386 Packages [14 B]
Get:21 http://us. raring-updates/universe i386 Packages [133 kB]
raring-security/multiverse i386 Packages [3,612 B]
raring-security/main Translation-en
raring-security/multiverse Translation-en
raring-security/restricted Translation-en
Get:23 http://us. raring-updates/multiverse i386 Packages [3,612 B]
raring-security/universe Translation-en [20.9 kB]
Hit http://us. raring-updates/main Translation-en
Hit http://us. raring-updates/multiverse Translation-en
Hit http://us. raring-updates/restricted Translation-en
Get:25 http://us. raring-updates/universe Translation-en [70.8 kB]
Get:26 http://us. raring-backports/main Sources [14 B]
Get:27 http://us. raring-backports/restricted Sources [14 B]
Get:28 http://us. raring-backports/universe Sources [5,134 B]
Get:29 http://us. raring-backports/multiverse Sources [1,403 B]
Get:30 http://us. raring-backports/main i386 Packages [14 B]
Get:31 http://us. raring-backports/restricted i386 Packages [14 B]
Get:32 http://us. raring-backports/universe i386 Packages [6,239 B]
Get:33 http://us. raring-backports/multiverse i386 Packages [1,345 B]
Hit http://us. raring-backports/main Translation-en
Hit http://us. raring-backports/multiverse Translation-en
Hit http://us. raring-backports/restricted Translation-en
raring-security/main Translation-en_US
Get:34 http://us. raring-backports/universe Translation-en [4,983 B]
raring-security/multiverse Translation-en_US
raring-security/restricted Translation-en_US
raring-security/universe Translation-en_US
Ign http://us. raring/main Translation-en_US
Ign http://us. raring/multiverse Translation-en_US
Ign http://us. raring/restricted Translation-en_US
Ign http://us. raring/universe Translation-en_US
Ign http://us. raring-updates/main Translation-en_US
Ign http://us. raring-updates/multiverse Translation-en_US
Ign http://us. raring-updates/restricted Translation-en_US
Ign http://us. raring-updates/universe Translation-en_US
Ign http://us. raring-backports/main Translation-en_US
Ign http://us. raring-backports/multiverse Translation-en_US
Ign http://us. raring-backports/restricted Translation-en_US
Ign http://us. raring-backports/universe Translation-en_US
Fetched 827 kB in 52s (15.7 kB/s)
Reading package lists... Done
crifan@ubuntu:~/develop/crosstool-ng/crosstool-ng-1.18.0$ 3.结果发现,剪贴板无法共享了,所以再去解决此问题:4.然后再去试试apt-get能否找到makeinfo,结果还是不行:crifan@ubuntu:~/develop/crosstool-ng/crosstool-ng-1.18.0$ sudo apt-get install makeinfo
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package makeinfo
crifan@ubuntu:~/develop/crosstool-ng/crosstool-ng-1.18.0$ 5.看来只能去换sourcelist了。6.参考:去试试,结果发现其实是需要安装texinfo,然后就去安装:crifan@ubuntu:~/develop/crosstool-ng/crosstool-ng-1.18.0$ makeinfo
The program 'makeinfo' is currently not installed. You can install it by typing:
sudo apt-get install texinfo
crifan@ubuntu:~/develop/crosstool-ng/crosstool-ng-1.18.0$ sudo apt-get install texinfo
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
texlive-base texlive-latex-base texlive-generic-recommended
texinfo-doc-nonfree
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 203 not upgraded.
Need to get 449 kB of archives.
After this operation, 1,192 kB of additional disk space will be used.
Get:1 http://us./ubuntu/ raring/main texinfo i386 4.13a.dfsg.1-10ubuntu4 [449 kB]
Fetched 449 kB in 3s (125 kB/s)
Selecting previously unselected package texinfo.
(Reading database ... 156975 files and directories currently installed.)
Unpacking texinfo (from .../texinfo_4.13a.dfsg.1-10ubuntu4_i386.deb) ...
Processing triggers for man-db ...
Setting up texinfo (4.13a.dfsg.1-10ubuntu4) ...
crifan@ubuntu:~/develop/crosstool-ng/crosstool-ng-1.18.0$  7.然后又去试试那个apt-file,结果由于速度太慢,还是终止了:crifan@ubuntu:~/develop/crosstool-ng/crosstool-ng-1.18.0$ apt-file search makeinfo
The program 'apt-file' is currently not installed. You can install it by typing:
sudo apt-get install apt-file
crifan@ubuntu:~/develop/crosstool-ng/crosstool-ng-1.18.0$ sudo apt-get install apt-file
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
curl libconfig-file-perl libcurl3 liblist-moreutils-perl
libregexp-assemble-perl
The following NEW packages will be installed:
apt-file curl libconfig-file-perl liblist-moreutils-perl
libregexp-assemble-perl
The following packages will be upgraded:
1 upgraded, 5 newly installed, 0 to remove and 202 not upgraded.
Need to get 545 kB of archives.
After this operation, 947 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us./ubuntu/ raring-updates/main libcurl3 i386 7.29.0-1ubuntu3.1 [249 kB]
Get:2 http://us./ubuntu/ raring-updates/main curl i386 7.29.0-1ubuntu3.1 [149 kB]
Get:3 http://us./ubuntu/ raring/universe libconfig-file-perl all 1.50-2 [10.1 kB]
Get:4 http://us./ubuntu/ raring/main liblist-moreutils-perl i386 0.33-1build2 [47.8 kB]
Get:5 http://us./ubuntu/ raring/universe libregexp-assemble-perl all 0.35-7 [62.5 kB]
Get:6 http://us./ubuntu/ raring/universe apt-file all 2.5.1ubuntu1 [27.2 kB]
Fetched 545 kB in 58s (9,321 B/s)
(Reading database ... 157029 files and directories currently installed.)
Preparing to replace libcurl3:i386 7.29.0-1ubuntu3 (using .../libcurl3_7.29.0-1ubuntu3.1_i386.deb) ...
Unpacking replacement libcurl3:i386 ...
Selecting previously unselected package curl.
Unpacking curl (from .../curl_7.29.0-1ubuntu3.1_i386.deb) ...
Selecting previously unselected package libconfig-file-perl.
Unpacking libconfig-file-perl (from .../libconfig-file-perl_1.50-2_all.deb) ...
Selecting previously unselected package liblist-moreutils-perl.
Unpacking liblist-moreutils-perl (from .../liblist-moreutils-perl_0.33-1build2_i386.deb) ...
Selecting previously unselected package libregexp-assemble-perl.
Unpacking libregexp-assemble-perl (from .../libregexp-assemble-perl_0.35-7_all.deb) ...
Selecting previously unselected package apt-file.
Unpacking apt-file (from .../apt-file_2.5.1ubuntu1_all.deb) ...
Processing triggers for man-db ...
Setting up libcurl3:i386 (7.29.0-1ubuntu3.1) ...
Setting up curl (7.29.0-1ubuntu3.1) ...
Setting up libconfig-file-perl (1.50-2) ...
Setting up liblist-moreutils-perl (0.33-1build2) ...
Setting up libregexp-assemble-perl (0.35-7) ...
Setting up apt-file (2.5.1ubuntu1) ...
The system-wide cache is empty. You may want to run 'apt-file update'
as root to update the cache. You can also run 'apt-file update' as
normal user to use a cache in the user's home directory.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
crifan@ubuntu:~/develop/crosstool-ng/crosstool-ng-1.18.0$ apt-file search makeinfo
E: The cache is empty. You need to run 'apt-file update' first.
crifan@ubuntu:~/develop/crosstool-ng/crosstool-ng-1.18.0$ apt-file update
apt-file is now using the user's cache directory.
If you want to switch back to the system-wide cache directory,
run 'apt-file purge'
Downloading complete file http://us./ubuntu/dists/raring/Contents-i386.gz
% Received % Xferd
Average Speed
2893^CDownload of http://us./ubuntu/dists/raring/Contents-i386.gz failed
Command died with signal 2
E: Update aborted by signal 2: No such file or directory
crifan@ubuntu:~/develop/crosstool-ng/crosstool-ng-1.18.0$ 8.此时,可以看出,此处连接到us的ubuntu服务器,速度还是太慢,所以还是要去换成163的那个镜像: 【总结】此处sudo apt-get install makeinfo出现:E: Unable to locate package makeinfo的原因是:makeinfo不是一个单独的软件,而是texinfo中的内容。所以要去安装texinfo即可:sudo apt-get install texinfo 注:如果是由于源不好,而找不到某软件包,则可以考虑换源,可参考:转载请注明: & 与本文相关的文章
15 queries in 0.274 seconds, using 10.43MB memorydebian下安装psdash并排错
1.更新一下系统,安装必要的安装包
root@debian-lege-pro:~# apt-get update
root@debian-lege-pro:~# apt-get upgrade
root@debian-lege-pro:~# apt-get install gcc git
root@debian-lege-pro:~# apt-get install python-setuptools
root@debian-lege-pro:~# apt-get install python-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libexpat1-dev libssl-dev libssl-doc python2.7-dev zlib1g-dev
The following NEW packages will be installed:
libexpat1-dev libssl-dev libssl-doc python-dev python2.7-dev zlib1g-dev
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 26.2 MB of archives.
After this operation, 41.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 /debian/ wheezy/main libexpat1-dev amd64 2.1.0-1+deb7u1 [222 kB]
Get:2 http://security.debian.org/ wheezy/updates/main libssl-dev amd64 1.0.1e-2+deb7u14 [1,756 kB]
Get:3 /debian/ wheezy/main zlib1g-dev amd64 1:1.2.7.dfsg-13 [215 kB]
Get:4 /debian/ wheezy/main python2.7-dev amd64 2.7.3-6+deb7u2 [22.8 MB]
Get:5 http://security.debian.org/ wheezy/updates/main libssl-doc all 1.0.1e-2+deb7u14 [1,198 kB]
Get:6 /debian/ wheezy/main python-dev all 2.7.3-4+deb7u1 [920 B]
Fetched 26.2 MB in 24s (1,090 kB/s)
2.从github上把psdash安装包给下下来
root@debian-lege-pro:~# git clone /Jahaja/psdash.git
Cloning into 'psdash'...
remote: Counting objects: 1199, done.
Receiving objects: 100% (), 2.08 MiB | 145 KiB/s, done.
remote: Total 1199 (delta 0), reused 0 (delta 0)
Resolving deltas: 100% (782/782), done.
root@debian-lege-pro:~# ls
linux-3.18.1
linux-3.18.1.tar
root@debian-lege-pro:~# cd psdash/
root@debian-lege-pro:~/psdash# ls
MANIFEST.in
Vagrantfile
vagrant.sh
3.安装psdash
root@debian-lege-pro:~/psdash# python2.6 setup.py install
Traceback (most recent call last):
File &setup.py&, line 3, in &module&
from setuptools import setup, find_packages
ImportError: No module named setuptools
root@debian-lege-pro:~/psdash# python setup.py install
Traceback (most recent call last):
File &setup.py&, line 3, in &module&
from setuptools import setup, find_packages
ImportError: No module named setuptools
E: Unable to locate package gcc-c+
E: Couldn't find any package by regex 'gcc-c+'
root@debian-lege-pro:~/psdash# apt-get install gcc-c++
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gcc-c+
E: Couldn't find any package by regex 'gcc-c+'
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
error: Setup script exited with error: command 'gcc' failed with exit status 1
4.安装出现报错如上,Google一下找到排错方法如下:
root@debian-lege-pro:~/psdash# aptitude install g++
The following NEW packages will be installed:
g++ g++-4.7{a} libstdc++6-4.7-dev{a}
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 9,739 kB of archives. After unpacking 27.6 MB will be used.
Do you want to continue? [Y/n/?] y
Get: 1 /debian/ wheezy/main libstdc++6-4.7-dev amd64 4.7.2-5 [1,726 kB]
Get: 2 /debian/ wheezy/main g++-4.7 amd64 4.7.2-5 [8,011 kB]
Get: 3 /debian/ wheezy/main g++ amd64 4:4.7.2-1 [1,374 B]
Fetched 9,739 kB in 28s (339 kB/s)
Selecting previously unselected package libstdc++6-4.7-dev.
(Reading database ... 88227 files and directories currently installed.)
Unpacking libstdc++6-4.7-dev (from .../libstdc++6-4.7-dev_4.7.2-5_amd64.deb) ...
Selecting previously unselected package g++-4.7.
Unpacking g++-4.7 (from .../g++-4.7_4.7.2-5_amd64.deb) ...
Selecting previously unselected package g++.
Unpacking g++ (from .../g++_4%3a4.7.2-1_amd64.deb) ...
Processing triggers for man-db ...
Setting up libstdc++6-4.7-dev (4.7.2-5) ...
Setting up g++-4.7 (4.7.2-5) ...
Setting up g++ (4:4.7.2-1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
5.继续安装
root@debian-lege-pro:~/psdash# python setup.py install
running install
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running bdist_egg
running egg_info
writing requirements to psdash.egg-info/requires.txt
writing psdash.egg-info/PKG-INFO
writing top-level names to psdash.egg-info/top_level.txt
writing dependency_links to psdash.egg-info/dependency_links.txt
writing entry points to psdash.egg-info/entry_points.txt
reading manifest file 'psdash.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'psdash.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
Using /usr/local/lib/python2.7/dist-packages/psutil-2.1.3-py2.7-linux-x86_64.egg
Searching for Flask==0.10.1
Best match: Flask 0.10.1
Processing Flask-0.10.1-py2.7.egg
Flask 0.10.1 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages/Flask-0.10.1-py2.7.egg
Finished processing dependencies for psdash==0.6.1
6.安装完成:运行一下,无报错,安装成功
root@debian-lege-pro:~/psdash# psdash
INFO | psdash.run | Starting psdash v0.6.1
INFO | psdash.run | Listening on 0.0.0.0:5000
INFO | psdash.run | Starting web server
7.打开浏览器在浏览器中输入http://192.168.170.137:5000即可看到效果
8.若是想从其他主机访问此台机器,只需安装Apache服务用启动即可:
root@debian-lege-pro:~# apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apache2-mpm-worker apache2-utils apache2.2-common ssl-cert
Suggested packages:
apache2-doc apache2-suexec apache2-suexec-custom openssl-blacklist
The following NEW packages will be installed:
apache2 apache2-mpm-worker apache2-utils apache2.2-common ssl-cert
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 479 kB of archives.
After this operation, 1,354 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
root@debian-lege-pro:/etc/apache2# /etc/init.d/apache2 status
Apache2 is running (pid 3926).
OK!!!可以在其他机器输入http://192.168.170.137:5000即可以看到psdash界面!!!
阅读(...) 评论()

我要回帖

更多关于 unity postprocessing 的文章

 

随机推荐