slackpkg icon indicating copy to clipboard operation
slackpkg copied to clipboard

slackpkg breaks when an essential commented line is removed from slackpkg.conf

Open tterpelle opened this issue 2 years ago • 0 comments

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.

tterpelle avatar Sep 23 '22 19:09 tterpelle