- This topic has 22 replies, 5 voices, and was last updated Nov 21-8:36 pm by BobC.
- You must be logged in to reply to this topic.
Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.
Forum › Forums › General › Software › apt-notifier, when run from cron doesnt show the upgradable packages [SOLVED]
Hi BobC,
Thanks for this. I am looking for an update notifier for my Antix i3 install, but I see one needs a workaround to make apt-notifier to work?
Your instructions are very clear, but what I don’t understand is the $HOME path part? What is it and how do I edit it? Is it in my .bashrc file?
My program is $HOME/bin/aptitude-notifier-check.sh
is actually located in /home/bobc/bin
the value of $HOME is /home/bobc
to see if your system has that variable, try this in a terminal
printenv | grep “HOME”
mine returns:
XDG_CONFIG_HOME=/home/bobc/.config
HOME=/home/bobc
XDG_CACHE_HOME=/home/bobc/.cache
XDG_STATE_HOME=/home/bobc/.local/state
XDG_DATA_HOME=/home/bobc/.local/share
ok, just run printenv in a terminal and look for your user id…
What version of antiX are you running? It must be pretty modified if it has no $HOME variable defined. You could define it yourself, but I think the point is that if that variable is missing, its likely that others are missing, too.
The forum software is to blame. write the command in the terminal withut copying it from the forum and it will show. The quote symbols are replaced in the forum software for more stylistic quote marks, which are a different symbol interpreted by the terminal.
printenv | grep HOME
antiX Live system enthusiast.
General Live Boot Parameters for antiX.
Good catch Xecure, you were right, if I type the command I get a sane and normal output
If someone can’t run apt-notifier for some reason, they might be able to use yad-updater which is in the antix-goodies package. I have script that I used to run it via cron automatically every 6 hours.
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |