apt-get update
Reading package lists... Done
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking th

如题所示,在服务器中更新输入命令apt-get update,结果出错。

问题在于权限,可以加上sudo,这样就能成功运行了。

阿里云服务器apt-get update出现错误(已解决)

就是这么简单,至于底层的原理,有时间再研究

.

.

.

2018-12-10 14:40:15写于杭州庆春路

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2021-04-27
  • 2021-04-12
  • 2021-04-14
  • 2021-11-13
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案