Mailinglist Archive: opensuse-bugs (6764 mails)

< Previous Next >
[Bug 731090] kiwi: rpm-dir repository type does not find packages

https://bugzilla.novell.com/show_bug.cgi?id=731090

https://bugzilla.novell.com/show_bug.cgi?id=731090#c16


--- Comment #16 from Michael Andres <ma@xxxxxxxx> 2011-11-24 13:38:08 CET ---
Basically bug #732518: cache cleanup. Now I see it:

'--reposd-dir' '/var/cache/kiwi/zypper'
'--cache-dir' '/var/cache/kiwi/zypper'
'--raw-cache-dir' '/var/cache/kiwi/zypper'

It's not good to use the same dir for multiple caches. Cleanup in one cache
will damage the others. E.g cleaning the raw-cache leads to:

recursive_rmdir /var/cache/kiwi/zypper/mnt_12.1
recursive_rmdir /var/cache/kiwi/zypper/mnt_sdb2_extras
recursive_rmdir /var/cache/kiwi/zypper/packages <== package cache
recursive_rmdir /var/cache/kiwi/zypper/solv <== solv files
recursive_rmdir /var/cache/kiwi/zypper/zypp.conf.31542
FAILED: (20)Not a directory
recursive_rmdir /var/cache/kiwi/zypper/zypper.conf.31542
FAILED: (20)Not a directory


What about:

'--reposd-dir' '/var/cache/kiwi/zypper/repos'
'--cache-dir' '/var/cache/kiwi/zypper'

This will give you:

/var/cache/kiwi/zypper/repos/
/ /<per repo>.repo
/
/packages/
/ /<per repo>/...rpm packages
/
/solv/
/ /<per repo>/...solv files
/
/raw/
/<per repo>/...raw metadata

--
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.

< Previous Next >
References