circular dependency between lsb-release and python3 (ubuntu 18.04) Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionAlternative for psutil for ARM processors (raspberry pi) and python3How can I switch between Python 2.7 and 3.4 that are installed on Debian 8 (Jessie)?What is the differences between distributions, the OS and code names (stable, testing) in linux and what order is that listed in /etc/*release?Is this missing dependency-bug of Python3 in Kazam of Debian 8.5?Change the Python3 default version in UbuntuCan't install python3 on Ubuntu 18.04CentOS python3 package difference between python36 and python36uHow to build an RPM package for python app that works in Fedora 28 and 29, which have different default Python3 version?create files through terminal and joining two files in script python3file size different readings on linux and python3
Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode
What would you call this weird metallic apparatus that allows you to lift people?
Crossing US/Canada Border for less than 24 hours
Do I really need to have a message in a novel to appeal to readers?
How to draw/optimize this graph with tikz
Is it possible for SQL statements to execute concurrently within a single session in SQL Server?
Belief In God or Knowledge Of God. Which is better?
Is it fair for a professor to grade us on the possession of past papers?
draw dynamic circle around node and edges
Most bit efficient text communication method?
What to do with repeated rejections for phd position
Importance of からだ in this sentence
What is the appropriate index architecture when forced to implement IsDeleted (soft deletes)?
Is there hard evidence that the grant peer review system performs significantly better than random?
Exposing GRASS GIS add-on in QGIS Processing framework?
What was the first language to use conditional keywords?
Would it be possible to dictate a bech32 address as a list of English words?
Lagrange four-squares theorem --- deterministic complexity
How to play a character with a disability or mental disorder without being offensive?
What does it mean that physics no longer uses mechanical models to describe phenomena?
What is "gratricide"?
Is there any word for a place full of confusion?
Putting class ranking in CV, but against dept guidelines
What do you call the main part of a joke?
circular dependency between lsb-release and python3 (ubuntu 18.04)
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionAlternative for psutil for ARM processors (raspberry pi) and python3How can I switch between Python 2.7 and 3.4 that are installed on Debian 8 (Jessie)?What is the differences between distributions, the OS and code names (stable, testing) in linux and what order is that listed in /etc/*release?Is this missing dependency-bug of Python3 in Kazam of Debian 8.5?Change the Python3 default version in UbuntuCan't install python3 on Ubuntu 18.04CentOS python3 package difference between python36 and python36uHow to build an RPM package for python app that works in Fedora 28 and 29, which have different default Python3 version?create files through terminal and joining two files in script python3file size different readings on linux and python3
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I've managed to get into a situation where I have a circular dependency between lsb-release and python3. When I try to sudo apt install python3 --reinstall
I get the following (just pasting the key lines)
(Reading database ... 470097 files and directories currently installed.)
Preparing to unpack .../python3_3.6.7-1~18.04_amd64.deb ...
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
[~] lsb_release
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007fa905a81740 (most recent call first):
Aborted (core dumped)
Clearly my lsb_release is broken. But if I run sudo apt-get install lsb-release
I get
dpkg: error processing package python3 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of lsb-release:
lsb-release depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.
So I can't fix my python3 installation without fixing lsb-release, and vice versa.
python3 lsb-release
New contributor
add a comment |
I've managed to get into a situation where I have a circular dependency between lsb-release and python3. When I try to sudo apt install python3 --reinstall
I get the following (just pasting the key lines)
(Reading database ... 470097 files and directories currently installed.)
Preparing to unpack .../python3_3.6.7-1~18.04_amd64.deb ...
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
[~] lsb_release
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007fa905a81740 (most recent call first):
Aborted (core dumped)
Clearly my lsb_release is broken. But if I run sudo apt-get install lsb-release
I get
dpkg: error processing package python3 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of lsb-release:
lsb-release depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.
So I can't fix my python3 installation without fixing lsb-release, and vice versa.
python3 lsb-release
New contributor
add a comment |
I've managed to get into a situation where I have a circular dependency between lsb-release and python3. When I try to sudo apt install python3 --reinstall
I get the following (just pasting the key lines)
(Reading database ... 470097 files and directories currently installed.)
Preparing to unpack .../python3_3.6.7-1~18.04_amd64.deb ...
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
[~] lsb_release
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007fa905a81740 (most recent call first):
Aborted (core dumped)
Clearly my lsb_release is broken. But if I run sudo apt-get install lsb-release
I get
dpkg: error processing package python3 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of lsb-release:
lsb-release depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.
So I can't fix my python3 installation without fixing lsb-release, and vice versa.
python3 lsb-release
New contributor
I've managed to get into a situation where I have a circular dependency between lsb-release and python3. When I try to sudo apt install python3 --reinstall
I get the following (just pasting the key lines)
(Reading database ... 470097 files and directories currently installed.)
Preparing to unpack .../python3_3.6.7-1~18.04_amd64.deb ...
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
[~] lsb_release
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007fa905a81740 (most recent call first):
Aborted (core dumped)
Clearly my lsb_release is broken. But if I run sudo apt-get install lsb-release
I get
dpkg: error processing package python3 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of lsb-release:
lsb-release depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.
So I can't fix my python3 installation without fixing lsb-release, and vice versa.
python3 lsb-release
python3 lsb-release
New contributor
New contributor
edited Apr 15 at 3:39
Rui F Ribeiro
42.2k1484142
42.2k1484142
New contributor
asked Apr 15 at 2:31
GTKGTK
1032
1032
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You can fix your Python installation without fixing lsb_release
. Your Python installation needs other Python packages to be reinstalled; at least
sudo apt install --reinstall libpython3.6-minimal
and perhaps more. To reinstall all the packages, run
sudo apt install --reinstall libpython3.6,-minimal,-stdlib python3.6,-minimal
You should then find that lsb_release
works fine.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
);
);
GTK is a new contributor. Be nice, and check out our Code of Conduct.
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%2funix.stackexchange.com%2fquestions%2f512473%2fcircular-dependency-between-lsb-release-and-python3-ubuntu-18-04%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
You can fix your Python installation without fixing lsb_release
. Your Python installation needs other Python packages to be reinstalled; at least
sudo apt install --reinstall libpython3.6-minimal
and perhaps more. To reinstall all the packages, run
sudo apt install --reinstall libpython3.6,-minimal,-stdlib python3.6,-minimal
You should then find that lsb_release
works fine.
add a comment |
You can fix your Python installation without fixing lsb_release
. Your Python installation needs other Python packages to be reinstalled; at least
sudo apt install --reinstall libpython3.6-minimal
and perhaps more. To reinstall all the packages, run
sudo apt install --reinstall libpython3.6,-minimal,-stdlib python3.6,-minimal
You should then find that lsb_release
works fine.
add a comment |
You can fix your Python installation without fixing lsb_release
. Your Python installation needs other Python packages to be reinstalled; at least
sudo apt install --reinstall libpython3.6-minimal
and perhaps more. To reinstall all the packages, run
sudo apt install --reinstall libpython3.6,-minimal,-stdlib python3.6,-minimal
You should then find that lsb_release
works fine.
You can fix your Python installation without fixing lsb_release
. Your Python installation needs other Python packages to be reinstalled; at least
sudo apt install --reinstall libpython3.6-minimal
and perhaps more. To reinstall all the packages, run
sudo apt install --reinstall libpython3.6,-minimal,-stdlib python3.6,-minimal
You should then find that lsb_release
works fine.
answered Apr 15 at 7:38
Stephen KittStephen Kitt
182k25419497
182k25419497
add a comment |
add a comment |
GTK is a new contributor. Be nice, and check out our Code of Conduct.
GTK is a new contributor. Be nice, and check out our Code of Conduct.
GTK is a new contributor. Be nice, and check out our Code of Conduct.
GTK is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f512473%2fcircular-dependency-between-lsb-release-and-python3-ubuntu-18-04%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