Your message dated Sat, 11 Mar 2017 08:08:23 -0800
with message-id <[email protected]>
and subject line Re: Bug#857126: cpufrequtils: Fails to install/upgrade (syntax
error in init script)
has caused the Debian Bug report #857126,
regarding cpufrequtils: Fails to install/upgrade (syntax error in init script)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
857126: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857126
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cpufrequtils
Version: 008-1+b1
Severity: grave
Justification: renders package unusable
Hi
After executing `apt-get dist-upgrade`, I get:
Setting up cpufrequtils (008-1+b1) ...
update-rc.d: warning: start and stop actions are no longer supported; falling
back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling
back to defaults
Job for cpufrequtils.service failed because the control process exited with
error code.
See "systemctl status cpufrequtils.service" and "journalctl -xe" for details.
invoke-rc.d: initscript cpufrequtils, action "start" failed.
* cpufrequtils.service - LSB: set CPUFreq kernel parameters
Loaded: loaded (/etc/init.d/cpufrequtils; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2017-03-08 10:54:47 CET; 4ms ago
Docs: man:systemd-sysv-generator(8)
Process: 13461 ExecStart=/etc/init.d/cpufrequtils start (code=exited,
status=2)
Mar 08 10:54:47 kraftkrust systemd[1]: Starting LSB: set CPUFreq kernel
parameters...
Mar 08 10:54:47 kraftkrust cpufrequtils[13461]: /etc/init.d/cpufrequtils: 3:
/etc/default/cpufrequtils: Syntax error: Unterminated quoted string
Mar 08 10:54:47 kraftkrust systemd[1]: cpufrequtils.service: Control process
exited, code=exited status=2
Mar 08 10:54:47 kraftkrust systemd[1]: Failed to start LSB: set CPUFreq kernel
parameters.
Mar 08 10:54:47 kraftkrust systemd[1]: cpufrequtils.service: Unit entered
failed state.
Mar 08 10:54:47 kraftkrust systemd[1]: cpufrequtils.service: Failed with result
'exit-code'.
dpkg: error processing package cpufrequtils (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
cpufrequtils
E: Sub-process /usr/bin/dpkg returned an error code (1)
Please let me know if I can provide more details.
Thanks
Sebastian
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-debug'), (450, 'unstable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages cpufrequtils depends on:
ii debconf [debconf-2.0] 1.5.60
ii libc6 2.24-9
ii libcpufreq0 008-1+b1
ii lsb-base 9.20161125
cpufrequtils recommends no packages.
cpufrequtils suggests no packages.
-- debconf information:
cpufrequtils/enable: true
--- End Message ---
--- Begin Message ---
On Wed, Mar 08, 2017 at 09:55:02PM +0100, Andreas Henriksson wrote:
> Control: tags -1 + moreinfo
>
> Hello Sebastian Humenda,
>
> Thanks for your bug report....
>
> On Wed, Mar 08, 2017 at 10:57:38AM +0100, Sebastian Humenda wrote:
> > Package: cpufrequtils
> > Version: 008-1+b1
> > Severity: grave
> > Justification: renders package unusable
> [...]
> > Mar 08 10:54:47 kraftkrust cpufrequtils[13461]: /etc/init.d/cpufrequtils:
> > 3: /etc/default/cpufrequtils: Syntax error: Unterminated quoted string
> [...]
>
> The /etc/init.d/cpufrequtils file is not shipped in the package since
> cpufrequtils 002-2.1 (a very long time ago, prior to old-old-stable).
as the error suggests, the unterminated string is in
/etc/default/cpufrequtils rather than in the init script.
/etc/init.d/cpufrequtils sources the defaults file, so that too has to be
correctly parseable by /bin/sh.
if [ -f /etc/default/cpufrequtils ] ; then
. /etc/default/cpufrequtils
fi
/etc/default/cpufrequtils is not a file managed by the package.
Sebastian,
Let me know if you need help writing the defaults file.
I'm closing this bug report.
--
mattia
:wq!
--- End Message ---