[Bug 441377] New: SLES10 [openSUSE:Tools/kiwi] missing zypper parameter --reposd-dir
https://bugzilla.novell.com/show_bug.cgi?id=441377 Summary: SLES10 [openSUSE:Tools/kiwi] missing zypper parameter -- reposd-dir Product: openSUSE.org Version: unspecified Platform: Other OS/Version: SLES 10 Status: NEW Severity: Normal Priority: P5 - None Component: System Imaging AssignedTo: adrian@novell.com ReportedBy: mopp@gmx.net QAContact: adrian@novell.com Found By: --- Hi, I tried to use the current kiwi-2.99-80.1. My System SLES10 SP2 with the current zypper-0.6.104-0.3 Modified the config.xml, to my repository # kiwi --prepare /usr/share/doc/packages/kiwi/examples/sle11/suse-live-iso --root /tmp/myiso-tree As you can see the command zypper on SLES10 doesn' t understand the parameter --reposd-dir The command was added to zypper, but is not in the * Tue Oct 23 2007 jkupec@suse.cz - --reposd-dir, --cache-dir, and --raw-cache-dir global options added - r7608 Output of kiwi --prepare: Nov-04 10:21:29 <1> : Reading image description [Prepare]... Nov-04 10:21:29 <2> : Description provides no MD5 hash, check skipped Nov-04 10:21:30 <1> : Checking for default baseroot in XML data... notset Nov-04 10:21:30 <1> : Set root log: /tmp/myiso-tree.16369.screenrc.log... done Nov-04 10:21:30 <1> : Setting up package manager: zypper done Nov-04 10:21:30 <1> : Creating default template files for new root system done Nov-04 10:21:31 <1> : Adding bootstrap zypper service: srv_obs_build_SUSE:SLE-10:SP2_standard_x86_64_:full failed Nov-04 10:21:31 <3> : zypper: Unknown option --reposd-dir Unknown command '_unknown'. Commands: help Help shell, sh Accept multiple commands at once install, in Install packages or resolvables remove, rm Remove packages or resolvables search, se Search for packages matching a pattern service-list, sl List services, also called installation sources service-add, sa Add a new service service-delete, sd Delete a service service-rename, sr Rename a service refresh, ref Refresh all installation sources patch-check, pchk Check for patches patches, pch List patches list-updates, lu List updates update, up Update packages info, if Show full information for packages patch-info Show full information for patches Nov-04 10:21:31 <1> : Umounting path: /tmp/myiso-tree//var/cache/kiwi Nov-04 10:21:31 <1> : Umounting path: /tmp/myiso-tree//var/cache/zypp Nov-04 10:21:31 <3> : Base initialization failed failed [*** back trace follows ***] Trace Level 1 at /usr/share/kiwi/modules/KIWIManager.pm line 723 KIWIManager::setupInstallationSource('KIWIManager=HASH(0x1bb2290)') called at /usr/share/kiwi/modules/KIWIRoot.pm line 351 KIWIRoot::init('KIWIRoot=HASH(0x1a95180)') called at /usr/sbin/kiwi line 367 main::main() called at /usr/sbin/kiwi line 2067 Trace Level 2 at /usr/sbin/kiwi line 368 main::main() called at /usr/sbin/kiwi line 2067 [*** end ***] [*** log excerpt follows, last 1 Kbyte ***] es remove, rm Remove packages or resolvables search, se Search for packages matching a pattern service-list, sl List services, also called installation sources service-add, sa Add a new service service-delete, sd Delete a service service-rename, sr Rename a service refresh, ref Refresh all installation sources patch-check, pchk Check for patches patches, pch List patches list-updates, lu List updates update, up Update packages info, if Show full information for packages patch-info Show full information for patches Nov-04 10:21:31 <1> : Umounting path: /tmp/myiso-tree//var/cache/kiwi Nov-04 10:21:31 <1> : EXEC [umount "/tmp/myiso-tree//var/cache/kiwi" 2>&1] Nov-04 10:21:31 <1> : Umounting path: /tmp/myiso-tree//var/cache/zypp Nov-04 10:21:31 <1> : EXEC [umount "/tmp/myiso-tree//var/cache/zypp" 2>&1] Nov-04 10:21:31 <1> : Release package manager lock Nov-04 10:21:31 <1> : EXEC [rm -f /var/lock/kiwi-init.lock] Nov-04 10:21:31 <3> : Base initialization failed failed [*** end ***] Nov-04 10:21:31 <3> : KIWI exited with error(s) done Nov-04 10:21:31 <1> : Complete logfile at: /tmp/myiso-tree.log -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=441377 User mopp@gmx.net added comment https://bugzilla.novell.com/show_bug.cgi?id=441377#c1 Ulf - <mopp@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|--- |Integration Test Priority|P5 - None |P4 - Low --- Comment #1 from Ulf - <mopp@gmx.net> 2008-11-16 10:19:46 MST --- You need at least zypper 0.9.1 => openSUSE 10.3 has the same problem -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=441377 User mopp@gmx.net added comment https://bugzilla.novell.com/show_bug.cgi?id=441377#c2 --- Comment #2 from Ulf - <mopp@gmx.net> 2008-11-16 11:20:28 MST --- I backported zypper from openSUSE 11.0 for SLE 10 https://build.opensuse.org/package/show?package=zypper&project=home%3Amopp%3Azypper Installed satsolver-tools, libzypp and zypper with --nodeps. After installing I realized kiwi already uses zypper, which is in the chroot environment, I' ve still the same problem. How to handle creation of kiwi images, which doesn' t understand zypper --reposd-dir -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=441377 User mopp@gmx.net added comment https://bugzilla.novell.com/show_bug.cgi?id=441377#c3 Ulf - <mopp@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Ulf - <mopp@gmx.net> 2008-11-16 15:54:59 MST --- The problem was a wrong config.xml, I used this config.xml /usr/share/doc/packages/kiwi/examples/suse-11.0/config.xml and added repository of type rpm-dir, which points to /usr/share/kiwi/repo/suse-repo/suse-sles-repo -- 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.
participants (1)
-
bugzilla_noreply@novell.com