apt-get for a particular version?

5

1

I would like the linux (Ubuntu) version of jdk 6 update 17 (which I think is one version behind the current one), can apt-get request such a specific package?

patrickinmpls

Posted 2010-01-14T21:05:21.200

Reputation: 1 193

Answers

3

You want:

apt-get install package=version

jtimberman

Posted 2010-01-14T21:05:21.200

Reputation: 20 109

2

You might also want to add something like this to your /etc/apt/preferences file, so that it won't just get upgraded again next time you run apt-get upgrade:


Package: sun-java6-jdk
Pin: version 6-17-*
Pin-Priority: 1001

rescdsk

Posted 2010-01-14T21:05:21.200

Reputation: 741