# File lib/puppet/provider/package/dpkg.rb, line 83
83:     def latest
84:         output = dpkg_deb "--show", @resource[:source]
85:         matches = /^(\S+)\t(\S+)$/.match(output).captures
86:         unless matches[0].match( Regexp.escape(@resource[:name]) )
87:             warning "source doesn't contain named package, but %s" % matches[0]
88:         end
89:         matches[1]
90:     end