Page 1 of 1

Yum cannot access software repositories

PostPosted: 20 Nov 2013, 07:51
by roberthale
Hi,

I have just installed YDL 6.2 on a Mac ibook G4.

I immediately went to Add/Remove Software as I need additional packages. I got this:

"Unable to retrieve software information
".

I do have a working Internet connection.

I opened a terminal and typed: "yum list". I got this:

"Could not retrieve mirrorlist http://www.terrasoftsolutions.com/resou ... base-mlist error was
(Errno 14) HTTP Error 404: Not found".

I opened a browser and navigated to the url given above (http://www.terrasoftsolutions.com/resou ... base-mlist). I got a terrasoft page saying "Error 404: Not found".

This suggests to me that the software sources have been moved but nowhere (YDL site, Terrasoft site, Google, this board) can I find any information about where it might have been moved to or what to do about my problem

Can anybody here please help?

Many thanks.

Re: Yum cannot access software repositories

PostPosted: 10 Dec 2013, 09:29
by ppietro
roberthale wrote:Hi,

I have just installed YDL 6.2 on a Mac ibook G4. I immediately went to Add/Remove Software as I need additional packages. I got this:
"Unable to retrieve software information".

I do have a working Internet connection. I opened a terminal and typed: "yum list". I got this:
"Could not retrieve mirrorlist http://www.terrasoftsolutions.com/resou ... base-mlist error was (Errno 14) HTTP Error 404: Not found".

I opened a browser and navigated to the url given above (http://www.terrasoftsolutions.com/resou ... base-mlist). I got a terrasoft page saying "Error 404: Not found".

This suggests to me that the software sources have been moved but nowhere (YDL site, Terrasoft site, Google, this board) can I find any information about where it might have been moved to or what to do about my problem/


Yeah - I noticed the main repositories are gone. There's a list of mirrors here:
http://ydl.net/support/downloads/

Looking thru this list, there may be sources here:
ftp://ftp.kddlabs.co.jp/Linux/packages/yellowdog/

It's been a while since I've messed with this, but if I remember correctly, you'll have to edit each of the default yum repo configurations to ignore the mirroriist and instead point directly to the baseurl:

/etc/yum.repos.d/yellowdog-base.repo:
# mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-base-mlist
baseurl=ftp://ftp.kddlabs.co.jp/Linux/packages/yellowdog/yum/6/base/repodata/repomd.xml

/etc/yum.repos.d/yellowdog-extras.repo:
# mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-extras-mlist
baseurl=ftp://ftp.kddlabs.co.jp/Linux/packages/yellowdog/yum/6/extras/repodata/repomd.xml

/etc/yum.repos.d/yellowdog-updates.repo:
# mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-updates-mlist
baseurl=ftp://ftp.kddlabs.co.jp/Linux/packages/yellowdog/yum/6/updates/repodata/repomd.xml

You'll want to comment out the mirrorlist parameter, and add the baseurl parameter. We have an older reference guide here:
viewtopic.php?t=3017

Cheers,
Paul

Re: Yum cannot access software repositories

PostPosted: 10 Dec 2013, 17:48
by roberthale
Thank you for your reply. I'm afraid for me it's redundant now, as I now have a working install of Lubuntu instead. I hope your answer helps others.

Re: Yum cannot access software repositories

PostPosted: 25 Feb 2014, 08:51
by relet
Paul,
I have modified the three repos, still no luck, any idea?
Thanks

Re: Yum cannot access software repositories

PostPosted: 26 Feb 2014, 09:44
by ppietro
relet wrote:Paul,
I have modified the three repos, still no luck, any idea?
Thanks


Can you post your edit here? I'd like to check your syntax.

Cheers,
Paul

Re: Yum cannot access software repositories

PostPosted: 26 Feb 2014, 09:50
by relet
This

#generated by system-config-ydlnet
[base]
name=Yellow Dog Linux 6.2 Base
#mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-base-mlist
baseurl=ftp://ftp.kddlabs.co.jp/Linux/packages/yellowdog/yum/6/base/repodata/repomd.xml
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY

and

#generated by system-config-ydlnet
[extras]
name=Yellow Dog Linux 6.2 Extras
#mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-extras-mlist
baseurl=ftp://ftp.kddlabs.co.jp/Linux/packages/yellowdog/yum/6/extras/repodata/repomd.xml
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY

and this

#generated by system-config-ydlnet
[updates]
name=Yellow Dog Linux 6.2 Updates
#mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-updates-mlist
baseurl=ftp://ftp.kddlabs.co.jp/Linux/packages/yellowdog/yum/6/updates/repodata/repomd.xml
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY

Thanks.

Re: Yum cannot access software repositories

PostPosted: 26 Feb 2014, 10:06
by ppietro
Hiya!

Okay - I think I messed up with the baseurl parameter a bit. (I think I may have mentioned it's been a while? :)) Anyway - try these:

Code: Select all
#generated by system-config-ydlnet
[base]
name=Yellow Dog Linux 6.2 Base
#mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-base-mlist
baseurl=ftp://ftp.kddlabs.co.jp/Linux/packages/yellowdog/yum/6.2/base/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY


and

Code: Select all
#generated by system-config-ydlnet
[extras]
name=Yellow Dog Linux 6.2 Extras
#mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-extras-mlist
baseurl=ftp://ftp.kddlabs.co.jp/Linux/packages/yellowdog/yum/6.2/extras/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY


and this

Code: Select all
#generated by system-config-ydlnet
[updates]
name=Yellow Dog Linux 6.2 Updates
#mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-updates-mlist
baseurl=ftp://ftp.kddlabs.co.jp/Linux/packages/yellowdog/yum/6.2/updates/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY


I'll fire up my YellowDog system and see if these work for me.

Cheers,
Paul

Re: Yum cannot access software repositories

PostPosted: 26 Feb 2014, 11:15
by ppietro
ppietro wrote:I'll fire up my YellowDog system and see if these work for me.


Yup - they seem to be working.

NOTE: You may have to disable yellowdog-extras - there seem to be some connection limits to these backup FTP servers. It looks like they may only support two repositories at a time. You do for YellowDog 6.1 anyway - that's what I'm running.

ALSO NOTE: I had assumed that the FTP directory used 6 to point at the latest version of YellowDog - instead 6 points at 6.0. I updated the baseurl to point at the YellowDog 6.2 directory - I think that's what you're running. (See the syntax in previous post)

UPDATE: And - now the yellowdog-extras is working for me again. I think the connection issues worked themselves out. :)

Cheers,
Paul

Re: Yum cannot access software repositories

PostPosted: 26 Feb 2014, 20:46
by relet
Thanks a lot, Paul, it works so great :D