ubuntuusers.de

Probleme mit der Paketverwaltung - Unity auf Ubuntu Server läuft nicht mehr

Status: Gelöst | Ubuntu-Version: Ubuntu 14.04 (Trusty Tahr)
Antworten |

gosch2912

Anmeldungsdatum:
12. Juli 2015

Beiträge: 19

Hallo,

ich habe, so wie ich das sehe, einiges zerschossen auf meinem Server. Mein eigentliches Ziel war es, zusätzlich ein Grafisches System auf meinem Server zu haben. Hatte auch das xfce und gnome drauf, war aber damit nicht zufrieden. Ich wollte Unity haben, so wie ich es vom Laptop gewohnt bin.

Ich kann mich nicht mehr genau daran erinnern, aber irgendwann lief der xserver nicht mehr. (startx brach mit Fehlermeldung ab).

Ausserdem habe ich noch das Verzeichnis /usr ausgelagert, da ich zum Anfang falsch partitioniert hatte.

Wahrscheinlich habe ich einen grossen Fehler begangen habe als ich Dateien gelöscht habe. Welche genau das waren weiss ich nicht mehr.

Ich werde jetzt mal die Ausgabe Posten wen ich das versuche:

1
sudo dpkg --configure -a
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3-debian:
 python3-debian hängt ab von python3-chardet; aber:
  Paket python3-chardet ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3-debian (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3-update-manager:
 python3-update-manager hängt ab von lsb-release; aber:
  Paket lsb-release ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3-update-manager (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
python3.4-minimal (3.4.3-1ubuntu1~14.04.3) wird eingerichtet ...
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Aborted (core dumped)
dpkg: Fehler beim Bearbeiten des Paketes python3.4-minimal (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 134 zurück
python2.7-minimal (2.7.6-8ubuntu0.2) wird eingerichtet ...
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
python2.7: can't open file '/usr/lib/python2.7/py_compile.py': [Errno 2] No such file or directory
dpkg: Fehler beim Bearbeiten des Paketes python2.7-minimal (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 2 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3.4:
 python3.4 hängt ab von python3.4-minimal (= 3.4.3-1ubuntu1~14.04.3); aber:
  Paket python3.4-minimal ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3.4 (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von unattended-upgrades:
 unattended-upgrades hängt ab von lsb-release; aber:
  Paket lsb-release ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes unattended-upgrades (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3-minimal:
 python3-minimal hängt ab von python3.4-minimal (>= 3.4.0-0~); aber:
  Paket python3.4-minimal ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3-minimal (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3-distupgrade:
 python3-distupgrade hängt ab von python3-update-manager (>= 1:0.196.2~); aber:
  Paket python3-update-manager ist noch nicht konfiguriert.
 python3-distupgrade hängt ab von lsb-release; aber:
  Paket lsb-release ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3-distupgrade (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3-apport:
 python3-apport hängt ab von lsb-release; aber:
  Paket lsb-release ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3-apport (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von aptdaemon:
 aptdaemon hängt ab von python3-aptdaemon (= 1.1.1-1ubuntu5.2); aber:
  Paket python3-aptdaemon ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes aptdaemon (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3:
 python3 hängt ab von python3.4 (>= 3.4.0-0~); aber:
  Paket python3.4 ist noch nicht konfiguriert.
 python3 hängt ab von python3-minimal (= 3.4.0-0ubuntu2); aber:
  Paket python3-minimal ist noch nicht konfiguriert.
 python3 hängt ab von dh-python; aber:
  Paket dh-python ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3 (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3-problem-report:
 python3-problem-report hängt ab von python3:any (>= 3.3.2-2~); aber:
  Paket python3 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3-problem-report (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3-six:
 python3-six hängt ab von python3:any (>= 3.3.2-2~); aber:
  Paket python3 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3-six (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3-pkg-resources:
 python3-pkg-resources hängt ab von python3:any (>= 3.4); aber:
  Paket python3 ist noch nicht konfiguriert.
 python3-pkg-resources hängt ab von python3:any (<< 3.5); aber:
  Paket python3 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3-pkg-resources (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3-gi-cairo:
 python3-gi-cairo hängt ab von python3 (<< 3.5); aber:
  Paket python3 ist noch nicht konfiguriert.
 python3-gi-cairo hängt ab von python3 (>= 3.4~); aber:
  Paket python3 ist noch nicht konfiguriert.
 python3-gi-cairo hängt ab von python3-cairo (>= 1.10.0+dfsg-3~exp2); aber:
  Paket python3-cairo ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3-gi-cairo (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3-software-properties:
 python3-software-properties hängt ab von python3:any (>= 3.3.2-2~); aber:
  Paket python3 ist noch nicht konfiguriert.
 python3-software-properties hängt ab von python3; aber:
  Paket python3 ist noch nicht konfiguriert.
 python3-software-properties hängt ab von lsb-release; aber:
  Paket lsb-release ist noch nicht konfiguriert.
 python3-software-properties hängt ab von unattended-upgrades; aber:
  Paket unattended-upgrades ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3-software-properties (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3-xkit:
 python3-xkit hängt ab von python3:any (>= 3.3.2-2~); aber:
  Paket python3 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3-xkit (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3-dbus:
 python3-dbus hängt ab von python3 (>= 3.4~); aber:
  Paket python3 ist noch nicht konfiguriert.
 python3-dbus hängt ab von python3 (<< 3.5); aber:
  Paket python3 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3-dbus (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3-pycurl:
 python3-pycurl hängt ab von python3 (<< 3.5); aber:
  Paket python3 ist noch nicht konfiguriert.
 python3-pycurl hängt ab von python3 (>= 3.4~); aber:
  Paket python3 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3-pycurl (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python-minimal:
 python-minimal hängt ab von python2.7-minimal (>= 2.7.5-1~); aber:
  Paket python2.7-minimal ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python-minimal (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3-apt:
 python3-apt hängt ab von python3 (>= 3.4~); aber:
  Paket python3 ist noch nicht konfiguriert.
 python3-apt hängt ab von python3 (<< 3.5); aber:
  Paket python3 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3-apt (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von bluez:
 bluez hängt ab von python3-dbus; aber:
  Paket python3-dbus ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes bluez (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von unity-scope-gdrive:
 unity-scope-gdrive hängt ab von python3; aber:
  Paket python3 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes unity-scope-gdrive (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python:
 python hängt ab von python-minimal (= 2.7.5-5ubuntu3); aber:
  Paket python-minimal ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3-gi:
 python3-gi hängt ab von python3 (<< 3.5); aber:
  Paket python3 ist noch nicht konfiguriert.
 python3-gi hängt ab von python3 (>= 3.4~); aber:
  Paket python3 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3-gi (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python2.7:
 python2.7 hängt ab von python2.7-minimal (= 2.7.6-8ubuntu0.2); aber:
  Paket python2.7-minimal ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python2.7 (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python-cairo:
 python-cairo hängt ab von python (>= 2.7); aber:
  Paket python ist noch nicht konfiguriert.
 python-cairo hängt ab von python (<< 2.8); aber:
  Paket python ist noch nicht konfiguriert.
 python-cairo hängt ab von python:any (>= 2.7.1-0ubuntu2); aber:
  Paket python ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python-cairo (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von gnome-bluetooth:
 gnome-bluetooth hängt ab von bluez (>= 4.36); aber:
  Paket bluez ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes gnome-bluetooth (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python3-gdbm:amd64:
 python3-gdbm:amd64 hängt ab von python3 (>= 3.4); aber:
  Paket python3 ist noch nicht konfiguriert.
 python3-gdbm:amd64 hängt ab von python3 (<< 3.5); aber:
  Paket python3 ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python3-gdbm:amd64 (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python-gi-cairo:
 python-gi-cairo hängt ab von python (>= 2.7); aber:
  Paket python ist noch nicht konfiguriert.
 python-gi-cairo hängt ab von python (<< 2.8); aber:
  Paket python ist noch nicht konfiguriert.
 python-gi-cairo hängt ab von python-cairo; aber:
  Paket python-cairo ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python-gi-cairo (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python-gi:
 python-gi hängt ab von python (>= 2.7); aber:
  Paket python ist noch nicht konfiguriert.
 python-gi hängt ab von python (<< 2.8); aber:
  Paket python ist noch nicht konfiguriert.
 python-gi hängt ab von python:any (>= 2.7.1-0ubuntu2); aber:
  Paket python ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes python-gi (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
 python3-debian
 python3-update-manager
 python3.4-minimal
 python2.7-minimal
 python3.4
 unattended-upgrades
 python3-minimal
 python3-distupgrade
 python3-apport
 aptdaemon
 python3
 python3-problem-report
 python3-six
 python3-pkg-resources
 python3-gi-cairo
 python3-software-properties
 python3-xkit
 python3-dbus
 python3-pycurl
 python-minimal
 python3-apt
 bluez
 unity-scope-gdrive
 python
 python3-gi
 python2.7
 python-cairo
 gnome-bluetooth
 python3-gdbm:amd64
 python-gi-cairo
 python-gi

Ich bin mir darüber bewusst das ich Mist gebaut habe. Allerdings habe ich mir gedacht, bevor ich komplett neu installiere versuch ich noch mal den Weg hier.

Bin für jeden Tipp dankbar.

Bearbeitet von tomtomtom:

Titel an Problem angepasst.

tomtomtom Team-Icon

Supporter
Avatar von tomtomtom

Anmeldungsdatum:
22. August 2008

Beiträge: 55396

Wohnort: Berlin

Daten sichern, Server vernünftig neu aufsetzen.

Und zwar OHNE jegliche Oberfläche, das ist ausschließlich ein potentielles Sicherheitsrisiko ohne jegliche Funktion zur Konfiguration oder Verwaltung von Serverdiensten.

gosch2912

(Themenstarter)

Anmeldungsdatum:
12. Juli 2015

Beiträge: 19

Danke Welche Ordner schlägst Du vor zur Sicherung?

tomtomtom Team-Icon

Supporter
Avatar von tomtomtom

Anmeldungsdatum:
22. August 2008

Beiträge: 55396

Wohnort: Berlin

gosch2912 schrieb:

Welche Ordner schlägst Du vor zur Sicherung?

Die, in denen du Konfigurationen vorgenommen hast und die wo du Daten gespeichert hast. Da es dein Server ist kannst nur du wissen, was darauf läuft und was du daruf konfiguriert hast.

Generell siche Datensicherung.

gosch2912

(Themenstarter)

Anmeldungsdatum:
12. Juli 2015

Beiträge: 19

Ich habe das ganze mit viel lesen zum Schluss hinbekommen. Zum Ende hat mir am meisten diese Seite hier: http://zockertown.de/s9y/index.php?/archives/1256-dpkg-wenn-force-all-auch-nicht-mehr-hilft.html:]

Meine lehre: Mehr

1
mv

und weniger

1
rm

benutzen 🙄

Antworten |