Add/Remove software and Yum problems

If you are new to YDL and have some more or less basic questions.

Add/Remove software and Yum problems

Postby neoshaded » 01 May 2010, 21:52

I recently installed YDL 6.2 on my 40GB PS3 (480i TV), got the graphics working and everything works perfectly... Apart from when I try to install a program. I’ve looked all over the internet for possible solutions and can't find a Linux-beginner-friendly response/guide anywhere... When I go on Add/Remove, It opens two boxes for about 60 seconds before finally returning an error message saying it can't pull up the info, possible causes are that I'm not connected to the internet, however, I can surf the web either by wireless or by Ethernet cable. I also try the to use yum in a terminal but it always returns some form of error such as it cant find a valid mirror, it cant find the xlm etc... I'm a total newbie to Linux so in any replies, please assume I know nothing...

I'll have another go in the morning (In about 12 hours) and post all the exact quotes that I get. Thanks for any help.

P.S: I've searched the entire forum, read almost everything relevant and either it didn't work, or I don’t understand it...
neoshaded
ydl newbie
ydl newbie
 
Posts: 3
Joined: 01 May 2010, 21:40

Re: Add/Remove software and Yum problems

Postby billb » 02 May 2010, 00:12

I'm sure I can help out with that issue. Without having any detailed info yet, I'd suggest starting here:

viewtopic.php?f=19&t=4785
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Add/Remove software and Yum problems

Postby neoshaded » 02 May 2010, 09:07

In that link, my problem seems to be under "Temporary failure in name resolution", however, I don't see any way to resolve it...
When trying to install something via yum, I get this message:

Code: Select all
yum install unrar
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
http://rpm.livna.org/repo/6.2/ppc/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/repo/6.2/ppc/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://wftp.tu-chemnitz.de/pub/linux/livna/repo/6.2/ppc/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
ftp://mirrors.tummy.com/pub/rpm.livna.org/repo/6.2/ppc/repodata/repomd.xml: [Errno 4] IOError: [Errno ftp error] 550 Failed to change directory.
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: livna
[root@PS3 ~]#

This happens for anything I try to install.
When I try to via the add/remove software, it gets suck on the "retrieving software info" screen for about 60 seconds until finally giving me the message: "Unable to retrieve software information. This could be caused by not having a network connection available"
neoshaded
ydl newbie
ydl newbie
 
Posts: 3
Joined: 01 May 2010, 21:40

Re: Add/Remove software and Yum problems

Postby billb » 02 May 2010, 13:50

It appears you have installed the livna-release rpm as instructed on rpm.livna.org, but unfortunately this doesn't work for YDL. It adds livna repository files to your /etc/yum.repos.d folder, but they point to http://rpm.livna.org/mirrorlist which gives:

Code: Select all
http://rpm.livna.org/repo/$releasever/$basearch/
http://wftp.tu-chemnitz.de/pub/linux/livna/repo/$releasever/$basearch/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/repo/$releasever/$basearch/
ftp://mirrors.tummy.com/pub/rpm.livna.org/repo/$releasever/$basearch/


Since YDL reports "6.2" for the $releasever, the link ends up like this as shown in the output you posted:

Code: Select all
http://rpm.livna.org/repo/6.2/ppc/repodata/


That is not a valid link since livna, meant to be used by Fedora Linux, doesn't have a 6.2 directory. If you were using Fedora 8, for example, then it would work (http://rpm.livna.org/fedora/8/ppc/).

So we need to get rid of the livna-release rpm or at least delete the repo files it installed.

1. Open a terminal window (Applications -> Accessories -> Terminal)

2. Enter the following command exactly as shown:

Code: Select all
su -c "rpm --erase livna-release"

<enter your root password>

3. Confirm that the livna repo files were deleted from /etc/yum.repos.d by listing the files in that directory:

Code: Select all
ls /etc/yum.repos.d


4. If there are still any livna files in that directory, delete them manually:

Code: Select all
su -c "rm /etc/yum.repos.d/livna*"

<enter your root password>

5. Clean out any cached repo data and confirm software install via yum is working:

Code: Select all
su

<enter root password>

Code: Select all
yum clean all

Code: Select all
yum install gedit

(gedit should already be installed so you should get "Nothing to do" as a response)

6A. If you're still having problems, please post the entire output of this command:

