Re: Yup problems =]


Subject: Re: Yup problems =]
From: Geert Janssens (geert.janssens3@pandora.be)
Date: Thu Mar 07 2002 - 09:25:19 MST


I have attached a list message I sent recently to YDL General. It
describes my experience with yup and how I managed to get it to work.

If you only recently joined the list, you may have missed it, because
it's not there in the archives yet.

Reading the other reply from Jerry S. about a DNS problem, my older
message may be of help.

Cheers,
Geert

sfalken wrote:
> Actually, I tried that =] no dice, tried that before I shot off an e-mail
> to the list in fact =]
>
> --Shawn
>
> On Thursday 07 March 2002 03:02, you wrote:
>
>>I'm surprised. This question pops up daily at the list. It makes me
>>think there is something wrong with the information/documentation system
>>around linux/YDL.
>>
>>Don't get me wrong. It's not my intention to point a finger at anyone.
>>It just caught my attention.
>>
>>I checked the YDL website for curiosity. There is a yup How To, but that
>>doesn't really cover this problem, only the general usage of yup.
>>
>>What I would suggest as a solution in this case is what has been
>>suggested before (I'll just repeat it for you here once more sfalken ;-) ):
>>§ yup clean all
>>§ yup config dist and/or yup config mirror
>>
>>This comes back and back again in the list archives.
>>
>>I wonder, would it be time to start some kind of a YDL FAQ ? At a
>>location, easily accissible, and containing a answers to frequently
>>asked questions on this list.
>>
>>Just a thought. What do you people think ? Would that be something useful ?
>>
>>Geert
>>
>>sfalken wrote:
>>
>>>ok, after reading the thread today, I realized that I had YDL-2.0
>>>installed, and there was a tool called yup =] usually I d/l the
>>>tarballs and build everything from source, always have, just habit, I
>>>guess, but in any case, I run
>>>
>>>yup list updates
>>>
>>>and it comes back after looking at the RPM database with:
>>>
>>>Error: URL job failed.
>>>
>>>Any ideas how to fix this little bugaboo? It's really not all that
>>>important for yup to work, but I figger I have it, I might as well try
>>>using it =]
>>>
>>> --Shawn
>>>
>
>

attached mail follows:


A while ago I asked a question about yup on my system. The fix that
worked for most people, but not for me was
$ yup clean all
$ yup config dist
$ yup config mirror

After some more investigation and playing with the /etc/yup.conf file I
finally got yup to work correctly.

I will explain here what I did to get things to work.

- For the xx'iest time I ran 'yup list', which again did not work. At
some point it just ends with the cryptic message "Error:" - that's it.

- Reading /etc/yup.conf, I gathered that with no initial configuration,
yup takes the installation CD as the mirror site or rpm database. Very
clever, so I insert my installation CD and mount it in /mnt/cdrom.

- I run 'yup list' again - unsuccessfully. Reading /etc/yup.conf better,
yup assumes the cdrom to be mounted on /mnt/media.

NOTE TO THE PEOPLE AT TERRASOFT: As far as I can remember my
installation never created /mnt/media, only /mnt/cdrom ! Is this a bug
in yup ? Most people of course wouldn't run into this bug, because most
everybody immediatly configures another mirror.

- Anyway, just for testing purposes, I create a softlink /mnt/media,
pointing to /mnt/cdrom and run 'yup list updates' again. To my utter
amazement, yup ran well this time ! Yahoo, victory ! Upon closer
inspection, I understood that the list I saw was from my cdrom. This was
already something, but not what I would consider useful.

- So I run 'yup config mirror' once more. As before, yup displays the
message:
Retrieving http://www.yellowdoglinux.com/yup/yup.master.txt
and hangs.
I still haven't figured this one out yet. It seems file downloads via
http don't seem to work at my machine. I don't know yet if this is a
problem with my configuration or with yup. I seem to have read somewhere
that yup ignores my proxy settings and that tha t would be the cause.

IF SOMEONE CAN ENLIGHTEN ME HERE, PLEASE DO. Thank you.

- Anyway, I could read this 'yup.master.txt' via mozilla and it wasn't
too hard to understand the format. So instead of running 'yup config
mirror' to configure yup, I manually edited /etc/yup.conf to do the same
thing. This is my current /etc/yup.conf:

.master http://www.yellowdoglinux.com/yup/yup.master.txt
.dist-option Yellow Dog Linux release 2.1
.arch-option ppc
.begin mirror-option
    .name Sunet (http)
    .addr
ftp://ftp.sunet.se/pub/os/Linux/distributions/yellowdog/yellowdog-2.1/
    .arch ppc
.end

Note that I used an ftp mirror server instead of a http one, because of
the above mentioned problem.

- Now there were to other minor problems because of yup's cache. These
were solved by a 'yup clean all', I believe.

- Next I typed 'yup list' again, and... YES, yup contacted the mirror
site, and produced a list.

- yup list updates showed me which updates were available and yup update
effectively installed them.

Thank you Terrasoft for this simple yet flexible tool. Only two
questions for you guys:
1. Is the /mnt/media thing effectively a bug ? If so, I suppose you know
how to deal with it further, or you just tell me how to report it
officially.

2. Any ideas suggestions on the http-download/proxy issue ?

Thanks and I hope others find my experiences useful as well.

Geert



This archive was generated by hypermail 2a24 : Thu Mar 07 2002 - 09:40:32 MST