Skip to content

hosts.block not being updated #92

@Markus00000

Description

@Markus00000

hostsblock had not updated hosts.block since I installed version 0.999.8.1 8 days ago. The only blocklist I’m using is StevenBlack (last updated 5 days ago). The timer is enabled, the computer was running every day. I have not changed hostsblock.conf.

First, I edited the timer to run every 5 minutes. hosts.block remained unchanged.

I then tried to manually update:

$ sudo hostsblock
Checking blocklists and/or redirectlists for updates...
No new changes. DONE.
[HERE IS MY PS1]   Changes found to https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts.

(Note: The last line was output after my PS1 was already displayed.)

After this, hosts.block was still not updated, so I used the -u flag:

$ sudo hostsblock -u
Checking blocklists and/or redirectlists for updates...
Changes found among blocklists and/or redirectlists. Extracting to /var/lib/hostsblock/hosts.block.new...
  Extracting blocklists...
  Appending blacklist entries...
/var/lib/hostsblock/hosts.block successfully compiled. DONE.
[HERE IS MY PS1]

This worked.

Why did hostsblock require the -u flag? Might this also be the reason why the timed execution fails to update hosts.block?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions