日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關咨詢
選擇下列產(chǎn)品馬上在線溝通
服務時間:8:30-17:00
你可能遇到了下面的問題
關閉右側工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
Ubuntu包緩存文件被毀修復方法

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

10年積累的成都網(wǎng)站建設、成都網(wǎng)站設計經(jīng)驗,可以快速應對客戶對網(wǎng)站的新想法和需求。提供各種問題對應的解決方案。讓選擇我們的客戶得到更好、更有力的網(wǎng)絡服務。我雖然不認識你,你也不認識我。但先網(wǎng)站設計后付款的網(wǎng)站建設流程,更有新民免費網(wǎng)站建設讓你可以放心的選擇與我們合作。

我在終端運行的命令以及輸出:

$ sudo apt update

示例輸出:

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

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

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

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

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

現(xiàn)在我再次使用下面的命令更新系統(tǒng):

現(xiàn)在好了!希望它有幫助。


文章標題:Ubuntu包緩存文件被毀修復方法
分享鏈接:http://m.5511xx.com/article/djdcsei.html