summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-09 17:56:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-09 17:56:56 +0000
commitdd34c6b3190f6ed72e482c397e957b41f5d60fb3 (patch)
treeb89b547d1ed424432035fbd5d15b0dfc65591c77
parent23189a0d8a4980d3db3d3ebae8c7536ec47ce084 (diff)
downloadurpmi-dd34c6b3190f6ed72e482c397e957b41f5d60fb3.tar
urpmi-dd34c6b3190f6ed72e482c397e957b41f5d60fb3.tar.gz
urpmi-dd34c6b3190f6ed72e482c397e957b41f5d60fb3.tar.bz2
urpmi-dd34c6b3190f6ed72e482c397e957b41f5d60fb3.tar.xz
urpmi-dd34c6b3190f6ed72e482c397e957b41f5d60fb3.zip
- urpmi
o fix --parallel on local media (ie when synthesis.cz is not copied to /var/lib/urpmi)
-rw-r--r--NEWS1
-rw-r--r--urpm/parallel.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 47afa781..9e8bbac0 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@
- urpmi:
o handle README.urpmi in utf8 (but not other encodings) (#41553)
o handle --debug-librpm
+ o fix --parallel on local media (ie when synthesis.cz is not copied to /var/lib/urpmi)
- urpmi.addmedia:
o make --mirrorlist with no url equivalent to --mirrorlist '$MIRRORLIST' (#40283)
o --interactive: fix selecting "noauto" media (#39522)
diff --git a/urpm/parallel.pm b/urpm/parallel.pm
index fc8f6020..442dd29d 100644
--- a/urpm/parallel.pm
+++ b/urpm/parallel.pm
@@ -47,7 +47,7 @@ sub resolve_dependencies {
unlink $file;
foreach (@{$urpm->{media}}) {
urpm::media::is_valid_medium($_) or next;
- my $f = urpm::media::statedir_synthesis($urpm, $_);
+ my $f = urpm::media::any_synthesis($urpm, $_);
system "cat '$f' >> '$file'";
}
#- let each node determine what is requested, according to handler given.