[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: oddity in apt-cache



On Mon, Apr 23, 2007 at 11:34:21AM -0700, Freddy Freeloader <fredddy@cableone.net> was heard to say:
> Does this mean that apt-cache reads the local database + the server 
> repositories rather than the just the server repositories?  I tend to 
> see that as a bug, not a feature, as it leads people, such as me, to 
> believe a package which was installed at some time in the past on the 
> local machine still exists in the repositories when it has, in fact, 
> been removed.   

  apt-cache is a low-level tool that shows you the contents of apt's
package cache.  If locally installed packages didn't show up in this
cache, higher-level tools wouldn't know they existed, and hence wouldn't
be able to remove them.  This is not desirable. :-)

  Daniel



Reply to: