我有一个本地镜像(用 debmirror 创建),apt-get update几天后运行时,我得到了这个:
E: Release file expired, ignoring file:/home/wena/.repo_bin/dists/sid/Release (invalid since 14h 31min 45s)
Run Code Online (Sandbox Code Playgroud)
我该如何解决这个问题?
我正在与一个 Debian GNU/Linux 7.5 (wheezy)
当我检查文件/etc/apt/sources.list该文件有这一行:
# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ wheezy/updates main
Run Code Online (Sandbox Code Playgroud)
我试图替换另一个 repo 行,但是每次我替换它并apt-get update在一段时间后运行命令时,我都会得到:
E: Some index files failed to download. They have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud)
我应该怎么做才能解决这个问题?
我有一个带有 debian 7 (wheezy) 的 vps,我无法从它的存储库中安装任何软件包。我以前从未使用过报废发行版,我想知道是否可以更改官方存储库以继续安装一些我需要的软件包。
来自我的 vps 的一些信息:
PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="http://bugs.debian.org/"
Run Code Online (Sandbox Code Playgroud)
cat /etc/apt/*.list
deb http://ftp.us.debian.org/debian/ stable main non-free contrib
deb http://ftp.debian.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
Run Code Online (Sandbox Code Playgroud)
sudo apt-get 更新
Obj http://ppa.launchpad.net trusty Release.gpg
Obj http://ppa.launchpad.net trusty Release
Obj http://ppa.launchpad.net trusty/main Sources
Obj http://ppa.launchpad.net trusty/main i386 Packages
Obj http://ppa.launchpad.net trusty/main Translation-en
Ign http://ftp.debian.org wheezy Release.gpg
Ign http://ftp.debian.org wheezy Release
Ign http://ftp.debian.org wheezy/main i386 Packages/DiffIndex
Ign http://security.debian.org wheezy/updates Release.gpg …Run Code Online (Sandbox Code Playgroud)