Issue #23218 has been updated by Charlie Sharpsteen. Assignee set to Charlie Sharpsteen
---------------------------------------- Bug #23218: Fails to parse UTF-8 dpkg-query output when running on non-UTF-8 locale https://projects.puppetlabs.com/issues/23218#change-101025 * Author: Bernhard Schmidt * Status: Duplicate * Priority: Normal * Assignee: Charlie Sharpsteen * Category: package * Target version: * Affected Puppet version: 3.3.1 * Keywords: encoding utf8 * Branch: ---------------------------------------- Puppet 3.3 outputs the following error message when running with a non-UTF-8 locale (i.e. C or de_DE) while parsing dpkg-query output Debug: Prefetching apt resources for package Debug: Executing '["/usr/bin/dpkg-query", "-W", "--showformat", "'${Status} ${Package} ${Version} :DESC: ${Description}\\n:DESC:\\n'"]' Error: Could not prefetch package provider 'apt': invalid byte sequence in US-ASCII This most likely happens due to the UTF-8 quotation marks in the description of the kbd package on Debian. UTF-8 is legal according to my understanding of Policy 5.1, so Puppet should just cope with it. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724645 for more information -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.