sudo apt update 出現與 Aptitude 相關的錯誤

sudo apt update 出現與 Aptitude 相關的錯誤

輸入命令時,$ sudo apt upgrade我收到以下輸出。

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
E: Could not get lock /var/cache/apt/archives/lock. It is held by process 95610 (aptitude)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to lock directory /var/cache/apt/archives/

恐怕這兩個錯誤代碼是否會影響系統的長期效能。

我正在安裝 aptitude 函數,但不幸的是我不記得我輸入的導致問題的命令。

相關內容