https://bugzilla.novell.com/show_bug.cgi?id=388265 Summary: zypper --root writes solv files and package cache to the outer system. Product: openSUSE 11.0 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: ma@novell.com QAContact: dmacvicar@novell.com Found By: --- Try this test case: rm -rf /tmp/rr; zypper --root /tmp/rr sa http://download.opensuse.org/distribution/SL-OSS-factory/inst-source TTTTT; zypper --root /tmp/rr --no-gpg-checks --non-interactive in glibc and check /var/cache/zypp/*/TTTTT vs. /tmp/rr/var/cache/zypp/*/TTTTT. Looks like RepoManagerOptions repoSolvCachePath and repoPackagesCachePath are not initialaized correctly. To ease fixing this, I addded an optional root_r argument to the zypp::RepoManagerOptions ctor (SVN rev 9992): /** Default ctor following \ref ZConfig global settings. * If an optional \c root_r directory is given, all paths will * be prefixed accordingly. * \code * root_r\repoCachePath * \repoRawCachePath * \repoSolvCachePath * \repoPackagesCachePath * \knownReposPath * \endcode */ RepoManagerOptions( const Pathname & root_r = Pathname() ); With this, zypper should not need to change it's initialisation code, if new repo paths are added in libzypp: RepoManagerOptions rm_opts( root ); -- 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.