Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11689 - /trunk/zypper/src/Zypper.cc
  • From: jkupec@xxxxxxxxxxxxxxxx
  • Date: Mon, 17 Nov 2008 12:29:03 -0000
  • Message-id: <20081117122903.653E127C50@xxxxxxxxxxxxxxxx>
Author: jkupec
Date: Mon Nov 17 13:29:03 2008
New Revision: 11689

URL: http://svn.opensuse.org/viewcvs/zypp?rev=11689&view=rev
Log:
- avoid removing of installed local rpms (bnc #444897)

Modified:
trunk/zypper/src/Zypper.cc

Modified: trunk/zypper/src/Zypper.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/Zypper.cc?rev=11689&r1=11688&r2=11689&view=diff
==============================================================================
--- 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");

// shut up zypper
Out::Verbosity tmp = out().verbosity();

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages