diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-June/016573.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-June/016573.html | 156 |
1 files changed, 156 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-June/016573.html b/zarb-ml/mageia-dev/2012-June/016573.html new file mode 100644 index 000000000..0dc3b1f14 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-June/016573.html @@ -0,0 +1,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> |