-
Notifications
You must be signed in to change notification settings - Fork 834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apt-get upgrade fails after installing (and trying to remove) docker-ce #2288
Comments
|
The reason may be in the log:
And this broke the whole installation. Try: |
P.S. The same steps apply when removing |
Thank-you for tracking down the fail. The error is from userspace and not WSL actionable. Running docker inside WSL2 is possible and won't result in getting backed into an |
Windows version used:
Microsoft Windows [Version 10.0.15063]
problem:
after installing docker-ce i am unable to upgrade.
The hint given to me by the console to remove it first was tried but returned also with an error.
$ apt-get remove docker-ce
[...]
dpkg: Fehler beim Bearbeiten des Paketes docker-ce (--remove):
Paket ist in einem sehr schlechten inkonsistenten Zustand - Sie sollten
es erneut installieren, bevor Sie es zu entfernen versuchen.
Fehler traten auf beim Bearbeiten von:
docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)
After getting this error i tried to reinstall it as suggested, but was still not able to remove it.
Now it seems to be not possible to upgrade
#apt-get upgrade
[...]
libgcrypt20:amd64 (1.6.5-2ubuntu0.3) wird eingerichtet ...
Trigger für libc-bin (2.23-0ubuntu9) werden verarbeitet ...1
(Lese Datenbank ... 40043 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../docker-ce_17.06.0
ce-0ubuntu_amd64.deb ...invoke-rc.d: could not determine current runlevel
No process in pidfile '/var/run/docker-ssd.pid' found running; none killed.
invoke-rc.d: initscript docker, action "stop" failed.
dpkg: Warnung: Unterprozess altes pre-removal-Skript gab den Fehlerwert 1 zurück
dpkg: stattdessen wird Skript aus dem neuen Paket probiert ...
invoke-rc.d: could not determine current runlevel
No process in pidfile '/var/run/docker-ssd.pid' found running; none killed.
invoke-rc.d: initscript docker, action "stop" failed.
dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/docker-ce_17.06.0~ce-0~ubuntu_amd64.deb (--unpack):
Unterprozess neues pre-removal-Skript gab den Fehlerwert 1 zurück
dpkg: Fehler beim Aufräumen:
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
/var/cache/apt/archives/docker-ce_17.06.0
ce-0ubuntu_amd64.debE: Sub-process /usr/bin/dpkg returned an error code (1)
The text was updated successfully, but these errors were encountered: