On 10/12/21 02:45, Ed Greshko wrote:
On 12/10/2021 00: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.
Sounds like you have PackageKit-command-not-found installed on your
system.
What would install PackageKit-command-not-found if PackageKit is not
used? Would just a look at Gnome desktop pull it in? Seemed to be part
of bash.
>
> Is it saved somewhere or only temporary?
Shouldn't it be like any installation of packages. The rpm is
downloaded, installed, and deleted on a successful install.
My normal install is from dnf and keepcache=True is set in /etc/dnf/dnf.conf
>
> Similarly the Updates launcher on the KDE panel goes and does its
> activity but there is no trace of where things may be stored or how
> to require retention.
I assume you're talking about the little circle with the up arrow in
it. I say that since some folks abandon PackageKit for dnfdragora.
Never use
PackageKit. dnf from terminal window, found dnfdragora
tedious. Have clicked on the circle when it tells me I have many more
updates than dnf update shows to see what is there and it pulled in a
number of rpms that went somewhere.
PackageKit does honor the dnf.conf. So, if you have keepcache=true
then the rpms will remain after an
install. They would be found in
/var/cache/PackageKit/34/metadata/updates-34-x86_64 for example.
Does the kde app
use this directory as well?
>
> Is that information available?
I don't know. But I found it out by setting the dnf.conf config as
above, ran an update, and then did a "locate" on one
of the packages being which was just updated.
Tried to use mc (Midnight Commander) in a terminal window. It wasn't
installed so the message came up and let the sequence download and
install it.
Cant' fine the repo on the system