DVD repo

YDL running on the Sony Playstation 3

Moderator: billb

DVD repo

Postby kengreen » 08 May 2008, 01:36

I don't have broadband but have in the past edited the yum.repo.d files to allow installing new software from the DVD. I don't have those instructions anymore since openSUSE updates from the DVD automatically. If someone could post the instructions again, I would appreciate it.
kengreen
ydl lover
ydl lover
 
Posts: 76
Joined: 08 May 2008, 01:22
Location: arkansas

Re: DVD repo

Postby billb » 08 May 2008, 22:43

kengreen wrote:I don't have broadband but have in the past edited the yum.repo.d files to allow installing new software from the DVD. I don't have those instructions anymore since openSUSE updates from the DVD automatically. If someone could post the instructions again, I would appreciate it.


This may need a bit of editing, and these instructions are ONLY for users without internet access who want to use the DVD. These instructions were from Owen @ Terrasoft (I didn't come up with any of it ... :D). I haven't tried this recently so it may not all be correct.


1) Copy the contents of the DVD to the HD

cp -a /media/DVD/ /srv/ydl6 [ENTER]

Assuming /media/DVD is where the DVD is mounted.

2) Configure yum, first removing the current repos files

rm -f /etc/yum.repos.d/* [ENTER]

And then edit /etc/yum.conf, first change gpgcheck=1 to gpgcheck=0
(not all of the RPMS are signed) and then add the following at the
end of the file.

Code: Select all
[ydl6]
name=YDL 6.0 Local Repository
baseurl=file:///srv/ydl6/


3) Change to the folder where you copied the files from the YDL DVD:

cd /srv/ydl6

And enter these commands:

cp repodata/comps-ydl.xml YellowDog
createrepo -g YellowDog/comps-ydl.xml .


Then use yum or Add/Remove Software normally.
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
User avatar
billb
Site Admin
Site Admin
 
Posts: 5222
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Postby kengreen » 10 May 2008, 18:29

Directions worked. Thanks.
kengreen
ydl lover
ydl lover
 
Posts: 76
Joined: 08 May 2008, 01:22
Location: arkansas

Re: DVD repo

Postby kengreen » 29 Jul 2008, 17:15

By the way, before I didn't delete the old repo files, I copied them to another location so that I can restore them if I later get broadband.
kengreen
ydl lover
ydl lover
 
Posts: 76
Joined: 08 May 2008, 01:22
Location: arkansas

Re: DVD repo

Postby Flavio Oliveira » 18 Nov 2008, 19:11

Hi, someone can help-me?

I'm beginner on linux, and i want to configure the ydl for instal and remove programs from ydl 6.0 DVD, because i don't have an internet acess in my home.
So i follow these steps:
******************************************************
1 Copy the contents of the DVD to the HD
cp -a /media/DVD/ /srv/ydl6 [ENTER]
Assuming /media/DVD is where the DVD is mounted.
2) Configure yum, first removing the current repos files
rm -f /etc/yum.repos.d/* [ENTER]
And then edit /etc/yum.conf, first change gpgcheck=1 to gpgcheck=0
(not all of the RPMS are signed) and then add the following at the
end of the file.
[ydl6]
name=YDL 6.0 Local Repository
baseurl=file:///srv/ydl6/
3) Change to the folder where you copied the files from the YDL DVD:
cd /srv/ydl6
And enter these commands:
cp repodata/comps-ydl.xml YellowDog
createrepo -g YellowDog/comps-ydl.xml .
*******************************************************

So, i do this as root in text mode:
cp -a /media/DVD/ /srv/ydl6 [ENTER]
then appear a message like this: no directory found.

There are some new tutorial to do this? Because i cannot make the ydl instal programs from YDL DVD.
Flavio Oliveira
ydl newbie
ydl newbie
 
Posts: 1
Joined: 18 Nov 2008, 17:50

Re: DVD repo

Postby billb » 18 Nov 2008, 20:55

Flavio Oliveira wrote:So, i do this as root in text mode:
cp -a /media/DVD/ /srv/ydl6 [ENTER]
then appear a message like this: no directory found.

There are some new tutorial to do this? Because i cannot make the ydl instal programs from YDL DVD.


You need to create the directories first, like this:

Code: Select all
su -c 'mkdir -p /srv/ydl6'

(if you're not logged in as root it will ask for your root password)

Also, you'll need to install createrepo from the YDL 6 DVD ... there may be an easier way to do this just using the YDL 6.0 DVD without copying the files to your hard drive ... will have to check it first, though. Unless Paul happens to see this and checks it first ... :P
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
User avatar
billb
Site Admin
Site Admin
 
Posts: 5222
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: DVD repo

Postby ppietro » 19 Nov 2008, 00:17

billb wrote:Also, you'll need to install createrepo from the YDL 6 DVD ... there may be an easier way to do this just using the YDL 6.0 DVD without copying the files to your hard drive ... will have to check it first, though. Unless Paul happens to see this and checks it first ... :P


BAM --- CHECK IT!!!!!!!!

(Okay - I don't have my disc in front of me - so this post may get revised tonight. I'm working from an ISO image, though, so it should be close.)

Using a DVD instead of on-line repos
-------------------------------------------
1. Disable your default repos - yellowdog-base, yellowdog-extra, yellowdog-update - by changing to the /etc/yum.repos.d directory, and adding the line enabled=0 to each of the files.
2. In the same /etc/yum.repos.d directory, create a new file called yellowdog-dvd.repo and add the following content:
Code: Select all
[ydl6.0dvd]
name=YDL 6.0 Local Repository
baseurl=file:///media/%22YDL%206.0%20ppc%20DVD%22/
gpgcheck=0
enabled=1

3. Execute the following command yum clean all
4. Put the YellowDog 6.0 DVD in the drive and automount it.

If you manually mount the drive, you'll have to edit the baseurl parameter above to reflect the new mount point.

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

Re: DVD repo

Postby kengreen » 30 Dec 2008, 18:07

I tried adding a yellowdog-dvd.repo as suggested for YDL 6.1, changing 6.0 to 6.1 of course. However, yum can't find the repo. When I automount the YDL 6.1 DVD, it mounts in /media with the YellowDog folder containing all of the .rpm's . I have tried editing the mount point to file:///media/%22YellowDog%22/ but yum and pirut still can't find the repo. Any suggestions
kengreen
ydl lover
ydl lover
 
Posts: 76
Joined: 08 May 2008, 01:22
Location: arkansas

Re: DVD repo

Postby ppietro » 30 Dec 2008, 18:27

kengreen wrote:I tried adding a yellowdog-dvd.repo as suggested for YDL 6.1, changing 6.0 to 6.1 of course. However, yum can't find the repo. When I automount the YDL 6.1 DVD, it mounts in /media with the YellowDog folder containing all of the .rpm's . I have tried editing the mount point to file:///media/%22YellowDog%22/ but yum and pirut still can't find the repo. Any suggestions


The best thing to do is use the exact name of the 6.1 volume, as shown by the df -k command after the volume has been automounted. You'll have to convert the spaces and other weird characters with the %22 & %20 stuff I used above, but it will work.

I'll post an exact link when I get home, but I've used this with 6.1 before.

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

Re: DVD repo

Postby kengreen » 31 Dec 2008, 19:47

Got it to work.
kengreen
ydl lover
ydl lover
 
Posts: 76
Joined: 08 May 2008, 01:22
Location: arkansas

Re: DVD repo

Postby bonedome » 11 Feb 2009, 00:13

Hello
one of my colleagues at work burnt me the ydl 6.1 dvd, but it, for some reason doesn't have the otheros boot file so can't install 6.1 :( it is 3.7 GBs so I presume all the files are on it, I've just been trying to use it as a repo but am having no luck.
I've disabled all my repos and created yellowdog-dvd.repo and pasted this in it
Code: Select all
[ydl6.1dvd]
name=YDL 6.1 Local Repository
baseurl=file:///media/200902081104
gpgcheck=0
enabled=1
the /media/200902081104 is what I got from the df -k command, then yum clean all.
and this is the output of yum list
Code: Select all
[root@localhost ~]# yum list
Loading "protectbase" plugin
Loading "installonlyn" plugin
file:///media/200902081104/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/media/200902081104/repodata/repomd.xml'
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: ydl6.1dvd
maybe the dvd's just corrupted or something or have I missed out a step, I'm very tired, anyone seen my violin :lol:
60Gb ps3 otheros awol. currently playing:bad company and farcry 2 again (seeing how far I can get using permadeath principle)update: regretfully Warren Clyde was involved in a shootout south of Pala and killed when he was hit by a land rover. RIP Warren
User avatar
bonedome
ydl guru
ydl guru
 
Posts: 748
Joined: 07 Aug 2008, 16:03
Location: uk

Re: DVD repo

Postby ppietro » 11 Feb 2009, 01:11

bonedome wrote:Hello
one of my colleagues at work burnt me the ydl 6.1 dvd, but it, for some reason doesn't have the otheros boot file so can't install 6.1 :( it is 3.7 GBs so I presume all the files are on it, I've just been trying to use it as a repo but am having no luck.


It could be burned wrong.

You can open the disc on a PC or Mac and look at it. If the disc consists of one 3.7 gig file, ending in ISO, it's not burned correctly. It should have a number of files and subdirectories on it - and they should be viewable from Windows/Mac computers.

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

Re: DVD repo

Postby bonedome » 15 Feb 2009, 01:19

Hello
you can also read the disc with ydl :D mount the dvd and open with archive manager, here's what I get
Screenshot.png
(101.5 KiB) Downloaded 19 times
if you open "yellowdog" you get 1'000s of rpms
Screenshot-1.png
(160.19 KiB) Downloaded 10 times
open ps3/otheros
Screenshot-3.png
(66.22 KiB) Downloaded 7 times
and images file has a 34.1 MB raw cd image called boot.iso, is this what everyone else gets ? it still refuses to be recognised in the xmb and I can't get it to work as a repo but as you can see all the packages are there, maybe I could get yum to look for updates in that /yellowdog folder, it's gone midnight so tomorrow sounds like a good idea :lol:
60Gb ps3 otheros awol. currently playing:bad company and farcry 2 again (seeing how far I can get using permadeath principle)update: regretfully Warren Clyde was involved in a shootout south of Pala and killed when he was hit by a land rover. RIP Warren
User avatar
bonedome
ydl guru
ydl guru
 
Posts: 748
Joined: 07 Aug 2008, 16:03
Location: uk

Re: DVD repo

Postby ppietro » 15 Feb 2009, 01:58

bonedome wrote:Hello
you can also read the disc with ydl :D mount the dvd and open with archive manager


Yup - that's burned wrong. The disc needs to be created from the ISO - not contain a single ISO. The fact that you have to use archive manager to open it proves it's wrong.

Basically - what you show in your first screenshot is what you should see when you mount the disc.

ISOs are not a simple archive like a .ZIP file. They are a complete snapshot of a CD-ROM - including boot sectors, partition maps and other things that won't show up in Archive Manager.

Go back to your friend, and have them try IMGBURN to create the disc. Use the "write image to disc" option.

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

Re: DVD repo

Postby bonedome » 15 Feb 2009, 15:00

Hello
yeah I figured as much, but as an experiment I installed totem and the totem plugin from the yellowdog folder (from the dvd) and to my surprise it worked. Only another 500 packages to go :lol: I might install the 6.1 kernel though (till I can get a good 6.1dvd) see if I can enable some vram as swap for the time being.
60Gb ps3 otheros awol. currently playing:bad company and farcry 2 again (seeing how far I can get using permadeath principle)update: regretfully Warren Clyde was involved in a shootout south of Pala and killed when he was hit by a land rover. RIP Warren
User avatar
bonedome
ydl guru
ydl guru
 
Posts: 748
Joined: 07 Aug 2008, 16:03
Location: uk

Next

Return to Playstation 3

Who is online

Users browsing this forum: MSN [Bot] and 10 guests