× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You can also change the cache setting to disable caching if you don't want
to bother:

keepcache=0 in /QOpenSys/etc/yum/yum.conf

Kevin Adler
Software Development - PASE, Open Source, IBM i Access ODBC
IBM Systems, Dept 47U
Phone: +1-507-253-5111
Email: kadler@xxxxxxxxxx
015-3 C117
3605 HWY 52 N
Rochester, MN 55901-1407
United States



----- Original message -----
From: Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxx>
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx>
Cc:
Subject: Re: [IBMiOSS] RPM files in /QOpenSys/var/cache/...?
Date: Thu, Aug 2, 2018 12:22 PM

That makes sense.

This came to my attention because our monthly disk space report showed a
number of very large files. If they're retained only to make
reinstallation more convenient, I'll probably remove them. Thank you

-----Original Message-----
From: Aaron Bartell [[1]mailto:aaronbartell@xxxxxxxxx]
Sent: Wednesday, August 01, 2018 12:53 PM
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx>
Subject: Re: [IBMiOSS] RPM files in /QOpenSys/var/cache/...?

>Any idea what the reasoning is? Since there's a setting, it seems
>there
must be reasons for doing it both ways.

It prevents it from needing to be downloaded again. For example, you
could remove git and then reinstall it. It would first check for a
cached version before downloading.

Another situation this would be very useful for is installing into
chroot containers(n1). Unfortunately, yum looks inside of the container
for a cached rpm instead of in the base of PASE/IFS. Well, if you just
created the container then it obviously wouldn't be cached inside of the
container (yet).

n1 - yum --installroot=/QOpenSys/containers/developer1 install git

Aaron Bartell
IBM i hosting, starting at $157/mo litmis.com/spaces

On Wed, Aug 1, 2018 at 12:19 PM Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
wrote:

> I haven't ever been in that file, so that must be the IBM default.
>
> Any idea what the reasoning is? Since there's a setting, it seems
> there must be reasons for doing it both ways.
>
>
> Thanks
>
>
>
> -----Original Message-----
> From: Aaron Bartell [[2]mailto:aaronbartell@xxxxxxxxx]
> Sent: Wednesday, August 01, 2018 9:55 AM
> To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx>
> Subject: Re: [IBMiOSS] RPM files in /QOpenSys/var/cache/...?
>
> Yes, if your configs says so.
>
> ******[aaron @ KT4001]***[~]
> ******[$]*** cat /QOpenSys/etc/yum/yum.conf
> [main]
> cachedir=/QOpenSys/var/cache/yum
> keepcache=1
> debuglevel=2
> logfile=/QOpenSys/var/log/yum.log
> exactarch=1
> obsoletes=1
>
>
> # PUT YOUR REPOS HERE OR IN separate files named file.repo # in
> /QOpenSys/etc/yum/repos.d
>
>
>
> Aaron Bartell
> IBM i hosting, starting at $157/mo litmis.com/spaces
>
>
>
> On Wed, Aug 1, 2018 at 9:46 AM Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
wrote:
>
> > Is it normal for the RPM files for installed apps to be retained in
> > this dir?
> > /QOpenSys/var/cache/yum/ibm/packages/
> >
> >
> >
> > --
> > This is the IBMi Open Source Roundtable (OpenSource) mailing list To
> > post a message email: OpenSource@xxxxxxxxxxxx To subscribe,
> > unsubscribe, or change list options,
> > visit: [3]https://lists.midrange.com/mailman/listinfo/opensource
> > or email: OpenSource-request@xxxxxxxxxxxx Before posting, please
> > take a moment to review the archives at
> > [4]https://archive.midrange.com/opensource.
> >
>
> --
> This is the IBMi Open Source Roundtable (OpenSource) mailing list To
> post a message email: OpenSource@xxxxxxxxxxxx To subscribe,
> unsubscribe, or change list options,
> visit: [5]https://lists.midrange.com/mailman/listinfo/opensource
> or email: OpenSource-request@xxxxxxxxxxxx Before posting, please take
> a moment to review the archives at
> [6]https://archive.midrange.com/opensource.
>

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [7]https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [8]https://archive.midrange.com/opensource.




References

Visible links
1. mailto:aaronbartell@xxxxxxxxx
2. mailto:aaronbartell@xxxxxxxxx
3. https://lists.midrange.com/mailman/listinfo/opensource
4. https://archive.midrange.com/opensource
5. https://lists.midrange.com/mailman/listinfo/opensource
6. https://archive.midrange.com/opensource
7. https://lists.midrange.com/mailman/listinfo/opensource
8. https://archive.midrange.com/opensource

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.