[solved]Installer ftp problem

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[solved]Installer ftp problem

Postby ozky » Feb 2nd, '16, 13:02

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 1981 times

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

rpm2.png
rpm2.png (18.29 KiB) Viewed 1981 times
Last edited by ozky on Feb 2nd, '16, 19:35, edited 1 time in total.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Installer ftp problem

Postby doktor5000 » Feb 2nd, '16, 17:28

AFAIU you cannot use custom repositories, installer expects a mirror structure. You could use auto_inst.cfg.pl to add your custom repo.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installer ftp problem

Postby ozky » Feb 2nd, '16, 17:35

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.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Installer ftp problem

Postby doktor5000 » Feb 2nd, '16, 18:44

You could always add it in postInstall, no? https://wiki.mageia.org/en/Auto_inst#po ... ostInstall
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installer ftp problem

Postby doktor5000 » Feb 2nd, '16, 18:52

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 :) ]
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installer ftp problem

Postby ozky » Feb 2nd, '16, 19:34

I think would be better to use them from installed system it get too complicated,i will add solved tag.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: [solved]Installer ftp problem

Postby doktor5000 » Feb 3rd, '16, 00:08

Installer should use a repo from installed system, how should that go about?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [solved]Installer ftp problem

Postby ozky » Feb 3rd, '16, 09:00

How that works ? sound good to me.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: [solved]Installer ftp problem

Postby doktor5000 » Feb 3rd, '16, 09:16

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installer ftp problem

Postby ozky » Feb 3rd, '16, 09:24

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.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest