質問編集履歴
11
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -184,6 +184,28 @@
|
|
184
184
|
|
185
185
|
```
|
186
186
|
|
187
|
-
username@DESKTOP-JJRQELQ:/etc/apt$ sudo apt update
|
188
|
-
|
189
|
-
|
187
|
+
username@DESKTOP-JJRQELQ:/etc/apt$ sudo apt update
|
188
|
+
|
189
|
+
Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
|
190
|
+
|
191
|
+
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
|
192
|
+
|
193
|
+
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
|
194
|
+
|
195
|
+
Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
|
196
|
+
|
197
|
+
Get:5 http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease [81.6 kB]
|
198
|
+
|
199
|
+
Get:6 http://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 Packages [189 kB]
|
200
|
+
|
201
|
+
Fetched 271 kB in 26s (10.3 kB/s)
|
202
|
+
|
203
|
+
Reading package lists... Done
|
204
|
+
|
205
|
+
Building dependency tree
|
206
|
+
|
207
|
+
Reading state information... Done
|
208
|
+
|
209
|
+
110 packages can be upgraded. Run 'apt list --upgradable' to see them.
|
210
|
+
|
211
|
+
```
|
10
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -177,3 +177,13 @@
|
|
177
177
|
N: See apt-secure(8) manpage for repository creation and user configuration details.
|
178
178
|
|
179
179
|
```
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
[追記]
|
184
|
+
|
185
|
+
```
|
186
|
+
|
187
|
+
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.
|
188
|
+
|
189
|
+
```
|
9
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -168,7 +168,9 @@
|
|
168
168
|
|
169
169
|
<以下、文字数の関係で省略>
|
170
170
|
|
171
|
-
Reading package lists... Done
|
171
|
+
Reading package lists... Done
|
172
|
+
|
173
|
+
E: The repository 'http://apt.postgresql.org/pub/repos/apt focal-pgdb Release' does not have a Release file.
|
172
174
|
|
173
175
|
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
|
174
176
|
|
8
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -131,3 +131,47 @@
|
|
131
131
|
drwxr-xr-x 1 root root 4096 Jan 17 20:52 trusted.gpg.d
|
132
132
|
|
133
133
|
```
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
[再々々追記]
|
138
|
+
|
139
|
+
```
|
140
|
+
|
141
|
+
username@DESKTOP-JJRQELQ:/etc/apt$ sudo cp source.list.old sources.list
|
142
|
+
|
143
|
+
[sudo] password for masaki:
|
144
|
+
|
145
|
+
username@DESKTOP-JJRQELQ:/etc/apt$ sudo apt update
|
146
|
+
|
147
|
+
Get:1 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
|
148
|
+
|
149
|
+
Ign:2 http://apt.postgresql.org/pub/repos/apt focal-pgdb InRelease
|
150
|
+
|
151
|
+
Err:3 http://apt.postgresql.org/pub/repos/apt focal-pgdb Release
|
152
|
+
|
153
|
+
404 Not Found [IP: 217.196.149.55 80]
|
154
|
+
|
155
|
+
Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
|
156
|
+
|
157
|
+
Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
|
158
|
+
|
159
|
+
Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [970 kB]
|
160
|
+
|
161
|
+
Get:7 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
|
162
|
+
|
163
|
+
Get:8 http://archive.ubuntu.com/ubuntu focal/main Translation-en [506 kB]
|
164
|
+
|
165
|
+
Get:9 http://archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29.5 kB]
|
166
|
+
|
167
|
+
Get:10 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [22.0 kB]
|
168
|
+
|
169
|
+
<以下、文字数の関係で省略>
|
170
|
+
|
171
|
+
Reading package lists... Done E: The repository 'http://apt.postgresql.org/pub/repos/apt focal-pgdb Release' does not have a Release file.
|
172
|
+
|
173
|
+
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
|
174
|
+
|
175
|
+
N: See apt-secure(8) manpage for repository creation and user configuration details.
|
176
|
+
|
177
|
+
```
|
7
追記依頼
test
CHANGED
File without changes
|
test
CHANGED
@@ -99,3 +99,35 @@
|
|
99
99
|
catコマンドを使うとこのように出てきます。(中身が空のファイル)
|
100
100
|
|
101
101
|
/etc/apt/sources.listはvimで何度か表示させましたが、いずれも新規ファイルとして出てくるのみでとりあえず保存をしたという感じです。
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
[再々追記]
|
106
|
+
|
107
|
+
```
|
108
|
+
|
109
|
+
username@DESKTOP-JJRQELQ:~$ ls -l /etc/apt
|
110
|
+
|
111
|
+
total 8
|
112
|
+
|
113
|
+
drwxr-xr-x 1 root root 4096 Jan 17 16:01 apt.conf.d
|
114
|
+
|
115
|
+
drwxr-xr-x 1 root root 4096 Apr 9 2020 auth.conf.d
|
116
|
+
|
117
|
+
drwxr-xr-x 1 root root 4096 Apr 9 2020 preferences.d
|
118
|
+
|
119
|
+
-rw-r--r-- 1 root root 0 Jan 17 17:15 source.list
|
120
|
+
|
121
|
+
-rw-r--r-- 1 root root 2743 Apr 23 2020 source.list.old
|
122
|
+
|
123
|
+
-rw-r--r-- 1 root root 1 Jan 17 20:28 sources.list
|
124
|
+
|
125
|
+
drwxr-xr-x 1 root root 4096 Jan 17 17:30 sources.list.d
|
126
|
+
|
127
|
+
-rw-r--r-- 1 root root 1 Jan 17 20:28 sources.list.save
|
128
|
+
|
129
|
+
-rw-r--r-- 1 root root 2252 Jan 17 20:52 trusted.gpg
|
130
|
+
|
131
|
+
drwxr-xr-x 1 root root 4096 Jan 17 20:52 trusted.gpg.d
|
132
|
+
|
133
|
+
```
|
6
test
CHANGED
File without changes
|
test
CHANGED
@@ -96,4 +96,6 @@
|
|
96
96
|
|
97
97
|
|
98
98
|
|
99
|
+
catコマンドを使うとこのように出てきます。(中身が空のファイル)
|
100
|
+
|
99
|
-
|
101
|
+
/etc/apt/sources.listはvimで何度か表示させましたが、いずれも新規ファイルとして出てくるのみでとりあえず保存をしたという感じです。
|
5
test
CHANGED
File without changes
|
test
CHANGED
@@ -96,4 +96,4 @@
|
|
96
96
|
|
97
97
|
|
98
98
|
|
99
|
-
catコマンドを使うとこのように出てきます。(中身が空のファイル)
|
99
|
+
catコマンドを使うとこのように出てきます。(中身が空のファイル)cat /etc/sources.listはvimで何度か表示させましたが、いずれも新規ファイルとして出てくるのみでとりあえず保存をしたという感じです。
|
4
test
CHANGED
File without changes
|
test
CHANGED
@@ -82,7 +82,7 @@
|
|
82
82
|
|
83
83
|
[再追記]
|
84
84
|
|
85
|
-
|
85
|
+
```
|
86
86
|
|
87
87
|
username@DESKTOP-JJRQELQ:~$ cat
|
88
88
|
|
@@ -90,4 +90,10 @@
|
|
90
90
|
|
91
91
|
|
92
92
|
|
93
|
+
|
94
|
+
|
95
|
+
```
|
96
|
+
|
97
|
+
|
98
|
+
|
93
99
|
catコマンドを使うとこのように出てきます。(中身が空のファイル)/cat/etc/sources.listはvimで何度か表示させましたが、いずれも新規ファイルとして出てくるのみでとりあえず保存をしたという感じです。
|
3
test
CHANGED
File without changes
|
test
CHANGED
@@ -79,3 +79,15 @@
|
|
79
79
|
UBUNTU_CODENAME=focal
|
80
80
|
|
81
81
|
```
|
82
|
+
|
83
|
+
[再追記]
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
username@DESKTOP-JJRQELQ:~$ cat
|
88
|
+
|
89
|
+
/etc/apt/sources.list
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
catコマンドを使うとこのように出てきます。(中身が空のファイル)/cat/etc/sources.listはvimで何度か表示させましたが、いずれも新規ファイルとして出てくるのみでとりあえず保存をしたという感じです。
|
2
追記依頼
test
CHANGED
File without changes
|
test
CHANGED
@@ -37,3 +37,45 @@
|
|
37
37
|
|
38
38
|
|
39
39
|
よろしくお願いします。
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
[追記]
|
44
|
+
|
45
|
+
```
|
46
|
+
|
47
|
+
username@DESKTOP-JJRQELQ:/$ cat /etc/*release
|
48
|
+
|
49
|
+
DISTRIB_ID=Ubuntu
|
50
|
+
|
51
|
+
DISTRIB_RELEASE=20.04
|
52
|
+
|
53
|
+
DISTRIB_CODENAME=focal
|
54
|
+
|
55
|
+
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
|
56
|
+
|
57
|
+
NAME="Ubuntu"
|
58
|
+
|
59
|
+
VERSION="20.04.1 LTS (Focal Fossa)"
|
60
|
+
|
61
|
+
ID=ubuntu
|
62
|
+
|
63
|
+
ID_LIKE=debian
|
64
|
+
|
65
|
+
PRETTY_NAME="Ubuntu 20.04.1 LTS"
|
66
|
+
|
67
|
+
VERSION_ID="20.04"
|
68
|
+
|
69
|
+
HOME_URL="https://www.ubuntu.com/"
|
70
|
+
|
71
|
+
SUPPORT_URL="https://help.ubuntu.com/"
|
72
|
+
|
73
|
+
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
|
74
|
+
|
75
|
+
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
|
76
|
+
|
77
|
+
VERSION_CODENAME=focal
|
78
|
+
|
79
|
+
UBUNTU_CODENAME=focal
|
80
|
+
|
81
|
+
```
|
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,7 +32,7 @@
|
|
32
32
|
|
33
33
|
|
34
34
|
|
35
|
-
こちらを参考にしましたが
|
35
|
+
こちらを参考にしましたがetc/apt/sources.listというファイルが見つかりません。。
|
36
36
|
|
37
37
|
|
38
38
|
|