Score:0

Remove duplicate package installation, when "Package [] is not installed, so not removed" and make: *** No rule to make target 'uninstall'

in flag

I accidentally installed the same package twice:

$ whereis agda
agda: /home/me/.local/bin/agda /home/me/.cabal/bin/agda

I cannot remove it with sudo apt:

$ sudo apt remove agda
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'agda' is not installed, so not removed

I went into one of the package dirs and tried

$ sudo make uninstall
make: *** No rule to make target 'uninstall'.  Stop.

How can I get rid of these packages completely?

in flag
https://plfa.github.io/GettingStarted/#install-plfa-and-the-agda-standard-library
in flag
stack install --stack-yaml stack-8.8.3.yaml
user535733 avatar
cn flag
Edit that information in your Question above. Do not bury important information in comments. Make your question clear: You seem to be looking for how to uninstall software that you installed using the `stack` command. Google suggests looking at https://stackoverflow.com/questions/38636436/how-to-uninstall-a-haskell-package-installed-with-stack
David avatar
cn flag
Is this Ubuntu if so what version?
in flag
the version is 18.04
in flag
@user535733 why did you give my question negative feedback?
user535733 avatar
cn flag
I gave your question *constructive* feedback, to help make your question answerable. Better quality questions lead directly to better help for you.
in flag
The feedback you gave was of no help. I don't think you read it. Thanks for trying but don't post feedback just for the sake of posting something.
N0rbert avatar
zw flag
What is agda? How it was installed? Why do you think it was installed from APT?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.