[Mageia-discuss] New install
Maarten Vanraes
alien at rmail.be
Tue Jan 10 21:16:15 CET 2012
Op dinsdag 10 januari 2012 04:12:10 schreef Morgan Leijström:
> urpmi-proxy: A short log of sucessful install.
> (Other feedback sent separately to author Maarten)
>
>
>
> Fetched urpmi-proxy-0.2.4-3.mga2.src.rpm
> But this system is mga1 x86_64, so as root:
>
> urpmi rpm-build
> urpmi --buildrequires file.src.rpm
> rpmbuild --rebuild file.src.rpm
> urpmi ~/rpmbuild/RPMS/noarch/file.rpm
i think you likely meant to put urpmi-proxy-0.2.4-3.mga2.src.rpm instead of
file.src.rpm :-)
> and it also installed apache and I started it
> In /etc/urpmi-proxy.conf I edited sources section to:
>
> $sources = [
> 'ftp://ftp.acc.umu.se/mirror/mageia',
> 'mirrorlist://$MIRRORLIST'
> ]
>
normally, if you want to use the urpmi-proxy on your server itself; you
shouldn't use mirrorlist:// or urpmi:// style sources. it may work now, if
your mirrorlist had been used before; but i'm not sure about this...
also, at this time, it's advisable to use a single mageia source, otherwise
you might end up with warnings like these:
Argument "2\n2" isn't numeric in numeric lt (<) at
/usr/lib/perl5/vendor_perl/5.12.3/MDV/Distribconf.pm line 416.
Argument "2\n2" isn't numeric in numeric ge (>=) at
/usr/lib/perl5/vendor_perl/5.12.3/MDV/Distribconf.pm line 532.
when you look at the client who fetches this, you'll see that the media.cfg
file in /etc/urpmi/media.d/*/media.cfg (or similar) has double results...
> And on both server and other machines:
>
> urpmi.removemedia -a
> urpmi.addmedia --distrib http://my.local.server.IP/mageia/distrib/1/x86_64
>
> ... and it works! :D
>
> If you get "curl exited with 28"
> you need to open ports, or shut down the firewall.
>
>
> Thanks again for this proxy!
> /Morgan Leijström
More information about the Mageia-discuss
mailing list