http://bugzilla.novell.com/show_bug.cgi?id=521331 Summary: osc build corrupts packagecache ... Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mmeeks@novell.com QAContact: adrian@novell.com Found By: --- If an osc build is interrupted for some reason - failed network connection, user abort etc. while it is downloading, it shoves partial / broken content into /var/tmp/osbuild-packagecache ... Poor error detection (which I will file elsewhere) then causes this to emit some screaming nightmare of a set of unhelpful errors ;-) but this is a separate bug. *all* downloads should be transactional, and only create a valid package name when they have fully completed. $ ls -l /var/tmp/osbuild-packagecache/openSUSE:11.1:Update/standard/i586/python-2.6.0-2.21.1.i586.rpm -rw-r--r-- 1 michael users 0 2009-07-08 06:32 /var/tmp/osbuild-packagecache/openSUSE:11.1:Update/standard/i586/python-2.6.0-2.21.1.i586.rpm Zero sized ! ;-) then: Updating etc/passwd...unchanged Updating etc/group...unchanged Updating etc/shadow...new initializing rpm db... reordering...Bad rpm /var/tmp/build-root/.init_b_cache/rpms/python.rpm bad binary: python.rpm done removing nis flags from /var/tmp/build-root/etc/nsswitch.conf... now finalizing build dir... /usr/sbin/Check: line 4: /etc/sysconfig/security: No such file or directory Starting SuSEconfig, the SuSE Configuration Tool... But I'll file this elsewhere. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.