first do
apt-get remove framework2
apt-get remove framework3

second install framework2 and 3
To install the updated version,
> apt-get update && apt-get install framework2
To install the...