Broken pip3, pipenv and add-apt-repository on Kubuntu 18.10, probably something wrong with SSL lib ...
Why isn't everyone flabbergasted about Bran's "gift"?
How can I wire a 9-position switch so that each position turns on one more LED than the one before?
Why doesn't the university give past final exams' answers?
Is Bran literally the world's memory?
How was Lagrange appointed professor of mathematics so early?
How to begin with a paragraph in latex
Is there a possibility to generate a list dynamically in Latex?
What is the ongoing value of the Kanban board to the developers as opposed to management
Why do people think Winterfell crypts is the safest place for women, children & old people?
Are there existing rules/lore for MTG planeswalkers?
How would you suggest I follow up with coworkers about our deadline that's today?
Could a cockatrice have parasitic embryos?
Married in secret, can marital status in passport be changed at a later date?
Where to find documentation for `whois` command options?
Processing ADC conversion result: DMA vs Processor Registers
What is the evidence that custom checks in Northern Ireland are going to result in violence?
What helicopter has the most rotor blades?
What's called a person who works as someone who puts products on shelves in stores?
My admission is revoked after accepting the admission offer
Is a self contained air-bullet cartridge feasible?
What does こした mean?
Did war bonds have better investment alternatives during WWII?
Does a Draconic Bloodline sorcerer's doubled proficiency bonus for Charisma checks against dragons apply to all dragon types or only the chosen one?
Simulate round-robin tournament draw
Broken pip3, pipenv and add-apt-repository on Kubuntu 18.10, probably something wrong with SSL lib
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30 pm US/Eastern)How to upgrade OpenSSL 1.1.0 to 1.1.1 in Ubuntu 18.04?Python - pip pip2 pip3 pip3.5 packages are installed but cannot be imported in any Python sessionHow do I include a dependency package in a snap?Theano package is not importable in Python 3.6Kazam main window not showingError While Installing IBM Watson TTScheckbox software problem in ubuntu 16python and pip not in syncIn ubuntu IDE doest load tkinter library for python3 or python2install python module for certain python binaryWhy am i getting two different answers about which version of Python 3 do i have installed on Ubuntu 18?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am on Kubuntu 18.10 with python 2.7.15 and 3.6.7 installed and output of lsb_release -a
is
LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
pip
works on my machine since its for python 2.7 and output of pip -V
is
pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)
But typing pip3 gives segfault. The output is just Segmentation fault
. Same output for pipenv. I have tried removing and installing python3-pip several times, deleted pip cache in /home/<username>/.cache
. When i try to add any PPA using apt-add, i get this output
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 380, in get_ppa_info
ret = get_ppa_info_from_lp(user, ppa)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 110, in get_ppa_info_from_lp
return get_info_from_lp(lp_url)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 104, in get_info_from_lp
return get_info_from_https(lp_url, True)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 96, in get_info_from_https
data = func(lp_url=url, accept_json=accept_json, retry_delays=retry_delays)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 139, in _get_https_content_py3
cafile=LAUNCHPAD_PPA_CERT)
File "/usr/lib/python3.6/urllib/request.py", line 210, in urlopen
raise ValueError('SSL support not available')
ValueError: SSL support not available
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 136, in <module>
shortcut = shortcut_handler(line)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 1020, in shortcut_handler
ret = factory(shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 469, in shortcut_handler
return PPAShortcutHandler(shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 426, in __init__
info = get_ppa_info(self.shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 392, in get_ppa_info
_get_suggested_ppa_message(user, ppa))
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 349, in _get_suggested_ppa_message
lp_user = get_info_from_lp(LAUNCHPAD_USER_API % user)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 104, in get_info_from_lp
return get_info_from_https(lp_url, True)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 96, in get_info_from_https
data = func(lp_url=url, accept_json=accept_json, retry_delays=retry_delays)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 139, in _get_https_content_py3
cafile=LAUNCHPAD_PPA_CERT)
File "/usr/lib/python3.6/urllib/request.py", line 210, in urlopen
raise ValueError('SSL support not available')
ValueError: SSL support not available
Another symptom why i think there is an issue with ssl is that when i import ssl
in python2 terminal, it works. But importing ssl in python 3.6 gives segfault
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
Segmentation fault (core dumped)
UPDATE
When i import any other module before ssl
, say hashlib
, i get a different error
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import hashlib
>>> import ssl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.6/ssl.py", line 101, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: /usr/local/lib/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so)
python3 ssl
|
show 6 more comments
I am on Kubuntu 18.10 with python 2.7.15 and 3.6.7 installed and output of lsb_release -a
is
LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
pip
works on my machine since its for python 2.7 and output of pip -V
is
pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)
But typing pip3 gives segfault. The output is just Segmentation fault
. Same output for pipenv. I have tried removing and installing python3-pip several times, deleted pip cache in /home/<username>/.cache
. When i try to add any PPA using apt-add, i get this output
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 380, in get_ppa_info
ret = get_ppa_info_from_lp(user, ppa)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 110, in get_ppa_info_from_lp
return get_info_from_lp(lp_url)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 104, in get_info_from_lp
return get_info_from_https(lp_url, True)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 96, in get_info_from_https
data = func(lp_url=url, accept_json=accept_json, retry_delays=retry_delays)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 139, in _get_https_content_py3
cafile=LAUNCHPAD_PPA_CERT)
File "/usr/lib/python3.6/urllib/request.py", line 210, in urlopen
raise ValueError('SSL support not available')
ValueError: SSL support not available
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 136, in <module>
shortcut = shortcut_handler(line)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 1020, in shortcut_handler
ret = factory(shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 469, in shortcut_handler
return PPAShortcutHandler(shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 426, in __init__
info = get_ppa_info(self.shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 392, in get_ppa_info
_get_suggested_ppa_message(user, ppa))
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 349, in _get_suggested_ppa_message
lp_user = get_info_from_lp(LAUNCHPAD_USER_API % user)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 104, in get_info_from_lp
return get_info_from_https(lp_url, True)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 96, in get_info_from_https
data = func(lp_url=url, accept_json=accept_json, retry_delays=retry_delays)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 139, in _get_https_content_py3
cafile=LAUNCHPAD_PPA_CERT)
File "/usr/lib/python3.6/urllib/request.py", line 210, in urlopen
raise ValueError('SSL support not available')
ValueError: SSL support not available
Another symptom why i think there is an issue with ssl is that when i import ssl
in python2 terminal, it works. But importing ssl in python 3.6 gives segfault
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
Segmentation fault (core dumped)
UPDATE
When i import any other module before ssl
, say hashlib
, i get a different error
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import hashlib
>>> import ssl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.6/ssl.py", line 101, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: /usr/local/lib/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so)
python3 ssl
Can you try reinstalling thelibpython3.6-minimal
package? This is supposed to provide the/usr/lib/python3.6/ssl.py
file that seems to break the interpreter.
– Byte Commander
8 hours ago
@ByteCommander, Yes, likesudo apt remove libpython3.6-minimal
and thensudo apt install libpython3.6-minimal
? When i try removing it withsudo apt remove libpython3.6-minimal
, it shows a large number of packages that will be removed likeapparmor
,apport-kde
, lots of libboost libs. Can it make the system unusable?
– lovesh
8 hours ago
Don't remove it, that would indeed uninstall many other important things.sudo apt install --reinstall libpython3.6-minimal
reinstalls the package without changing any dependencies. Should have mentioned that directly, sorry.
– Byte Commander
8 hours ago
@ByteCommander No apologies please :). I tried that. Still same issue.
– lovesh
8 hours ago
Can you paste this exact command and show the output?sudo dpkg -V | awk '$2!="c"{print $NF}' | xargs dpkg -S | grep -Ev 'diversion|, ' | grep -Po '.*(?=: )' | sort -u
What this does is to letdpkg
scan all files that belong to any installed package on your system and compare them to the respective hash that is stored with the package. That way it can find any changed or corrupted files. The rest of the line processes the output to give you back a list of the packages they belong to instead of the changed files themselves.
– Byte Commander
8 hours ago
|
show 6 more comments
I am on Kubuntu 18.10 with python 2.7.15 and 3.6.7 installed and output of lsb_release -a
is
LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
pip
works on my machine since its for python 2.7 and output of pip -V
is
pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)
But typing pip3 gives segfault. The output is just Segmentation fault
. Same output for pipenv. I have tried removing and installing python3-pip several times, deleted pip cache in /home/<username>/.cache
. When i try to add any PPA using apt-add, i get this output
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 380, in get_ppa_info
ret = get_ppa_info_from_lp(user, ppa)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 110, in get_ppa_info_from_lp
return get_info_from_lp(lp_url)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 104, in get_info_from_lp
return get_info_from_https(lp_url, True)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 96, in get_info_from_https
data = func(lp_url=url, accept_json=accept_json, retry_delays=retry_delays)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 139, in _get_https_content_py3
cafile=LAUNCHPAD_PPA_CERT)
File "/usr/lib/python3.6/urllib/request.py", line 210, in urlopen
raise ValueError('SSL support not available')
ValueError: SSL support not available
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 136, in <module>
shortcut = shortcut_handler(line)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 1020, in shortcut_handler
ret = factory(shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 469, in shortcut_handler
return PPAShortcutHandler(shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 426, in __init__
info = get_ppa_info(self.shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 392, in get_ppa_info
_get_suggested_ppa_message(user, ppa))
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 349, in _get_suggested_ppa_message
lp_user = get_info_from_lp(LAUNCHPAD_USER_API % user)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 104, in get_info_from_lp
return get_info_from_https(lp_url, True)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 96, in get_info_from_https
data = func(lp_url=url, accept_json=accept_json, retry_delays=retry_delays)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 139, in _get_https_content_py3
cafile=LAUNCHPAD_PPA_CERT)
File "/usr/lib/python3.6/urllib/request.py", line 210, in urlopen
raise ValueError('SSL support not available')
ValueError: SSL support not available
Another symptom why i think there is an issue with ssl is that when i import ssl
in python2 terminal, it works. But importing ssl in python 3.6 gives segfault
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
Segmentation fault (core dumped)
UPDATE
When i import any other module before ssl
, say hashlib
, i get a different error
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import hashlib
>>> import ssl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.6/ssl.py", line 101, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: /usr/local/lib/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so)
python3 ssl
I am on Kubuntu 18.10 with python 2.7.15 and 3.6.7 installed and output of lsb_release -a
is
LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
pip
works on my machine since its for python 2.7 and output of pip -V
is
pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)
But typing pip3 gives segfault. The output is just Segmentation fault
. Same output for pipenv. I have tried removing and installing python3-pip several times, deleted pip cache in /home/<username>/.cache
. When i try to add any PPA using apt-add, i get this output
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 380, in get_ppa_info
ret = get_ppa_info_from_lp(user, ppa)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 110, in get_ppa_info_from_lp
return get_info_from_lp(lp_url)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 104, in get_info_from_lp
return get_info_from_https(lp_url, True)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 96, in get_info_from_https
data = func(lp_url=url, accept_json=accept_json, retry_delays=retry_delays)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 139, in _get_https_content_py3
cafile=LAUNCHPAD_PPA_CERT)
File "/usr/lib/python3.6/urllib/request.py", line 210, in urlopen
raise ValueError('SSL support not available')
ValueError: SSL support not available
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 136, in <module>
shortcut = shortcut_handler(line)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 1020, in shortcut_handler
ret = factory(shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 469, in shortcut_handler
return PPAShortcutHandler(shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 426, in __init__
info = get_ppa_info(self.shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 392, in get_ppa_info
_get_suggested_ppa_message(user, ppa))
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 349, in _get_suggested_ppa_message
lp_user = get_info_from_lp(LAUNCHPAD_USER_API % user)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 104, in get_info_from_lp
return get_info_from_https(lp_url, True)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 96, in get_info_from_https
data = func(lp_url=url, accept_json=accept_json, retry_delays=retry_delays)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 139, in _get_https_content_py3
cafile=LAUNCHPAD_PPA_CERT)
File "/usr/lib/python3.6/urllib/request.py", line 210, in urlopen
raise ValueError('SSL support not available')
ValueError: SSL support not available
Another symptom why i think there is an issue with ssl is that when i import ssl
in python2 terminal, it works. But importing ssl in python 3.6 gives segfault
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
Segmentation fault (core dumped)
UPDATE
When i import any other module before ssl
, say hashlib
, i get a different error
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import hashlib
>>> import ssl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.6/ssl.py", line 101, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: /usr/local/lib/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so)
python3 ssl
python3 ssl
edited 7 hours ago
lovesh
asked 9 hours ago
loveshlovesh
220139
220139
Can you try reinstalling thelibpython3.6-minimal
package? This is supposed to provide the/usr/lib/python3.6/ssl.py
file that seems to break the interpreter.
– Byte Commander
8 hours ago
@ByteCommander, Yes, likesudo apt remove libpython3.6-minimal
and thensudo apt install libpython3.6-minimal
? When i try removing it withsudo apt remove libpython3.6-minimal
, it shows a large number of packages that will be removed likeapparmor
,apport-kde
, lots of libboost libs. Can it make the system unusable?
– lovesh
8 hours ago
Don't remove it, that would indeed uninstall many other important things.sudo apt install --reinstall libpython3.6-minimal
reinstalls the package without changing any dependencies. Should have mentioned that directly, sorry.
– Byte Commander
8 hours ago
@ByteCommander No apologies please :). I tried that. Still same issue.
– lovesh
8 hours ago
Can you paste this exact command and show the output?sudo dpkg -V | awk '$2!="c"{print $NF}' | xargs dpkg -S | grep -Ev 'diversion|, ' | grep -Po '.*(?=: )' | sort -u
What this does is to letdpkg
scan all files that belong to any installed package on your system and compare them to the respective hash that is stored with the package. That way it can find any changed or corrupted files. The rest of the line processes the output to give you back a list of the packages they belong to instead of the changed files themselves.
– Byte Commander
8 hours ago
|
show 6 more comments
Can you try reinstalling thelibpython3.6-minimal
package? This is supposed to provide the/usr/lib/python3.6/ssl.py
file that seems to break the interpreter.
– Byte Commander
8 hours ago
@ByteCommander, Yes, likesudo apt remove libpython3.6-minimal
and thensudo apt install libpython3.6-minimal
? When i try removing it withsudo apt remove libpython3.6-minimal
, it shows a large number of packages that will be removed likeapparmor
,apport-kde
, lots of libboost libs. Can it make the system unusable?
– lovesh
8 hours ago
Don't remove it, that would indeed uninstall many other important things.sudo apt install --reinstall libpython3.6-minimal
reinstalls the package without changing any dependencies. Should have mentioned that directly, sorry.
– Byte Commander
8 hours ago
@ByteCommander No apologies please :). I tried that. Still same issue.
– lovesh
8 hours ago
Can you paste this exact command and show the output?sudo dpkg -V | awk '$2!="c"{print $NF}' | xargs dpkg -S | grep -Ev 'diversion|, ' | grep -Po '.*(?=: )' | sort -u
What this does is to letdpkg
scan all files that belong to any installed package on your system and compare them to the respective hash that is stored with the package. That way it can find any changed or corrupted files. The rest of the line processes the output to give you back a list of the packages they belong to instead of the changed files themselves.
– Byte Commander
8 hours ago
Can you try reinstalling the
libpython3.6-minimal
package? This is supposed to provide the /usr/lib/python3.6/ssl.py
file that seems to break the interpreter.– Byte Commander
8 hours ago
Can you try reinstalling the
libpython3.6-minimal
package? This is supposed to provide the /usr/lib/python3.6/ssl.py
file that seems to break the interpreter.– Byte Commander
8 hours ago
@ByteCommander, Yes, like
sudo apt remove libpython3.6-minimal
and then sudo apt install libpython3.6-minimal
? When i try removing it with sudo apt remove libpython3.6-minimal
, it shows a large number of packages that will be removed like apparmor
, apport-kde
, lots of libboost libs. Can it make the system unusable?– lovesh
8 hours ago
@ByteCommander, Yes, like
sudo apt remove libpython3.6-minimal
and then sudo apt install libpython3.6-minimal
? When i try removing it with sudo apt remove libpython3.6-minimal
, it shows a large number of packages that will be removed like apparmor
, apport-kde
, lots of libboost libs. Can it make the system unusable?– lovesh
8 hours ago
Don't remove it, that would indeed uninstall many other important things.
sudo apt install --reinstall libpython3.6-minimal
reinstalls the package without changing any dependencies. Should have mentioned that directly, sorry.– Byte Commander
8 hours ago
Don't remove it, that would indeed uninstall many other important things.
sudo apt install --reinstall libpython3.6-minimal
reinstalls the package without changing any dependencies. Should have mentioned that directly, sorry.– Byte Commander
8 hours ago
@ByteCommander No apologies please :). I tried that. Still same issue.
– lovesh
8 hours ago
@ByteCommander No apologies please :). I tried that. Still same issue.
– lovesh
8 hours ago
Can you paste this exact command and show the output?
sudo dpkg -V | awk '$2!="c"{print $NF}' | xargs dpkg -S | grep -Ev 'diversion|, ' | grep -Po '.*(?=: )' | sort -u
What this does is to let dpkg
scan all files that belong to any installed package on your system and compare them to the respective hash that is stored with the package. That way it can find any changed or corrupted files. The rest of the line processes the output to give you back a list of the packages they belong to instead of the changed files themselves.– Byte Commander
8 hours ago
Can you paste this exact command and show the output?
sudo dpkg -V | awk '$2!="c"{print $NF}' | xargs dpkg -S | grep -Ev 'diversion|, ' | grep -Po '.*(?=: )' | sort -u
What this does is to let dpkg
scan all files that belong to any installed package on your system and compare them to the respective hash that is stored with the package. That way it can find any changed or corrupted files. The rest of the line processes the output to give you back a list of the packages they belong to instead of the changed files themselves.– Byte Commander
8 hours ago
|
show 6 more comments
1 Answer
1
active
oldest
votes
Removing existing openssl from /usr/bin/openssl
and /usr/local/bin/openssl
and reinstalling openssl using this answer fixed the issue. Before that i also tried the following as @ByteCommander suggested
sudo apt install --reinstall openssl
sudo apt install --reinstall code
sudo apt install --reinstall python3-update-manager
Oh nice, you found a solution./usr/local/bin/openssl
looks like something that was manually installed outside the package manager (compiled from source maybe?). If both exist, the one in/usr/local/bin
would take priority (PATH order), and if that is an incompatible or broken version, it can cause the issues in question. Good find :)
– Byte Commander
3 hours ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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%2f1136451%2fbroken-pip3-pipenv-and-add-apt-repository-on-kubuntu-18-10-probably-something%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Removing existing openssl from /usr/bin/openssl
and /usr/local/bin/openssl
and reinstalling openssl using this answer fixed the issue. Before that i also tried the following as @ByteCommander suggested
sudo apt install --reinstall openssl
sudo apt install --reinstall code
sudo apt install --reinstall python3-update-manager
Oh nice, you found a solution./usr/local/bin/openssl
looks like something that was manually installed outside the package manager (compiled from source maybe?). If both exist, the one in/usr/local/bin
would take priority (PATH order), and if that is an incompatible or broken version, it can cause the issues in question. Good find :)
– Byte Commander
3 hours ago
add a comment |
Removing existing openssl from /usr/bin/openssl
and /usr/local/bin/openssl
and reinstalling openssl using this answer fixed the issue. Before that i also tried the following as @ByteCommander suggested
sudo apt install --reinstall openssl
sudo apt install --reinstall code
sudo apt install --reinstall python3-update-manager
Oh nice, you found a solution./usr/local/bin/openssl
looks like something that was manually installed outside the package manager (compiled from source maybe?). If both exist, the one in/usr/local/bin
would take priority (PATH order), and if that is an incompatible or broken version, it can cause the issues in question. Good find :)
– Byte Commander
3 hours ago
add a comment |
Removing existing openssl from /usr/bin/openssl
and /usr/local/bin/openssl
and reinstalling openssl using this answer fixed the issue. Before that i also tried the following as @ByteCommander suggested
sudo apt install --reinstall openssl
sudo apt install --reinstall code
sudo apt install --reinstall python3-update-manager
Removing existing openssl from /usr/bin/openssl
and /usr/local/bin/openssl
and reinstalling openssl using this answer fixed the issue. Before that i also tried the following as @ByteCommander suggested
sudo apt install --reinstall openssl
sudo apt install --reinstall code
sudo apt install --reinstall python3-update-manager
answered 6 hours ago
loveshlovesh
220139
220139
Oh nice, you found a solution./usr/local/bin/openssl
looks like something that was manually installed outside the package manager (compiled from source maybe?). If both exist, the one in/usr/local/bin
would take priority (PATH order), and if that is an incompatible or broken version, it can cause the issues in question. Good find :)
– Byte Commander
3 hours ago
add a comment |
Oh nice, you found a solution./usr/local/bin/openssl
looks like something that was manually installed outside the package manager (compiled from source maybe?). If both exist, the one in/usr/local/bin
would take priority (PATH order), and if that is an incompatible or broken version, it can cause the issues in question. Good find :)
– Byte Commander
3 hours ago
Oh nice, you found a solution.
/usr/local/bin/openssl
looks like something that was manually installed outside the package manager (compiled from source maybe?). If both exist, the one in /usr/local/bin
would take priority (PATH order), and if that is an incompatible or broken version, it can cause the issues in question. Good find :)– Byte Commander
3 hours ago
Oh nice, you found a solution.
/usr/local/bin/openssl
looks like something that was manually installed outside the package manager (compiled from source maybe?). If both exist, the one in /usr/local/bin
would take priority (PATH order), and if that is an incompatible or broken version, it can cause the issues in question. Good find :)– Byte Commander
3 hours ago
add a comment |
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.
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%2f1136451%2fbroken-pip3-pipenv-and-add-apt-repository-on-kubuntu-18-10-probably-something%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
Can you try reinstalling the
libpython3.6-minimal
package? This is supposed to provide the/usr/lib/python3.6/ssl.py
file that seems to break the interpreter.– Byte Commander
8 hours ago
@ByteCommander, Yes, like
sudo apt remove libpython3.6-minimal
and thensudo apt install libpython3.6-minimal
? When i try removing it withsudo apt remove libpython3.6-minimal
, it shows a large number of packages that will be removed likeapparmor
,apport-kde
, lots of libboost libs. Can it make the system unusable?– lovesh
8 hours ago
Don't remove it, that would indeed uninstall many other important things.
sudo apt install --reinstall libpython3.6-minimal
reinstalls the package without changing any dependencies. Should have mentioned that directly, sorry.– Byte Commander
8 hours ago
@ByteCommander No apologies please :). I tried that. Still same issue.
– lovesh
8 hours ago
Can you paste this exact command and show the output?
sudo dpkg -V | awk '$2!="c"{print $NF}' | xargs dpkg -S | grep -Ev 'diversion|, ' | grep -Po '.*(?=: )' | sort -u
What this does is to letdpkg
scan all files that belong to any installed package on your system and compare them to the respective hash that is stored with the package. That way it can find any changed or corrupted files. The rest of the line processes the output to give you back a list of the packages they belong to instead of the changed files themselves.– Byte Commander
8 hours ago