Breaking slackpkg in unexpected ways
by BenV on Jul.04, 2014, under Software
I just ran into something funny:
root@machine:~$ slackpkg update
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@machine:~$
Huh. I didn’t do anything weird with slackpkg….
Waaait a minute…
root@machine:~$ unset GREP_OPTIONS
root@machine:~$ slackpkg update
# Cut out the fetching of Changelog.txt
No changes in ChangeLog.txt between your last update and now.
Do you really want to download all other files (y/N)?
Apparently slackpkg breaks if you set GREP_OPTIONS to “–color=always”. Good to know for when I break it this way next time 😉