1

This question already has an answer here:

apt install does not work, for example:

$ apt install uget 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package intellij-idea-ultimate needs to be reinstalled, but I can't find an archive for it.

This problem arose after I installed intellij idea using this .deb file from Launchpad.

marked as duplicate by edwinksl, David Foerster, Eric Carvalho, George Udosen, Yaron Sep 4 '17 at 6:59

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Did you get an error during the installation of IntelliJ idea ? Did you use a (1) .deb file, (2) a .zip or tar.gz archive, or (3) a repository to install the software ? – Jaime Sep 3 '17 at 13:54
  • solve with :` sudo add-apt-repository ppa:ubuntuhandbook1/apps sudo apt-get update sudo apt-get install intellij-idea-community ` – Mahdi Bagheri Sep 3 '17 at 15:11
  • This is related to Apt/Synaptic needs to reinstall package but can't find the archive for it and I had voted to close it as a duplicate of that. But since the actual goal here seems to have been to install a particular program, I'm no longer sure we should close it. – Eliah Kagan Sep 3 '17 at 15:46
3

Apparently, apt is trying to reinstall or update the intellij-idea-ultimate but the system does not find the corresponding .deb file.

As I know, IntelliJ Idea does not have an official repository you can use with apt or apt-get to install and update their dependencies. You usually use the official .tar.gz file or an unofficial repository to install IntelliJ.

If you are using the unofficial repository, you may...

If you want to enable that PPA and install from it, you can run these commands:

sudo add-apt-repository ppa:ubuntuhandbook1/apps
sudo apt-get update
sudo apt-get install intellij-idea-community

Not the answer you're looking for? Browse other questions tagged or ask your own question.