1

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.

3
  • 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, 2017 at 13:54
  • solve with :` sudo add-apt-repository ppa:ubuntuhandbook1/apps sudo apt-get update sudo apt-get install intellij-idea-community ` Sep 3, 2017 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. Sep 3, 2017 at 15:46

1 Answer 1

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
0

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