Discussion:
[Bug 201] show error on invalid media.cfg
Michael Scherer
2011-04-28 09:12:07 UTC
Permalink
https://bugs.mageia.org/show_bug.cgi?id=201

Michael Scherer <misc-QFiJtcdG+***@public.gmane.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|urpmi perl warnings |show error on invalid
| |media.cfg
Severity|minor |enhancement
Priority|Normal |Low
CC| |misc-QFiJtcdG+***@public.gmane.org
Blocks|56 |
--
Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Marja van Waes
2011-09-25 18:15:48 UTC
Permalink
https://bugs.mageia.org/show_bug.cgi?id=201

Marja van Waes <m.van.waes-qWit8jRvyhVmR6Xm/***@public.gmane.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |m.van.waes-qWit8jRvyhVmR6Xm/***@public.gmane.org

--- Comment #21 from Marja van Waes <m.van.waes-qWit8jRvyhVmR6Xm/***@public.gmane.org> 2011-09-25 20:15:47 CEST ---
@ AL13N

Is this solved in current cauldron?
--
Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
AL13N
2011-09-26 06:43:01 UTC
Permalink
https://bugs.mageia.org/show_bug.cgi?id=201

--- Comment #22 from AL13N <alien-***@public.gmane.org> 2011-09-26 08:43:01 CEST ---
afaik, it isn't. no response from maintainers about this patch, if it's wanted
or not.
--
Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Thierry Vignaud
2011-09-26 07:49:07 UTC
Permalink
https://bugs.mageia.org/show_bug.cgi?id=201

Thierry Vignaud <thierry.vignaud-***@public.gmane.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PATCH
--
Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Manuel Hiebel
2011-10-25 10:02:30 UTC
Permalink
https://bugs.mageia.org/show_bug.cgi?id=201

Manuel Hiebel <manuel-XA19kHydqdCHXe+***@public.gmane.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |jquelin-***@public.gmane.org

--- Comment #23 from Manuel Hiebel <manuel-XA19kHydqdCHXe+***@public.gmane.org> 2011-10-25 12:02:30 CEST ---
Jérôme, something for you ?
--
Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Jerome Quelin
2011-10-25 10:58:04 UTC
Permalink
https://bugs.mageia.org/show_bug.cgi?id=201

--- Comment #24 from Jerome Quelin <jquelin-***@public.gmane.org> 2011-10-25 12:58:04 CEST ---
no, this is about urpmi internals - so it's more for thierry. that would be me
if there was a packaging problem.
--
Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Manuel Hiebel
2011-10-25 11:10:06 UTC
Permalink
https://bugs.mageia.org/show_bug.cgi?id=201

Manuel Hiebel <manuel-XA19kHydqdCHXe+***@public.gmane.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Keywords|NEEDINFO |
CC|jquelin-***@public.gmane.org |

--- Comment #25 from Manuel Hiebel <manuel-XA19kHydqdCHXe+***@public.gmane.org> 2011-10-25 15:10:06 CEST ---
Ah ok sorry.
--
Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Morgan Leijström
2012-01-27 23:21:26 UTC
Permalink
https://bugs.mageia.org/show_bug.cgi?id=201

--- Comment #26 from Morgan Leijström <fri-w5jRvT6KJD2HXe+***@public.gmane.org> 2012-01-28 00:21:26 CET ---
Created attachment 1446
--> https://bugs.mageia.org/attachment.cgi?id=1446
/etc/urpmi/mediacfg.d/Official-1-x86_64/media.cfg
--
Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Morgan Leijström
2012-01-27 23:22:10 UTC
Permalink
https://bugs.mageia.org/show_bug.cgi?id=201

Morgan Leijström <fri-w5jRvT6KJD2HXe+***@public.gmane.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |fri-w5jRvT6KJD2HXe+***@public.gmane.org

--- Comment #27 from Morgan Leijström <fri-w5jRvT6KJD2HXe+***@public.gmane.org> 2012-01-28 01:22:10 CET ---
I have the same problem, i.e:

# urpmi --auto-update
Argument "2\n2" isn't numeric in numeric lt (<) at
/usr/lib/perl5/vendor_perl/5.12.3/MDV/Distribconf.pm line 265.
Argument "2\n2" isn't numeric in numeric ge (>=) at
/usr/lib/perl5/vendor_perl/5.12.3/MDV/Distribconf.pm line 532, <$URLS> line 1.
Argument "2\n2" isn't numeric in numeric ge (>=) at
/usr/lib/perl5/vendor_perl/5.12.3/MDV/Distribconf.pm line 532, <$URLS> line 1.
Argument "2\n2" isn't numeric in numeric ge (>=) at
/usr/lib/perl5/vendor_perl/5.12.3/MDV/Distribconf.pm line 532, <$URLS> line 1.
etc, etc

same if i call drakrpm

The only unusual thing i remember i have done is i once remove all media and
then added them again (this time pointing to my urpmi-proxy machine)

This is on mga1, so it is probably on both mga1 and cauldron according to
above, but i refrain from adding a separate bug for now.

I attached my /etc/urpmi/mediacfg.d/Official-1-x86_64/media.cfg
--
Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
AL13N
2012-01-28 07:19:52 UTC
Permalink
https://bugs.mageia.org/show_bug.cgi?id=201

--- Comment #28 from AL13N <alien-***@public.gmane.org> 2012-01-28 08:19:51 CET ---
As you can see in the attachment. there are 2 [media_info] sections.

This is due to having 2 sources listed in urpmi-proxy. atm this is still
unsupported. The fallback mechanism isn't good yet.

So people using urpmi-proxy, please read https://wiki.mageia.org/en/Urpmi-proxy
and not configure 2 sources atm.

The patch I made in comment 20 would show a better warning, but it's still not
applied...

So Morgan, for now you'll have to just use only 1 source, until i find some
time to implement dual source fallback.

in the mean time, i'd like it if this patch would be applied...
--
Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Loading...