[Bug 224129] New: "zypper in $package" throws errors on already installed packages
https://bugzilla.novell.com/show_bug.cgi?id=224129 Summary: "zypper in $package" throws errors on already installed packages Product: openSUSE 10.2 Version: RC 2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: kkaempf@novell.com ReportedBy: seife@novell.com QAContact: kkaempf@novell.com OtherBugsDependingO 215208 nThis: When trying to install a list of packages with zypper, it throws 2 RPM errors for every one of those packages that are already installed: root@strolchi:~# zypper in kinternet Restoring system sources... Parsing metadata for SUSE-Linux-10.2-Updates... Parsing metadata for 20061127-171545... Parsing metadata for 20061127-151154... Parsing RPM database... Summary: <install> [S2:1][package]kinternet-0.75-51.i586 Continue? [y/n] y Downloading: [S2:1][package]kinternet-0.75-51.i586, 236.8 K(730.9 K unpacked) Installing: [S2:1][package]kinternet-0.75-51.i586 [S2:1][package]kinternet-0.75-51.i586 Subprocess failed. Error: RPM failed: package kinternet-0.75-51 is already installed Invalid object Invalid object Installing: [S2:1][package]kinternet-0.75-51.i586 [S2:1][package]kinternet-0.75-51.i586 Subprocess failed. Error: RPM failed: package kinternet-0.75-51 is already installed (with nodeps)Invalid object (with nodeps)Invalid object Installing: [S2:1][package]kinternet-0.75-51.i586 root@strolchi:~# note that i think that the rug way of handling this (error out if one of the packages is already installed) is wrong and zypper is more correct here, since it installs the other packages anyway, but these errors are a bit confusing, a message like "skipping already installed package $foo" would be better. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224129 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from mvidner@novell.com 2006-11-28 07:57 MST ------- OK. The Invalid object message is bug 216042. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224129 ------- Comment #2 from aj@novell.com 2006-11-29 13:32 MST ------- Btw. the formatting could be improved: <install> [S2:1][package] package... [S2:1][package] looks strange to me. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224129 jkupec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jkupec@novell.com ------- Comment #3 from jkupec@novell.com 2006-12-06 02:19 MST ------- in fact, in case like the above, zypper should just write "Nothing to do"! Or, more precisely, the solver should not suggest installing the package, if that packages is already there. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224129 jkupec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mvidner@novell.com |jkupec@novell.com -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224129 ------- Comment #4 from seife@novell.com 2006-12-06 04:06 MST ------- But if i do "zypper in pkg1 pkg2 pkg3", where pkg2 is already installed, it should still install pkg1 and pkg3 (rug is not doing this currently, and i hate it for that :-) Thanks for considering. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224129 jkupec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvidner@novell.com Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #5 from jkupec@novell.com 2006-12-07 03:00 MST ------- Fixed. Will be available through YOU. $ zypper install BitTorrent jigdo Restoring system sources... Parsing metadata for openSUSE-10.2-RC5-x86_64-CD1... Parsing metadata for factory... Parsing RPM database... skipping package 'BitTorrent' (already installed) Summary: <install> [S3:1][package]jigdo-0.7.3-16.x86_64 <uninstall> [S0:0][package]jigdo-0.7.3-13.x86_64 Continue? [y/n] y Downloading: [S3:1][package]jigdo-0.7.3-16.x86_64, 232.1 K(622.0 K unpacked) Installing: [S3:1][package]jigdo-0.7.3-16.x86_64 I did not touch the Summary formatting as we plan to improve it for 10.3. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224129 ------- Comment #6 from ast@novell.com 2007-01-25 04:25 MST ------- released -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com