[suse-sles-e] Problems with YUP and SLES10 SP1 & SLED10 SP1 setup

From: Michael Folsom (mwfolsom_at_gmail.com)
Date: Mon Aug 27 2007 - 00:45:41 CEST


Message-ID: <ea5f6c090708261545y72f87d0am47335c0af9d1e882@mail.gmail.com>
Date: Sun, 26 Aug 2007 16:45:41 -0600
From: "Michael Folsom" <mwfolsom@gmail.com>
Subject: [suse-sles-e] Problems with YUP and SLES10 SP1 & SLED10 SP1 setup

Having decide to set Zenworks to the side for now and setup a YUP update
server

I've setup a SLES10 box and put YUP, yup-222-3.1, on it and have downloaded
the SP1 patches -

Basically there a few sets of instructions out there on the web, see:
    http://www.novell.com/coolsolutions/feature/19279.html
    http://opseast.wordpress.com/2007/07/19/configuring-a-yup-update-server/

And getting the download to work is fairly obvious but I still have a few
questions.

It appears that I should be able to just crank up the apache server, set yup
so that it downloads the patches in the proper place under the web server's
document root, add a few other tidbits to the /etc/sysconfig/yup file, type
yup and off it goes - which is pretty much what has happened.

Essentially the base of the patch repository is:
      /srv/www/htdocs/yup

Besides starting apache2 with /etc/sysconfig I've done nothing else to the
web server or changed its default setup in any way, shape or form.

I configured yup to download patches for:
     SLES10 x86 SP1
     SLES10 x86-64 SP1
     SLES10 ia64 SP1
     SLED10 x86 SP1
     SLES10 x86-64 SP1

During the download process the following top level directories was created
under /srv/www/htdocs/yup:
     -i586
     -ia64
     -x86_64
     SLED10-SP1-Online
     SLED10-SP1-Updates
     SLES10-SP1-Online
     SLES10-SP1-Updates

Note the first three directories, -i586, -ia64 & -x86_64, besides containing
the subdirectory "repodata", are totally empty. However all of the other
directories contain many subdirectories and many gigs of data.

Besides the weirdness of the -i586, -ia64 & -x86_64 directories all else
looks fine.

As a test when I direct a browser to:
http://system.name.com/yup/SLED10-SP1-Updates/sled-10-i586/rpm/i586/samba-3.0.24-2.28.i586.rpm
the samba rpm is found and I can save it to my disk. So, the web server
seems to be working as expected.

My problem is getting rug on a SP1 client to add it as a service - for
example as one document suggests when I tried to do the following on a
client:
    rug sa -type=YUM http://system.name.com/yup/-i586 repodata

I get the error:
    ERROR: No valid URI was specified.

If I try:
    rug sa -type=YUM
http://system.name.com/yup/SLES10-SP1-Updates/sles-10-i586 repodata
or, frankly more logically
    rug sa -type=YUM
http://system.name.com/yup/SLES10-SP1-Updates/sles-10-i586/repodata

I still get the same error:
    ERROR: No valid URI was specified

So the question is - am I using the wrong URI (URL) or is there a problem
elsewhere?

Any & all help appreciated.........

Michael



This archive was generated by hypermail 2.1.7 : Mon Aug 27 2007 - 02:49:25 CEST