Rovers took an early lead when Lines headed home Stuart Campbell's corner.
Danny Coles' long ball put Duffy clear and the substitute made sure of the points with a low shot into the corner.
Rovers' Mikkel Andersen saved a Neil Austin free-kick before Mark Wright nearly made it 3-0 with a shot which was superbly blocked by Gary Liddle.
BBC