Bug#1011982: science-config: configuration file "90science-config" is missing semi-colon. Causes "unable to parse the config file" errors

Jason L. Quinn jason.lee.quinn+debian at gmail.com
Sat May 28 11:27:43 BST 2022


Package: science-config
Version: 1.14.2
Severity: normal
X-Debbugs-Cc: jason.lee.quinn+debian at gmail.com

Dear Maintainer,

Using a tool like cupt results in warnings like

E: syntax error: line 8, character 1: expected: semicolon (';')
E: unable to parse the config file '//etc/apt/apt.conf.d/90science-config'
W: skipped the configuration file '//etc/apt/apt.conf.d/90science-config'


The contents of that file are:

/*
 * APT configuration file for science-config package
 */

DPkg {
        Post-Invoke {"test -f /var/run/science-config.usermenu && if [ -x
/usr/sbin/blend-update-usermenus ] ; then /usr/sbin/blend-update-usermenus
science ; fi ; rm -f /var/run/science-config.usermenu";};
}


And it appears that indeed it is missing the semi-colon to end the DPkg scope.
The file should be

/*
 * APT configuration file for science-config package
 */

DPkg {
        Post-Invoke {"test -f /var/run/science-config.usermenu && if [ -x
/usr/sbin/blend-update-usermenus ] ; then /usr/sbin/blend-update-usermenus
science ; fi ; rm -f /var/run/science-config.usermenu";};
};


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 science-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

science-config recommends no packages.

science-config suggests no packages.

-- debconf information:
* science-config/group:
  shared/science-config/useusermenus:



More information about the debian-science-maintainers mailing list