MLUG: [MLUG] /var/spool/up2date
[MLUG] /var/spool/up2date
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Okay, I've been doing a little surfing around, and as far as I can tell, I should be able to delete everything in this directory, but I thought I'd run this by you guys first just to be safe.

The /var/spool/up2date directories on a couple of servers I maintain have grown *quite* large over time.  One of them is 800+ MB!  (It's been around since RedHat 6.2).  Naturally, I'm looking to clean them out.

There are three types of files in this dir:

1)  *.hdr files.  AFAIK, these are mainly used by up2date/rpm to check for dependencies, provide package info, etc. *before* the RPM is installed.  I tested by renaming one of them and doing an 'rpm -qi' on that package.  Worked.

2)  *.rpm files.  AFAIK, once these packages are installed, I don't need the rpm's any more.  This assumes that I'm going to have network connectivity to RHN and that I'm not a stickler for having every single source file around all of the time.

3)  Files named like this:  redhat-linux-i386-7.3.20020826150727.  A quick look at this file suggests that this is the package list that was available from RHN on 08/26/2002 at 15:07:27 (let's all be precise, now).  This is essentially historical information, so I should need at most one of these files.

So as fas as I can tell, I should be able to wipe all of these out, then do 'up2date -p' to pull the latest package list from RHN, and I'm done.

Right?

Thanks in advance!

Justin McNutt
Network Systems Analyst
DNPS, Mizzou Telecom
(573) 882-5183

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
        -- Linus Torvalds


--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/