8

I'm on Xubuntu/ Ubuntu 16.04 and I am trying to install libssl0.9.8:

sudo apt-get install libssl0.9.8

Error:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libssl0.9.8 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 'libssl0.9.8' has no installation candidate
3
  • 1
    Any specific reason to install just that package?
    – Braiam
    Aug 7, 2016 at 23:42
  • @Braiam i tried to install it for shiny server. the error from installing the server lead me to this. but now i have solved the problem with shiny server.
    – Run
    Aug 9, 2016 at 7:46
  • 1
    @teelou Can I ask: how did you solve the problem?
    – andrew.46
    Aug 13, 2016 at 23:20

3 Answers 3

14

There has been a version bump for Xenial Xerus:

sudo apt-get install libssl1.0.0

is what you need...

References:

1
  • 1
    v. 1.0.0 is not compatible with 0.9.8.
    – mivk
    Sep 22, 2017 at 10:57
7

That error occurs when a package is not available from the repositories. In other words, that package does not exist for Ubuntu 16.04 (Xenial). See it here. It stops at Trusty (14.04)

If you really need to install it, download the package manually and install. This is how:

  • Download the package for your particular architecture (32/64bits) from here.

  • Extract the file(s).

  • Open a terminal, go to the extracted folder and run:

    sudo dpkg -i file.deb
    sudo apt-get install -f 
    

(The latter command will install any dependency libraries needed, as listed here)

NOTE: Installing old packages and their dependencies can be risky, as it can conflict with current libraries. There might be a reason why the package is not available for your Ubuntu release.

1

Download and install the trusty package manually:

i386: http://packages.ubuntu.com/trusty/i386/libssl0.9.8/download

amd64: http://packages.ubuntu.com/trusty/amd64/libssl0.9.8/download

other: http://packages.ubuntu.com/trusty/libssl0.9.8

You must log in to answer this question.

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