Re: apt cache obese?

2004-02-13 Thread Mark
On Fri, Feb 13, 2004 at 02:51:43PM +, Mark wrote:
> On Thu, Feb 12, 2004 at 05:32:25PM -0600, Jacob S. wrote:
> > P.S. Mark, please fix your Mail-Followup-To to point to a valid address.
> > 
> > Thanks!
> > Jacob
> > 
> > - 
> 
> Oops - sorry. 
> 
> I seemed to have an old /etc/mailname set, which I'm assuming
> was causing the problem.
> 
> Hopefully it's fixed now - I'll look.  Please let me know if
> there's still anything wrong.
> 

hmm didn't restart mutt... maybe this time...

-- 
Mark Kent


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



Re: apt cache obese?

2004-02-13 Thread Mark
On Thu, Feb 12, 2004 at 05:32:25PM -0600, Jacob S. wrote:
> P.S. Mark, please fix your Mail-Followup-To to point to a valid address.
> 
> Thanks!
> Jacob
> 
> - 

Oops - sorry. 

I seemed to have an old /etc/mailname set, which I'm assuming
was causing the problem.

Hopefully it's fixed now - I'll look.  Please let me know if
there's still anything wrong.

Ta,


-- 
Mark Kent


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



Re: apt cache obese?

2004-02-12 Thread Richard Lyons
On Friday 13 February 2004 05:19, David wrote:
[...]
> that can be put in either ~/.aptitude/config or /etc/apt/apt.conf,
>
> Aptitude::AutoClean-After-Update

That is useful - I'll give it a try.  Thanks

-- 
richard


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



Re: apt cache obese?

2004-02-12 Thread David
On Thu, Feb 12, 2004 at 03:21:08PM -0800, Nano Nano wrote:
> On Thu, Feb 12, 2004 at 06:16:31PM -0500, Roberto Sanchez wrote:
> > If you regularly use apt-get (instead of dselect, aptitude, or synaptic)
> > it stores all the downloaded packages and does not delete them.  The
> > other front ends either delete them immediately after installation or
> > prompt you.
> 
> aptitude does neither deletes them nor prompts me to delete them.

Actually, it can.  Looking in /usr/share/aptitude/README, way down,
under a heading "OTHER CONFIGURATION OPTIONS", it mentions an option
that can be put in either ~/.aptitude/config or /etc/apt/apt.conf,

Aptitude::AutoClean-After-Update

Where it will delete files no longer in the archive.

The default is listed as "false", and just now, I cannot find this
option set on my system, but it seems that aptitude _is_ automatically
removing old packages on my system.


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



Re: apt cache obese?

2004-02-12 Thread Richard Lyons
On Friday 13 February 2004 00:20, Ray wrote:
> On Thursday 12 February 2004 16:37, Richard Lyons wrote:
> > Quick question re /var/cache/apt.  I couldn't understand why my
> > little thinkpad's hdd got totally full.  Now I'm searching around
> > with du and find / var/cache/apt is 1.4GB.  Is it always that
> > large, or has mine been eating junk food?
>
> apt-get clean
> it sounds like your machine might be saving every .deb it downloaded.

That must be it.  aptitude clean gave me 1.3GB+.  I can re-install some 
applications that i had to clear out...


-- 
richard


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



Re: apt cache obese?

2004-02-12 Thread Jacob S.
On Thu, 12 Feb 2004 22:56:29 +
Mark <[EMAIL PROTECTED]> wrote:

> On Thu, Feb 12, 2004 at 11:37:20PM +0100, Richard Lyons wrote:
> > Quick question re /var/cache/apt.  I couldn't understand why my
> > little thinkpad's hdd got totally full.  Now I'm searching around
> > with du and find / var/cache/apt is 1.4GB.  Is it always that large,
> > or has mine been eating junk food?
> > 
> I deliberately keep mine fattened, but I believe that there's
> generally an option to delete the .deb after installation, if you want
> to.  Perhaps you habitually say no?

P.S. Mark, please fix your Mail-Followup-To to point to a valid address.

Thanks!
Jacob

- 
GnuPG Key: 1024D/16377135

Linux: Because a PC is a terrible thing to waste. 


pgp0.pgp
Description: PGP signature


Re: apt cache obese?

2004-02-12 Thread Nano Nano
On Thu, Feb 12, 2004 at 06:16:31PM -0500, Roberto Sanchez wrote:
> If you regularly use apt-get (instead of dselect, aptitude, or synaptic)
> it stores all the downloaded packages and does not delete them.  The
> other front ends either delete them immediately after installation or
> prompt you.

aptitude does neither deletes them nor prompts me to delete them.

I have a script to move the .debs from there into a local mirror, then 
dpkg-scanpackage creates a Packages file referencing only the most 
recent versions.  I then archive the non-referenced debs (the replaced 
ones) into a directory named by date and time.

Local mirror and snapshots for rollback.  Braindead easy!


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



Re: apt cache obese?

2004-02-12 Thread Ray
On Thursday 12 February 2004 16:37, Richard Lyons wrote:
> Quick question re /var/cache/apt.  I couldn't understand why my
> little thinkpad's hdd got totally full.  Now I'm searching around
> with du and find / var/cache/apt is 1.4GB.  Is it always that
> large, or has mine been eating junk food?

