An affectionate term for a child, particularly when it isn't listening to the adult, the implication being that the child's ears (lugs) have been fucked (or buggered) and can no longer hear as a result.
In British English, a term used as a polite euphemism for the stronger "bugger". Often the word is changed as the speaker realises his/her audience.
Usually an exclamatory remark