Unmet dependencies issue with Python
Running sudo dpkg --configure -a
produces
Errors were encountered while processing:
python-pil
python-imaging-tk
python-imaging
python-pil.imagetk
python-setuptools
and running sudo apt-get -u dist-upgrade
produces
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
python-imaging-tk : Depends: python-pil.imagetk (>= 2.3.0-1ubuntu3.3) but 2.3.0-1ubuntu3 is installed
E: Unmet dependencies. Try using -f.
How do I correct these unmet dependencies? I believe I may have botched an attempt at installing Python 3.
Thanks!
EDIT 1: Hmm, after following minigeek's steps I appear to have made the situation worse. Now running sudo dpkg --configure -a
produces
Errors were encountered while processing:
hplip-data
python-pil
python-pil.imagetk
python-imaging
python-pexpect
python-reportlab
python-setuptools
ubuntu-sso-client-qt
package-management python dependencies
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Running sudo dpkg --configure -a
produces
Errors were encountered while processing:
python-pil
python-imaging-tk
python-imaging
python-pil.imagetk
python-setuptools
and running sudo apt-get -u dist-upgrade
produces
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
python-imaging-tk : Depends: python-pil.imagetk (>= 2.3.0-1ubuntu3.3) but 2.3.0-1ubuntu3 is installed
E: Unmet dependencies. Try using -f.
How do I correct these unmet dependencies? I believe I may have botched an attempt at installing Python 3.
Thanks!
EDIT 1: Hmm, after following minigeek's steps I appear to have made the situation worse. Now running sudo dpkg --configure -a
produces
Errors were encountered while processing:
hplip-data
python-pil
python-pil.imagetk
python-imaging
python-pexpect
python-reportlab
python-setuptools
ubuntu-sso-client-qt
package-management python dependencies
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Running sudo dpkg --configure -a
produces
Errors were encountered while processing:
python-pil
python-imaging-tk
python-imaging
python-pil.imagetk
python-setuptools
and running sudo apt-get -u dist-upgrade
produces
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
python-imaging-tk : Depends: python-pil.imagetk (>= 2.3.0-1ubuntu3.3) but 2.3.0-1ubuntu3 is installed
E: Unmet dependencies. Try using -f.
How do I correct these unmet dependencies? I believe I may have botched an attempt at installing Python 3.
Thanks!
EDIT 1: Hmm, after following minigeek's steps I appear to have made the situation worse. Now running sudo dpkg --configure -a
produces
Errors were encountered while processing:
hplip-data
python-pil
python-pil.imagetk
python-imaging
python-pexpect
python-reportlab
python-setuptools
ubuntu-sso-client-qt
package-management python dependencies
Running sudo dpkg --configure -a
produces
Errors were encountered while processing:
python-pil
python-imaging-tk
python-imaging
python-pil.imagetk
python-setuptools
and running sudo apt-get -u dist-upgrade
produces
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
python-imaging-tk : Depends: python-pil.imagetk (>= 2.3.0-1ubuntu3.3) but 2.3.0-1ubuntu3 is installed
E: Unmet dependencies. Try using -f.
How do I correct these unmet dependencies? I believe I may have botched an attempt at installing Python 3.
Thanks!
EDIT 1: Hmm, after following minigeek's steps I appear to have made the situation worse. Now running sudo dpkg --configure -a
produces
Errors were encountered while processing:
hplip-data
python-pil
python-pil.imagetk
python-imaging
python-pexpect
python-reportlab
python-setuptools
ubuntu-sso-client-qt
package-management python dependencies
package-management python dependencies
edited Oct 2 '16 at 19:06
edwinksl
17.3k125487
17.3k125487
asked Oct 2 '16 at 18:11
BarbotBarbot
10112
10112
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 11 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
First run
sudo apt-get autoremove <package name>
If it doesn't work then
sudo apt-get autoclean
remove sources.list file.and create new sources.list...
sudo rm /etc/apt/sources.list
Then, type in
sudo software-properties-gtk
This will open software-properties-gtk and a newsources.list will be created automatically.
Then change the server to US or to any other server of your choice. You must enable repositories from the new dialog in order to create new sources.list.
Tick all the boxes then click on Revert then click close.
Need to restore default repositories
sudo apt-get update && sudo apt-get dist-upgrade -y
(it is good practice to backup this file before installing to recover if such things happen)
Now install anything!
add a comment |
I ended up fixing this by going to Synaptic and manually upgrading the packages listed above (python-pil, python-imaging, etc.). Fixed everything.
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%2f832301%2funmet-dependencies-issue-with-python%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
First run
sudo apt-get autoremove <package name>
If it doesn't work then
sudo apt-get autoclean
remove sources.list file.and create new sources.list...
sudo rm /etc/apt/sources.list
Then, type in
sudo software-properties-gtk
This will open software-properties-gtk and a newsources.list will be created automatically.
Then change the server to US or to any other server of your choice. You must enable repositories from the new dialog in order to create new sources.list.
Tick all the boxes then click on Revert then click close.
Need to restore default repositories
sudo apt-get update && sudo apt-get dist-upgrade -y
(it is good practice to backup this file before installing to recover if such things happen)
Now install anything!
add a comment |
First run
sudo apt-get autoremove <package name>
If it doesn't work then
sudo apt-get autoclean
remove sources.list file.and create new sources.list...
sudo rm /etc/apt/sources.list
Then, type in
sudo software-properties-gtk
This will open software-properties-gtk and a newsources.list will be created automatically.
Then change the server to US or to any other server of your choice. You must enable repositories from the new dialog in order to create new sources.list.
Tick all the boxes then click on Revert then click close.
Need to restore default repositories
sudo apt-get update && sudo apt-get dist-upgrade -y
(it is good practice to backup this file before installing to recover if such things happen)
Now install anything!
add a comment |
First run
sudo apt-get autoremove <package name>
If it doesn't work then
sudo apt-get autoclean
remove sources.list file.and create new sources.list...
sudo rm /etc/apt/sources.list
Then, type in
sudo software-properties-gtk
This will open software-properties-gtk and a newsources.list will be created automatically.
Then change the server to US or to any other server of your choice. You must enable repositories from the new dialog in order to create new sources.list.
Tick all the boxes then click on Revert then click close.
Need to restore default repositories
sudo apt-get update && sudo apt-get dist-upgrade -y
(it is good practice to backup this file before installing to recover if such things happen)
Now install anything!
First run
sudo apt-get autoremove <package name>
If it doesn't work then
sudo apt-get autoclean
remove sources.list file.and create new sources.list...
sudo rm /etc/apt/sources.list
Then, type in
sudo software-properties-gtk
This will open software-properties-gtk and a newsources.list will be created automatically.
Then change the server to US or to any other server of your choice. You must enable repositories from the new dialog in order to create new sources.list.
Tick all the boxes then click on Revert then click close.
Need to restore default repositories
sudo apt-get update && sudo apt-get dist-upgrade -y
(it is good practice to backup this file before installing to recover if such things happen)
Now install anything!
answered Oct 2 '16 at 18:39
minigeekminigeek
885412
885412
add a comment |
add a comment |
I ended up fixing this by going to Synaptic and manually upgrading the packages listed above (python-pil, python-imaging, etc.). Fixed everything.
add a comment |
I ended up fixing this by going to Synaptic and manually upgrading the packages listed above (python-pil, python-imaging, etc.). Fixed everything.
add a comment |
I ended up fixing this by going to Synaptic and manually upgrading the packages listed above (python-pil, python-imaging, etc.). Fixed everything.
I ended up fixing this by going to Synaptic and manually upgrading the packages listed above (python-pil, python-imaging, etc.). Fixed everything.
answered Oct 3 '16 at 1:29
BarbotBarbot
10112
10112
add a comment |
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%2f832301%2funmet-dependencies-issue-with-python%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