Reading the output of /scripts/upcp that runs daily on my server, i noticed
that the script downloads the SAME files over and over again, uncompresses them
under /home/.cpan and just leaves them there, re-doing the same thing the next
day (runs via a cron job).
As a result, my /home/.cpan directory is about 200MB right now!!!
Here is an example of the files under /home/.cpan/build:
of course that continues for several pages and includes LOADS of other perldrwx------ 9 root root 4096 Sep 4 05:37 Mail-SPF-v2.005-aP6YWH/
-rw-r--r-- 1 root root 1322 Sep 4 05:37 Mail-SPF-v2.005-aP6YWH.yml
drwx------ 9 root root 4096 Sep 25 05:01 Mail-SPF-v2.005-aXgiMR/
-rw-r--r-- 1 root root 1322 Sep 25 05:01 Mail-SPF-v2.005-aXgiMR.yml
drwx------ 9 root root 4096 Sep 24 04:59 Mail-SPF-v2.005-axvQQv/
-rw-r--r-- 1 root root 1322 Sep 24 04:59 Mail-SPF-v2.005-axvQQv.yml
packages, not just Mail-SPF.
Here is a part of the /scripts/upcp output:
So the update scripts downloads a newer version, uncompresses it in a newRunning install for module 'Mail::SPF'
Running make for J/JM/JMEHNLE/mail-spf/Mail-SPF-v2.005.tar.gz
Checksum for
/home/.cpan/sources/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-v2.005.tar.gz ok
Mail-SPF-v2.005/
Mail-SPF-v2.005/INSTALL
Mail-SPF-v2.005/CHANGES
Mail-SPF-v2.005/SIGNATURE
Mail-SPF-v2.005/lib/
... etc... (removed to make this shorter)
Installing /usr/share/man/man3/Mail::SPF::Record.3
Installing /usr/share/man/man3/Mail::SPF::MacroString.3
Skipping /usr/sbin/spfd (unchanged)
Skipping /usr/bin/spfquery (unchanged)
Writing /usr/lib/perl5/site_perl/5.8.8/i686-linux/auto/Mail/SPF/.packlist
JMEHNLE/mail-spf/Mail-SPF-v2.005.tar.gz
/usr/bin/make install UNINST=1 -- OK
Mail::SPF::Query is up to date (1.999.1).
directory, it ignores the fact that it has already downloaded the same file for
several weeks now, compiles and tries to install it but fails for some reason.
It goes on to re-do the same procedure the next time /scripts/upcp runs.
Any help would be appreciated.



LinkBack URL
About LinkBacks
Reply With Quote







