从本地存储库中获取文件时,来自“ apt-get update”的哈希错误

时间:2018-08-28 18:40:08

标签: debian apt debian-jessie

我正在尝试解决此问题。它抱怨无法从本地存储库中获取文件。此回购包含对我们产品的某些测试所需的依赖项。

# apt-get update
Ign file: achilles/ InRelease
Get:1 file: achilles/ Release.gpg [181 B]          
Get:2 file: achilles/ Release [155 B]                                           
Ign http://prod-atprepo-vcr1.wurldtech.com jessie InRelease                 
Hit http://prod-atprepo-vcr1.wurldtech.com jessie Release.gpg
Hit http://prod-atprepo-vcr1.wurldtech.com jessie Release
Get:3 http://prod-atprepo-vcr1.wurldtech.com jessie/main i386 Packages [3540 kB]
Hit http://prod-atprepo-vcr1.wurldtech.com jessie/main Translation-en
Err http://prod-atprepo-vcr1.wurldtech.com jessie/main i386 Packages

Hit http://prod-atprepo-vcr1.wurldtech.com jessie/main i386 Packages [3540 kB]
Fetched 3540 kB in 3s (1042 kB/s)
W: Failed to fetch file:/root/achilles/achilles-repo/achilles/Release  No Hash entry in Release file /var/lib/apt/lists/partial/_root_achilles_achilles-repo_achilles_Release

E: Some index files failed to download. They have been ignored, or old ones used instead.

请注意,/var/lib/apt/lists/partial/_root_achilles_achilles-repo_achilles_Release不再存在。我在调试时将其删除。

achilles/Release文件包含:

Origin: Wurldtech achilles
Label: Wurldtech achilles
Suite: achilles
Codename: achilles
Architectures: all i386
Description: Wurldtech Release Description

是否需要哈希?什么是哈希值,我该如何生成?

0 个答案:

没有答案