我正在使用 Ubuntu 16.04 LTS。今天早上跑的时候sudo apt-get update,遇到如下错误:
W: The repository 'http://us.archive.ubuntu.com/ubuntu lucid Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid/main/source/Sources 404 Not Found [IP: 91.189.91.26 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud)
我已经在互联网上查看了答案。虽然我确实找到了一些类似的帖子,但没有一个解决方案适合我。我尝试过的有趣解决方案之一是:
最简单的解决方案是执行以下两个步骤:
1- 备份你的源列表 -> sudo …
我正在尝试在 Ubuntu 14.04 上编译 php 5.3.29。我收到一个错误 -configure: error: jpeglib.h not found.
这是我的 options.sh :
#!/bin/bash
# You can override config options very easily.
# Just create a custom options file; it may be version specific:
# - custom-options.sh
# - custom-options-5.sh
# - custom-options-5.3.sh
# - custom-options-5.3.1.sh
#
# Don't touch this file here - it would prevent you to just "svn up"
# your phpfarm source code.
version=$1
vmajor=$2
vminor=$3
vpatch=$4
#gcov='--enable-gcov'
configoptions="\
--enable-bcmath \
--with-mysqli \
--with-png …Run Code Online (Sandbox Code Playgroud)