質問編集履歴

1

実行例の追加

2018/06/12 05:09

投稿

beginner_py
beginner_py

スコア13

test CHANGED
File without changes
test CHANGED
@@ -17,3 +17,115 @@
17
17
  どなたか解決方法を教えていただけないでしょうか。
18
18
 
19
19
  宜しくお願いいたします。
20
+
21
+
22
+
23
+ 実行例
24
+
25
+ ①sudo apt-get upgrade
26
+
27
+ Reading package lists... Done
28
+
29
+ Building dependency tree
30
+
31
+ Reading state information... Done
32
+
33
+ Calculating upgrade... Done
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+ Errors were encountered while processing:
42
+
43
+ /var/cache/apt/archives/apport_2.14.1-0ubuntu3.29_all.deb
44
+
45
+ E: Sub-process /usr/bin/dpkg returned an error code (1)
46
+
47
+ root@HISVServer:/home/dbcon# sudo apt-get --purge remove apport
48
+
49
+ Reading package lists... Done
50
+
51
+ Building dependency tree
52
+
53
+ Reading state information... Done
54
+
55
+ The following packages were automatically installed and are no longer required:
56
+
57
+ linux-cloud-tools-4.4.0-124-generic linux-lts-xenial-cloud-tools-4.4.0-124
58
+
59
+ Use 'apt-get autoremove' to remove them.
60
+
61
+ The following packages will be REMOVED:
62
+
63
+ apport*
64
+
65
+ 0 upgraded, 0 newly installed, 1 to remove and 14 not upgraded.
66
+
67
+ 41 not fully installed or removed.
68
+
69
+ After this operation, 1,323 kB disk space will be freed.
70
+
71
+ Do you want to continue? [Y/n] Y
72
+
73
+ dpkg: error processing package apport (--purge):
74
+
75
+ package is in a very bad inconsistent state; you should
76
+
77
+ reinstall it before attempting a removal
78
+
79
+ Errors were encountered while processing:
80
+
81
+ apport
82
+
83
+ E: Sub-process /usr/bin/dpkg returned an error code (1)
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ ②sudo apt install python3.6
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
+ /var/lib/dpkg/info/apport.prerm: 14: /var/lib/dpkg/info/apport.prerm: pyclean: not found
110
+
111
+ dpkg: warning: subprocess old pre-removal script returned error exit status 127
112
+
113
+ dpkg: trying script from the new package instead ...
114
+
115
+ /var/lib/dpkg/tmp.ci/prerm: 14: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
116
+
117
+ dpkg: error processing archive /var/cache/apt/archives/apport_2.14.1-0ubuntu3.29_all.deb (--unpack):
118
+
119
+ subprocess new pre-removal script returned error exit status 127
120
+
121
+ /var/lib/dpkg/info/apport.postinst: 13: /var/lib/dpkg/info/apport.postinst: pycompile: not found
122
+
123
+ dpkg: error while cleaning up:
124
+
125
+ subprocess installed post-installation script returned error exit status 127
126
+
127
+ Errors were encountered while processing:
128
+
129
+ /var/cache/apt/archives/apport_2.14.1-0ubuntu3.29_all.deb
130
+
131
+ E: Sub-process /usr/bin/dpkg returned an error code (1)