Ubuntu apt在drone.io上获取错误

Ubuntu apt在drone.io上获取错误,ubuntu,apt,drone.io,Ubuntu,Apt,Drone.io,我在drone.io上构建时遇到问题,只是运行了apt get update命令。它的错误是: W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file) W:

我在
drone.io
上构建时遇到问题,只是运行了
apt get update
命令。它的错误是:

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://ppa.launchpad.net/ondrej/php5/ubuntu/dists/precise/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/ondrej/php5/ubuntu/dists/precise/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/ondrej/php5/ubuntu/dists/precise/main/binary-i386/Packages  404  Not Found
以下是我的构建步骤:

sudo apt-get update
sudo apt-get install -y zip xsltproc
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
sudo apt-get update
sudo apt-get install esl-erlang
sudo apt-get install elixir
cd /home/ubuntu/src/github.com/lowks/Radpath
rm -rf deps
yes | mix deps.get --all
mix deps.compile
mix test

如何解决此问题?

遇到同样的问题。看起来旧版Ubuntu 12.04的
sudo apt get update
已损坏

如果在更新之前调用,这一个对我有效

sudo rm/etc/apt/sources.list.d/google*
sudo rm/etc/apt/sources.list.d/ondrej*

遇到同样的问题。看起来旧版Ubuntu 12.04的
sudo apt get update
已损坏

如果在更新之前调用,这一个对我有效

sudo rm/etc/apt/sources.list.d/google*
sudo rm/etc/apt/sources.list.d/ondrej*

谢谢!构建已经修复。太糟糕了,那个drone.io停止了他们的服务。谢谢!构建已经修复。太糟糕了,那个drone.io停止了他们的服务。