https://bugzilla.novell.com/show_bug.cgi?id=738677
https://bugzilla.novell.com/show_bug.cgi?id=738677#c1
Michael Andres changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Michael Andres 2012-01-11 11:03:23 CET ---
Interesting usecase. --reposd-dir is mainly used by image builders like KIWI to
just relocate the directory. We did not expect someone to use different repo
sets to maintain a single system. Personally I see more potential harm than
benefit in doing this, becasue zypper/YaST will never see the 'whole picture'.
But if this works for you, you should also separate the cache trees using
'-C, --cache-dir <dir>':
zypper -D /etc/zypp/repos.d/remote -C /var/cache/zypp/remote
As it is legal to add/remove repos by simply creating/removing a
/etc/zypp/repos.d entry, the code you mentioned is needed to find and cleanup
orphaned metadata caches. We don't want to disable this.
NOTE: I found the man page being wrong/outdated. -C actually relocates the
whole cache tree (default /var/cache/zypp/); not just the solv files as stated
in the man page (will be fixed).
'-C /var/cache/zypp/remote' will lead to tree like this:
/var/cache/zypp/remote/
/raw/
/solv/
/packages/
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.