summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-June/016572.html
blob: 26ea6f6b8ee0f5db700ffa6b5f9b18c53bf7b74f (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
126
127
128
129
130
131
132
<!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=%3C20120617111857.GB18201%40mongueurs.net%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="016691.html">
   <LINK REL="Next"  HREF="016573.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] bug in urpmi-proxy</H1>
    <B>Jerome Quelin</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20bug%20in%20urpmi-proxy&In-Reply-To=%3C20120617111857.GB18201%40mongueurs.net%3E"
       TITLE="[Mageia-dev] bug in urpmi-proxy">jquelin at gmail.com
       </A><BR>
    <I>Sun Jun 17 13:18:57 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="016691.html">[Mageia-dev] gstreamer0.10-faac - package request
</A></li>
        <LI>Next message: <A HREF="016573.html">[Mageia-dev] bug in urpmi-proxy
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#16572">[ date ]</a>
              <a href="thread.html#16572">[ thread ]</a>
              <a href="subject.html#16572">[ subject ]</a>
              <a href="author.html#16572">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>hi,

since nowhere is specified where to report bug for urpmi-proxy, i'll
send a mail to the list.

i always get 404 errors when trying to fetch a file. my tests are
performed with the following command:

    $ wget -O- <A HREF="http://127.0.0.1/mageia/distrib/cauldron/i586/media/core/release/media_info/MD5SUM">http://127.0.0.1/mageia/distrib/cauldron/i586/media/core/release/media_info/MD5SUM</A> 
    --2012-06-17 13:18:00-- <A HREF="http://127.0.0.1/mageia/distrib/cauldron/i586/media/core/release/media_info/MD5SUM">http://127.0.0.1/mageia/distrib/cauldron/i586/media/core/release/media_info/MD5SUM</A>
    Connexion vers 127.0.0.1:80...connect&#233;.
    requ&#234;te HTTP transmise, en attente de la r&#233;ponse...404 Not Found
    2012-06-17 13:18:00 ERREUR 404: Not Found.


here is my config file, trimmed to show only active lines:

    # perl -nE 'print unless /^($|#)/' /etc/urpmi-proxy.conf
    $sources = [
            '<A HREF="http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia">http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia</A>',
    ];
    $debug = 1;


first, setting $debug = 1 doesn't make urpmi-proxy debug logs to go in
/var/log/httpd/error_log. it would be wise to have all debug go
somewhere else, either in messages or even in a private urpmi-proxy log
file.

so, i've used some printing to tmp file to get some more information.
and i found that at line 310, urpmi-proxy is using $source . $file as
the url of the file to fetch with curl. however, printing this source
shows the following url:

    <A HREF="http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/i586/media/core/release/distrib/cauldron/i586/media/core/release/media_info/MD5SUM">http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/i586/media/core/release/distrib/cauldron/i586/media/core/release/media_info/MD5SUM</A>

==&gt; definitely a problem, hence a 404.

regards,
j&#233;r&#244;me 
</PRE>






































<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="016691.html">[Mageia-dev] gstreamer0.10-faac - package request
</A></li>
	<LI>Next message: <A HREF="016573.html">[Mageia-dev] bug in urpmi-proxy
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#16572">[ date ]</a>
              <a href="thread.html#16572">[ thread ]</a>
              <a href="subject.html#16572">[ subject ]</a>
              <a href="author.html#16572">[ 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>