2016-10-03 42 views
2

我想从PHP 5.5.38升级到PHP 5.6。我下面的说明available on SO,但我收到以下错误消息:通过正则表达式'php5.6'找不到任何包

sudo apt-get -y install php5.6 php5.6-mcrypt php5.6-mbstring php5.6-curl php5.6-cli php5.6-mysql php5.6-gd php5.6-intl php5.6-xsl 
Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
E: Unable to locate package php5.6 
E: Couldn't find any package by regex 'php5.6' 
E: Unable to locate package php5.6-mcrypt 
E: Couldn't find any package by regex 'php5.6-mcrypt' 
E: Unable to locate package php5.6-mbstring 
E: Couldn't find any package by regex 'php5.6-mbstring' 
E: Unable to locate package php5.6-curl 
E: Couldn't find any package by regex 'php5.6-curl' 
E: Unable to locate package php5.6-cli 
E: Couldn't find any package by regex 'php5.6-cli' 
E: Unable to locate package php5.6-mysql 
E: Couldn't find any package by regex 'php5.6-mysql' 
E: Unable to locate package php5.6-gd 
E: Couldn't find any package by regex 'php5.6-gd' 
E: Unable to locate package php5.6-intl 
E: Couldn't find any package by regex 'php5.6-intl' 
E: Unable to locate package php5.6-xsl 
E: Couldn't find any package by regex 'php5.6-xsl' 

有谁知道是什么原因造成这个问题?

P.S.:我在Debian GNU/Linux的7(喘息)

+1

你肯定的Ondrej的PPA已成功添加? – Mjh

+0

@Mjh:我执行了命令。我如何检查? – JVerstry

+0

运行您在链接文章中找到的命令后,您的终端是怎么说的? – Mjh

回答