slackpkg
slackpkg copied to clipboard
slackpkg breaks when an essential commented line is removed from slackpkg.conf
If you remove the following comment from /etc/slackpkg/slackpkg.conf
, the slackpkg
tool will cease to function:
# v15.0
root@darkstar:~# slackpkg info kernel-huge
expr: syntax error: missing argument after ‘length’
Your slackpkg.conf is outdated. Please, edit it using slackpkg.conf.new
as example or overwrite it with slackpkg.conf.new.
You can use 'slackpkg new-config' to do that.
root@darkstar:~#
This seems to be cause by line 163 in /usr/libexec/slackpkg/core-functions.sh
.