Dependency problems while installing libness3-dev using apt-get
up vote
0
down vote
favorite
I try to install libness3-dev
and I always get this error.
Can somebody help me please?
Errors were encountered while processing:
python-pip
python3
dh-python
E: Sub-process /usr/bin/dpkg returned an error code (1)
Here ist the full error message:
> Reading package lists... Done Building dependency tree Reading
> state information... Done nodejs is already the newest version
> (6.15.0-1nodesource1). 0 upgraded, 0 newly installed, 0 to remove and
> 0 not upgraded. 5 not fully installed or removed. Need to get 0 B/464
> kB of archives. After this operation, 0 B of additional disk space
> will be used. Do you want to continue? [Y/n] Y perl: warning: Setting
> locale failed. perl: warning: Please check that your locale settings:
> LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG =
> "en_US.UTF-8"
> are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). locale: Cannot set LC_CTYPE
> to default locale: No such file or directory locale: Cannot set LC_ALL
> to default locale: No such file or directory Setting up python-pip
> (8.1.1-2ubuntu0.4) ... /var/lib/dpkg/info/python-pip.postinst: 6:
> /var/lib/dpkg/info/python-pip.postinst: pycompile: not found dpkg:
> error processing package python-pip (--configure): subprocess
> installed post-installation script returned error exit status 127
> dpkg: error processing package python-pkg-resources (--configure):
> package is in a very bad inconsistent state; you should reinstall it
> before attempting configuration dpkg: dependency problems prevent
> configuration of python-setuptools: python-setuptools depends on
> python-pkg-resources (= 33.1.1-1+certbot~xenial+1); however: Package
> python-pkg-resources is not configured yet.
>
> dpkg: error processing package python-setuptools (--configure):
> dependency problems - leaving unconfigured Setting up python3
> (3.5.1-3) ... running python rtupdate hooks for python3.5...
> /usr/share/python3/runtime.d/dh-python.rtupdate: 5:
> /usr/share/python3/runtime.d/dh-python.rtupdate: py3clean: not found
> error running python rtupdate hook dh-python dpkg: error processing
> package python3 (--configure): subprocess installed post-installation
> script returned error exit status 4 dpkg: dependency problems prevent
> configuration of dh-python: dh-python depends on python3:any (>=
> 3.3.2-2~); however: Package python3 is not configured yet.
>
> dpkg: error processing package dh-python (--configure): dependency
> problems - leaving unconfigured Errors were encountered while
> processing: python-pip python-pkg-resources python-setuptools
> python3 dh-python E: Sub-process /usr/bin/dpkg returned an error code
> (1)
Distribution: 4.4.0-137-generic #163-Ubuntu SMP Mon Sep 24 13:14:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
apt dependencies
add a comment |
up vote
0
down vote
favorite
I try to install libness3-dev
and I always get this error.
Can somebody help me please?
Errors were encountered while processing:
python-pip
python3
dh-python
E: Sub-process /usr/bin/dpkg returned an error code (1)
Here ist the full error message:
> Reading package lists... Done Building dependency tree Reading
> state information... Done nodejs is already the newest version
> (6.15.0-1nodesource1). 0 upgraded, 0 newly installed, 0 to remove and
> 0 not upgraded. 5 not fully installed or removed. Need to get 0 B/464
> kB of archives. After this operation, 0 B of additional disk space
> will be used. Do you want to continue? [Y/n] Y perl: warning: Setting
> locale failed. perl: warning: Please check that your locale settings:
> LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG =
> "en_US.UTF-8"
> are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). locale: Cannot set LC_CTYPE
> to default locale: No such file or directory locale: Cannot set LC_ALL
> to default locale: No such file or directory Setting up python-pip
> (8.1.1-2ubuntu0.4) ... /var/lib/dpkg/info/python-pip.postinst: 6:
> /var/lib/dpkg/info/python-pip.postinst: pycompile: not found dpkg:
> error processing package python-pip (--configure): subprocess
> installed post-installation script returned error exit status 127
> dpkg: error processing package python-pkg-resources (--configure):
> package is in a very bad inconsistent state; you should reinstall it
> before attempting configuration dpkg: dependency problems prevent
> configuration of python-setuptools: python-setuptools depends on
> python-pkg-resources (= 33.1.1-1+certbot~xenial+1); however: Package
> python-pkg-resources is not configured yet.
>
> dpkg: error processing package python-setuptools (--configure):
> dependency problems - leaving unconfigured Setting up python3
> (3.5.1-3) ... running python rtupdate hooks for python3.5...
> /usr/share/python3/runtime.d/dh-python.rtupdate: 5:
> /usr/share/python3/runtime.d/dh-python.rtupdate: py3clean: not found
> error running python rtupdate hook dh-python dpkg: error processing
> package python3 (--configure): subprocess installed post-installation
> script returned error exit status 4 dpkg: dependency problems prevent
> configuration of dh-python: dh-python depends on python3:any (>=
> 3.3.2-2~); however: Package python3 is not configured yet.
>
> dpkg: error processing package dh-python (--configure): dependency
> problems - leaving unconfigured Errors were encountered while
> processing: python-pip python-pkg-resources python-setuptools
> python3 dh-python E: Sub-process /usr/bin/dpkg returned an error code
> (1)
Distribution: 4.4.0-137-generic #163-Ubuntu SMP Mon Sep 24 13:14:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
apt dependencies
You'll have to scan further up & look at your actual error. The E: line you've provided is only a summary from the calling routine that is reporting an error in a called routine that listed the error earlier in your report. We can't see what you've not included (the actual error message is higher in your listing). Please also provide your release of Ubuntu.
– guiverc
Nov 28 at 13:31
Thanks I added the full message
– user9468014
Nov 28 at 13:40
2
Your distribution is not 4.4.0-137 as that's kernel information, likely fromuname -a
. Two different releases of Ubuntu could be using that kernel so it's not definitive. Can you please also correct the formatting of your post; the lines breaks are wrong. You have non-Ubuntu sources there I suspect (packages.ubuntu.com/search?keywords=python-pkg-resources) so I'd suggest addingapt-cache policy python-pkg-resources python-setuptools
to your question (and please copy & paste the error again; if you can't format it correctly, we can help you if it's complete & unaltered)
– guiverc
Nov 28 at 13:51
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I try to install libness3-dev
and I always get this error.
Can somebody help me please?
Errors were encountered while processing:
python-pip
python3
dh-python
E: Sub-process /usr/bin/dpkg returned an error code (1)
Here ist the full error message:
> Reading package lists... Done Building dependency tree Reading
> state information... Done nodejs is already the newest version
> (6.15.0-1nodesource1). 0 upgraded, 0 newly installed, 0 to remove and
> 0 not upgraded. 5 not fully installed or removed. Need to get 0 B/464
> kB of archives. After this operation, 0 B of additional disk space
> will be used. Do you want to continue? [Y/n] Y perl: warning: Setting
> locale failed. perl: warning: Please check that your locale settings:
> LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG =
> "en_US.UTF-8"
> are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). locale: Cannot set LC_CTYPE
> to default locale: No such file or directory locale: Cannot set LC_ALL
> to default locale: No such file or directory Setting up python-pip
> (8.1.1-2ubuntu0.4) ... /var/lib/dpkg/info/python-pip.postinst: 6:
> /var/lib/dpkg/info/python-pip.postinst: pycompile: not found dpkg:
> error processing package python-pip (--configure): subprocess
> installed post-installation script returned error exit status 127
> dpkg: error processing package python-pkg-resources (--configure):
> package is in a very bad inconsistent state; you should reinstall it
> before attempting configuration dpkg: dependency problems prevent
> configuration of python-setuptools: python-setuptools depends on
> python-pkg-resources (= 33.1.1-1+certbot~xenial+1); however: Package
> python-pkg-resources is not configured yet.
>
> dpkg: error processing package python-setuptools (--configure):
> dependency problems - leaving unconfigured Setting up python3
> (3.5.1-3) ... running python rtupdate hooks for python3.5...
> /usr/share/python3/runtime.d/dh-python.rtupdate: 5:
> /usr/share/python3/runtime.d/dh-python.rtupdate: py3clean: not found
> error running python rtupdate hook dh-python dpkg: error processing
> package python3 (--configure): subprocess installed post-installation
> script returned error exit status 4 dpkg: dependency problems prevent
> configuration of dh-python: dh-python depends on python3:any (>=
> 3.3.2-2~); however: Package python3 is not configured yet.
>
> dpkg: error processing package dh-python (--configure): dependency
> problems - leaving unconfigured Errors were encountered while
> processing: python-pip python-pkg-resources python-setuptools
> python3 dh-python E: Sub-process /usr/bin/dpkg returned an error code
> (1)
Distribution: 4.4.0-137-generic #163-Ubuntu SMP Mon Sep 24 13:14:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
apt dependencies
I try to install libness3-dev
and I always get this error.
Can somebody help me please?
Errors were encountered while processing:
python-pip
python3
dh-python
E: Sub-process /usr/bin/dpkg returned an error code (1)
Here ist the full error message:
> Reading package lists... Done Building dependency tree Reading
> state information... Done nodejs is already the newest version
> (6.15.0-1nodesource1). 0 upgraded, 0 newly installed, 0 to remove and
> 0 not upgraded. 5 not fully installed or removed. Need to get 0 B/464
> kB of archives. After this operation, 0 B of additional disk space
> will be used. Do you want to continue? [Y/n] Y perl: warning: Setting
> locale failed. perl: warning: Please check that your locale settings:
> LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG =
> "en_US.UTF-8"
> are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). locale: Cannot set LC_CTYPE
> to default locale: No such file or directory locale: Cannot set LC_ALL
> to default locale: No such file or directory Setting up python-pip
> (8.1.1-2ubuntu0.4) ... /var/lib/dpkg/info/python-pip.postinst: 6:
> /var/lib/dpkg/info/python-pip.postinst: pycompile: not found dpkg:
> error processing package python-pip (--configure): subprocess
> installed post-installation script returned error exit status 127
> dpkg: error processing package python-pkg-resources (--configure):
> package is in a very bad inconsistent state; you should reinstall it
> before attempting configuration dpkg: dependency problems prevent
> configuration of python-setuptools: python-setuptools depends on
> python-pkg-resources (= 33.1.1-1+certbot~xenial+1); however: Package
> python-pkg-resources is not configured yet.
>
> dpkg: error processing package python-setuptools (--configure):
> dependency problems - leaving unconfigured Setting up python3
> (3.5.1-3) ... running python rtupdate hooks for python3.5...
> /usr/share/python3/runtime.d/dh-python.rtupdate: 5:
> /usr/share/python3/runtime.d/dh-python.rtupdate: py3clean: not found
> error running python rtupdate hook dh-python dpkg: error processing
> package python3 (--configure): subprocess installed post-installation
> script returned error exit status 4 dpkg: dependency problems prevent
> configuration of dh-python: dh-python depends on python3:any (>=
> 3.3.2-2~); however: Package python3 is not configured yet.
>
> dpkg: error processing package dh-python (--configure): dependency
> problems - leaving unconfigured Errors were encountered while
> processing: python-pip python-pkg-resources python-setuptools
> python3 dh-python E: Sub-process /usr/bin/dpkg returned an error code
> (1)
Distribution: 4.4.0-137-generic #163-Ubuntu SMP Mon Sep 24 13:14:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
apt dependencies
apt dependencies
edited Nov 28 at 14:53
abu_bua
3,15081023
3,15081023
asked Nov 28 at 13:22
user9468014
12
12
You'll have to scan further up & look at your actual error. The E: line you've provided is only a summary from the calling routine that is reporting an error in a called routine that listed the error earlier in your report. We can't see what you've not included (the actual error message is higher in your listing). Please also provide your release of Ubuntu.
– guiverc
Nov 28 at 13:31
Thanks I added the full message
– user9468014
Nov 28 at 13:40
2
Your distribution is not 4.4.0-137 as that's kernel information, likely fromuname -a
. Two different releases of Ubuntu could be using that kernel so it's not definitive. Can you please also correct the formatting of your post; the lines breaks are wrong. You have non-Ubuntu sources there I suspect (packages.ubuntu.com/search?keywords=python-pkg-resources) so I'd suggest addingapt-cache policy python-pkg-resources python-setuptools
to your question (and please copy & paste the error again; if you can't format it correctly, we can help you if it's complete & unaltered)
– guiverc
Nov 28 at 13:51
add a comment |
You'll have to scan further up & look at your actual error. The E: line you've provided is only a summary from the calling routine that is reporting an error in a called routine that listed the error earlier in your report. We can't see what you've not included (the actual error message is higher in your listing). Please also provide your release of Ubuntu.
– guiverc
Nov 28 at 13:31
Thanks I added the full message
– user9468014
Nov 28 at 13:40
2
Your distribution is not 4.4.0-137 as that's kernel information, likely fromuname -a
. Two different releases of Ubuntu could be using that kernel so it's not definitive. Can you please also correct the formatting of your post; the lines breaks are wrong. You have non-Ubuntu sources there I suspect (packages.ubuntu.com/search?keywords=python-pkg-resources) so I'd suggest addingapt-cache policy python-pkg-resources python-setuptools
to your question (and please copy & paste the error again; if you can't format it correctly, we can help you if it's complete & unaltered)
– guiverc
Nov 28 at 13:51
You'll have to scan further up & look at your actual error. The E: line you've provided is only a summary from the calling routine that is reporting an error in a called routine that listed the error earlier in your report. We can't see what you've not included (the actual error message is higher in your listing). Please also provide your release of Ubuntu.
– guiverc
Nov 28 at 13:31
You'll have to scan further up & look at your actual error. The E: line you've provided is only a summary from the calling routine that is reporting an error in a called routine that listed the error earlier in your report. We can't see what you've not included (the actual error message is higher in your listing). Please also provide your release of Ubuntu.
– guiverc
Nov 28 at 13:31
Thanks I added the full message
– user9468014
Nov 28 at 13:40
Thanks I added the full message
– user9468014
Nov 28 at 13:40
2
2
Your distribution is not 4.4.0-137 as that's kernel information, likely from
uname -a
. Two different releases of Ubuntu could be using that kernel so it's not definitive. Can you please also correct the formatting of your post; the lines breaks are wrong. You have non-Ubuntu sources there I suspect (packages.ubuntu.com/search?keywords=python-pkg-resources) so I'd suggest adding apt-cache policy python-pkg-resources python-setuptools
to your question (and please copy & paste the error again; if you can't format it correctly, we can help you if it's complete & unaltered)– guiverc
Nov 28 at 13:51
Your distribution is not 4.4.0-137 as that's kernel information, likely from
uname -a
. Two different releases of Ubuntu could be using that kernel so it's not definitive. Can you please also correct the formatting of your post; the lines breaks are wrong. You have non-Ubuntu sources there I suspect (packages.ubuntu.com/search?keywords=python-pkg-resources) so I'd suggest adding apt-cache policy python-pkg-resources python-setuptools
to your question (and please copy & paste the error again; if you can't format it correctly, we can help you if it's complete & unaltered)– guiverc
Nov 28 at 13:51
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1096803%2fdependency-problems-while-installing-libness3-dev-using-apt-get%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You'll have to scan further up & look at your actual error. The E: line you've provided is only a summary from the calling routine that is reporting an error in a called routine that listed the error earlier in your report. We can't see what you've not included (the actual error message is higher in your listing). Please also provide your release of Ubuntu.
– guiverc
Nov 28 at 13:31
Thanks I added the full message
– user9468014
Nov 28 at 13:40
2
Your distribution is not 4.4.0-137 as that's kernel information, likely from
uname -a
. Two different releases of Ubuntu could be using that kernel so it's not definitive. Can you please also correct the formatting of your post; the lines breaks are wrong. You have non-Ubuntu sources there I suspect (packages.ubuntu.com/search?keywords=python-pkg-resources) so I'd suggest addingapt-cache policy python-pkg-resources python-setuptools
to your question (and please copy & paste the error again; if you can't format it correctly, we can help you if it's complete & unaltered)– guiverc
Nov 28 at 13:51