Ticket #1302 (new defect)
config-package-dev uses deprecated --control-path option to dpkg-query
Reported by: | geofft | Owned by: | |
---|---|---|---|
Priority: | insignificant | Milestone: | The Distant Future |
Component: | config-package-dev | Keywords: | |
Cc: | Fixed in version: | ||
Upstream bug: |
Description
The CDBS implementation of config-package-dev uses dpkg-query --control-path to find the md5sums file, and the Debhelper version uses Dpkg::Path::get_control_path, which shells out to the same command. The dpkg manpage notes that this option is deprecated, and that you should use --control-list to see if a control file exists and --control-show to get its contents.
I don't actually expect the option to go away ~ever, but it's worth noting that we're using a deprecated API.
Change History
Note: See
TracTickets for help on using
tickets.
We're currently not using Dpkg::Path::get_control_path for the sake of backports, so maybe in the long term we'll just switch to using the shell version. Still, I've filed DebianBug:735021 about exposing something non-deprecated in Perl.