apt-get clean
it sounds like your machine might be saving every .deb it downloaded.


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



Re: apt cache obese?

2004-02-12 Thread Richard Lyons
On Friday 13 February 2004 00:12, Dave Thorn wrote:
> On Thu, Feb 12, 2004 at 11:37:20PM +0100, Richard Lyons wrote:
> > Quick question re /var/cache/apt.  I couldn't understand why my little
> > thinkpad's hdd got totally full.  Now I'm searching around with du and
> > find / var/cache/apt is 1.4GB.  Is it always that large, or has mine been
> > eating junk food?
>
> Have a look at the "clean" and "auto-clean" commands to apt-get

Thanks.  I see they are in aptitude (which helped me get in this mess) too.

-- 
richard


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



Re: apt cache obese?

2004-02-12 Thread Roberto Sanchez
Richard Lyons wrote:
Quick question re /var/cache/apt.  I couldn't understand why my little 
thinkpad's hdd got totally full.  Now I'm searching around with du and find /
var/cache/apt is 1.4GB.  Is it always that large, or has mine been eating 
junk food?

sudo apt-get clean

If you regularly use apt-get (instead of dselect, aptitude, or synaptic)
it stores all the downloaded packages and does not delete them.  The
other front ends either delete them immediately after installation or
prompt you.
HTH,

-Roberto


signature.asc
Description: OpenPGP digital signature


Re: apt cache obese?

2004-02-12 Thread Richard Lyons
On Thursday 12 February 2004 23:56, Mark wrote:
> On Thu, Feb 12, 2004 at 11:37:20PM +0100, Richard Lyons wrote:
> > Quick question re /var/cache/apt.  I couldn't understand why my little
> > thinkpad's hdd got totally full.  Now I'm searching around with du and
> > find / var/cache/apt is 1.4GB.  Is it always that large, or has mine been
> > eating junk food?
>
> I deliberately keep mine fattened, but I believe that there's generally
> an option to delete the .deb after installation, if you want to.
 
I hadn't noticed any options about that, but I've mostly been using aptitude, 
so maybe it doesn't ask.  I'll have to read some man pages...  At least I 
know now I can burn some fat from there.

>  Perhaps
> you habitually say no?

I habitually say yes to anything, once... 

-- 
richard


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



Re: apt cache obese?

2004-02-12 Thread Jacob S.
On Thu, 12 Feb 2004 22:56:29 +
Mark <[EMAIL PROTECTED]> wrote:

> On Thu, Feb 12, 2004 at 11:37:20PM +0100, Richard Lyons wrote:
> > Quick question re /var/cache/apt.  I couldn't understand why my
> > little thinkpad's hdd got totally full.  Now I'm searching around
> > with du and find / var/cache/apt is 1.4GB.  Is it always that large,
> > or has mine been eating junk food?
> > 
> I deliberately keep mine fattened, but I believe that there's
> generally an option to delete the .deb after installation, if you want
> to.  Perhaps you habitually say no?

I've never seen an option for saving or deleting the .deb after
installation... maybe I have my question level set too hight.

I do know though you can run "apt-get autoclean" or "apt-get clean" to
trim the size of /var/cache/apt. Autoclean gets rid of old packages that
are outdated and/or no longer installed. Clean will delete all archived
.debs.

With a /var/cache/apt of 1.4GB it sounds like you've either been keeping
track of several different releases at the same time or haven't done any
cleaning since your last dist-upgrade.

HTH,
Jacob

- 
GnuPG Key: 1024D/16377135

I prefer an OS made by programmers that need marketing that an OS made
by marketing that need programmers...
http://www.linux.org


pgp0.pgp
Description: PGP signature


Re: apt cache obese?

2004-02-12 Thread Dave Thorn
On Thu, Feb 12, 2004 at 11:37:20PM +0100, Richard Lyons wrote:
> Quick question re /var/cache/apt.  I couldn't understand why my little 
> thinkpad's hdd got totally full.  Now I'm searching around with du and find /
> var/cache/apt is 1.4GB.  Is it always that large, or has mine been eating 
> junk food?

Have a look at the "clean" and "auto-clean" commands to apt-get

-- 
dave thorn


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



Re: apt cache obese?

2004-02-12 Thread Mark
On Thu, Feb 12, 2004 at 11:37:20PM +0100, Richard Lyons wrote:
> Quick question re /var/cache/apt.  I couldn't understand why my little 
> thinkpad's hdd got totally full.  Now I'm searching around with du and find /
> var/cache/apt is 1.4GB.  Is it always that large, or has mine been eating 
> junk food?
> 
I deliberately keep mine fattened, but I believe that there's generally
an option to delete the .deb after installation, if you want to.  Perhaps
you habitually say no?

-- 
Mark Kent


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



apt cache obese?

2004-02-12 Thread Richard Lyons
Quick question re /var/cache/apt.  I couldn't understand why my little 
thinkpad's hdd got totally full.  Now I'm searching around with du and find /
var/cache/apt is 1.4GB.  Is it always that large, or has mine been eating 
junk food?

-- 
richard


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