/var/archive

2008-01-23 Thread Tony van der Hoff
Hi,

I've just moved to Debian Etch from 10 years on Mandriva, so a bit of a
newbie here.

Can anyone tell me what significance /var/archives has? I have a 1.25 GB
/var partition, which always used to be plenty, but archives is now eating
up 1.05 GB, so I'll have to move (or preferably delete) it.

Any advice, please?

Cheers, Tony
-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England 


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



Re: /var/archive

2008-01-23 Thread Ken Irving
On Wed, Jan 23, 2008 at 05:38:42PM +, Tony van der Hoff wrote:
 Hi,
 
 I've just moved to Debian Etch from 10 years on Mandriva, so a bit of a
 newbie here.
 
 Can anyone tell me what significance /var/archives has? I have a 1.25 GB
 /var partition, which always used to be plenty, but archives is now eating
 up 1.05 GB, so I'll have to move (or preferably delete) it.
 
 Any advice, please?

I don't have anything under /var/archives, but maybe the following 
snippets from apt-get(1) will help:

   clean
   clean clears out the local repository of retrieved package files.
   It removes everything but the lock file from
   /var/cache/apt/archives/ and /var/cache/apt/archives/partial/. When
   APT is used as a dselect(8) method, clean is run automatically.
   Those who do not use dselect will likely want to run apt-get clean
   from time to time to free up disk space.

   autoclean
   Like clean, autoclean clears out the local repository of retrieved
   package files. The difference is that it only removes package files
   that can no longer be downloaded, and are largely useless. This
   allows a cache to be maintained over a long period without it
   growing out of control. The configuration option
   APT::Clean-Installed will prevent installed packages from being
   erased if it is set to off.

Running apt-get clean will likely reduce the stuff cached in your /var
partition.

Ken

-- 
Ken Irving, [EMAIL PROTECTED]


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



Re: /var/archive

2008-01-23 Thread Gerard Robin

On Wed, Jan 23, 2008 at 05:38:42PM +, Tony van der Hoff wrote:

From: Tony van der Hoff [EMAIL PROTECTED]
To: debian-user@lists.debian.org
Subject: /var/archive
Mail-Followup-To: debian-user@lists.debian.org
X-Spam-Virus: No
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on liszt.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-9.4 required=4.0 tests=LDOSUBSCRIBER,LDO_WHITELIST,

ONEWORD,RCVD_IN_DNSWL_LOW,SARE_RECV_CHAR_CARAT autolearn=failed 
version=3.2.3

Hi,

I've just moved to Debian Etch from 10 years on Mandriva, so a bit of a
newbie here.

Can anyone tell me what significance /var/archives has? I have a 1.25 GB
/var partition, which always used to be plenty, but archives is now eating
up 1.05 GB, so I'll have to move (or preferably delete) it.

/var/archives is strange that in my box I have: /var/cache/apt/archives
To clean the archives after upgrade you have to do:

sudo apt-get clean

Nothing else !

--
Gérard



Fwd: Re: /var/archive

2008-01-23 Thread Angus Auld

--- Angus Auld [EMAIL PROTECTED] wrote:

 Date: Wed, 23 Jan 2008 10:22:38 -0800 (PST)
 From: Angus Auld [EMAIL PROTECTED]
 Subject: Re: /var/archive
 To: Tony van der Hoff [EMAIL PROTECTED]
 
 
 --- Tony van der Hoff [EMAIL PROTECTED] wrote:
 
  Hi,
  
  I've just moved to Debian Etch from 10 years on
  Mandriva, so a bit of a
  newbie here.
  
  Can anyone tell me what significance /var/archives
  has? I have a 1.25 GB
  /var partition, which always used to be plenty,
 but
  archives is now eating
  up 1.05 GB, so I'll have to move (or preferably
  delete) it.
  
  Any advice, please?
  
  Cheers, Tony
  -- 
  Tony van der Hoff|
  mailto:[EMAIL PROTECTED]
  Buckinghamshire, England 
 
 You can config your package manager to delete
 packages after downloading and installing.
 I am new to Debian as well, also after many years of
 using Mandrake/Mandriva. 
 Debian must be configed by default to store packages
 after downloading/installing. 
 I use apt-get/synaptic, and find it to be 
 a very easy to use and robust manager. In the
 preferences you 
 can config to delete after the download/install.
 
 I am using a Debian Etch based distro called
 Dreamlinux, and 
 I am thus far very impressed with the stability and
 power that Debian offers. 
 
 Best regards. 


-- Angus

##Linux Laptop powered by Debian Linux##
###Reg. Linux User #278931###


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


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



Re: /var/archive

2008-01-23 Thread Tony van der Hoff
On 23 Jan at 18:15 Gerard Robin [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]

