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/

2 つのエラー コードが長期的にシステム パフォーマンスに影響を与えるのではないかと心配しています。

aptitude 機能をインストールしていましたが、残念ながら問題の原因となった入力したコマンドを思い出せません。

関連情報