PS3 Hacks

#1 Spot for PS3 Hacks

Home | PS3 News | PS3 Hacks | PS3 Downloads | PS3 Saves

Folding@home | PS3-Hacks Live Chat | PS3 Reviews | Contact Us


You are not logged in.

  • Index
  •  » Linux
  •  » Getting Yum to run on your PS3 YDL...

#1  2007-01-16 03:44:46

niktaw
PS3 Hacks SHOTOKAN
Registered: 2006-11-25
Posts: 171

Getting Yum to run on your PS3 YDL...

this took me a while to figure out, so i figured i would write a small tutorial for it.  basically i couldn't do anything with linux until i got my bluetooth mouse to work, and i couldn't get my mouse to work until i installed the bluetooth packages using Yum.  Unfortunately, Terrasoft messed up some of the code and Yum won't work until you make some changes.  So consequently this tutorial will involve no mouse, just a keyboard.  Yes i know you can do this through the GUI, but like i said, i don't have a working mouse.

first of all, this tutorial assumes you have a working install of YDL on your PS3, and you can start it up.  if you're not there yet then obviously you have no use for Yum so this doesn't apply to you.

1.  from the GUI, press CTRL+ALT+F1 to get to the command line.

2.  at the command line, you will need to log in as 'root' to gain the priveledges needed to edit some files.  login = root, password = whatever your password is.

3.  time to edit some files.  first of all BE CAREFUL!  the root login is VERY powerful; you can edit virtually any file, which means it is VERY easy to screw something up and make your YDL unbootable.  ONLY SAVE AFTER YOU HAVE DOUBLE CHECKED EVERYTHING.  Also, there are many text editors out there, but for this tutorial we will use Vim.  it's pretty easy to use and the color coding is helpful..OK, now onto the meat and potatos:

4.  type:   vim /etc/yum.repos.d       
              this will get you to a text screen, where you will see 3 files:
                                  1.  yellowdog-base.repo
                                  2.  yellowdog-extras.repo
                                  3.  yellowdog-updates.repo

there are inherant errors in the coding of each of these 3 files that will cause your Yum not to work right out of the box.  You will fix the same errors in each of the 3. 

5.  navigate down to the first file (yellowdog-base.repo) using the arrow keys and press ENTER on it.  you should now be looking at the file.

6.  if you are using vim, you will notice the line that starts with #baseurl=http//.....  is bright blue in color.  the reason for this is the # at the beginning.  that little pound sign renders that line useless.  it is used for writing notes in the code or other things that you do not want to impact your coding.  you need to remove that # for Yum to work.  navigate down to it and move to one space to the right of it. 

7.  Press INSERT once, then press DELETE.  Presto, its gone!  Now you must press ESC to exit editing mode.  before you save and exit, note that at the top of the file you see:   [base]    this is important as we move to the next file. 

8.  hold SHIFT and press Z twice to save your changes and exit.  you should be back to the command line.

9.  again, type     vim /etc/yum.repos.d     

10.  this time go down to the second file,  yellowdog-extras.repo   and press ENTER on it.

11.  first off, you will need to delete the same # as on the previous file.  Refer to steps 6 and 7 to do this.

12.  next, notice at the top you again see   [base]   .  this is not the base file though, this is the extras file.  you need to delete the [base]  and put  [extras]  in its place.  again navigate to the space just to the right of [base], hit INSERT, then press DELETE until [base] is completely gone.  then type:  [extras]   

13.  next, hit ESC to exit editting mode, then hold SHIFT and press Z twice to save changes and exit.

14.  repeat steps 9-13 on the updates file, except instead of replacing [base] with [extras], you will replace it with [updates], since it is the updates file.


Congratulations!  Your Yum should now be fully functional, and you now have access to thousands of great updates for your YDL!

Offline

 

#2  2007-01-17 19:06:17

Faesthetic
PS3 Newbie In Training
Registered: 2007-01-12
Posts: 9

Re: Getting Yum to run on your PS3 YDL...

So will this work on Fedora Core 5? Because I cant get Yum to work on that either...

Offline

 

#3  2007-01-17 21:19:15

niktaw
PS3 Hacks SHOTOKAN
Registered: 2006-11-25
Posts: 171

Re: Getting Yum to run on your PS3 YDL...

i have no idea if it applies to FC5.  i would asume both are very similar, but i think this problem was just a mistake on Terrsoft's part when they wrote some of the config files for YDL.

Offline

 
  • Index
  •  » Linux
  •  » Getting Yum to run on your PS3 YDL...
Home | PS3 News | PS3 Hacks | PS3 Downloads | PS3 Saves

Folding@home | PS3-Hacks Live Chat | PS3 Reviews | Contact Us


Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB