成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

修復Ubuntu中 “E: The package cache file is corrupted, it has the wrong hash”

系統 Linux
今天,我嘗試更新我的 Ubuntu 18.04 LTS 的倉庫列表,但收到了一條錯誤消息:“E: The package cache file is corrupted, it has the wrong hash”。

[[274538]]

今天,我嘗試更新我的 Ubuntu 18.04 LTS 的倉庫列表,但收到了一條錯誤消息:“E: The package cache file is corrupted, it has the wrong hash”。這是我在終端運行的命令以及輸出:

  1. $ sudo apt update

示例輸出:

  1. Hit:1 http://it-mirrors.evowise.com/ubuntu bionic InRelease
  2. Hit:2 http://it-mirrors.evowise.com/ubuntu bionic-updates InRelease
  3. Hit:3 http://it-mirrors.evowise.com/ubuntu bionic-backports InRelease
  4. Hit:4 http://it-mirrors.evowise.com/ubuntu bionic-security InRelease
  5. Hit:5 http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu bionic InRelease
  6. Hit:7 http://ppa.launchpad.net/leaeasy/dde/ubuntu bionic InRelease
  7. Hit:8 http://ppa.launchpad.net/rvm/smplayer/ubuntu bionic InRelease
  8. Ign:6 https://dl.bintray.com/etcher/debian stable InRelease
  9. Get:9 https://dl.bintray.com/etcher/debian stable Release [3,674 B]
  10. Fetched 3,674 B in 3s (1,196 B/s)
  11. Reading package lists... Done
  12. E: The package cache file is corrupted, it has the wrong hash

 

Ubuntu 中的 “The package cache file is corrupted, it has the wrong hash” 錯誤

經過一番谷歌搜索,我找到了解決此錯誤的方法。

如果你遇到過這個錯誤,不要驚慌。只需運行下面的命令修復。

在運行命令之前,請再次確認你在最后加入了 *。在命令最后加上 * 很重要。如果你沒有添加,它會刪除 /var/lib/apt/lists/*目錄,而且無法恢復。我提醒過你了!

  1. $ sudo rm -rf /var/lib/apt/lists/*

現在我再次使用下面的命令更新系統:

  1. $ sudo apt update

 

現在好了!希望它有幫助。 

 

責任編輯:龐桂玉 來源: 中國IDC圈
相關推薦

2020-05-13 18:34:33

UbuntuLinux

2023-06-05 09:56:41

Arch Linux命令

2020-09-30 21:23:02

UbuntuLinux

2014-06-18 10:59:22

2022-07-31 21:30:15

Ubuntu

2022-08-08 16:21:54

Ubuntu

2022-07-11 12:23:50

UbuntuLinux

2018-08-28 10:10:30

LinuxUbuntuWindows

2015-07-28 14:45:31

ubuntu修復系統程序

2010-06-17 11:35:24

Ubuntu 修復Gr

2010-06-17 09:39:07

Ubuntu Grub

2010-06-13 12:59:15

Ubuntu xp G

2010-06-13 13:11:18

Ubuntu xp G

2010-06-12 10:03:20

Ubuntu Grub

2015-11-24 13:48:19

UbuntuShell腳本

2023-02-22 15:22:13

Ubuntu命令

2016-12-23 09:59:02

UbuntuLinuxMint

2009-06-17 16:08:58

Hibernate C

2024-06-27 08:33:37

2014-07-30 09:23:33

UbuntuHDMI
點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 在线国产一区二区 | 亚洲91| 日韩一区二区免费视频 | 国产美女福利在线观看 | 亚洲国产精品一区二区久久 | 亚洲精品久久久久久国产精华液 | 国产精品久久久精品 | 日韩视频在线免费观看 | 夜夜摸夜夜操 | 黄色一级电影免费观看 | 色综合久久天天综合网 | 秋霞电影院午夜伦 | 国产一区二区三区在线免费观看 | 久久久免费电影 | 成人av大全 | 亚洲精品不卡 | 久久久久国产 | 午夜爽爽爽男女免费观看影院 | 国产成人久久av免费高清密臂 | 免费h在线| 欧美九九| 久久久99国产精品免费 | 在线观看视频一区 | 在线观看黄色电影 | 91av视频| 亚欧洲精品在线视频免费观看 | 在线看av的网址 | 欧美精品一区二区在线观看 | 色视频欧美 | 日韩欧美成人精品 | 天天躁日日躁狠狠躁2018小说 | 国产精品久久二区 | 欧美精品久久久久 | 日日天天 | 久久精品免费 | 美女一级毛片 | 特级做a爰片毛片免费看108 | 日本不卡一区二区三区 | 国产精品乱码一区二区三区 | 欧美成人影院 | 精品国产91亚洲一区二区三区www |