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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
|
<!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=%3C2551456.5o777YUHJf%40localhost%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="016572.html">
<LINK REL="Next" HREF="016576.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=%3C2551456.5o777YUHJf%40localhost%3E"
TITLE="[Mageia-dev] bug in urpmi-proxy">alien at rmail.be
</A><BR>
<I>Sun Jun 17 17:28:43 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="016572.html">[Mageia-dev] bug in urpmi-proxy
</A></li>
<LI>Next message: <A HREF="016576.html">[Mageia-dev] bug in urpmi-proxy
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16573">[ date ]</a>
<a href="thread.html#16573">[ thread ]</a>
<a href="subject.html#16573">[ subject ]</a>
<a href="author.html#16573">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Op zondag 17 juni 2012 13:18:57 schreef Jerome Quelin:
><i> hi,
</I>><i>
</I>><i> since nowhere is specified where to report bug for urpmi-proxy, i'll
</I>><i> send a mail to the list.
</I>><i>
</I>><i> i always get 404 errors when trying to fetch a file. my tests are
</I>><i> performed with the following command:
</I>><i>
</I>><i> $ wget -O-
</I>><i> <A HREF="http://127.0.0.1/mageia/distrib/cauldron/i586/media/core/release/media_info">http://127.0.0.1/mageia/distrib/cauldron/i586/media/core/release/media_info</A>
</I>><i> /MD5SUM --2012-06-17 13:18:00--
</I>><i> <A HREF="http://127.0.0.1/mageia/distrib/cauldron/i586/media/core/release/media_info">http://127.0.0.1/mageia/distrib/cauldron/i586/media/core/release/media_info</A>
</I>><i> /MD5SUM Connexion vers 127.0.0.1:80...connecté.
</I>><i> requête HTTP transmise, en attente de la réponse...404 Not Found
</I>><i> 2012-06-17 13:18:00 ERREUR 404: Not Found.
</I>><i>
</I>><i>
</I>><i> here is my config file, trimmed to show only active lines:
</I>><i>
</I>><i> # perl -nE 'print unless /^($|#)/' /etc/urpmi-proxy.conf
</I>><i> $sources = [
</I>><i> '<A HREF="http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia">http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia</A>',
</I>><i> ];
</I>><i> $debug = 1;
</I>><i>
</I>><i>
</I>><i> first, setting $debug = 1 doesn't make urpmi-proxy debug logs to go in
</I>><i> /var/log/httpd/error_log. it would be wise to have all debug go
</I>><i> somewhere else, either in messages or even in a private urpmi-proxy log
</I>><i> file.
</I>><i>
</I>><i> so, i've used some printing to tmp file to get some more information.
</I>><i> and i found that at line 310, urpmi-proxy is using $source . $file as
</I>><i> the url of the file to fetch with curl. however, printing this source
</I>><i> shows the following url:
</I>><i>
</I>><i>
</I>><i> <A HREF="http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/i58">http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/i58</A>
</I>><i> 6/media/core/release/distrib/cauldron/i586/media/core/release/media_info/MD5
</I>><i> SUM
</I>><i>
</I>><i> ==> definitely a problem, hence a 404.
</I>><i>
</I>><i> regards,
</I>><i> jérôme
</I>
you can make a bug report on bugs.mageia.org though, np about that.
$debug =1 should have your logs into wherever apache logs, though.
since i've used it dozens of times on various platforms (except for cauldron),
i think maybe there's something wrong.
you are using apache? on mga1 or mga2? or another distro? are you using
mod_php or fcgi? i didn't test with fcgi though...
can you look into this a bit more? i'd like to find out where all this
strangeness comes from.
the debug logs are just error_log() calls, so...
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="016572.html">[Mageia-dev] bug in urpmi-proxy
</A></li>
<LI>Next message: <A HREF="016576.html">[Mageia-dev] bug in urpmi-proxy
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16573">[ date ]</a>
<a href="thread.html#16573">[ thread ]</a>
<a href="subject.html#16573">[ subject ]</a>
<a href="author.html#16573">[ 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>
|