gpt4 book ai didi

ubuntu - drone.io 上的 apt-get 错误

转载 作者:行者123 更新时间:2023-12-04 19:01:54 25 4
gpt4 key购买 nike

我在 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

我该如何解决 ?

最佳答案

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

如果在更新之前调用这个对我有用
sudo rm /etc/apt/sources.list.d/google*
sudo rm /etc/apt/sources.list.d/ondrej*

关于ubuntu - drone.io 上的 apt-get 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40447523/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com