Unable to locate package with apt-get remove
I'm trying to remove pip (because I have pip3). I did sudo apt-get remove --purge pip
, and get
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pip
But which pip
gives
/usr/local/bin/pip
I can confirm that pip doesn't work, because pip --version
gives
bash: /usr/local/bin/pip: /usr/bin/python: bad interpreter: No such file or directory
How to I clean up my system?
FYI I'm using Ubuntu on Windows (WSL). I really hope this isn't the problem, because everything else seems to be working fine.
apt uninstall pip windows-subsystem-for-linux
bumped to the homepage by Community♦ 12 hours 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 |
I'm trying to remove pip (because I have pip3). I did sudo apt-get remove --purge pip
, and get
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pip
But which pip
gives
/usr/local/bin/pip
I can confirm that pip doesn't work, because pip --version
gives
bash: /usr/local/bin/pip: /usr/bin/python: bad interpreter: No such file or directory
How to I clean up my system?
FYI I'm using Ubuntu on Windows (WSL). I really hope this isn't the problem, because everything else seems to be working fine.
apt uninstall pip windows-subsystem-for-linux
bumped to the homepage by Community♦ 12 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
There is no package named pip. Probably you havepython-pip
package. (though WSL may be different..?
– doug
Sep 3 '17 at 0:08
@doug I also triedsudo apt-get remove python-pip
, doesn't work.
– ved
Sep 3 '17 at 0:29
Have you triedapt list | grep pip
to find the package name?
– WinEunuuchs2Unix
Oct 8 '17 at 0:07
add a comment |
I'm trying to remove pip (because I have pip3). I did sudo apt-get remove --purge pip
, and get
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pip
But which pip
gives
/usr/local/bin/pip
I can confirm that pip doesn't work, because pip --version
gives
bash: /usr/local/bin/pip: /usr/bin/python: bad interpreter: No such file or directory
How to I clean up my system?
FYI I'm using Ubuntu on Windows (WSL). I really hope this isn't the problem, because everything else seems to be working fine.
apt uninstall pip windows-subsystem-for-linux
I'm trying to remove pip (because I have pip3). I did sudo apt-get remove --purge pip
, and get
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pip
But which pip
gives
/usr/local/bin/pip
I can confirm that pip doesn't work, because pip --version
gives
bash: /usr/local/bin/pip: /usr/bin/python: bad interpreter: No such file or directory
How to I clean up my system?
FYI I'm using Ubuntu on Windows (WSL). I really hope this isn't the problem, because everything else seems to be working fine.
apt uninstall pip windows-subsystem-for-linux
apt uninstall pip windows-subsystem-for-linux
asked Sep 2 '17 at 17:31
vedved
11613
11613
bumped to the homepage by Community♦ 12 hours 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♦ 12 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
There is no package named pip. Probably you havepython-pip
package. (though WSL may be different..?
– doug
Sep 3 '17 at 0:08
@doug I also triedsudo apt-get remove python-pip
, doesn't work.
– ved
Sep 3 '17 at 0:29
Have you triedapt list | grep pip
to find the package name?
– WinEunuuchs2Unix
Oct 8 '17 at 0:07
add a comment |
There is no package named pip. Probably you havepython-pip
package. (though WSL may be different..?
– doug
Sep 3 '17 at 0:08
@doug I also triedsudo apt-get remove python-pip
, doesn't work.
– ved
Sep 3 '17 at 0:29
Have you triedapt list | grep pip
to find the package name?
– WinEunuuchs2Unix
Oct 8 '17 at 0:07
There is no package named pip. Probably you have
python-pip
package. (though WSL may be different..?– doug
Sep 3 '17 at 0:08
There is no package named pip. Probably you have
python-pip
package. (though WSL may be different..?– doug
Sep 3 '17 at 0:08
@doug I also tried
sudo apt-get remove python-pip
, doesn't work.– ved
Sep 3 '17 at 0:29
@doug I also tried
sudo apt-get remove python-pip
, doesn't work.– ved
Sep 3 '17 at 0:29
Have you tried
apt list | grep pip
to find the package name?– WinEunuuchs2Unix
Oct 8 '17 at 0:07
Have you tried
apt list | grep pip
to find the package name?– WinEunuuchs2Unix
Oct 8 '17 at 0:07
add a comment |
1 Answer
1
active
oldest
votes
Because you have pip3
, you need to uninstall python3-pip
.
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%2f952230%2funable-to-locate-package-with-apt-get-remove%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
Because you have pip3
, you need to uninstall python3-pip
.
add a comment |
Because you have pip3
, you need to uninstall python3-pip
.
add a comment |
Because you have pip3
, you need to uninstall python3-pip
.
Because you have pip3
, you need to uninstall python3-pip
.
answered Aug 16 '18 at 2:41
cosmoscaliburcosmoscalibur
692618
692618
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%2f952230%2funable-to-locate-package-with-apt-get-remove%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
There is no package named pip. Probably you have
python-pip
package. (though WSL may be different..?– doug
Sep 3 '17 at 0:08
@doug I also tried
sudo apt-get remove python-pip
, doesn't work.– ved
Sep 3 '17 at 0:29
Have you tried
apt list | grep pip
to find the package name?– WinEunuuchs2Unix
Oct 8 '17 at 0:07