鍍金池/ 問答/Linux/ apt-get update遇到unlink 刪除文件錯誤????

apt-get update遇到unlink 刪除文件錯誤????

刪了sources.list.d/里的一個文件,
然后執(zhí)行更新操作,就出現(xiàn)下面的報錯
恢復(fù)文件也無用
沒有搜索到這是個什么鬼文件。。。。。。。
網(wǎng)上搜了半天,也沒找到什么有用的信息,
烏版圖18.04

:/etc/apt$ sudo apt-get update
忽略:1 http://dl.google.com/linux/chrome/deb stable InRelease
命中:2 http://dl.google.com/linux/chrome/deb stable Release
命中:4 http://ppa.launchpad.net/hzwhuang/ss-qt5/ubuntu xenial InRelease      
命中:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial InRelease
命中:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-updates InRelease
命中:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-backports InRelease
命中:8 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-security InRelease
正在讀取軟件包列表... 完成                       
W: 用 unlink 刪除文件 partialapt-get 出錯 - pkgAcquire::Clean (21: 是一個目錄)

有沒有,經(jīng)歷過這個的?或者有什么解決思路》?

回答
編輯回答
心上人

sources.list.d 是第三方 包的 源地址

你刪除了在添加上就可以了:
默認(rèn)是這幾個文件:

cassou-ubuntu-emacs-xenial.list  
google-chrome.list               
mongodb-org-3.6.list
2018年4月11日 21:25
編輯回答
舊時光

`
locate partialapt-get
rm -rf partialapt-get
`
就行了,當(dāng)時沒有仔細(xì)找這個文件。。。。。。。。。。。。

2018年7月10日 01:34