chmod 0644:不允许操作

问题描述 投票:0回答:1

我想在ubuntu 18.04上使用sudo apt下载Java,但它向我发送了“ E:无法获取某些档案,可能运行apt-get update或尝试--fix-missing吗?”

所以我尝试运行“ apt-get update”,它向我发送了许多错误,看起来像这样:文件/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic_InRelease的chmod 0644失败-201 :: URIDone(1 :不允许操作)”,因此我尝试使用chmod 0644 / var / lib / apt / lists /更改权限但它不起作用,也尝试了其他几种方法,但仍然不起作用

所以希望您能告诉我如何解决它。顺便说一句,我正在使用Windows 10并从Windows Store运行ubuntu 18.04

ubuntu-18.04 chmod
1个回答
0
投票

删除那些文件sudo rm -r /var/lib/apt/lists/*,然后重新运行sudo apt-get update

© www.soinside.com 2019 - 2024. All rights reserved.