[LON-CAPA-admin] CHECKRPMs

Nathan Schoenack nathan.schoenack at ndsu.nodak.edu
Mon Apr 19 13:58:08 EDT 2004


Thanks Martin.  I ran the new CHECKRPMS and got the four error messages as
you described.  Finally it said, "No new updates are available in
ftp.sfu.ca".  So, I guess there are no new updates.

Nathan

-----Original Message-----
From: lon-capa-admin-admin at mail.lon-capa.org
[mailto:lon-capa-admin-admin at mail.lon-capa.org]On Behalf Of Martin
Siegert
Sent: Monday, April 19, 2004 12:21 PM
To: lon-capa-admin at mail.lon-capa.org
Subject: Re: [LON-CAPA-admin] CHECKRPMs


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
_______________________________________________
LON-CAPA-admin mailing list
LON-CAPA-admin at mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin





More information about the LON-CAPA-admin mailing list