Install an older version of a package using apt-get
I am getting this when I build a project in JBoss Seam:
Code:
asookazian@asookazian-desktop:/opt/jboss-seam-2.2.1.CR1/examples/booking:10:30 PM:$ant clean explode Code:
asookazian@asookazian-desktop:/opt/jboss-seam-2.2.1.CR1/examples/booking:10:31 PM:$sudo apt-get install ant=1.7.0 Code:
asookazian@asookazian-desktop:/usr/bin:10:34 PM:$ls -la ant | less Code:
lrwxrwxrwx 1 root root 20 2010-03-23 06:15 ant -> ../share/ant/bin/ant |
I guess, you can just remove the current one :
sudo apt-get remove ant .. And install the 1.7.0 from Ubuntu 8.04 Hardy http://packages.ubuntu.com/hardy/ant http://packages.ubuntu.com/hardy/all/ant/download A genuine sun java is required : 1) sudo apt-get install sun-java6-jdk 2) sudo update-alternatives --config java .. please choose the Sun version. ( If it isnt't already installed, and set as default.) ..... |
All times are GMT -5. The time now is 12:55 AM. |