Heres what wiki says
Bugger is a vulgar word used in vernacular British English, Irish English, Australian English, New Zealand English, South African English, Indian English, and occasionally also in Malaysian English. Today, the term is a general-purpose expletive, used to imply dissatisfaction (bugger, I've missed the bus [i.e. Darn it, I've missed the bus!], or used to describe someone whose behaviour is in some way displeasing (the bugger's given me the wrong change).
History
Etymologically, a "Bugger" was a "Bulgre" (French Bougre). Originally, it was derived from the French word "Bouggerie" ("of Bulgaria"), meaning the medieval Bulgarian clerical sect of the Bogomils, which facing severe persecution in Bulgaria spread into Western Europe and was branded by the established church as particularly devoted to the practice of sodomy.[1]
Today, the term is a general-purpose expletive, used to imply dissatisfaction (bugger, I've missed the bus [i.e. Darn it, I've missed the bus!], or used to describe someone whose behaviour is in some way displeasing (the bugger's given me the wrong change).
The word is also used amongst friends in an affectionate way (you old bugger) and is used as a noun in Welsh English vernacular to imply that one is very fond of something (I'm a bugger for Welsh cakes). It can also imply a negative tendency (He's a silly bugger for losing his keys) [i.e He's a fool for losing his keys often].
A colloquial phrase in the north of England (and often in New Zealand and Australia as well) to denote or faint surprise at an unexpected (or possibly unwanted) occurrence is "Bugger me, here's my bus".
In colloquial use it can also indicate the state of being tired, such as "I'm buggered."








