Installing Old Packages from the Repository

We may need to install some old packages such as the Asterisk version in your ScopTEL PBX server. Let’s use installing a older version of Asterisk 1.8 as the example to introduce how to install old packages from the repository using yum.

By now, suppose we have install asterisk18-1.8.12.0 in the server  and we want to install some older version available in the repository.

First find out all the asterisk18 packages  in the repository by:

[note color=”#ddd”] # scopserv_yum list –showduplicates asterisk18[/note]

All the Asterisk 1.8.x packages will be listed like this:

[note color=”#ddd”] Installed Packages

asterisk18.x86_64             1.8.12.0-1.el5.scopserv                      installed

Available Packages
asterisk18.x86_64             1.8.4-3.el5.scopserv                          scopserv
asterisk18.x86_64             1.8.10.0-1.el5.scopserv                      scopserv
asterisk18.x86_64             1.8.11.0-4.el5.scopserv                      scopserv
asterisk18.x86_64             1.8.11.1-1.el5.scopserv                       scopserv
asterisk18.x86_64             1.8.12.0-1.el5.scopserv                      scopserv[/note]

We find out that 1.8.10.0 package is available. We can install it now:

[note color=”#ddd”] # rpm -e –nodeps asterisk18

# scopserv_yum install asterisk18-1.8.10.0-1.el5.scopserv[/note]

Then “scopserv_yum” will install the older version. For other packages, the method is similar with asterisk18. We just need to replace asterisk18 with the package name above.