Yum with other OS problems[resolved]

YDL running on the Sony Playstation 3

Moderator: billb

Yum with other OS problems[resolved]

Postby ACEFOMIQUZ » 09 Sep 2011, 16:58

I picked my PS3 up with YellowDog these days.For a long time I hadn't use it,I can't configure my Yum repos now.
After I had installed Yellow Dog 6.2 on my PS3,I did some necessary settings on my system.And here is my repos.
yellowdog-base.repo
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
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
protect=1

yellowdog-updates.repo
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
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
protect=1

epel.repo
Code: Select all
[epel]
name=Extra Packages for Enterprise Linux 5 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/5/$basearch
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
protect=1

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 5 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/5/$basearch/debug
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-5&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
gpgcheck=1
protect=1

[epel-source]
name=Extra Packages for Enterprise Linux 5 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/5/SRPMS
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-source-5&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
gpgcheck=1
protect=1

epel-testing.repo
Code: Select all
[epel-testing]
name=Extra Packages for Enterprise Linux 5 - Testing - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/testing/5/$basearch
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel5&arch=$basearch
failovermethod=priority
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
protect=1

[epel-testing-debuginfo]
name=Extra Packages for Enterprise Linux 5 - Testing - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/testing/5/$basearch/debug
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-debug-epel5&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
gpgcheck=1
protect=1

[epel-testing-source]
name=Extra Packages for Enterprise Linux 5 - Testing - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/testing/5/SRPMS
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-source-epel5&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
gpgcheck=1
protect=1

extras.repo
Code: Select all
[extras]
name=Fedora Extras - 6 - ppc
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/extras/6/ppc/
gpgcheck=1
gpgkey=http://archives.fedoraproject.org/pub/archive/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras
protect=0

[extras-debug]
name=Fedora Extras - 6 - ppc - Debugging packages
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/extras/6/ppc/debug/
gpgcheck=1
gpgkey=http://archives.fedoraproject.org/pub/archive/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras
enabled=0
protect=0

jpackge.repo
Code: Select all
# Be sure to enable the distro specific repository for your distro below:
# - jpackage-rhel for Red Hat Enterprise Linux and derivatives


[jpackage-generic-5.0]
name=JPackage (free), generic
#baseurl=http://mirrors.dotsrc.org/jpackage/5.0/generic/free
mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=generic&type=free&release=5.0
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-jpackage
enabled=1
protect=0

[jpackage-generic-5.0-updates]
name=JPackage (free), generic updates
#baseurl=http://mirrors.dotsrc.org/jpackage/5.0-updates/generic/free
mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=generic&type=free&release=5.0-updates
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-jpackage
enabled=1
protect=0

[jpackage-generic-5.0-devel]
name=JPackage (free), generic
baseurl=http://mirrors.dotsrc.org/jpackage/5.0/generic/devel
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-jpackage
enabled=0
protect=0

[jpackage-jpackage-rhel]
name=JPackage (free) for jpackage-rhel 5
mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=redhat-el-5&type=free&release=5.0
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-jpackage
enabled=1
protect=0

mirrors-rpmforge
Code: Select all
http://apt.sw.be/redhat/el5/en/$ARCH/rpmforge
http://archive.cs.uu.nl/mirror/dag.wieers/redhat/el5/en/$ARCH/rpmforge
http://ftp2.lcpe.uni-sofia.bg/freshrpms/pub/dag/redhat/el5/en/$ARCH/rpmforge
#http://ftp.heanet.ie/pub/freshrpms/pub/dag/redhat/el5/en/$ARCH/rpmforge
http://ftp-stud.fht-esslingen.de/dag/redhat/el5/en/$ARCH/rpmforge
http://mirror.cpsc.ucalgary.ca/mirror/dag/redhat/el5/en/$ARCH/rpmforge
http://mirrors.ircam.fr/pub/dag/redhat/el5/en/$ARCH/rpmforge
http://rh-mirror.linux.iastate.edu/pub/dag/redhat/el5/en/$ARCH/rpmforge
http://rpmfind.net/linux/dag/redhat/el5/en/$ARCH/rpmforge
http://wftp.tu-chemnitz.de/pub/linux/dag/redhat/el5/en/$ARCH/rpmforge
http://www.mirrorservice.org/sites/apt.sw.be/redhat/el5/en/$ARCH/rpmforge

