-
Notifications
You must be signed in to change notification settings - Fork 867
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
E: Sub-process /usr/bin/dpkg returned an error code (1) #1374
Comments
Hi @Ayzak -- based on your shell prompt, it looks like you've made some changes to your environment. Do you experience this issue on a stock WSL installation? (Ticket #4 discusses how to uninstall and reinstall WSL.) It looks to me like your local Python package directory has gotten corrupted somehow -- either you have deleted the "debpython" module or you have installed a new version of an existing module that depends on it. If you're encountering this issue because of changes that you have made to your local Linux environment, or because of localization/language issues (for example a bug in Ubuntu that only manifests when Ubuntu is configured to use a non-English language), you may have more success asking for help on an Ubuntu forum. |
Also -- just so you know, when pasting large blocks of text into a Github bug report, it's much more readable if you surround that text with three backticks. For example,
becomes
And your terminal output above becomes:
|
I didn't try to reinstall WSL, I'm going to try :) oooh ok, I'm sorry I didn't know for the block ^^ thank you :) edit: Uninstall and reinstall it not work .... I'm going to read this : http://www.linuxquestions.org/questions/debian-26/sub-process-usr-bin-dpkg-returned-an-error-code-1-a-171107/ Maybe it's an ubuntu problem and not windows... |
I got a similar error with a
Afterwards every
... until I did My Windows version is 1607 (Build 14393.447), not on Insider Preview. |
I found a solution here : http://www.linuxquestions.org/questions/debian-26/sub-process-usr-bin-dpkg-returned-an-error-code-1-a-171107/ For me it's work.
|
Please use the following bug reporting template to help produce actionable and reproducible issues. Please try to ensure that the reproduction is minimal so that the team can go through more bugs!
I can't install or uninstall or upgrade anything.
Expected results is an apt-get upgrade.
Actual results :
root~#[0]> apt-get upgrade Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Calcul de la mise à jour... Fait Les paquets suivants seront mis à jour : accountsservice apt apt-transport-https apt-utils bind9-host cloud-init dbus dnsutils gnupg isc-dhcp-client isc-dhcp-common libaccountsservice0 libapt-inst1.5 libapt-pkg4.12 libbind9-90 libdbus-1-3 libdns100 libisc95 libisccc90 libisccfg90 liblwres90 linux-libc-dev lsb-base lsb-release ntpdate openssh-client openssh-server openssh-sftp-server openssl pollinate sudo tzdata 32 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour. 16 partiellement installés ou enlevés. Il est nécessaire de prendre 0 o/8 319 ko dans les archives. Après cette opération, 28,7 ko d'espace disque supplémentaires seront utilisés. Souhaitez-vous continuer ? [O/n] Extraction des modèles depuis les paquets : 100% Préconfiguration des paquets... (Lecture de la base de données... 30868 fichiers et répertoires déjà installés.) Préparation du dépaquetage de .../lsb-release_4.1+Debian11ubuntu6.2_all.deb ... Traceback (most recent call last): File "/usr/bin/pyclean", line 31, in from debpython import files as dpf ImportError: No module named debpython dpkg : avertissement : le sous-processus ancien script pre-removal a retourné une erreur de sortie d'état 1 dpkg: tentative d'exécution du script du nouveau paquet à la place... Traceback (most recent call last): File "/usr/bin/pyclean", line 31, in from debpython import files as dpf ImportError: No module named debpython dpkg: erreur de traitement de l'archive /var/cache/apt/archives/lsb-release_4.1+Debian11ubuntu6.2_all.deb (--unpack) : le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 1 Traceback (most recent call last): File "/usr/bin/pycompile", line 35, in from debpython.version import SUPPORTED, debsorted, vrepr, \ ImportError: No module named debpython.version dpkg : erreur lors du nettoyage : le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1 Des erreurs ont été rencontrées pendant l'exécution : /var/cache/apt/archives/lsb-release_4.1+Debian11ubuntu6.2_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Your Windows build number
Windows 10 Home
Build 1607
See our contributing instructions for assistance.
The text was updated successfully, but these errors were encountered: