Go Back   PS3Hax - Sony Fears Us > OtherOS Resources > Yellow Dog Linux
Yellow Dog Linux Other OS for Sony Playstation

Reply
 
LinkBack Thread Tools

CONFIGURE YUM & YUMEX !
  #1 (permalink)  
Old 01-19-2007, 10:50 PM
haxen's Avatar
haxen is offline
I shredded my PS3
PS3Hax Leader
 
Join Date: Dec 2006
Posts: 239
Default CONFIGURE YUM & YUMEX !

YUM is a tool within Yellow Dog Linux that searches for and downloads updates, applications and tools for your YDL OS.

YUM is already installed in YDL 5.0. You can test this by opening up a Terminal (Menu: Applications->Accessories -->Terminal) and typing
yum:

This won't hurt your system and it won't update anything, it will just display information about the YUM program.

It is important to configure YUM so that it points to current and correct update sites.

Pointing to the right updates involves changing some files and creating some files. The first file you have to change is called yum.conf. You may have to login as root to change the files. Then usse your file explorer to navigate to the etc folder in your File System, double click the etc folder to open it up.

Scroll to the bottom of this folder and you should see a file called yum.conf. Right click on this file and Open With->Text Editor. Replace the contents of your yum.conf with the following and save. Copy and paste this bad boy into your file...

Code:
[main] cachedir=/var/cache/yum keepcache=0 debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=yellowdog-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=0 plugins=1 metadata_expire=1800 [freshrpms] name=Fresh 4.0 rpms baseurl=http://ftp.freshrpms.net/pub/freshrpms/yellowdog/4.0/ # PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d name=Yellow Dog Linux 5.0 base baseurl=http://ydl.osuosl.org/yum/5.0/base/RPMS/ name=Yellow Dog Linux 5.0 updates baseurl=http://ydl.osuosl.org/yum/5.0/updates/
Next scroll up above the yum.conf file in the etc folder and open the folder called yum.repos.d. You'll should find 3 files in this folder:
1. yellowdog-base.repo
2. yellowdog-updates.repo
3. yellowdog-extras.repo

The contents of these 3 files should be modified as follows:

1. yellowdog-base.repo:
Code:
[base] name=Yellow Dog Linux 5.0 Base baseurl=http://ftp.yellowdoglinux.com/pub/yellowdog/yum/5.0/base/ mirrorlist=http://www.terrasoftsolutions.com/resources/yd50-base-mlist enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
2. yellowdog-updates.repo
Code:
[updates] name=Yellow Dog Linux 5.0 Updates baseurl=http://mirror.mcs.anl.gov/yellowdog/yum/5.0/updates/ mirrorlist=http://www.terrasoftsolutions.com/resources/yd50-updates-mlist enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
3. yellowdog-extras.repo
Code:
[extras] name=Yellow Dog Linux 5.0 Extras baseurl=http://mirror.mcs.anl.gov/yellowdog/yum/5.0/extras/ mirrorlist=http://www.terrasoftsolutions.com/resources/yd50-extras-mlist enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
In addition to these 3 files we'll be adding 4 more. The following files should be created (right click on an empty spot in the folder and select Create Document->Empty File)

ydl-extras.repo (this is the name of the file to save it as)
Code:
[ydl-extras] name=YDL Extras baseurl=file:///media/CDROM/ gpgcheck=0 enabled=0
Fedora-Extras.repo
Code:
[fedora-extras] name=Fedora Extras baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/5/ppc gpgcheck=0 enabled=0
livna.repo
Code:
[livna-stable] name=Livna.org Fedora Compatible Packages (stable) baseurl=http://rpm.livna.org/fedora/5/ppc gpgcheck=0 enabled=0
freshrpms.repo
Code:
[freshrpms] name=FreshRPMs baseurl=http://ayo.freshrpms.net/fedora/linux/5/ppc/freshrpms/ mirrorlist=http://ayo.freshrpms.net/fedora/linux/5/mirrors-freshrpms enabled=1 #gpgcheck=1
That's all there is to it. yum should now be configured and you're ready to download your first update.

3. Installing YUMEX

You DON'T have to run YUM in Terminal. There is a Graphical User Interface (GUI) available for the YUM tool and you can use YUM to download and install this tool called YUMEX

Open Terminal and type
yum search yumex

If all went well you should see something like this:
# yum search yumex
Loading "installonlyn" plugin
Searching Packages:
Setting up repositories
base [1/4]
base 100% ========================= 1.1 kB 00:00
updates [2/4]
updates 100% ========================= 951 B 00:00
freshrpms [3/4]
freshrpms 100% ========================= 951 B 00:00
extras [4/4]
extras 100% ========================= 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% ========================= 759 kB 00:05
base : ################################################## 2208/2208
Added 2208 new packages, deleted 9 old in 25.77 seconds


yumex.noarch 1.0.3-3.0.fc5 installed
Matched from:
yumex
[Please register to see this link. ]

Assuming you successfully found yumex (It should be found by the FreshRPMS.repo you created earlier) go ahead and install it by typing in Terminal:

yum install yumex

Once the package is installed type: yumex in Terminal and wait for YUMEX to open.




edited by Haxen from raj@tichtech
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: CONFIGURE YUM & YUMEX !
  #2 (permalink)  
Old 01-20-2007, 02:08 AM
ssjahrodss is offline
PS3Hax Senior Hacker
 
Join Date: Jan 2007
Posts: 44
Default Re: CONFIGURE YUM & YUMEX !

hi haxen thank you very much for this direction to install yum very usefull i try this but i got error at the end.do you have any idea? sorry for my english im french! nice to be here !!!!!viva linux!!!!!

[root@localhost sim]# cp -r yum.repos.d /etc
[root@localhost sim]# yum search yumex
Loading "installonlyn" plugin
Searching Packages:
Setting up repositories
base [1/4]
base 100% |=========================| 1.1 kB 00:00
updates [2/4]
updates 100% |=========================| 951 B 00:00
freshrpms [3/4]
freshrpms 100% |=========================| 951 B 00:00
extras [4/4]
extras 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 759 kB 00:01
base : ################################################## 2208/2208
Added 2208 new packages, deleted 0 old in 24.30 seconds
primary.xml.gz 100% |=========================| 9.3 kB 00:00
updates : ################################################## 9/9
Added 9 new packages, deleted 0 old in 0.34 seconds
primary.xml.gz 100% |=========================| 54 kB 00:00
freshrpms : ################################################## 155/155
Added 155 new packages, deleted 0 old in 1.66 seconds
primary.xml.gz 100% |=========================| 210 B 00:00
Added 0 new packages, deleted 0 old in 0.02 seconds
No Matches found--------------------------------------------------------------------------------------------------

[root@localhost yum.repos.d]# yum install yumex
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
base [1/4]
updates [2/4]
freshrpms [3/4]
extras [4/4]
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: yumex
Nothing to do

did i have to install the update to get this before? and if,how do i update a .repo file?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: CONFIGURE YUM & YUMEX !
  #3 (permalink)  
Old 01-25-2007, 10:55 PM
ssjahrodss is offline
PS3Hax Senior Hacker
 
Join Date: Jan 2007
Posts: 44
Default Re: CONFIGURE YUM & YUMEX !

i have posted in downlaod a new yum config whit more stuff,use only the yum.conf make sure yum.repos.d is empty and you need rpm-gpg-key found in the download pack text info..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: CONFIGURE YUM & YUMEX !
  #4 (permalink)  
Old 01-26-2007, 01:52 AM
Chap is offline
PS3Hax Expert User
 
Join Date: Jan 2007
Posts: 28
Default Re: CONFIGURE YUM & YUMEX !

I did all this and I get this error any ideas, this is the same problem the guy above me had. I'm using the ydl iso from the public mirrors.

yum install yumex
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
base [1/4]
updates [2/4]
freshrpms [3/4]
extras [4/4]
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: yumex
Nothing to do


This is some of the messages I received during the search

Added 2208 new packages, deleted 0 old in 27.88 seconds
primary.xml.gz 100% |=========================| 9.3 kB 00:00
updates : ################################################## 9/9
Added 9 new packages, deleted 0 old in 0.33 seconds
Added 155 new packages, deleted 0 old in 1.98 seconds
primary.xml.gz 100% |=========================| 210 B 00:00
Added 0 new packages, deleted 0 old in 0.01 seconds
No Matches found
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: CONFIGURE YUM & YUMEX !
  #5 (permalink)  
Old 01-26-2007, 12:26 PM
haxen's Avatar
haxen is offline
I shredded my PS3
PS3Hax Leader
 
Join Date: Dec 2006
Posts: 239
Default Re: CONFIGURE YUM & YUMEX !

Wolfe, grab the UPDATED yum.conf and repos files in the Downloads section. You know where they go right? Try them out, replace your old files with these ones and then run yum install updates and yumex and report back the exact error message (cut and paste it into a post) if you get one.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: CONFIGURE YUM & YUMEX !
  #6 (permalink)  
Old 01-26-2007, 01:42 PM
ssjahrodss is offline
PS3Hax Senior Hacker
 
Join Date: Jan 2007
Posts: 44
Default Re: CONFIGURE YUM & YUMEX !

all right work fine ,now i know how to edit my yum.conf lol.linux go easy on me day after day but a lot more to see!

[root@localhost simonk]# yum list all
Loading "installonlyn" plugin
Setting up repositories
extrasfc5 [1/8]
extrasfc5 100% |=========================| 1.1 kB 00:00
extrasfc4 [2/8]
extrasfc4 100% |=========================| 1.1 kB 00:00
freshrpms2 [3/8]
freshrpms2 100% |=========================| 951 B 00:00
base [4/8]
base 100% |=========================| 1.1 kB 00:00
updates [5/8]
updates 100% |=========================| 951 B 00:00
freshrpms [6/8]
freshrpms 100% |=========================| 951 B 00:00
os [7/8]
os 100% |=========================| 951 B 00:00
extras [8/8]
extras 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 1.8 MB 00:05
extrasfc5 : ################################################## 5999/5999
Added 5999 new packages, deleted 0 old in 75.97 seconds
primary.xml.gz 100% |=========================| 868 kB 00:04
extrasfc4 : ################################################## 2808/2808
Added 2808 new packages, deleted 0 old in 34.80 seconds
primary.xml.gz 100% |=========================| 87 kB 00:00
freshrpms2: ################################################## 246/246
Added 246 new packages, deleted 0 old in 3.21 seconds
primary.xml.gz 100% |=========================| 759 kB 00:02
base : ################################################## 2208/2208
Added 2208 new packages, deleted 0 old in 31.99 seconds
primary.xml.gz 100% |=========================| 9.3 kB 00:00
updates : ################################################## 9/9
Added 9 new packages, deleted 0 old in 0.37 seconds
primary.xml.gz 100% |=========================| 54 kB 00:00
freshrpms : ################################################## 155/155
Added 155 new packages, deleted 0 old in 1.76 seconds
primary.xml.gz 100% |=========================| 50 kB 00:00
os : ################################################## 138/138
Added 138 new packages, deleted 0 old in 1.50 seconds
primary.xml.gz 100% |=========================| 210 B 00:00
Added 0 new packages, deleted 0 old in 0.01 seconds

and more to come...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: CONFIGURE YUM & YUMEX !
  #7 (permalink)  
Old 01-26-2007, 11:48 PM
haxen's Avatar
haxen is offline
I shredded my PS3
PS3Hax Leader
 
Join Date: Dec 2006
Posts: 239
Default Re: CONFIGURE YUM & YUMEX !

This is what installing yumex should look like after you have good yum.conf & repos files:

Code:
[root@localhost ~]# yum install yumex Loading "installonlyn" plugin Setting up Install Process Setting up repositories freshrpm-frpm [1/8] freshrpm-frpm 100% |=========================| 951 B 00:00 livna-stable [2/8] livna-stable 100% |=========================| 951 B 00:00 fedora-core [3/8] fedora-core 100% |=========================| 1.1 kB 00:00 base [4/8] base 100% |=========================| 1.1 kB 00:00 fedora-extras [5/8] fedora-extras 100% |=========================| 1.1 kB 00:00 updates [6/8] updates 100% |=========================| 951 B 00:00 freshrpms [7/8] freshrpms 100% |=========================| 951 B 00:00 extras [8/8] extras 100% |=========================| 951 B 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 1.8 MB 01:16 fedora-ext: ################################################## 6015/6015 Added 48 new packages, deleted 24 old in 18.01 seconds Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for yumex to pack into transaction set. yumex-1.0.3-3.0.fc5.noarc 100% |=========================| 21 kB 00:00 ---> Package yumex.noarch 0:1.0.3-3.0.fc5 set to be updated --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: yumex noarch 1.0.3-3.0.fc5 fedora-extras 409 k Transaction Summary ============================================================================= Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 409 k Is this ok [y/N]: y Downloading Packages: (1/1): yumex-1.0.3-3.0.fc 100% |=========================| 409 kB 00:17 Running Transaction Test warning: yumex-1.0.3-3.0.fc5: Header V3 DSA signature: NOKEY, key ID 1ac70ce6 Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: yumex ######################### [1/1] Installed: yumex.noarch 0:1.0.3-3.0.fc5 Complete!
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: CONFIGURE YUM & YUMEX !
  #8 (permalink)  
Old 01-26-2007, 11:59 PM
haxen's Avatar
haxen is offline
I shredded my PS3
PS3Hax Leader
 
Join Date: Dec 2006
Posts: 239
Default Re: CONFIGURE YUM & YUMEX !

screenshot of yumex:

__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: CONFIGURE YUM & YUMEX !
  #9 (permalink)  
Old 01-31-2007, 08:45 AM
pR1m3_5u5p3cT's Avatar
pR1m3_5u5p3cT is offline
I shredded my PS3
 
Join Date: Jan 2007
Location: Maryland, USA
Posts: 124
Default Re: CONFIGURE YUM & YUMEX !

Could not save the file /etc/yum.repos.d/yellowdog-extras.repo.
You do not have the permissions necessary to save the file. Please, check that you typed the location correctly and try again.

thats the error i get when updating the repos
I even tried moving the file by shell command then copied the text from thread and pasted to repos but nothing, so uh, what is the command to open stuff like that in terminal? It won't let me create the new documents either....
EDIT AGAIN!! THIS TIME I GOT IT WORKING after YUMEX search....
[root@0pt1mu5 dcy4pres]# yum search yumex
Repository livna-stable is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository fedora-extras is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository freshrpms is listed more than once in the configuration
Loading "installonlyn" plugin
Searching Packages:
Setting up repositories
livna-stable [1/6]
livna-stable 100% |=========================| 951 B 00:00
base [2/6]
base 100% |=========================| 1.1 kB 00:00
fedora-extras [3/6]
fedora-extras 100% |=========================| 1.1 kB 00:00
updates [4/6]
updates 100% |=========================| 951 B 00:00
freshrpms [5/6]
freshrpms 100% |=========================| 951 B 00:00
extras [6/6]
extras 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 119 kB 00:00
livna-stab: ################################################## 256/256
Added 256 new packages, deleted 0 old in 5.44 seconds
primary.xml.gz 100% |=========================| 759 kB 00:03
base : ################################################## 2208/2208
Added 2208 new packages, deleted 0 old in 24.86 seconds
primary.xml.gz 100% |=========================| 1.8 MB 00:09
fedora-ext: ################################################## 6030/6030
Added 6030 new packages, deleted 0 old in 68.12 seconds
primary.xml.gz 100% |=========================| 9.3 kB 00:00
updates : ################################################## 9/9
Added 9 new packages, deleted 0 old in 0.34 seconds
primary.xml.gz 100% |=========================| 54 kB 00:00
freshrpms : ################################################## 155/155
Added 155 new packages, deleted 0 old in 1.65 seconds
primary.xml.gz 100% |=========================| 210 B 00:00
Added 0 new packages, deleted 0 old in 0.01 seconds


yumex.noarch 1.0.2-1.0.fc5 fedora-extras
Matched from:
yumex
[Please register to see this link. ]


yumex.noarch 1.0.3-3.0.fc5 fedora-extras
Matched from:
yumex
[Please register to see this link. ]
[root@0pt1mu5 dcy4pres]#

THEN.....
[root@0pt1mu5 dcy4pres]# yum install yumex
Repository livna-stable is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository fedora-extras is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository freshrpms is listed more than once in the configuration
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna-stable [1/6]
base [2/6]
fedora-extras [3/6]
updates [4/6]
freshrpms [5/6]
extras [6/6]
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for yumex to pack into transaction set.
yumex-1.0.3-3.0.fc5.noarc 100% |=========================| 21 kB 00:00
---> Package yumex.noarch 0:1.0.3-3.0.fc5 set to be updated
--> Running transaction check

Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
yumex noarch 1.0.3-3.0.fc5 fedora-extras 409 k

Transaction Summary
================================================== ===========================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 409 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): yumex-1.0.3-3.0.fc 100% |=========================| 409 kB 00:01
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: yumex ######################### [1/1]

Installed: yumex.noarch 0:1.0.3-3.0.fc5
Complete!
[root@0pt1mu5 dcy4pres]#

thank you guys for the help, i created my documents from desktop and edited them properly....
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: CONFIGURE YUM & YUMEX !
  #10 (permalink)  
Old 02-09-2007, 06:59 AM
325
 
Posts: n/a
Default Re: CONFIGURE YUM & YUMEX !

you might have to be loged in as the root user to modify some files.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with yumex nardi Yellow Dog Linux 2 05-13-2007 05:59 AM
Help With Comfiguring Yum and Yumex 882 Yellow Dog Linux 3 04-02-2007 05:55 PM
Mplayer mozilla plugin install problem with yum Chap Linux Applications 2 03-29-2007 03:09 PM
xmame on yumex? ntuj Yellow Dog Linux 2 03-19-2007 05:22 PM
yum problem in fedora core 5 SirFishouse Linux Applications 2 02-05-2007 11:05 AM



All times are GMT -5. The time now is 03:47 AM.

vB skin by: eXtremepixels
Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
 SEO by 3.0.0
© PS3Hax.com 2007 & 2008