Re: [qubes-users] Updating packages with salt does not refresh the repositories

2017-02-10 Thread qubes



On 10.02.2017 17:04, Jean-Philippe Ouellet wrote:

On Thu, Feb 9, 2017 at 6:46 PM,   wrote:

I have an update.sls with the following content:

updates:
  pkg.uptodate:
- refres: True


If that's literally a copy & paste... because you're missing the h in 
refresh?


Thx for the reply. It is no copy and paste because it is in dom0. I use 
the correct writing "- refresh: True".


--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/6c544e18d7af73c285cfe2ad46215fee%40posteo.de.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Updating packages with salt does not refresh the repositories

2017-02-10 Thread Jean-Philippe Ouellet
On Thu, Feb 9, 2017 at 6:46 PM,   wrote:
> I have an update.sls with the following content:
>
> updates:
>   pkg.uptodate:
> - refres: True

If that's literally a copy & paste... because you're missing the h in refresh?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CABQWM_CSgacYoF2EyZJcNvOEDdG5f7FLYn6N9%2B2voxvEK651bA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Updating packages with salt does not refresh the repositories

2017-02-09 Thread qubes

Hi,

I have an update.sls with the following content:

updates:
  pkg.uptodate:
- refres: True

The problem is that if I run it, it always tells me that there are no 
new packages although Qubes shows that there are with the green arrow 
and if I run manually `dnf update` then packages are updated.


The issues seems to be that the repository does not get refreshed even 
though I have it enabled, because if I refresh manually the updates get 
installed by salt.


I have a workaround by calling `dnf makecache` before with salt, but 
this should be not necessary. Can anyobdy confirm this or knows why this 
happens?


Thx in advance

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/3d89ffa536cafe2fce56c95c9e13bf72%40posteo.de.
For more options, visit https://groups.google.com/d/optout.