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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] [patch] use urpmi without root privileges to just download packages
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bpatch%5D%20use%20urpmi%20without%20root%20privileges%20to%20just%0A%20download%20packages&In-Reply-To=%3C509D754F.8010504%40gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="019890.html">
<LINK REL="Next" HREF="019892.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] [patch] use urpmi without root privileges to just download packages</H1>
<B>Guillaume Rousse</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bpatch%5D%20use%20urpmi%20without%20root%20privileges%20to%20just%0A%20download%20packages&In-Reply-To=%3C509D754F.8010504%40gmail.com%3E"
TITLE="[Mageia-dev] [patch] use urpmi without root privileges to just download packages">guillomovitch at gmail.com
</A><BR>
<I>Fri Nov 9 22:27:43 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="019890.html">[Mageia-dev] [soft-commits] [6430] Do not mix tabs and spaces
</A></li>
<LI>Next message: <A HREF="019892.html">[Mageia-dev] [patch] use urpmi without root privileges to just download packages
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#19891">[ date ]</a>
<a href="thread.html#19891">[ thread ]</a>
<a href="subject.html#19891">[ subject ]</a>
<a href="author.html#19891">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Le 30/10/2012 15:41, Guillaume Rousse a écrit :
><i> Le 29/10/2012 20:43, Guillaume Rousse a écrit :
</I>>><i> Le 29/10/2012 16:00, Thierry Vignaud a écrit :
</I>>>><i> Together with --no-install, it's what you want.
</I>>><i> Indeed, excepted for two issues:
</I>>><i> - it won't warn the user about the unability to write into
</I>>><i> /var/cache/urpmi/rpms until the download start
</I>>><i> - it won't solve the 'you have to guess what I actually did' issue :/
</I>>><i>
</I>>><i> Could we have some kind of non-interactive, easy-to-parse,
</I>>><i> automation-dedicated output ?
</I>><i> I just tested the patches.
</I>><i>
</I>><i> The --download-dir option seems borken:
</I>><i>
</I>><i> [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">guillaume at beria</A> trunk]$ LC_ALL=C ./urpmi --no-install --download-dir
</I>><i> ~/tmp/ wine64
</I>><i> Unknown option: download-dir
</I>><i> No package named /home/guillaume/tmp/
</I>An error of mine while attempting to run it. However, the value of this
option is always ignored, in favor of the one generated from the call to
userdir(), which seems to be precisely made for downloading package
without root privileges, according to the comment:
#mdkonline uses userdir because it runs as user
So, do we really need this option, or could we assume than packages
downloaded without root privileges will aways end in
/tmp/.urpmi-<uid>/rpms ?
--
BOFH excuse #447:
According to Microsoft, it's by design
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="019890.html">[Mageia-dev] [soft-commits] [6430] Do not mix tabs and spaces
</A></li>
<LI>Next message: <A HREF="019892.html">[Mageia-dev] [patch] use urpmi without root privileges to just download packages
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#19891">[ date ]</a>
<a href="thread.html#19891">[ thread ]</a>
<a href="subject.html#19891">[ subject ]</a>
<a href="author.html#19891">[ 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>
|