diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-June/016572.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-June/016572.html | 132 |
1 files changed, 132 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-June/016572.html b/zarb-ml/mageia-dev/2012-June/016572.html new file mode 100644 index 000000000..26ea6f6b8 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-June/016572.html @@ -0,0 +1,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é. + requête HTTP transmise, en attente de la ré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> + +==> definitely a problem, hence a 404. + +regards, +jérô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> |