Ein mann i 50-åra er dømt til fengsel i åtte år for å ha forsøkt å drepe kona si i Averøy på Nordmøre tidlegare i år.