旧版本哈希值已损坏。我如何忽略“哈希值总和不匹配”?

旧版本哈希值已损坏。我如何忽略“哈希值总和不匹配”?

我需要设置 Ubuntu 7.10(gutsy)(不是 17.10)存储库,因此我创建了如下本地文件:(主机操作系统:Ubuntu 16.04 apt.confsource.list

apt.conf

Dir::Etc::main ".";
Dir::Etc::Parts "./apt.conf.d";
Dir::Etc::sourcelist "./sources.list";
Dir::Etc::sourceparts "./sources.list.d";
Dir::State "./apt-tmp";
Dir::State::status "./apt-tmp/status";
Dir::Cache "./apt-tmp";
Acquire::CompressionTypes::Order:: "gz";
Debug::Acquire::http true;
Debug::pkgAcquire::Auth true;
Debug::Hashs true;
Acquire::http::Pipeline-Depth 0;
Acquire::http::No-Cache true;
Acquire::BrokenProxy true;

sources.list

###### Ubuntu Main Repos
deb http://old-releases.ubuntu.com/ubuntu/ gutsy main universe 
# deb-src http://old-releases.ubuntu.com/ubuntu/ gutsy main 

###### Ubuntu Update Repos
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-security main universe 
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-updates main universe 
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-proposed main universe 
deb http://old-releases.ubuntu.com/ubuntu/ gutsy-backports main universe 
# deb-src http://old-releases.ubuntu.com/ubuntu/ gutsy-security main 
# deb-src http://old-releases.ubuntu.com/ubuntu/ gutsy-updates main 
# deb-src http://old-releases.ubuntu.com/ubuntu/ gutsy-proposed main 
# deb-src http://old-releases.ubuntu.com/ubuntu/ gutsy-backports main 

然而, apt-get -c apt.conf update由于著名的错误,它无法工作,Hash Sum mismatch

我检查了http://old-releases.ubuntu.com/ubuntu/dists/gutsy/Release文件,我发现很多.gz文件的 SHA256 哈希值与 相同baa89858c7e545390273530ba63c61b94c2e09d38c28b0a0311bfa7bde396181。这怎么可能呢?

即使我不使用apt.confAcquire::CompressionTypes::Order选项,apt-get update由于其他文件的哈希不匹配错误,它也无法工作。我的问题是:

  1. 我怎样才能向它的维护者指出的http://old-releases.ubuntu.com哈希值已被破坏?

  2. 有可能完全忽略Hash Sum mismatch错误吗?

编辑:显然,sudo rm -rf /var/lib/apt/lists/*不会解决这个问题。

相关内容