# Debian apt-get update出现软件包Hash Sum mismatch处理

在使用`apt-get update`更新Debian系统时候，由于网络原因导致数据包下载损坏，会反复提示类似如下错误信息

```
Reading package lists... Done
E: Failed to fetch store:/var/lib/apt/lists/partial/deb.debian.org_debian_dists_stretch_main_binary-amd64_Packages.gz  Hash Sum mismatch
...
```

解决方法：

```
apt-get clean
rm -rf /var/lib/apt/lists/*
apt-get clean
apt-get update
apt-get upgrade
```

## 参考

* [debian apt packages hash sum mismatch](https://stackoverflow.com/questions/15505775/debian-apt-packages-hash-sum-mismatch)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://huataihuang.gitbook.io/cloud-atlas-draft/os/linux/debian/package/debian_apt_packages_hash_sum_mismatch.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
