@Jason-Lee-Quinn
Copy link

Jason-Lee-Quinn commented Jun 8, 2022

Hi, the files

/contrib/apt-conf/50appstream
/contrib/apt-conf/60icons
/contrib/apt-conf/60icons-hidpi
/contrib/apt-conf/60icons-large
/contrib/apt-conf/60icons-large-hidpi

are all using a double hash (##) for comments but apt uses C-style comments (as per "man 5 apt.conf").

This causes some tools to fail. For example, the command "cupt why" causes the cupt package manager to complain with warnings like

E: syntax error: line 1, character 1: expected: clear directive ('#clear') or option name (letters, numbers, slashes, points, dashes, double colons allowed)
E: unable to parse the config file '//etc/apt/apt.conf.d/60icons'
W: skipped the configuration file '//etc/apt/apt.conf.d/60icons'

for each file mentioned.

Each apt configuration file should be converted to C-style commenting.