google 上的討論都是辣雞,最簡單粗暴的還是得用我這個方法,出現這個問題可能是文件系統裏被大量修改過文件權限,導致系統中的文件權限混亂。
W: Download is performed unsandboxed as root as file '/var/lib/apt/lists/partial/mirrors.tuna.tsinghu
a.edu.cn_debian_dists_bullseye_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13:
Permission denied)
給 _apt 賬戶 root 權限就行,省事。
_apt:x:0:65534::/nonexistent:/usr/sbin/nologin