DE-IBH / apt-dater

terminal-based remote package update manager
GNU General Public License v2.0
101 stars 24 forks source link

apt-dater -rn gets stuck in a loop #168

Open JasonCormie opened 5 years ago

JasonCormie commented 5 years ago

When doing a report without networking for a number of hosts, apt-dater gets stuck in a loop.

I have done some investigation. in report.c/ ctrlReport

the section that outputs the xml relies on torefresh == 0, but as the hosts don't get refreshed, if it started as a non zero value, it will never reach 0.