summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-June/016576.html
blob: 9c84f451ddd2348d2cd27c6c277ace9031d81615 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] bug in urpmi-proxy
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20bug%20in%20urpmi-proxy&In-Reply-To=%3C11466301.b8Rhdl8Y3s%40localhost%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="016573.html">
   <LINK REL="Next"  HREF="016631.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] bug in urpmi-proxy</H1>
    <B>AL13N</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20bug%20in%20urpmi-proxy&In-Reply-To=%3C11466301.b8Rhdl8Y3s%40localhost%3E"
       TITLE="[Mageia-dev] bug in urpmi-proxy">alien at rmail.be
       </A><BR>
    <I>Sun Jun 17 20:15:50 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="016573.html">[Mageia-dev] bug in urpmi-proxy
</A></li>
        <LI>Next message: <A HREF="016631.html">[Mageia-dev] bug in urpmi-proxy
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#16576">[ date ]</a>
              <a href="thread.html#16576">[ thread ]</a>
              <a href="subject.html#16576">[ subject ]</a>
              <a href="author.html#16576">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Op zondag 17 juni 2012 17:28:43 schreef AL13N:
&gt;<i> Op zondag 17 juni 2012 13:18:57 schreef Jerome Quelin:
</I>[...]
&gt;<i> &gt; first, setting $debug = 1 doesn't make urpmi-proxy debug logs to go in
</I>&gt;<i> &gt; /var/log/httpd/error_log. it would be wise to have all debug go
</I>&gt;<i> &gt; somewhere else, either in messages or even in a private urpmi-proxy log
</I>&gt;<i> &gt; file.
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; so, i've used some printing to tmp file to get some more information.
</I>&gt;<i> &gt; and i found that at line 310, urpmi-proxy is using $source . $file as
</I>&gt;<i> &gt; the url of the file to fetch with curl. however, printing this source
</I>&gt;<i> &gt; shows the following url:
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; <A HREF="http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/i5">http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/i5</A>
</I>&gt;<i> &gt; 8
</I>&gt;<i> &gt; 6/media/core/release/distrib/cauldron/i586/media/core/release/media_info/M
</I>&gt;<i> &gt; D5 SUM
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; ==&gt; definitely a problem, hence a 404.
</I>[...]

that shouldn't be true, it should be
$file = '/distrib/cauldron/i586/media/core/release/media_info/MD5SUM';
$source = '<A HREF="http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia">http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia</A>';

why there is a extra /distrib/cauldron/i586/media/core/release is a bit of a 
mystery here...

but the fact that your debug logging isn't appearing in the apache error logs 
is even weirder...

of course, you're a perl wizard, so you likely know more about this than 
myself :-)
</PRE>





































<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="016573.html">[Mageia-dev] bug in urpmi-proxy
</A></li>
	<LI>Next message: <A HREF="016631.html">[Mageia-dev] bug in urpmi-proxy
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#16576">[ date ]</a>
              <a href="thread.html#16576">[ thread ]</a>
              <a href="subject.html#16576">[ subject ]</a>
              <a href="author.html#16576">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>