0
当我跑下载源代码GCC-4.9或dpkg-checkbuilddeps I中的信息接收的:安装版本大于或等于包的
# apt-get source gcc-4.9
# cd gcc-4.9-4.9.2
#dpkg-checkbuilddeps: Unmet build dependencies: g++-multilib libc6-dev-i386 lib32gcc1 libc6-dev-x32 libx32gcc1 libc6-dbg autoconf2.64 autogen gawk zlib1g-dev systemtap-sdt-dev gperf (>= 3.0.1) bison (>= 1:2.3) flex gdb locales sharutils libantlr-java libffi-dev fastjar libmagic-dev libecj-java (>= 3.3.0-2) zip libasound2-dev libxtst-dev libxt-dev libgtk2.0-dev (>= 2.4.4-2) libart-2.0-dev libcairo2-dev libcloog-isl-dev (>= 0.18) libmpc-dev (>= 1.0) libmpfr-dev (>= 3.0.0-9~) libgmp-dev (>= 2:5.0.1~) dejagnu realpath (>= 1.9.12) chrpath quilt doxygen (>= 1.7.2) graphviz (>= 2.2) ghostscript texlive-latex-base xsltproc libxml2-utils docbook-xsl-ns
Now I am trying to install gperf version (>= 3.0.1) - but none of the below commands works. How can I install a package with a version greater than or euqall to one specified in command line:
# apt-get install gperf='>=3.0.1'
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gperf=>
# apt-get install gperf=3.0.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '3.0.1' for 'gperf' was not found
难道这是我的命令apt-get install gperf = 3.0.1失败的原因导致版本本身不存在 - 也有它在那里然后该命令将工作 - 对吗? – Prakash
@Prakash没错,命令'apt-get install = '是正确的。但请注意使用实际版本。 举例:'apt-get install gperf = 3.0.4'会失败,因为jessie的版本名称应该是'3.0.4-1'或者拉伸的'3.0.4-2' –
Oxados
对不起,但虽然不是主题 - 可以你请解释“jessie的版本名称” - 不明白这一点? – Prakash