# File lib/puppet/provider/package/dpkg.rb, line 89
89:   def latest
90:     output = dpkg_deb "--show", @resource[:source]
91:     matches = /^(\S+)\t(\S+)$/.match(output).captures
92:     warning "source doesn't contain named package, but #{matches[0]}" unless matches[0].match( Regexp.escape(@resource[:name]) )
93:     matches[1]
94:   end