软件包没有显示在aptitude中

我在我的服务器上有一个非常奇怪的问题,我刚刚从Debian 7升级到9.它没有列出应该存在于其存储中的一些软件包…

$ cat /etc/apt/sources.list deb http://ftp.de.debian.org/debian/ stable main contrib non-free deb-src http://ftp.de.debian.org/debian/ stable main contrib non-free deb http://ftp.de.debian.org/debian/ stable-updates main contrib non-free deb-src http://ftp.de.debian.org/debian/ stable-updates main contrib non-free deb http://security.debian.org/ stable/updates main deb-src http://security.debian.org/ stable/updates main deb http://ftp.debian.org/debian stretch-backports main deb-src http://ftp.debian.org/debian stretch-backports main $ aptitude update Hit http://ftp.debian.org/debian stretch-backports InRelease Hit http://security.debian.org stable/updates InRelease Ign http://ftp.de.debian.org/debian stable InRelease Hit http://ftp.de.debian.org/debian stable-updates InRelease Hit http://ftp.de.debian.org/debian stable Release Deleting obsolete downloaded files $ aptitude search php5- i A php5-cli - command-line interpreter for the php5 scripting language i A php5-common - Common files for packages built from the php5 source i php5-curl - CURL module for php5 i A php5-json - JSON module for php5 v php5-mhash - i A php5-readline - Readline module for php5 $ 

它列出已经安装的软件包好 – 但应该有更多…有没有人有任何想法?

现在在Debian的php7.0上。

如果你需要安装旧的php5,我想可以把jessie (Debian 8)添加到你的apt源码,并且从那里仔细安装php5包,但是如果他们试图插入XML库等,可能会有冲突比Debian 9的版本还要旧。