質問編集履歴

3

grep '^[^#]' /etc/apt/sources.listの結果酒精

2020/07/10 01:24

投稿

rikuou
rikuou

スコア25

test CHANGED
File without changes
test CHANGED
@@ -211,3 +211,39 @@
211
211
  E: Sub-process /usr/bin/dpkg returned an error code (1)
212
212
 
213
213
  ```
214
+
215
+
216
+
217
+ **grep '^[^#]' /etc/apt/sources.list**
218
+
219
+
220
+
221
+ ```
222
+
223
+ riku@riku-HP-ENVY-x360-Convertible-13-ag0xxx:~$ grep '^[^#]' /etc/apt/sources.list
224
+
225
+ deb http://jp.archive.ubuntu.com/ubuntu/ focal main restricted
226
+
227
+ deb http://jp.archive.ubuntu.com/ubuntu/ focal-updates main restricted
228
+
229
+ deb http://jp.archive.ubuntu.com/ubuntu/ focal universe
230
+
231
+ deb http://jp.archive.ubuntu.com/ubuntu/ focal-updates universe
232
+
233
+ deb http://jp.archive.ubuntu.com/ubuntu/ focal multiverse
234
+
235
+ deb http://jp.archive.ubuntu.com/ubuntu/ focal-updates multiverse
236
+
237
+ deb http://jp.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
238
+
239
+ deb http://security.ubuntu.com/ubuntu focal-security main restricted
240
+
241
+ deb http://security.ubuntu.com/ubuntu focal-security universe
242
+
243
+ deb http://security.ubuntu.com/ubuntu focal-security multiverse
244
+
245
+ deb http://download.virtualbox.org/virtualbox/debian focal contrib
246
+
247
+ deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian focal contrib
248
+
249
+ ```

2

sudo apt update後に sudo apt upgradeを行った際のエラー

2020/07/10 01:24

投稿

rikuou
rikuou

スコア25

test CHANGED
@@ -1 +1 @@
1
- Ubuntu18.04で Errors were encountered while processing: の解決方法
1
+ Ubuntu18.04で apt upgradeを行った際に生じる Errors were encountered while processing: の解決方法
test CHANGED
File without changes

1

sudo apt update後に sudo apt upgradeを行った際のエラー

2020/07/10 01:03

投稿

rikuou
rikuou

スコア25

test CHANGED
File without changes
test CHANGED
@@ -10,6 +10,146 @@
10
10
 
11
11
 
12
12
 
13
+ sudo apt updateを行う
14
+
15
+ ```
16
+
17
+ riku@riku-HP-ENVY-x360-Convertible-13-ag0xxx:~$ sudo apt update
18
+
19
+ [sudo] password for riku:
20
+
21
+ Get:1 https://repo.steampowered.com/steam stable InRelease [2,852 B]
22
+
23
+ Get:2 https://repo.steampowered.com/steam stable/steam Sources [565 B]
24
+
25
+ ,
26
+
27
+ ,
28
+
29
+ ,
30
+
31
+ Building dependency tree
32
+
33
+ Reading state information... Done
34
+
35
+ 5 packages can be upgraded. Run 'apt list --upgradable' to see them.
36
+
37
+ W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
38
+
39
+ W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
40
+
41
+ W: Target Translations (contrib/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
42
+
43
+ W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
44
+
45
+ W: Target Translations (contrib/i18n/Translation-ja) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
46
+
47
+ W: Target DEP-11 (contrib/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
48
+
49
+ W: Target DEP-11 (contrib/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
50
+
51
+ W: Target DEP-11-icons-small (contrib/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
52
+
53
+ W: Target DEP-11-icons (contrib/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
54
+
55
+ W: Target DEP-11-icons-hidpi (contrib/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
56
+
57
+ W: Target CNF (contrib/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
58
+
59
+ W: Target CNF (contrib/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
60
+
61
+ N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'http://download.virtualbox.org/virtualbox/debian focal InRelease' doesn't support architecture 'i386'
62
+
63
+ W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
64
+
65
+ W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
66
+
67
+ W: Target Translations (contrib/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
68
+
69
+ W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
70
+
71
+ W: Target Translations (contrib/i18n/Translation-ja) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
72
+
73
+ W: Target DEP-11 (contrib/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
74
+
75
+ W: Target DEP-11 (contrib/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
76
+
77
+ W: Target DEP-11-icons-small (contrib/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
78
+
79
+ W: Target DEP-11-icons (contrib/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
80
+
81
+ W: Target DEP-11-icons-hidpi (contrib/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
82
+
83
+ W: Target CNF (contrib/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
84
+
85
+ W: Target CNF (contrib/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list:59
86
+
87
+
88
+
89
+ ```
90
+
91
+ sudo apt upgradeを行う
92
+
93
+ ```
94
+
95
+ riku@riku-HP-ENVY-x360-Convertible-13-ag0xxx:~$ sudo apt upgrade
96
+
97
+ Reading package lists... Done
98
+
99
+ Building dependency tree
100
+
101
+ Reading state information... Done
102
+
103
+ ,
104
+
105
+ ,
106
+
107
+ ,
108
+
109
+ Setting up linux-base (4.5ubuntu3.1) ...
110
+
111
+ debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another p
112
+
113
+ rocess: Resource temporarily unavailable
114
+
115
+ dpkg: error processing package linux-base (--configure):
116
+
117
+ installed linux-base package post-installation script subprocess returned error
118
+
119
+ exit status 1
120
+
121
+ Setting up thunderbird (1:68.10.0+build1-0ubuntu0.20.04.1) ...
122
+
123
+ Setting up thunderbird-locale-en (1:68.10.0+build1-0ubuntu0.20.04.1) ...
124
+
125
+ Setting up thunderbird-locale-en-us (1:68.10.0+build1-0ubuntu0.20.04.1) ...
126
+
127
+ Setting up thunderbird-locale-ja (1:68.10.0+build1-0ubuntu0.20.04.1) ...
128
+
129
+ Setting up thunderbird-gnome-support (1:68.10.0+build1-0ubuntu0.20.04.1) ...
130
+
131
+ Processing triggers for mime-support (3.64ubuntu1) ...
132
+
133
+ Processing triggers for hicolor-icon-theme (0.17-2) ...
134
+
135
+ Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
136
+
137
+ Processing triggers for man-db (2.9.1-1) ...
138
+
139
+ Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
140
+
141
+ Errors were encountered while processing:
142
+
143
+ linux-base
144
+
145
+ E: Sub-process /usr/bin/dpkg returned an error code (1)
146
+
147
+ ```
148
+
149
+
150
+
151
+ dpkgの依存関係を確認してみる
152
+
13
153
  ```
14
154
 
15
155
  sudo dpkg --configure -a