I am trying to run the following command to install a specific version of libssl:
apt-get install libssl1.0.0=1.0.1-4ubuntu5.13
As of right now, the latest version is 1.0.1-4ubuntu.14
, but I want the earlier version until I can do some testing with the new one. However I get the error:
"E: Version '1.0.1-4ubuntu5.13' for 'libssl1.0.0' was not found
If I run the same command for 1.0.1-4ubuntu5.14
, it works. So, I figure maybe I need to add a repository in /etc/apt/sources.list
, but I don't which repository might have what I need, or what entry to make.
Older Packages are pruned from ubuntu repo's and not kept around. You can either install from the debs directly, but if you want to do this in an apt-aware way your best bet is to create a local repository in a folder on your system, place your deb's there, make your apt sources aware of the local repo, and then install the specific version.
The other option is to create your own ppa on launchpad servers and then you will be able to pull that directly from any computer (Warning: Debian packaging is relatively straightforward, but still requires knowledge of linux and a little bit about coding/building software).
It is also possible to add to your sources the repos for most recent version of ubuntu (or debian) that has the package you want, install it, and then remove the source. The disadvantage of this is that the package may be replaced in a future apt-get unless you take advantage of pinning
No comments:
Post a Comment