質問編集履歴
1
実行例の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -7,4 +7,60 @@
|
|
7
7
|
|
8
8
|
と出てしまい解決方法を調べたのですが解決できておりません。
|
9
9
|
どなたか解決方法を教えていただけないでしょうか。
|
10
|
-
宜しくお願いいたします。
|
10
|
+
宜しくお願いいたします。
|
11
|
+
|
12
|
+
実行例
|
13
|
+
①sudo apt-get upgrade
|
14
|
+
Reading package lists... Done
|
15
|
+
Building dependency tree
|
16
|
+
Reading state information... Done
|
17
|
+
Calculating upgrade... Done
|
18
|
+
・
|
19
|
+
・
|
20
|
+
・
|
21
|
+
Errors were encountered while processing:
|
22
|
+
/var/cache/apt/archives/apport_2.14.1-0ubuntu3.29_all.deb
|
23
|
+
E: Sub-process /usr/bin/dpkg returned an error code (1)
|
24
|
+
root@HISVServer:/home/dbcon# sudo apt-get --purge remove apport
|
25
|
+
Reading package lists... Done
|
26
|
+
Building dependency tree
|
27
|
+
Reading state information... Done
|
28
|
+
The following packages were automatically installed and are no longer required:
|
29
|
+
linux-cloud-tools-4.4.0-124-generic linux-lts-xenial-cloud-tools-4.4.0-124
|
30
|
+
Use 'apt-get autoremove' to remove them.
|
31
|
+
The following packages will be REMOVED:
|
32
|
+
apport*
|
33
|
+
0 upgraded, 0 newly installed, 1 to remove and 14 not upgraded.
|
34
|
+
41 not fully installed or removed.
|
35
|
+
After this operation, 1,323 kB disk space will be freed.
|
36
|
+
Do you want to continue? [Y/n] Y
|
37
|
+
dpkg: error processing package apport (--purge):
|
38
|
+
package is in a very bad inconsistent state; you should
|
39
|
+
reinstall it before attempting a removal
|
40
|
+
Errors were encountered while processing:
|
41
|
+
apport
|
42
|
+
E: Sub-process /usr/bin/dpkg returned an error code (1)
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
②sudo apt install python3.6
|
49
|
+
Reading package lists... Done
|
50
|
+
Building dependency tree
|
51
|
+
Reading state information... Done
|
52
|
+
・
|
53
|
+
・
|
54
|
+
・
|
55
|
+
/var/lib/dpkg/info/apport.prerm: 14: /var/lib/dpkg/info/apport.prerm: pyclean: not found
|
56
|
+
dpkg: warning: subprocess old pre-removal script returned error exit status 127
|
57
|
+
dpkg: trying script from the new package instead ...
|
58
|
+
/var/lib/dpkg/tmp.ci/prerm: 14: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
|
59
|
+
dpkg: error processing archive /var/cache/apt/archives/apport_2.14.1-0ubuntu3.29_all.deb (--unpack):
|
60
|
+
subprocess new pre-removal script returned error exit status 127
|
61
|
+
/var/lib/dpkg/info/apport.postinst: 13: /var/lib/dpkg/info/apport.postinst: pycompile: not found
|
62
|
+
dpkg: error while cleaning up:
|
63
|
+
subprocess installed post-installation script returned error exit status 127
|
64
|
+
Errors were encountered while processing:
|
65
|
+
/var/cache/apt/archives/apport_2.14.1-0ubuntu3.29_all.deb
|
66
|
+
E: Sub-process /usr/bin/dpkg returned an error code (1)
|