Page 1 of 1

[solved]Installer ftp problem

PostPosted: Feb 2nd, '16, 13:02
by ozky
I host some packages from my drivehq ftp server. But i decided try to use them in dvd installer adding ftp server url i put it,it will ask i wan't to add more medias no it takes little time and push error to screen. I can even add that repo to my main install uset it, password protection is disabled.
I added few screenshots.
Code: Select all
can't call method get value on an undefined value

Code: Select all
urpmi.addmedia rpm ftp://ftp.drivehq.com/ozky/rpm99-1

rpm.png
rpm.png (90.7 KiB) Viewed 1982 times

rpm1.png
rpm1.png (85.32 KiB) Viewed 1982 times

rpm2.png
rpm2.png (18.29 KiB) Viewed 1982 times

Re: Installer ftp problem

PostPosted: Feb 2nd, '16, 17:28
by doktor5000
AFAIU you cannot use custom repositories, installer expects a mirror structure. You could use auto_inst.cfg.pl to add your custom repo.

Re: Installer ftp problem

PostPosted: Feb 2nd, '16, 17:35
by ozky
Ok i didn't find this from our wiki documentions,i didn't find any repositories from auto_inst.cfg.pl not from installed system file or documentions how to add them to that file.

Re: Installer ftp problem

PostPosted: Feb 2nd, '16, 18:44
by doktor5000
You could always add it in postInstall, no? https://wiki.mageia.org/en/Auto_inst#po ... ostInstall

Re: Installer ftp problem

PostPosted: Feb 2nd, '16, 18:52
by doktor5000
A different alternative would be using urpmi-proxy and pointing to the proxy as your normal mirror. On that you can add custom repos, see the type "file" in the documentation: https://wiki.mageia.org/en/Urpmi-proxy# ... on_file.3F and further down https://wiki.mageia.org/en/Urpmi-proxy# ... to_this.3F
[ thanks to Marten for pointing this out :) ]

Re: Installer ftp problem

PostPosted: Feb 2nd, '16, 19:34
by ozky
I think would be better to use them from installed system it get too complicated,i will add solved tag.

Re: [solved]Installer ftp problem

PostPosted: Feb 3rd, '16, 00:08
by doktor5000
Installer should use a repo from installed system, how should that go about?

Re: [solved]Installer ftp problem

PostPosted: Feb 3rd, '16, 09:00
by ozky
How that works ? sound good to me.

Re: [solved]Installer ftp problem

PostPosted: Feb 3rd, '16, 09:16
by doktor5000
Sorry your answer makes no sense. Either you didn't get my reply, or you didn't think about this. If you install a system, how should the installer use a repo, from the system that is just getting installed?

Whatever.

Re: Installer ftp problem

PostPosted: Feb 3rd, '16, 09:24
by ozky
ozky wrote:I think would be better to use them from installed system it get too complicated,i will add solved tag.

Little misunderstand i just have wake up. I try to say that i can install those packages manually to installed system adding it with urpmi,then from rpmdragora or rpmdrake install them.