Issue installing apt-cache-ng (caching proxy)

Cloned the repo and moved the dir to dom0 then:

@dom0 ~]$ sudo qubesctl state.apply cache.create
local:
    Data failed to compile:
----------

    No matching sls found for 'cache.create' in env 'base'
DOM0 configuration failed, not continuing

I also tried to restart my machine.

Hi Mirai,

It looks like you might be new to this, as there are several arguments missing from the command you executed. I recommend downloading the Fedora package file by following the instructions provided here: https://qubes.3isec.org/tasks.html. This setup is designed to be straightforward for beginners. Please don’t take this personally I’m just trying to help you.

What arguments did I miss? I just executed the first command listed in the README.
But yes I basically have no experience with salt.

Copy directory to /srv/salt, then run:  
qubesctl state.apply cacher.create
qubesctl --skip-dom0 --targets=template-cacher state.apply cacher.install  
qubesctl --skip-dom0 --targets=cacher state.apply cacher.configure

Sorry, you missed out on the instructions, copying the dir to /srv/salt.

I did that. Otherwise this wouldn’t run at all I guess.

You made a typo in your command,

The correct command is

qubesctl state.apply cacher.create

Ah, you didn’t say that, so I guessed you didn’t do that.

2 Likes

I am sorry thank you for spotting the typo. I am very tired…
Normally I would have debugged more, but I was logged into the forum while doing this so the threshold to just create a topic and let somebody else solve the problem was very low. I never learn. Sorry

1 Like