You can sell the ancestral property for family requirement under mitakshara laws but kindly keep in mind that there is partition of property before selling it and the title.is clear in your name and mutation is done in your name.
Secondly if you have any child who is major his consent has tk be there or you have to obtain a consent fro .District.court in case if he is minor.
Now the ancestral property is a property which is in your family from 4 generation and the interest is joint undivided otherwise it is inherited property not ancestral which can be sold as self acquired property.
For partition you have to file a suit of partion and when your share is ascertained than you can sell it.