2

When I was going to install some package on my NAS via ipkg I found there are more than one versions such as:

root@Nas:/opt/etc/init.d# ipkg list | grep openssl
openssl - 0.9.8v-2 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and librari
openssl - 0.9.7m-6 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and librari

Due some dependency issue I need the version 0.9.7. However, if I just type ipkg install openssl it will always install the later, aka the 0.9.8, one.

Does anybody know how to specify the version to install?

jayatubi
  • 1,972
  • 1
  • 21
  • 51

1 Answers1

3

This functionality was introduced in opkg 0.3.2, taken from the commit message:

If several versions of a package are available in a repo, opkg defaults to the latest one. To force opkg to use a different version, the syntax = is used. For example, in a repo that has version 1.0, 2.0 and 3.0 of 'a', the following command will install version 1.0:

opkg install a=1.0

The syntax is the same used by apt-get.

Here's the issue and 0.3.2's release notes

Robin Daugherty
  • 7,115
  • 4
  • 45
  • 59
danf
  • 2,629
  • 21
  • 28