質問するログイン新規登録

質問編集履歴

3

再度の修正

2019/12/28 05:39

投稿

esklia
esklia

スコア81

title CHANGED
File without changes
body CHANGED
@@ -6,8 +6,8 @@
6
6
  libfreetype6
7
7
  Use 'sudo apt autoremove' to remove it.
8
8
 
9
- E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/language-pack-ja/language-pack-ja_18.04+20180712_all.deb 404 Not Found [IP: 19.89.18
9
+ E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/language-pack-ja/language-pack-ja_18.04+20180712_all.deb 404 Not Found [IP: 19.19.23
10
- .232 0]
10
+ .132 0]
11
11
  E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
12
12
 
13
13
  のエラーが出ました。'sudo apt autoremove'を実行し、➁のエラーの解決方法を調べていたところ'Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?'とのことなので、'apt-get update'を実行したところ

2

修正済み

2019/12/28 05:39

投稿

esklia
esklia

スコア81

title CHANGED
File without changes
body CHANGED
@@ -6,7 +6,8 @@
6
6
  libfreetype6
7
7
  Use 'sudo apt autoremove' to remove it.
8
8
 
9
- E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/language-pack-ja/language-pack-ja_18.04+20180712_all.deb 404 Not Found [IP: 91.189.88.162 80]
9
+ E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/language-pack-ja/language-pack-ja_18.04+20180712_all.deb 404 Not Found [IP: 19.89.18
10
+ .232 0]
10
11
  E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
11
12
 
12
13
  のエラーが出ました。'sudo apt autoremove'を実行し、➁のエラーの解決方法を調べていたところ'Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?'とのことなので、'apt-get update'を実行したところ

1

エラーメッセージを単にキャプチャするのではなく文章に記載するように変更しました。

2019/12/28 05:38

投稿

esklia
esklia

スコア81

title CHANGED
File without changes
body CHANGED
@@ -1,10 +1,23 @@
1
1
  windows10にMicrosoftストアからubuntuをインストールして
2
- sudo apt install language-pack-jaを実行したところ、画像にあるように
2
+ sudo apt install language-pack-jaを実行したところ、
3
3
 
4
+
5
+ The following package was automatically installed and is no longer required:
6
+ libfreetype6
7
+ Use 'sudo apt autoremove' to remove it.
8
+
4
9
  E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/language-pack-ja/language-pack-ja_18.04+20180712_all.deb 404 Not Found [IP: 91.189.88.162 80]
5
10
  E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
6
11
 
7
- のエラーが出たみたいですの解決方法を調べていたところ、まずはapt-get updateしてみろとのことでしたので、実行したところCound not open lock fileというメッセージが出てきました。これに対する解決策は「rootユーザからapt-get updateしてみる」ということなのでしょうか?知識不足のめあまり安易にコマンドを打つわけにもいかず、アドバイスを頂けたら思います。
12
+ のエラーが出ました。'sudo apt autoremove'を実行し、➁エラーの解決方法を調べていたところ'Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?'とのことので、'apt-get update'を実行したところ
8
13
 
14
+ E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
15
+ E: Unable to lock directory /var/lib/apt/lists/
16
+ W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
17
+ W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
9
18
 
19
+ というメッセージが出てきました。パーミッションがないとのことですので、これに対する解決策は「rootユーザからsudo apt-get updateしてみる」ということなのでしょうか?知識不足のためあまり安易にコマンドを打つわけにもいかず、アドバイスを頂けたらと思います。
20
+
21
+ また、下に一応ログを載せておきますので、何か他の原因がありそうでしたらご指摘願えます。↓
22
+
10
- ![イメージ説明](a1947f47b4a0b24f3eda35d1acf86c16.jpeg)
23
+ ![イメージ説明](bba974999777f29543699a2adf601eb8.jpeg)