[Debian-med-packaging] Bug#1012341: med-config: 90med-config file missing a necessary trailing semi-colon
Jason L. Quinn
jason.lee.quinn+debian at gmail.com
Sun Jun 5 06:04:26 BST 2022
Package: med-config
Version: 3.7
Severity: normal
X-Debbugs-Cc: jason.lee.quinn+debian at gmail.com
Dear Maintainer,
The file /etc/apt/apt.conf.d/90med-config has a syntax error. It is missing a
trailing semi-colon for the DPkg scope. This can cause parsing errors, eg with
the cupt package manager. You can confirm the bug by installing the cupt
package and running "cupt why" on the command line.
When a scope is used in an apt config file, the trailing semi-colon after the
closing delimiter brace is necessary (as per "man 5 apt.conf").
The fix, I believe, is to merely change
DPkg {
Post-Invoke {"test -f /var/run/med-config.usermenu && if [ -x
/usr/sbin/blend-update-usermenus ] ; then /usr/sbin/blend-update-usermenus med
; fi ; rm -f /var/run/med-config.usermenu";};
}
to
DPkg {
Post-Invoke {"test -f /var/run/med-config.usermenu && if [ -x
/usr/sbin/blend-update-usermenus ] ; then /usr/sbin/blend-update-usermenus med
; fi ; rm -f /var/run/med-config.usermenu";};
};
in the /etc/apt/apt.conf.d/90med-config file.
I'm running bullseye so I have med-config version 3.7.0 but I just checked and
the issue is still present in sid for 3.7.1.
Hope that helps.
-- System Information:
Debian Release: 11.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-14-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages med-config depends on:
ii adduser 3.118
ii blends-common 0.7.2
ii debconf [debconf-2.0] 1.5.77
ii menu 2.1.48
med-config recommends no packages.
med-config suggests no packages.
-- debconf information:
* med-config/group:
shared/med-config/usermenus: never
More information about the Debian-med-packaging
mailing list