On 2021-10-11 20:47, Robert McBroom via users wrote:
On 10/11/21 22:34, Samuel Sieb wrote:
> On 2021-10-11 09:08, Robert McBroom via users wrote:
>> Normally I use dnf to update and install. I keep a local repo on USB
>> to move from one machine to another without downloading.
>>
>> Occasionally I try a command from memory and bash tells me that it is
>> not installed on the system and with the proper response an install will
>>
>> download and install the needed program. The rpm for the
>> installation does not show in /var/cache/dnf.
>>
>> Is it saved somewhere or only temporary?
>
> It's always temporary unless you add "keepcache=true" to your
> /etc/dnf.conf file.
> _______________________________________________
The /etc/dnf.conf file works fine for dnf but doesn't work for the
install by the bash sequence
That uses PackageKit which I thought was supposed to respect the
dnf.conf file now. I don't know any other way to make it keep its cache.