System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Linux RHEL ES 4 and ES 5 /var/spool/repackage

SOLVED
Go to solution
Kevin Nikiforuk
Valued Contributor

Linux RHEL ES 4 and ES 5 /var/spool/repackage

Hi,

I have been searching around various sites to find out if rpm's listed in /var/spool/repackage can be zipped up or compressed or removed all together? I have not been able to find a definitive answer. Currently on some of our Linux systems this directory is close to 4 GB in size. Any suggestions will be appreciated and points awarded accordingly. Thanks and have a great week !

Regards,

Unix Admin
6 REPLIES
Steven E. Protter
Exalted Contributor

Re: Linux RHEL ES 4 and ES 5 /var/spool/repackage

Shalom,

On RHEL5,

Try yum clean all

That should clear the junk very nicely.

Can you give an example of what is sitting there. partial ll listing?

TIA

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Kevin Nikiforuk
Valued Contributor

Re: Linux RHEL ES 4 and ES 5 /var/spool/repackage

Hi Steven,

Thanks and here is a small list of rpm's currently occupying /var/spool/repackage

-rw-r--r-- 1 root root 1171974 Nov 28 2007 a2ps-4.13b-41.i386.rpm
-rw-r--r-- 1 root root 60548 Jun 9 2009 acl-2.2.23-5.3.el4.i386.rpm
-rw-r--r-- 1 root root 59547 Nov 28 2007 acl-2.2.23-5.i386.rpm
-rw-r--r-- 1 root root 127898 Nov 28 2007 alsa-utils-1.0.6-5.i386.rpm
-rw-r--r-- 1 root root 128021 Jun 9 2009 alsa-utils-1.0.6-6.i386.rpm
-rw-r--r-- 1 root root 28392252 Dec 1 2008 APPQcime-5.1.4-45.i386.rpm
-rw-r--r-- 1 root root 39258155 May 7 08:26 APPQcime-6.0.3-58.i386.rpm
-rw-r--r-- 1 root root 89806 Jun 9 2009 apr-0.9.4-24.5.i386.rpm
-rw-r--r-- 1 root root 52573 Jun 9 2009 apr-util-0.9.4-21.i386.rpm
-rw-r--r-- 1 root root 89016 Jun 9 2009 arptables_jf-0.0.8-2.i386.rpm
-rw-r--r-- 1 root root 321733 Nov 28 2007 aspell-0.50.5-3.fc3.i386.rpm
-rw-r--r-- 1 root root 54378 Jun 9 2009 at-3.1.8-80_EL4.i386.rpm
-rw-r--r-- 1 root root 46222 Nov 28 2007 attr-2.4.16-3.i386.rpm
-rw-r--r-- 1 root root 197207 Nov 28 2007 audit-1.0.14-1.EL4.i386.rpm
-rw-r--r-- 1 root root 205304 Jun 9 2009 audit-1.0.15-3.EL4.i386.rpm
-rw-r--r-- 1 root root 37386 Nov 28 2007 audit-libs-1.0.14-1.EL4.i386.rpm
-rw-r--r-- 1 root root 39157 Jun 9 2009 audit-libs-1.0.15-3.EL4.i386.rpm
-rw-r--r-- 1 root root 292502 Jun 9 2009 authconfig-4.6.10-rhel4.3.i386.rpm
-rw-r--r-- 1 root root 40386 Jun 9 2009 authconfig-gtk-4.6.10-rhel4.3.i386.rpm
Steven E. Protter
Exalted Contributor
Solution

Re: Linux RHEL ES 4 and ES 5 /var/spool/repackage

Shalom again,

Check with rpm -qa grep the install states of these packages.

rpm -qa | grep

/var/spool is a temporary storage location and in general, except during update operations can be emptied with impunity.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
TwoProc
Honored Contributor

Re: Linux RHEL ES 4 and ES 5 /var/spool/repackage

As indicated, it's just a place where the downloaded rpms are stored before/during patching. After patching, you can always delete them, just make sure you're not patching at the time. Don't worry if they are ever needed again for any reason, your update processes will download them again for you. This would happen if, for example, you ran a command to force a reinstall of a package or set of packages.
We are the people our parents warned us about --Jimmy Buffett
Kevin Nikiforuk
Valued Contributor

Re: Linux RHEL ES 4 and ES 5 /var/spool/repackage

Hi again Steven, TwoProc,

Thanks. all of the rpms listed are in a installed state. I new that the /var/spool contents were used as tmp storeage. I just wasn't 100% sure that Linux kept them there for future references. I will begin removing these rpms. Thanks for your quick response to my question. Have a great weekend guys !
Kevin Nikiforuk
Valued Contributor

Re: Linux RHEL ES 4 and ES 5 /var/spool/repackage

Steven Protter resolved answered my question and this issue is now resolved.