使用一个新到手的Ubuntu服务器时,使用apt-get遇到的报错
W: Download is performed unsandboxed as root as file ‘/var/cache/apt/archives/partial/bc_1.07.1-2_amd64.deb’ couldn’t be accessed by user ‘_apt’. - pkgAcquire::Run (13: Permission denied)
解决方法:
sudo chown -R _apt:root /var/cache/apt/archives/partial