[snip]
 /var/archives is strange that in my box I have: /var/cache/apt/archives To
 clean the archives after upgrade you have to do:

Yes, my mistake; it's where you say.

 sudo apt-get clean

Done that - works a treat!
What is the object of the archive, though?


Thanks very much to all who replied.

Cheers, Tony
-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England 


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



RE: /var/archive

2008-01-23 Thread Mike Kuhar

[snip]
 /var/archives is strange that in my box I have: /var/cache/apt/archives To
 clean the archives after upgrade you have to do:

Yes, my mistake; it's where you say.

 sudo apt-get clean

Done that - works a treat!
What is the object of the archive, though?


Thanks very much to all who replied.

Cheers, Tony

Every time you do a 'apt-get upgrade', that's where those packages go.  So
if at some future time you have to re-install a particular package, you
don't have to re-download the package.  Another point, you can either use
'apt-get clean', which removes the contents of that directory, or 'apt-get
autoclean' which only removes the older packages, leaving the superseded
packages intact.  That helps in cleaning up some disk space without removing
everything.  That's good if you have the room.

-mike
-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England 


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


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



Re: /var/archive

2008-01-23 Thread Kent West

Tony van der Hoff wrote:

On 23 Jan at 18:15 Gerard Robin [EMAIL PROTECTED] wrote

  

sudo apt-get clean



Done that - works a treat!
What is the object of the archive, though?

  


When you download .debs, this is the default location where they are 
stored for subsequent installation. Many people, once the .debs have 
been installed, can then delete them (as per Gerard's suggestion above), 
but some folks like to keep them around for various reasons (such as 
using the archive to then install the packages on another 19 machines in 
a school computer lab without having to download them another 19 times, 
etc).


--
Kent


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




Re: /var/archive

2008-01-23 Thread Nigel Henry
On Wednesday 23 January 2008 20:03, Tony van der Hoff wrote:
 On 23 Jan at 18:15 Gerard Robin [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]

 [snip]

  /var/archives is strange that in my box I have: /var/cache/apt/archives
  To clean the archives after upgrade you have to do:

 Yes, my mistake; it's where you say.

  sudo apt-get clean

 Done that - works a treat!
 What is the object of the archive, though?


 Thanks very much to all who replied.

 Cheers Tony

Hi Tony. I'm on dialup, and it takes some time to download updates. If you 
have more than one instance of Debian Etch for example, it's usefull, and 
also saves Internet bandwidth in being able to use the already downloaded 
packages to update another machine. Normally I copy the archives to a fat32 
partition, and can copy them back to the next machine I want to update, 
without having to download them all again.

I know that most of the Internet bandwidth is taken up by spam, which is a bit 
sick, but no reason for us to keep downloading the same package versions time 
after time to upgrade our various machines. As I say I'm on dialup, but I 
believe the same applies if you're on broadband. There's no need to join in 
with the spammers who abuse the Internet.

Of course it's also usefull if for reason or other you remove a package, then 
want to re-install it. You don't have to download it again, as it's already 
waiting in the archives.

2¢ worth of how I do stuff.

Nigel.



Re: /var/archive

2008-01-23 Thread Tony van der Hoff
[snip]

 Of course it's also usefull if for reason or other you remove a package,
 then want to re-install it. You don't have to download it again, as it's
 already waiting in the archives.


Thanks everyone; you'e a really helpful bunch here, and I'm learning a lot.

I like this distro :)

Cheers, Tony.

-- 
Tony van der Hoff| mailto:[EMAIL PROTECTED]
Buckinghamshire, England 


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



Re: /var/archive

2008-01-23 Thread joseph lockhart
only thing that i have ever had in /var/archives are
the md5sum's and tarballs for backups created by
backup manager (needless to say i have since sent
backup manager to /dev/null)

jwlockhart

Registered Linux User #458799
Registered Kubuntu User #19678
this user is penguin powered


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


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



Re: /var/archive

2008-01-23 Thread Paul Johnson
On Jan 23, 2008 9:38 AM, Tony van der Hoff [EMAIL PROTECTED] wrote:
 Hi,

 I've just moved to Debian Etch from 10 years on Mandriva, so a bit of a
 newbie here.

 Can anyone tell me what significance /var/archives has? I have a 1.25 GB
 /var partition, which always used to be plenty, but archives is now eating
 up 1.05 GB, so I'll have to move (or preferably delete) it.

Don't do that!

 Any advice, please?

The biggest space-waster in the /var/archive tree is apt.  Your best
bet is apt-get autoclean, though if that doesn't free up enough space,
apt-get clean should.

-- 
Paul Johnson
[EMAIL PROTECTED]


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