Mailinglist Archive: zypp-devel (59 mails)
| < Previous | Next > |
Re: [zypp-devel] Re: [zypp-commit] r11689 - /trunk/zypper/src/Zypper.cc
- From: Michael Andres <ma@xxxxxxx>
- Date: Mon, 17 Nov 2008 15:33:01 +0100
- Message-id: <200811171533.01793.ma@xxxxxxx>
On Monday 17 November 2008 14:43:44 Michael Schroeder wrote:
Why such zypper special a hack, insted of fixing it?
--
cu,
Michael Andres
+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
On Mon, Nov 17, 2008 at 12:29:03PM -0000, jkupec@xxxxxxxxxxxxxxxx wrote:
--- trunk/zypper/src/Zypper.cc (original)
+++ trunk/zypper/src/Zypper.cc Mon Nov 17 13:29:03 2008
@@ -3092,6 +3092,12 @@
repo.setAlias(TMP_RPM_REPO_ALIAS);
repo.setName(_("Plain RPM files cache"));
repo.setKeepPackages(false);
+ // empty packages path would cause unwanted removal of installed
rpms + // in current working directory (bnc #444897)
+ // OTOH packages path == ZYPPER_RPM_CACHE_DIR (the same as repo
URI) + // causes cp file thesamefile, which fails silently. This may
be worth + // fixing in libzypp.
+ repo.setPackagesPath("/tmp/zypper");
Is /tmp/zypper safe (security wise)?
Why such zypper special a hack, insted of fixing it?
--
cu,
Michael Andres
+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |