0

I was trying to install Linux dc++ in my Ubuntu 14.04 using terminal. But the following was shown in terminal:

Reading package lists... Done

Building dependency tree       

Reading state information... Done

Package linuxdcpp is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'linuxdcpp' has no installation candidate

What should I do to install Linuxdc ++?

Maythux
  • 84,289

2 Answers2

1

linuxdcpp is founded in universe repository, so first enable it.

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"

then run those commands:

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install linuxdcpp
Maythux
  • 84,289
  • I can understand that you want to reach the 20,000 points as soon as possible. But the quality of your answers should not suffer. ;) – A.B. Jul 04 '15 at 13:17
  • @A.B. It was just missing some parts, it's even cached in my browser, and for reputation , i don't care whether 20000 more or less, I'm here just to learn and help when I can – Maythux Jul 04 '15 at 13:28
0

As you can take from the Ubuntu Apps entry, the package has only been released up to 13.10 yet.

You can, however, try to get it to work by downloading (and modifying, if necesary) a version for an older release. For this, download the latest version for your architecture from here:

http://old-releases.ubuntu.com/ubuntu/pool/universe/l/linuxdcpp/

As far as I can see, the latest version is 1.1.0-1ubuntu2. Download the Debian package (.deb extension) for your architecture. No open it with the archive manager and navigate to the file DEBIAN/control. In there, you'll find a line containing the package dependencies.

As you can see, each dependency has it's version prefixed with >=, so you can install it, even if later versions of the dependencies are installed instead.

Simply install the package using

sudo dpkg -i linuxdcpp*.deb
sudo apt-get install -f

Should a dependency not be available either, get them the same way you did before. Afterwards run

sudo dpkg --configure -a

to finish the installation of packages with dependency problems.

s3lph
  • 14,314
  • 11
  • 59
  • 82