Click to See Complete Forum and Search --> : urpmi (adding a media source)


jeisma
09-12-2005, 09:28 PM
hi!

on mdk10.1 official, i was tinkering with the media manager, this used to exist, Supplementary Applications CD4 (cdrom7), i changed some values (put in a proxy server), tried to save, it didnt accept, i removed the proxy values, dont want to save anymore. i tried to remove, and then add. failed. so i tried this:

urpmi.addmedia "Supplementary Applications CD4 (cdrom7)" removable://mnt/cdrom/media/main5 with ../../media/media_info/hdlist8.cz

and got this:

added medium Supplementary Applications CD4 (cdrom7)
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 3 (cdrom3).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Supplementary Applications CD 5 (cdrom8).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 2 (cdrom2).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 3 (cdrom6).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Commercial Applications CD 6 (cdrom10).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Commercial Applications CD 6 (cdrom9).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 1 (cdrom1).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 3 (cdrom5).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 3 (cdrom4).cz]
unable to access medium "Supplementary Applications CD4 (cdrom7)",
this could happen if you mounted manually the directory when creating the medium.
unable to update medium "Supplementary Applications CD4 (cdrom7)"

in the installation manager, i can no longer see some software i used to be able to add. i thought perhaps if i can add this cd 4 media source, perhaps i can install the way i used to, using the install software option.

help pls?

thanks!

cybertron
09-12-2005, 10:04 PM
Do you have the CD in the drive when you run that command? It needs to read the package list off of it before it can add it to the database.

jeisma
09-12-2005, 10:59 PM
hello!

i put in CD1 and it went fine. thanks! but..

when i go to software packages installation, and type in mySQL. it isnt listed. it used to be there when i lost cdrom 4 in the media manager.

what happened? anything else i need to update?


thank you!

cybertron
09-12-2005, 11:20 PM
Oops, I think you want to have CD4/cdrom7 (whichever number you want to use for it) in the drive when you do this. Having CD 1 in just re-added that with a different name, so the software on the other CD is still going to be missing. Try removing it and adding it again with the other CD in.

jeisma
09-12-2005, 11:44 PM
hello!

i did put in cd4 their, and i got this:

examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 3 (cdrom3).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Supplementary Applications CD 5 (cdrom8).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 2 (cdrom2).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 3 (cdrom6).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Commercial Applications CD 6 (cdrom10).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Commercial Applications CD 6 (cdrom9).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 1 (cdrom1).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 3 (cdrom5).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 3 (cdrom4).cz]
unable to access medium "Supplementary Applications CD4 (cdrom7)",
this could happen if you mounted manually the directory when creating the medium.
unable to update medium "Supplementary Applications CD4 (cdrom7)"

that's why i put the 1st cd.

how come the install/package list doesnt seem to be complete anymore?


thanks!

jeisma
09-12-2005, 11:53 PM
got it!

it should have been:

urpmi.addmedia "Supplementary Applications CD4 (cdrom7)" removable://mnt/cdrom/media/main4 with ../../media/media_info/hdlist7.cz

i opened /etc/urpmi/urpmi.cfg, i though something is not right.

thanks for your time man!


good day!!

cybertron
09-13-2005, 09:40 AM
Glad to hear you got it working. For future reference you can add media through the GUI too, so you don't have to figure out the rather long URPMI command that's needed to get everything working. I've found that way to be fairly simple - too bad I didn't think of it when I first read your post.:)