<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=1901&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / anacron not working in ascii [SOLVED]]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=1901</link>
		<description><![CDATA[The most recent posts in anacron not working in ascii [SOLVED].]]></description>
		<lastBuildDate>Sat, 24 Feb 2018 17:54:40 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: anacron not working in ascii [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=7728#p7728</link>
			<description><![CDATA[<p>I got it. Even after uninstalling the live-config* packages, the diversion that it created continues to live in dpkg, so one has to manually remove the diversion:</p><div class="codebox"><pre><code>root@thinkpad:/home/bruno# dpkg-divert --list | grep anacron
diversion of /usr/sbin/anacron to /usr/sbin/anacron.orig.anacron by live-config

root@thinkpad:/home/bruno# dpkg-divert --remove /usr/sbin/anacron

root@thinkpad:/home/bruno# dpkg-divert --list | grep anacron
# no hits</code></pre></div><p>Now I reinstall anacron and /usr/sbin/anacron is a real file as expected <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Sat, 24 Feb 2018 17:54:40 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=7728#p7728</guid>
		</item>
		<item>
			<title><![CDATA[Re: anacron not working in ascii [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=7726#p7726</link>
			<description><![CDATA[<p>No luck. I purged all three live-config packages and ancron, rebooted, and reinstalled anacron. Similar shenanigans (at least now the symlink is pointing to something sensible and not /bin/true):</p><div class="codebox"><pre><code>bruno@thinkpad:~$ ls -l /usr/sbin/anacron
lrwxrwxrwx 1 root root 30 Feb 24 01:36 /usr/sbin/anacron -&gt; /usr/sbin/anacron.orig.anacron
bruno@thinkpad:~$ dpkg -S anacron.orig.anacron
diversion by live-config from: /usr/sbin/anacron
diversion by live-config to: /usr/sbin/anacron.orig.anacron</code></pre></div><p>This is my /etc/apt/sources.list:</p><div class="codebox"><pre><code>deb http://pkgmaster.devuan.org/merged/ ascii main 
deb http://pkgmaster.devuan.org/merged/ ascii-security main
deb http://pkgmaster.devuan.org/merged/ ascii-updates main</code></pre></div><p>fsmithred, are you sure that your /usr/sbin/anacron is a real file and not a link? If you are sure, what am I missing?</p><p>What is this live-config business anyway? Can I get rid of it?</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Sat, 24 Feb 2018 15:29:38 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=7726#p7726</guid>
		</item>
		<item>
			<title><![CDATA[Re: anacron not working in ascii [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=7725#p7725</link>
			<description><![CDATA[<p>Thank you for the suggestions, fsmithred.</p><p>I have begun solving the mystery: </p><div class="codebox"><pre><code>bruno@thinkpad:~$ dpkg -S anacron.orig.anacron
diversion by live-config from: /usr/sbin/anacron
diversion by live-config to: /usr/sbin/anacron.orig.anacron

bruno@thinkpad:~$ dpkg -l | grep live-config
ii  live-config                 5.20170112+deb9u1      all          Live System Configuration Components
ii  live-config-doc           5.20170112+deb9u1      all          Live System Configuration Components (documentation)
ii  live-config-sysvinit     5.20170112+deb9u1      all          Live System Configuration Components (sysvinit backend)</code></pre></div><p>I did not install any live-config packages, so they must have come with Miyo. I will try uninstalling live-config* and reinstalling anacron.</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Sat, 24 Feb 2018 15:19:44 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=7725#p7725</guid>
		</item>
		<item>
			<title><![CDATA[Re: anacron not working in ascii [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=7723#p7723</link>
			<description><![CDATA[<p>I just checked one of my ascii installs, and /usr/sbin/anacron is a real file. There are entries in /var/log/syslog, and it looks like it runs when I boot the VM. My anacrontab looks like yours, there are files in /var/spool/anacron for cron.daily .weekly and .monthly with timestamps that match what syslog shows. And my /etc/default/anacron says &quot;No&quot;.</p><p>&#039;apt-file find /usr/sbin/anacron.orig.anacron&#039; turned up nothing. Maybe dpkg -S would show something on your end. Or &#039;grep anacron /root/.history&#039; to see if you did something and forgot about it.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 24 Feb 2018 14:31:01 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=7723#p7723</guid>
		</item>
		<item>
			<title><![CDATA[Re: anacron not working in ascii [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=7720#p7720</link>
			<description><![CDATA[<p>After much snooping around, I discovered that /usr/sbin/anacron was a link to /bin/true (???)<br />The anacron package actually installs /usr/sbin/anacron.orig.anacron (???)<br />This fixed the issue: sudo ln -fs /usr/sbin/anacron.orig.anacron /usr/sbin/anacron</p><p>Very, very strange.</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Sat, 24 Feb 2018 06:40:03 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=7720#p7720</guid>
		</item>
		<item>
			<title><![CDATA[anacron not working in ascii [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=7718#p7718</link>
			<description><![CDATA[<p>Anacron is not running on my laptop, regardless of whether it is plugged in or not.</p><p>Here is my /etc/anacrontab (it is the same as on my Devuan Jessie partition):</p><div class="codebox"><pre><code># /etc/anacrontab: configuration file for anacron

# See anacron(8) and anacrontab(5) for details.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
HOME=/root
LOGNAME=root

# These replace cron&#039;s entries
1	5	cron.daily	run-parts --report /etc/cron.daily
7	10	cron.weekly	run-parts --report /etc/cron.weekly
@monthly	15	cron.monthly	run-parts --report /etc/cron.monthly

# bruno
7 1 maintenance /opt/scripts/jobs-maintenance</code></pre></div><p>Here is /etc/default/anacrontab:</p><div class="codebox"><pre><code># If set to &quot;yes&quot;, start anacron even when on battery power.  By
# default, the /etc/init.d/anacron script tries to avoid running
# anacron unless on AC power, so as to avoid running down the battery.
# (Things like the locate updatedb cause a lot of I/O.)

ANACRON_RUN_ON_BATTERY_POWER=yes</code></pre></div><p>I already did this, too (I had to do it in Jessie in order for anacron to run while on battery power):</p><div class="codebox"><pre><code>$ sudo chmod a-x /usr/lib/pm-utils/power.d/anacron</code></pre></div><p>Looking at /var/log/syslog shows no entries by anacron. Also, /var/spool/anacron is an empty directory with no timestamps. I&#039;ve tried rebooting and resuming from suspend, both on AC and battery power, and anacron gives no signs of life.</p><p>I have the 2.3-24 version installed. I also tried uninstalling it and installing the 2.3-23 version from Devuan Jessie and it made no difference.</p><p>Any ideas? Anacron is mission-critical for me.</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Sat, 24 Feb 2018 06:17:03 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=7718#p7718</guid>
		</item>
	</channel>
</rss>
