无法通过正则表达式'php5.6'找到任何软件包。

4
我正在尝试从PHP 5.5.38升级到PHP 5.6。我遵循SO上的说明,但我收到以下错误信息:
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(wheezy)操作系统。


1
你确定Ondrej的PPA已经成功添加了吗? - Mjh
@Mjh:我执行了这个命令。我该如何检查呢? - Jérôme Verstrynge
在运行您在链接文章中找到的命令后,您的终端显示了什么? - Mjh
1个回答

2

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接