ubuntu - APT: install specific version of a package -


i need install specific package version, not work apt:

root@myhost:~# apt-get install my-lib-java=2016.03.30-79 reading package lists... done building dependency tree reading state information... done following packages installed:   my-lib-java 0 upgraded, 0 newly installed, 0 remove , 93 not upgraded. 

older version installed:

root@myhost:~# dpkg -l | grep my-lib-java ii  my-lib-java                  2016.02.25-3-g5aa415e-75            amd64        no description given 

but explicitly specified version exist:

root@myhost:~# apt-cache madison my-lib-java my-lib-java | 2016.04.19-86 | https://my.re.po/dl/ubuntu/ trusty/ packages my-lib-java | 2016.03.30-79 | https://my.re.po/dl/ubuntu/ trusty/ packages my-lib-java | 2016.02.25-73 | https://my.re.po/dl/ubuntu/ trusty/ packages 

how may install 2016.03.30-79?

ok, problem apt my-lib-java depended on my-lib solution is

apt-get install my-lib-java=2016.03.30-79 my-lib=2016.03.30-79 

then goes through.


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -