Re: .aptitude/config and Automatic Cache Deletion

2005-06-22 Thread Kenneth Jacker
  jd> On Tuesday 21 June 2005 07:03, Kenneth Jacker <[EMAIL PROTECTED]>
  jd> (<[EMAIL PROTECTED]>) wrote:

  >> 'Autoclean' doesn't seem to be quite what I used in the past.

  jd> clean: remove all packages from the cache.

Yes, I believe it is the "clean" function that I need ...

But how to have the "clean" done automatically after I do updates via
'aptitude'?

Of course, I could write a script (as others have done) run via cron
to accomplish this.  But I swear that there's an option hidden in some
apt/aptitude/... configuration file somewhere that enables this behavior!

Thanks to all that are helping me work this out,

  -Kenneth


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: .aptitude/config and Automatic Cache Deletion

2005-06-21 Thread Jules Dubois
On Tuesday 21 June 2005 07:03, Kenneth Jacker <[EMAIL PROTECTED]>
(<[EMAIL PROTECTED]>) wrote:

> 'Autoclean' doesn't seem to be quite what I used in the past.

autoclean: remove obsolete packages from the cache.
clean: remove all packages from the cache.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: .aptitude/config and Automatic Cache Deletion

2005-06-21 Thread Ibrahim Mubarak


--- Kenneth Jacker <[EMAIL PROTECTED]> wrote:

>   mm> Look in /etc/apt/apt.con :
>   mm> APT::Clean-Installed "false";
>   mm> or true
> 
> >From apt.conf(5):
> 
>Clean-Installed Defaults to on. When turned on the autoclean
>feature will remove any packages which can no longer be
>downloaded from the cache.  If turned off then packages that
>are locally installed are also excluded from cleaning - but
>note that APT provides no direct means to reinstall them.
> 
> >From aptitude(8):
> 
>autoclean   Removes any cached packages which can no longer be
>downloaded. This allows you to prevent a cache from growing
> out
>of control over time without completely emptying it.
> 
> 
> 'Autoclean' doesn't seem to be quite what I used in the past.  My
> previous setup removed *all* files from the cache once installed ...
> I
> *want* to "completely empty it".
> 
> 
> Thanks for the prompt reply!
> 
>   -Kenneth
> 

I don't know about aptitude doing that, but I use Synaptic. And there
is an option for what you are looking for. It's in Preferences -->>
Files -->> Temporary Files

ib

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: .aptitude/config and Automatic Cache Deletion

2005-06-21 Thread Kenneth Jacker
  mm> Look in /etc/apt/apt.con :
  mm> APT::Clean-Installed "false";
  mm> or true

>From apt.conf(5):

   Clean-Installed Defaults to on. When turned on the autoclean
   feature will remove any packages which can no longer be
   downloaded from the cache.  If turned off then packages that
   are locally installed are also excluded from cleaning - but
   note that APT provides no direct means to reinstall them.

>From aptitude(8):

   autoclean   Removes any cached packages which can no longer be
   downloaded. This allows you to prevent a cache from growing out
   of control over time without completely emptying it.


'Autoclean' doesn't seem to be quite what I used in the past.  My
previous setup removed *all* files from the cache once installed ... I
*want* to "completely empty it".


Thanks for the prompt reply!

  -Kenneth


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: .aptitude/config and Automatic Cache Deletion

2005-06-20 Thread mess-mate
Kenneth Jacker <[EMAIL PROTECTED]> wrote:
| [Sarge]
| 
| It seems in the past I enabled an option in ~/.aptitude/config that
| would automatically delete all ".deb" files in /var/cache/apt/archives
| after updating packages.  Due to fresh installs, I've lost the file
| that set this up ...
| 
| I've looked through documentation and searched the WWW, but can't seem
| to find how to do it.
| 
| Can anyone help?
| 
Look in /etc/apt/apt.con :
APT::Clean-Installed "false";
or true

mess-mate   
--
Don't look now, but the man in the moon is laughing at you.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



.aptitude/config and Automatic Cache Deletion

2005-06-20 Thread Kenneth Jacker
[Sarge]

It seems in the past I enabled an option in ~/.aptitude/config that
would automatically delete all ".deb" files in /var/cache/apt/archives
after updating packages.  Due to fresh installs, I've lost the file
that set this up ...

I've looked through documentation and searched the WWW, but can't seem
to find how to do it.

Can anyone help?

Thanks,
-- 
Prof Kenneth H Jacker   [EMAIL PROTECTED]
Computer Science Dept   www.cs.appstate.edu/~khj
Appalachian State Univ
Boone, NC  28608  USA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]