Bug 269263

Summary: zypper going mad while installing packages
Product: [openSUSE] openSUSE 10.3 Reporter: Marcus Schaefer <ms>
Component: libzyppAssignee: Martin Vidner <mvidner>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None CC: matthias.andree, stefan.bruens
Version: Alpha 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Marcus Schaefer 2007-04-27 14:10:24 UTC
I used zypper to install an image. In case of a valid installation source
(all patterns there, all signing keys there) I could setup the service
with service-add. The system now proceed downloading and installing the
packages. At that stage I got the following log:

Apr-27 15:26 <1> : Setting up package manager: zypper   done
Apr-27 15:26 <1> : Adding local zypper service: kiwi1-18195   done
Apr-27 15:26 <1> : Initializing image system on: /tmp/kiwi.g18206...   failed
Apr-27 15:31 <3> : Apr-27 15:26 <1> : Setting up package manager: zypper   done
Apr-27 15:26 <1> : Adding local zypper service: kiwi1-18195   done
Apr-27 15:26 <1> : Initializing image system on: /tmp/kiwi.g18206...Restoring system sources...^M
Parsing metadata for kiwi1-18195...^M
Parsing RPM database...^M
Summary:^M
<install>   [S1:1][package]libacl-2.2.34-43.i586^M
<install>   [S1:1][package]irqbalance-0.09-92.i586^M
<install>   [S1:1][package]PolicyKit-0.2_git20060822-51.i586^M
<install>   [S1:1][package]aaa_base-10.3-21.i586^M
<install>   [S1:1][package]aaa_skel-2007.3.7-5.i586^M
<install>   [S1:1][package]libcom_err-1.39+1.40_WIP_20061114+PATCH20070329-4.i586^M
....AND SO ON UNTIL

Downloading: [S1:1][package]pm-utils-0.99.3-5.i586, 37.1 K(82.6 K unpacked)^M
Installing: [S1:1][package]pm-utils-0.99.3-5.i586^M
[S1:1][package]pm-utils-0.99.3-5.i586 Subprocess failed. Error: RPM failed: error: Failed dependencies:^M
        hal is needed by pm-utils-0.99.3-5.i586^M
^M
^M
Invalid object^M
Invalid object^M
... SOME MORE PACKAGE WILL BE INSTALLED UNTIL

Installing: [S1:1][package]mdadm-2.6.1-2.i586^M 
[S1:1][package]mdadm-2.6.1-2.i586 Subprocess failed. Error: RPM failed: warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
Updating etc/sysconfig/mdadm...^M
insserv: Service boot.udev has to be enabled for service boot.md^M
insserv: Service boot.rootfsck has to be enabled for service boot.md^M
insserv: exiting now!^M
error: %post(mdadm-2.6.1-2.i586) scriptlet failed, exit status 1^M
Invalid object^M
Invalid object^M
Installing: [S1:1][package]mdadm-2.6.1-2.i586^M
[S1:1][package]mdadm-2.6.1-2.i586 Subprocess failed. Error: RPM failed:         package mdadm-2.6.1-2 is already installed^M
^M
^M
(with nodeps)Invalid object^M
(with nodeps)Invalid object^M
Installing: [S1:1][package]mdadm-2.6.1-2.i586^M
[S1:1][package]mdadm-2.6.1-2.i586 Subprocess failed. Error: RPM failed: warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
warning: group disk does not exist - using root^M
Updating etc/sysconfig/mdadm...^M
insserv: Service boot.udev has to be enabled for service boot.md^M
insserv: Service boot.rootfsck has to be enabled for service boot.md^M
insserv: exiting now!^M
error: %post(mdadm-2.6.1-2.i586) scriptlet failed, exit status 1^M
^M
^M
(with nodeps+force)Invalid object^M
(A)bort, (R)etry, (I)gnore? ?^M
?^M
?^M
?^M
?^M
?^M
?^M
?^M
?^M
?^M
?^M
?^M
?^M
?^M
?^M
?^M
?^M
?^M
?^M
?^M
......NEVER STOPS

I had to kill the process there
Comment 1 Stanislav Visnovsky 2007-06-18 15:08:07 UTC
Martin, what is the status here? Is it a packaging bug?
Comment 2 Martin Vidner 2007-06-19 08:57:25 UTC
It is also a packaging bug, but there is a bug in zypper in not handling EOF in read_action_ari(). Fixing...

(The pm-utils problem is harmless, )
Comment 3 Martin Vidner 2007-06-19 10:54:27 UTC
Fixed in SVN, will be in zypper 0.8.1.
Comment 4 Jan Kupec 2007-07-17 13:03:01 UTC
*** Bug 233685 has been marked as a duplicate of this bug. ***
Comment 5 Jan Kupec 2007-12-03 14:31:18 UTC
*** Bug 344835 has been marked as a duplicate of this bug. ***