sudo apt update
看看有什么报错?
sudo apt update
看看有什么报错?
sudo apt update
看看有什么报错?
报了
1 package can be upgraded. Run 'apt list --upgradable' to see it.
-----
udo apt list --upgradable -a
Listing... 完成
linux-libc-dev/buster-backports 5.10.13-1~bpo10+1 amd64 [upgradable from: 5.9.15-1~bpo10+1]
linux-libc-dev/now 5.9.15-1~bpo10+1 amd64 [installed,upgradable to: 5.10.13-1~bpo10+1]
linux-libc-dev/unknown 5.4.70-amd64-desktop-1 amd64
-----
于是
sudo apt update && apt upgrade
已有:1 http://dl.google.com/linux/chrome/deb stable InRelease
已有:2 https://repo.steampowered.com/steam stable InRelease
已有:3 http://deb.debian.org/debian buster-backports InRelease
已有:4 http://download.opensuse.org/repositories/home:/strycore/Debian_10 ./ InRelease
已有:5 https://community-store-packages.deepin.com/appstore eagle InRelease
已有:6 https://community-packages.deepin.com/deepin apricot InRelease
已有:7 https://community-packages.deepin.com/printer eagle InRelease
正在讀取套件清單... 完成
正在重建相依關係
正在讀取狀態資料... 完成
1 package can be upgraded. Run 'apt list --upgradable' to see it.
E: 無法開啟鎖定檔 /var/lib/dpkg/lock-frontend - open (13: 拒絕不符權限的操作)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?