Yum cannot access software repositories

General discussion Forum. All YDL related question which are not Install or Beginner questions.

Yum cannot access software repositories

Postby roberthale » 20 Nov 2013, 07:51

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.
roberthale
ydl newbie
ydl newbie
 
Posts: 3
Joined: 19 Nov 2013, 19:29

Re: Yum cannot access software repositories

Postby ppietro » 10 Dec 2013, 09:29

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
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Yum cannot access software repositories

Postby roberthale » 10 Dec 2013, 17:48

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.
roberthale
ydl newbie
ydl newbie
 
Posts: 3
Joined: 19 Nov 2013, 19:29

Re: Yum cannot access software repositories

Postby relet » 25 Feb 2014, 08:51

Paul,
I have modified the three repos, still no luck, any idea?
Thanks
relet
ydl beginner
ydl beginner
 
Posts: 29
Joined: 13 Dec 2011, 00:24

Re: Yum cannot access software repositories

Postby ppietro » 26 Feb 2014, 09:44

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
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Yum cannot access software repositories

Postby relet » 26 Feb 2014, 09:50

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.
relet
ydl beginner
ydl beginner
 
Posts: 29
Joined: 13 Dec 2011, 00:24

Re: Yum cannot access software repositories

Postby ppietro » 26 Feb 2014, 10:06

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
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Yum cannot access software repositories

Postby ppietro » 26 Feb 2014, 11:15

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
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Yum cannot access software repositories

Postby relet » 26 Feb 2014, 20:46

Thanks a lot, Paul, it works so great :D
relet
ydl beginner
ydl beginner
 
Posts: 29
Joined: 13 Dec 2011, 00:24


Return to General

Who is online

Users browsing this forum: No registered users and 4 guests

cron