Green’s Dictionary of Slang

...buggery! excl.

also ...bugger!
[buggery! excl.]

used to negate the previous sentence or phrase; esp. in a rhetorical question, implying the answer no, in a variety of excls., e.g. do I buggery!; also used with different pronouns.

[UK]C. Dexter Last Seen Wearing (1994) 405: ‘Will it buggery!’ said Morse.
[UK]Indep. Rev. 24 Jan. 1: ‘Beautiful nails,’ I sigh enviously. ‘Are they yours?’ ‘Are they bugger!’ she says. ‘They’re stuck on.’.
[Scot]T. Black Gutted 97: Was I going to change without a reason? Was I buggery.