sudo apt upgrade 时出现与 Aptitude 相关的错误

sudo apt upgrade 时出现与 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 功能,但不幸的是我记不起导致该问题的输入命令。

相关内容