LoginSignup
0
0

More than 1 year has passed since last update.

Linux mint で apt update ができなかった話

Last updated at Posted at 2021-10-23

はじめに

Linuxを触り始めてまだ1年経ってないど素人による記事ですので、あしからず。

状況

sudo apt updateを入力してもなんのエラーも出ない。時間が立つといつの間にか再起動されている。挙動がめちゃくちゃ重くなる。

問題だったこと

/rootにアクセス権限がなかった。

aptがまずいのかと思ってSynapticでaptを再インストールしようとした際にアクセス権限がないことが発覚。
apt関連のインストールの際、/root配下にいろいろインストールするらしいことを知った。
524727.jpg

解決策

chmod -R a+rx /root

これでアクセス権限を付与。ターミナルでaptもうまく通るようになった。

...なんでアクセス権限なかったんだ?と今は首をかしげています。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0