Code: Select all
more /etc/yum.repos.d/*


6B. If yum is already working OK but you still want to add the livna repo, follow the instructions in this topic to add it manually:

viewtopic.php?f=19&t=3017
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Add/Remove software and Yum problems

Postby neoshaded » 02 May 2010, 23:10

Sorry for being a pain here but... I followed EVERYTHING to the letter and still, no luck. After typing:
Code: Select all
ls /etc/yum.repos.d

I got:
Code: Select all
dribble.repo           yellowdog-updates.repo
fedora-extras.repo     yellowdog-updates.repoecho
yellowdog-base.repo    yellowdog-updates.repyum
yellowdog-extras.repo

So I assume I should leave these?
The error message from the "yum install gedit" was:
Code: Select all
http://download.fedora.redhat.com/pub/fedora/linux/extras/6/ppc/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: fedora-extras

The output of the command; "more /etc/yum.repos.d/*" is:

Code: Select all
::::::::::::::
/etc/yum.repos.d/dribble.repo
::::::::::::::
[dribble]
name=Dribble for Fedora 7 - ppc
baseurl=http://dribble.org.uk/repo/7/ppc
enabled=1
gpgcheck=0
::::::::::::::
/etc/yum.repos.d/fedora-extras.repo
::::::::::::::
[fedora-extras]
name=Fedora Extras
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/6/
ppc
enabled=1
gpgcheck=0
::::::::::::::
/etc/yum.repos.d/yellowdog-base.repo
::::::::::::::
[base]
name=Yellow Dog Linux 6.2 Base
#baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/6.2/base/
mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-base-mli
st
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
protect=1
protect=1
protect=1 protect=1
protect=1
protect=1
::::::::::::::
/etc/yum.repos.d/yellowdog-extras.repo
::::::::::::::
[extras]
name=Yellow Dog Linux 6.2 Extras
#baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/6.2/extras/
mirrorlist=http://www.terrasoftsolutions.com/resources/yd62-extras-m
list
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
::::::::::::::
/etc/yum.repos.d/yellowdog-updates.repo
::::::::::::::
[updates]
name=Yellow Dog Linux 6.2 Updates
#baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/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
protect=1
::::::::::::::
/etc/yum.repos.d/yellowdog-updates.repoecho
::::::::::::::
::::::::::::::
/etc/yum.repos.d/yellowdog-updates.repyum
::::::::::::::
protect=1 install yum-protectbase


Thanks for your time and sorry for being a pain...
neoshaded
ydl newbie
ydl newbie
 
Posts: 3
Joined: 01 May 2010, 21:40

Re: Add/Remove software and Yum problems

Postby billb » 03 May 2010, 04:20

No problem. :D

At this point it's probably best if you simply start over with your repo files. Here's an easy way to do that:

1. Become root using the su command so you'll have access to the files:

Code: Select all
su

<enter root password>

2. Remove all the existing repo files:
Code: Select all
rm /etc/yum.repos.d/*

It will probably ask for confirmation on each one.

3. Reinstall the correct yellowdog repo files:
Code: Select all
rpm -Uvh --replacepkgs "http://ydl.oregonstate.edu/releases/yellowdog-6.2/os/YellowDog/yellowdog-release-6.2-1.ydl.5.noarch.rpm"

(that's all one command -- just copy/paste it to the terminal window you're working in as root)

The output should look like this:
Code: Select all
Retrieving http://ydl.oregonstate.edu/releases/yellowdog-6.2/os/YellowDog/yellowdog-release-6.2-1.ydl.5.noarch.rpm
warning: /var/tmp/rpm-xfer.qESoIk: Header V3 DSA signature: NOKEY, key ID aeb6b9c4
Preparing...                ########################################### [100%]
   1:yellowdog-release      ########################################### [100%]


At this point your yellowdog repo files should be restored back to their original state. Now proceed to the "How to Install Software" guide if you want to add third-party repos:

viewtopic.php?f=19&t=3017
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Add/Remove software and Yum problems

Postby Karcher » 04 Nov 2011, 09:17

my problem began by some errors in file system. when i started my computer, the system suggest me to run fsck and i answered yes for all questions.
and when i run what did you suggest me, i found thist. thnx.
Karcher
ydl newbie
ydl newbie
 
Posts: 1
Joined: 04 Nov 2011, 09:10


Return to Beginner

Who is online

Users browsing this forum: No registered users and 4 guests