質問編集履歴

2

root権限でvi /etc/apt/sources.listを開こうとすると、追記2のようなエラーが出ます。

2019/12/03 13:29

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -171,3 +171,57 @@
171
171
  N: See apt-secure(8) manpage for repository creation and user configuration details.
172
172
 
173
173
  ```
174
+
175
+
176
+
177
+ 追記2
178
+
179
+ root権限を取得した状態で vi /etc/apt/sources.listを開きますと、下記のようなエラーが出ますので、修正したいです。お手数をおかけしますがよろしくお願い申し上げます。
180
+
181
+
182
+
183
+ ```bash
184
+
185
+ E325: ATTENTION
186
+
187
+ Found a swap file by the name "/etc/apt/.sources.list.swp"
188
+
189
+ owned by: root dated: Sun Dec 1 04:46:38 2019
190
+
191
+ file name: /etc/apt/sources.list
192
+
193
+ modified: YES
194
+
195
+ user name: root host name: debian
196
+
197
+ process ID: 5732
198
+
199
+ While opening file "/etc/apt/sources.list"
200
+
201
+ dated: Tue Dec 3 22:17:38 2019
202
+
203
+ NEWER than swap file!
204
+
205
+
206
+
207
+ (1) Another program may be editing the same file. If this is the case,
208
+
209
+ be careful not to end up with two different instances of the same
210
+
211
+ file when making changes. Quit, or continue with caution.
212
+
213
+ (2) An edit session for this file crashed.
214
+
215
+ If this is the case, use ":recover" or "vim -r /etc/apt/sources.list"
216
+
217
+ to recover the changes (see ":help recovery").
218
+
219
+ If you did this already, delete the swap file "/etc/apt/.sources.list.swp"
220
+
221
+ to avoid this message.
222
+
223
+ "/etc/apt/sources.list" 33 lines, 1668 characters
224
+
225
+ Press ENTER or type command to continue
226
+
227
+ ```

1

Ubuntuのリポジトリを/etc/apt/sources.listから削除いたしました。

2019/12/03 13:29

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -47,3 +47,127 @@
47
47
 
48
48
 
49
49
  ご教授願ます。
50
+
51
+
52
+
53
+
54
+
55
+ 追記1
56
+
57
+
58
+
59
+ Ubuntuのリポジトリは削除しまして、/etc/apt/sources.listの記述を下記のようにいたしましたが、それでもエラーが出ます。
60
+
61
+
62
+
63
+ ```/etc/apt/sources.list
64
+
65
+ #
66
+
67
+
68
+
69
+ # deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 NETINST 20191116-09:56]/ buster main
70
+
71
+
72
+
73
+ # deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 NETINST 20191116-09:56]/ buster main
74
+
75
+
76
+
77
+ deb http://ftp.jaist.ac.jp/debian/ buster main contrib non-free
78
+
79
+ deb-src http://ftp.jaist.ac.jp/debian/ buster main contrib non-free
80
+
81
+
82
+
83
+ deb http://security.debian.org/debian-security buster/updates main contrib non-free
84
+
85
+ deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
86
+
87
+
88
+
89
+ # buster-updates, previously known as 'volatile'
90
+
91
+ deb http://ftp.jaist.ac.jp/debian/ buster-updates main contrib non-free
92
+
93
+ deb-src http://ftp.jaist.ac.jp/debian/ buster-updates main contrib non-free
94
+
95
+
96
+
97
+ # fingerprint-gui
98
+
99
+
100
+
101
+ # Debian GNU/Linux 9.1.0 _Stretch
102
+
103
+ # deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 xfce-CD Binary-1 20170722-11:29]/ stretch main
104
+
105
+ deb http://ftp.jp.debian.org/debian/ stretch main contrib non-free
106
+
107
+ deb-src http://ftp.jp.debian.org/debian/ stretch main contrib non-free
108
+
109
+ deb http://security.debian.org/debian-security stretch/updates main contrib non-free
110
+
111
+ deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free
112
+
113
+ # stretch-updates, previously known as 'volatile'
114
+
115
+ deb http://ftp.jp.debian.org/debian/ stretch-updates main contrib non-free
116
+
117
+ deb-src http://ftp.jp.debian.org/debian/ stretch-updates main contrib non-free
118
+
119
+
120
+
121
+ # This system was installed using small removable media
122
+
123
+ # (e.g. netinst, live or single CD). The matching "deb cdrom"
124
+
125
+ # entries were disabled at the end of the installation process.
126
+
127
+ # For information about how to configure apt package sources,
128
+
129
+ # see the sources.list(5) manual.
130
+
131
+ ```
132
+
133
+
134
+
135
+ 下記がエラーの内容です。
136
+
137
+ ```bash
138
+
139
+ Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
140
+
141
+ Get:2 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
142
+
143
+ Hit:3 http://ftp.jaist.ac.jp/debian buster InRelease
144
+
145
+ Get:4 http://ftp.jaist.ac.jp/debian buster-updates InRelease [49.3 kB]
146
+
147
+ Ign:5 http://ftp.jp.debian.org/debian stretch InRelease
148
+
149
+ Get:6 http://ftp.jp.debian.org/debian stretch-updates InRelease [91.0 kB]
150
+
151
+ Hit:7 http://ftp.jp.debian.org/debian stretch Release
152
+
153
+ Ign:8 http://repo.vivaldi.com/stable/deb stable InRelease
154
+
155
+ Hit:9 http://repo.vivaldi.com/stable/deb stable Release
156
+
157
+ Ign:10 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu focal InRelease
158
+
159
+ Err:14 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu focal Release
160
+
161
+ 404 Not Found [IP: 91.189.95.83 80]
162
+
163
+ Hit:11 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
164
+
165
+ Reading package lists... Done
166
+
167
+ E: The repository 'http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu focal Release' does not have a Release file.
168
+
169
+ N: Updating from such a repository can't be done securely, and is therefore disabled by default.
170
+
171
+ N: See apt-secure(8) manpage for repository creation and user configuration details.
172
+
173
+ ```