質問編集履歴
11
誤字
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -91,5 +91,16 @@
|
|
|
91
91
|
|
|
92
92
|
[追記]
|
|
93
93
|
```
|
|
94
|
-
username@DESKTOP-JJRQELQ:/etc/apt$ sudo apt update
|
|
94
|
+
username@DESKTOP-JJRQELQ:/etc/apt$ sudo apt update
|
|
95
|
+
Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
|
|
96
|
+
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
|
|
97
|
+
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
|
|
98
|
+
Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
|
|
99
|
+
Get:5 http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease [81.6 kB]
|
|
100
|
+
Get:6 http://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 Packages [189 kB]
|
|
101
|
+
Fetched 271 kB in 26s (10.3 kB/s)
|
|
102
|
+
Reading package lists... Done
|
|
103
|
+
Building dependency tree
|
|
104
|
+
Reading state information... Done
|
|
105
|
+
110 packages can be upgraded. Run 'apt list --upgradable' to see them.
|
|
95
106
|
```
|
10
追記
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -87,4 +87,9 @@
|
|
|
87
87
|
E: The repository 'http://apt.postgresql.org/pub/repos/apt focal-pgdb Release' does not have a Release file.
|
|
88
88
|
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
|
|
89
89
|
N: See apt-secure(8) manpage for repository creation and user configuration details.
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
[追記]
|
|
93
|
+
```
|
|
94
|
+
username@DESKTOP-JJRQELQ:/etc/apt$ sudo apt update Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease Get:5 http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease [81.6 kB] Get:6 http://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 Packages [189 kB] Fetched 271 kB in 26s (10.3 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 110 packages can be upgraded. Run 'apt list --upgradable' to see them.
|
|
90
95
|
```
|
9
追記
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -83,7 +83,8 @@
|
|
|
83
83
|
Get:9 http://archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29.5 kB]
|
|
84
84
|
Get:10 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [22.0 kB]
|
|
85
85
|
<以下、文字数の関係で省略>
|
|
86
|
-
Reading package lists... Done
|
|
86
|
+
Reading package lists... Done
|
|
87
|
+
E: The repository 'http://apt.postgresql.org/pub/repos/apt focal-pgdb Release' does not have a Release file.
|
|
87
88
|
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
|
|
88
89
|
N: See apt-secure(8) manpage for repository creation and user configuration details.
|
|
89
90
|
```
|
8
追記
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -64,4 +64,26 @@
|
|
|
64
64
|
-rw-r--r-- 1 root root 1 Jan 17 20:28 sources.list.save
|
|
65
65
|
-rw-r--r-- 1 root root 2252 Jan 17 20:52 trusted.gpg
|
|
66
66
|
drwxr-xr-x 1 root root 4096 Jan 17 20:52 trusted.gpg.d
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
[再々々追記]
|
|
70
|
+
```
|
|
71
|
+
username@DESKTOP-JJRQELQ:/etc/apt$ sudo cp source.list.old sources.list
|
|
72
|
+
[sudo] password for masaki:
|
|
73
|
+
username@DESKTOP-JJRQELQ:/etc/apt$ sudo apt update
|
|
74
|
+
Get:1 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
|
|
75
|
+
Ign:2 http://apt.postgresql.org/pub/repos/apt focal-pgdb InRelease
|
|
76
|
+
Err:3 http://apt.postgresql.org/pub/repos/apt focal-pgdb Release
|
|
77
|
+
404 Not Found [IP: 217.196.149.55 80]
|
|
78
|
+
Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
|
|
79
|
+
Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
|
|
80
|
+
Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [970 kB]
|
|
81
|
+
Get:7 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
|
|
82
|
+
Get:8 http://archive.ubuntu.com/ubuntu focal/main Translation-en [506 kB]
|
|
83
|
+
Get:9 http://archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29.5 kB]
|
|
84
|
+
Get:10 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [22.0 kB]
|
|
85
|
+
<以下、文字数の関係で省略>
|
|
86
|
+
Reading package lists... Done E: The repository 'http://apt.postgresql.org/pub/repos/apt focal-pgdb Release' does not have a Release file.
|
|
87
|
+
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
|
|
88
|
+
N: See apt-secure(8) manpage for repository creation and user configuration details.
|
|
67
89
|
```
|
7
追記依頼
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -48,4 +48,20 @@
|
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
catコマンドを使うとこのように出てきます。(中身が空のファイル)
|
|
51
|
-
/etc/apt/sources.listはvimで何度か表示させましたが、いずれも新規ファイルとして出てくるのみでとりあえず保存をしたという感じです。
|
|
51
|
+
/etc/apt/sources.listはvimで何度か表示させましたが、いずれも新規ファイルとして出てくるのみでとりあえず保存をしたという感じです。
|
|
52
|
+
|
|
53
|
+
[再々追記]
|
|
54
|
+
```
|
|
55
|
+
username@DESKTOP-JJRQELQ:~$ ls -l /etc/apt
|
|
56
|
+
total 8
|
|
57
|
+
drwxr-xr-x 1 root root 4096 Jan 17 16:01 apt.conf.d
|
|
58
|
+
drwxr-xr-x 1 root root 4096 Apr 9 2020 auth.conf.d
|
|
59
|
+
drwxr-xr-x 1 root root 4096 Apr 9 2020 preferences.d
|
|
60
|
+
-rw-r--r-- 1 root root 0 Jan 17 17:15 source.list
|
|
61
|
+
-rw-r--r-- 1 root root 2743 Apr 23 2020 source.list.old
|
|
62
|
+
-rw-r--r-- 1 root root 1 Jan 17 20:28 sources.list
|
|
63
|
+
drwxr-xr-x 1 root root 4096 Jan 17 17:30 sources.list.d
|
|
64
|
+
-rw-r--r-- 1 root root 1 Jan 17 20:28 sources.list.save
|
|
65
|
+
-rw-r--r-- 1 root root 2252 Jan 17 20:52 trusted.gpg
|
|
66
|
+
drwxr-xr-x 1 root root 4096 Jan 17 20:52 trusted.gpg.d
|
|
67
|
+
```
|
6
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -47,4 +47,5 @@
|
|
|
47
47
|
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
catコマンドを使うとこのように出てきます。(中身が空のファイル)
|
|
50
|
-
|
|
51
|
+
/etc/apt/sources.listはvimで何度か表示させましたが、いずれも新規ファイルとして出てくるのみでとりあえず保存をしたという感じです。
|
5
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -47,4 +47,4 @@
|
|
|
47
47
|
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
catコマンドを使うとこのように出てきます。(中身が空のファイル)
|
|
50
|
+
catコマンドを使うとこのように出てきます。(中身が空のファイル)cat /etc/sources.listはvimで何度か表示させましたが、いずれも新規ファイルとして出てくるのみでとりあえず保存をしたという感じです。
|
4
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -40,8 +40,11 @@
|
|
|
40
40
|
UBUNTU_CODENAME=focal
|
|
41
41
|
```
|
|
42
42
|
[再追記]
|
|
43
|
-
|
|
43
|
+
```
|
|
44
44
|
username@DESKTOP-JJRQELQ:~$ cat
|
|
45
45
|
/etc/apt/sources.list
|
|
46
46
|
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
|
|
47
50
|
catコマンドを使うとこのように出てきます。(中身が空のファイル)/cat/etc/sources.listはvimで何度か表示させましたが、いずれも新規ファイルとして出てくるのみでとりあえず保存をしたという感じです。
|
3
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -38,4 +38,10 @@
|
|
|
38
38
|
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
|
|
39
39
|
VERSION_CODENAME=focal
|
|
40
40
|
UBUNTU_CODENAME=focal
|
|
41
|
-
```
|
|
41
|
+
```
|
|
42
|
+
[再追記]
|
|
43
|
+
|
|
44
|
+
username@DESKTOP-JJRQELQ:~$ cat
|
|
45
|
+
/etc/apt/sources.list
|
|
46
|
+
|
|
47
|
+
catコマンドを使うとこのように出てきます。(中身が空のファイル)/cat/etc/sources.listはvimで何度か表示させましたが、いずれも新規ファイルとして出てくるのみでとりあえず保存をしたという感じです。
|
2
追記依頼
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -17,4 +17,25 @@
|
|
|
17
17
|
|
|
18
18
|
こちらを参考にしましたがetc/apt/sources.listというファイルが見つかりません。。
|
|
19
19
|
|
|
20
|
-
よろしくお願いします。
|
|
20
|
+
よろしくお願いします。
|
|
21
|
+
|
|
22
|
+
[追記]
|
|
23
|
+
```
|
|
24
|
+
username@DESKTOP-JJRQELQ:/$ cat /etc/*release
|
|
25
|
+
DISTRIB_ID=Ubuntu
|
|
26
|
+
DISTRIB_RELEASE=20.04
|
|
27
|
+
DISTRIB_CODENAME=focal
|
|
28
|
+
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
|
|
29
|
+
NAME="Ubuntu"
|
|
30
|
+
VERSION="20.04.1 LTS (Focal Fossa)"
|
|
31
|
+
ID=ubuntu
|
|
32
|
+
ID_LIKE=debian
|
|
33
|
+
PRETTY_NAME="Ubuntu 20.04.1 LTS"
|
|
34
|
+
VERSION_ID="20.04"
|
|
35
|
+
HOME_URL="https://www.ubuntu.com/"
|
|
36
|
+
SUPPORT_URL="https://help.ubuntu.com/"
|
|
37
|
+
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
|
|
38
|
+
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
|
|
39
|
+
VERSION_CODENAME=focal
|
|
40
|
+
UBUNTU_CODENAME=focal
|
|
41
|
+
```
|
1
誤字
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
### 試したこと
|
|
16
16
|
(https://qiita.com/Aqua_ix/items/86c0f9e5f2d5cecbfd25)
|
|
17
17
|
|
|
18
|
-
こちらを参考にしましたが
|
|
18
|
+
こちらを参考にしましたがetc/apt/sources.listというファイルが見つかりません。。
|
|
19
19
|
|
|
20
20
|
よろしくお願いします。
|