Hmm, seems to work fine here:
Code: Select all
$ LANG=C /usr/sbin/slapt-get -s --upgrade # blacklisted
Reading Package Lists...Done
The following packages have been EXCLUDED:
hedgewars
0 upgraded, 0 reinstalled, 0 newly installed, 0 to remove, 1 not upgraded.
Done
$ LANG=C /usr/sbin/slapt-get -s --upgrade # removed from blacklist
Reading Package Lists...Done
The following packages will be upgraded:
hedgewars
1 upgraded, 0 reinstalled, 0 newly installed, 0 to remove, 0 not upgraded.
Need to get 0.0kB/114.9MB of archives.
After unpacking 366.8MB of additional disk space will be used.
hedgewars-0.9.13-x86_64-1ab is to be upgraded to version 0.9.16-x86_64-1ab
Done
The same goes for salix-update-notifier. Increased the check interval in .config/salix-update-notifier to 10s. In the first case no notification is displayed in the second case there is one.
Could you post the output of this command called as your user, when you get that issue again:
Code: Select all
LANG=C /usr/sbin/slapt-get -s --upgrade
BTW on a sidenote. This can be simplified:
Code: Select all
if [[ `LANG=C /usr/sbin/slapt-get -s --upgrade | grep "Need to get"` ]]
to
Code: Select all
if LANG=C /usr/sbin/slapt-get -s --upgrade | grep -q "Need to get"
The same goes for the other which (use >/dev/null 2>&1 here) and grep commands.
And instead of this:
It might be a good idea to use XDG_CONFIG_HOME like JRD did for .cache:
Code: Select all
$([ -n "$XDG_CONFIG_HOME" ] && echo "$XDG_CONFIG_HOME" || echo "$HOME/.config")