0

OK I have downloaded and installed Erlang Solutions with

wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb

But made a mistake when installing

sudo dpkg -i erlang-solutions_1.0_all.deb

selecting my ubuntu distribution as yakkety yak instead of xenial and I'm trying to uninstall using

sudo apt-get remove  --purge erlang-solutions

but when I reinstall the package I'm not prompted to enter the ubuntu version, how can I fix this?

1 Answer 1

0

Did you rebooted your PC after removal? Some files could still be in memory, so, reboot first before reinstall. If the problem persist, it could be that, some configuration or residual files are still be present in disk. You can manually delete the related files searching for them, and deleting manually. To do so, try with

sudo updatedb
locate <fileName>

Where fileName is the file you want to seach. For example:

locate erlang-solutions

This will list all the files which name contains the string erlang-solutions. Then, you can delete it with

sudo rm <fileName>

But, be careful!, look at the absolute path of the file, you don't want to delete system files or sensible data.

You can also look at this thread for more information about a related issue:

Cannot Remove touchegg package

1
  • Did not work, but I just had to change the name in the /etc/apt/sources.list.d dir for erlang, from yakkety yak to xenial. Thanks Commented Sep 7, 2016 at 17:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .