[LON-CAPA-admin] CHECKRPMs
Martin Siegert
siegert at sfu.ca
Mon Apr 19 13:21:15 EDT 2004
On Mon, Apr 19, 2004 at 09:54:28AM -0500, Nathan Schoenack wrote:
> A couple weeks ago there was discussion about the CHECKRPMs command not
> working and giving an output similar to what I've attached to the bottom of
> this e-mail. I think the suggestion had something to do with telling
> LON-CAPA to check a different mirror for these updates, but I'm not sure.
>
> If anyone else had this problem and fixed it, please let me know what you
> did.
All what you have to do is to modify the CHECKRPMS script so that it
connects to your favourite ftp server. The critical section is around
line 104:
my @serverpaths_to_try =
(
'ftpmirror:loncapa at install.lon-capa.org/pub/redhat/linux/updates/',
'mirror.pa.msu.edu/linux/redhat/linux/updates/',
'distro.ibiblio.org/pub/linux/distributions/redhat/updates/',
'limestone.uoregon.edu/redhat/updates/',
'rufus.w3.org/linux/redhat/linux/updates/',
);
Change this to something like:
my @serverpaths_to_try =
(
'ftp.sfu.ca/pub/linux/1.0/RPMS/',
'mirror.cpsc.ucalgary.ca/mirror/fedoralegacy.org/redhat/7.3/updates/',
'mirror.physics.ncsu.edu/mirror/download.fedoralegacy.org/redhat/7.3/updates/',
'ftp.gtlib.cc.gatech.edu/pub/fedoralegacy/redhat/7.3/updates',
);
The last three of these are ftp servers of the fedoralegacy project. They
will generate error messages like
ncftpls: Could not change directory: server said: Failed to change directory.
ncftpls failed with status 5.
You can safely ignore those as long as there are not more than 4 of these
(the errors are for nonexisting noarch, i586, i686, and athlon directories;
the i386 directory exists and contains the updates for the other architectures
as well).
The ftp.sfu.ca server is different as it serves our own updates (which may
or may not be different from the fedoralegacy updates). This server does
not have the problem with the missing architectures.
Cheers,
Martin
--
Martin Siegert
Manager, Research Services
WestGrid Site Manager
Academic Computing Services phone: (604) 291-4691
Simon Fraser University fax: (604) 291-4242
Burnaby, British Columbia email: siegert at sfu.ca
Canada V5A 1S6
More information about the LON-CAPA-admin
mailing list