Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14687

Re: Auto-update program cache feature

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Auto-update program cache feature
Date 2018-10-04 10:23 -0400
Message-ID <mailman.1704.1538663003.1284.bug-bash@gnu.org> (permalink)
References <CAH8yC8kgkFRBaq85Z-tf+4x+DNqEU1CD-iZMgzJ6nYge-N4Sgg@mail.gmail.com>

Show all headers | View raw


On 10/3/18 4:45 PM, Jeffrey Walton wrote:
> Hi Everyone,
> 
> I noticed a fair number of new Linux users have trouble with stale
> program caches. Users install a package from a package manager or
> sources and then are confused when the new package is not used. They
> do not realize they need to run 'bash -r'; and most don't know where
> to begin searching.

OK, let's consider this. There are three cases:

1. A new program gets installed with the same name as an existing one,
   in the same directory.

2. A new program gets installed with the same name, but in a different
   directory in $PATH (and before the existing one).

3. A new program gets installed with a new name.

(I'm putting aside the program deletion case.)

You're saying that the seond scenario is most common, and common enough
that we should develop a complex solution for it? I'd have to see more
data before I'd accept that.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Auto-update program cache feature Chet Ramey <chet.ramey@case.edu> - 2018-10-04 10:23 -0400

csiph-web