ターミナルでアップデートやソフトウェアのダウンロードを実行する際に問題が発生しています

ターミナルでアップデートやソフトウェアのダウンロードを実行する際に問題が発生しています

ソフトウェアを更新しようとするたびに、このように表示されます...

mint@mint ~ $ apt-get update
Reading package lists... Done
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)

答え1

ユーザーにはコマンドmintを実行する権限がありませんapt-get

代わりに次のコマンドを実行してみてください。

sudo apt-get update

関連情報