Raspberry pi 如何在Raspbian上为Xapian构建PHP绑定

Raspberry pi 如何在Raspbian上为Xapian构建PHP绑定,raspberry-pi,raspbian,xapian,Raspberry Pi,Raspbian,Xapian,我正在尝试在我的Raspberry Pi上的Raspbian上为Xapian构建PHP绑定 下面是说明 我在第二栏跌倒了 sudo apt-get build-dep xapian-bindings 给我以下的错误 Reading package lists... Done Building dependency tree Reading state information... Done E: You must put some 'source' URIs in your sources.l

我正在尝试在我的Raspberry Pi上的Raspbian上为Xapian构建PHP绑定

下面是说明

我在第二栏跌倒了

sudo apt-get build-dep xapian-bindings
给我以下的错误

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: You must put some 'source' URIs in your sources.list
我已经尝试将deb src条目添加到/etc/apt/sources.list和/etc/apt/sources.list.d中的3个文件中

i、 e


将存储库添加到sources.list之后,必须执行以下操作

sudo apt-get update

等待新资源可用。

Doh!是的,只需要重新运行步骤1,因为我只是在步骤2失败后添加了deb src。
sudo apt-get update