rpmforge.repo
Code: Select all
### Name: RPMforge RPM Repository for Red Hat Enterprise 5 - fabian
### URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - fabian
baseurl = http://apt.sw.be/redhat/el5/en/$basearch/rpmforge
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-fabian
gpgcheck = 1

rpmforge-testing.repo
Code: Select all
### Name: RPMforge RPM Repository for Red Hat Enterprise 5 - fabian
### URL: http://rpmforge.net/
[rpmforge-testing]
name = Red Hat Enterprise $releasever - RPMforge.net - test
baseurl = http://apt.sw.be/redhat/el5/en/$basearch/test
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-fabian
gpgcheck = 0

I put the GPG-KEY to the specified directory and reboot my system.
After that was done,the OS promoted me to do the first update.I did this,then reboot my PS3 again by following the system promotion.Until I have done this step,everything was OK.
When I login,I wanted to use Yum to setup some other software.Then,the following thing happen:
Code: Select all
yum clean all
Loading "priorities" plugin
Loading "installonlyn" plugin


Could not find any working storages.
Exception exceptions.AttributeError: "'YumRepository' object has no attribute 'sack'" in <bound method YumRepository.__del__ of <yum.yumRepo.YumRepository object at 0x1038eab0>> ignored

No matter what kind of Yum instructions I input,it would feedback the same just like what I've write above.
I've tried this for several times and with sane replies every time.Could any one help me dealing with this problem?I shall really appreciate that.

There is one thing I should emphasize:I've delete the yellowdog-extras.repo because of the repetitive packages with epel.repo.Also,it is obviously that this step won't cause this kind of fault.


All the problems has been resolved.The correct repos are shown above.Maybe there are some problems if your using both EPEL and fedora-extra,this may cause package conflict if you don't use yum-protect to protect EPEL.Also,there is no package conflict between EPEL and yellowdog repos.So I use EPEL to replace the yellowdog-extra and have found no problems.
Last edited by ACEFOMIQUZ on 20 Sep 2011, 15:52, edited 2 times in total.
藍與紅如同水火不容,正藍者必憎紅!
User avatar
ACEFOMIQUZ
ydl addict
ydl addict
 
Posts: 101
Joined: 27 Oct 2008, 17:40

Re: Yum with other OS problems

Postby ppietro » 10 Sep 2011, 03:57

ACEFOMIQUZ wrote:After that was done,the OS promoted me to do the first update.I did this,then reboot my PS3 again by following the system promotion.Until I have done this step,everything was OK.


I'm kind of surprised anything updated at all - we haven't had updates for YDL 6.2 in a long time. :D

I would set the EPEL to protect=0. In fact, since you're using YDL 6.2, I wouldn't use EPEL. Yellowdog-extras contains all of EPEL, minus a few packages that cause trouble. Although I'm not 100% sure, the use of EPEL with protect=1 might be the cause of your issues.

In fact - that brings up a good question. I can't quite tell from your repos if you're using yum-protectbase or yum-priorities. You should be using one or the other, but not both - I think. (Some of your repos are set for yum-protectbase and some are set for yum-priorities.)

I would decide if you're using yum-protectbase or yum-priorities and make sure your repos are set to use one or the other.

Unfortunately - I don't know how to repair the current situation you're in without doing a fresh install. Sorry :( Perhaps billb or another forum regular will have a better solution. :)

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Yum with other OS problems

Postby ACEFOMIQUZ » 10 Sep 2011, 15:15

Thanks for your answer and I've really not done this for normal use yet,just for CellBE program development.Also,your answer is helpful.Thanks again! :D
藍與紅如同水火不容,正藍者必憎紅!
User avatar
ACEFOMIQUZ
ydl addict
ydl addict
 
Posts: 101
Joined: 27 Oct 2008, 17:40

Re: Yum with other OS problems

Postby ACEFOMIQUZ » 12 Sep 2011, 16:00

I've got that.The error was from rpmforge.everything is done now.
藍與紅如同水火不容,正藍者必憎紅!
User avatar
ACEFOMIQUZ
ydl addict
ydl addict
 
Posts: 101
Joined: 27 Oct 2008, 17:40

Re: Yum with other OS problems

Postby ppietro » 14 Sep 2011, 19:11

ACEFOMIQUZ wrote:I've got that.The error was from rpmforge.everything is done now.


For future reference, what was your solution?

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18


Return to Playstation 3

Who is online

Users browsing this forum: No registered users and 14 guests