Package: libapt-pkg5.0
Version: 1.2.9
Severity: important
Tags: l10n
Dear Maintainer,
* What led up to the situation?
apt-get, aptitude, apt-cache, etc all report the following error
E:Invalid record in the preferences file /etc/apt/preferences.d/my.pref, no
Package header
* What exactly did you do (or not do) that was effective (or
ineffective)?
Create a file in /etc/apt/preferences.d/ using an ansible template that is
UTF-8 encoded.
* What was the outcome of this action?
None of the APT front-end utilities respect the preferences (pinning) set in
the new preferences file.
* What outcome did you expect instead?
Ideally, The preferences in the new preferences file should be respected and
apt should be
capable of dealing with files of any file encoding or the error message
returned to the
front-end utilities should indicate a problem with the file or its encoding.
-- System Information:
Debian Release: stretch/sid
Architecture: amd64 (x86_64)
Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libapt-pkg5.0 depends on:
ii libbz2-1.0 1.0.6-8
ii libc6 2.21-6
ii libgcc1 1:5.3.1-12
ii liblz4-1 0.0~r131-1
ii liblzma5 5.1.1alpha+20120614-2.1
ii libstdc++6 5.3.1-12
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages libapt-pkg5.0 recommends:
ii apt 1.2
libapt-pkg5.0 suggests no packages.
-- no debconf information