[Bug 242736] New: zypper: possible to leave package provides/requires in an inconsistent state
https://bugzilla.novell.com/show_bug.cgi?id=242736 Summary: zypper: possible to leave package provides/requires in an inconsistent state Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: kkaempf@novell.com ReportedBy: wberrier@novell.com QAContact: kkaempf@novell.com Yast asks you the appropriate questions if upgrading a package will break dependencies for another installed package. zypper asks the questions but there are no ways to answer. Example: packman has the 'ekiga' package, which depends on pwlib and opal from packman. 'zypper install ekiga' does the right thing: installs all 3 packages from packman in order to satisfy the deps. If you then do 'zypper -r up', this is where it breaks. Since the opensuse repository has an older ekiga version, but newer pwlib and opal versions, zypper updates opal and pwlib, which breaks ekiga from packman. zypper warns of this, but goes on it's way anyway ignoring the requirements. Here's the actual output: wberrier:/home/wberrier # zypper install ekiga Restoring system sources... Parsing metadata for suse-non-oss... Parsing metadata for suse... Parsing metadata for suse-update... Parsing metadata for packman... Parsing metadata for mono-stable... Parsing metadata for madwifi... Parsing metadata for mono-preview... Parsing RPM database... Summary: <install> [S4:0][package]ekiga-2.0.4-1.pm.3.i586 <install> [S4:0][package]pwlib-1.10.3-1.pm.1.i586 <install> [S4:0][package]opal-2.2.4-1.pm.1.i586 Continue? [y/n] y Downloading: [S4:0][package]pwlib-1.10.3-1.pm.1.i586, 651.7 K(1.9 M unpacked) Installing: [S4:0][package]pwlib-1.10.3-1.pm.1.i586 Downloading: [S4:0][package]opal-2.2.4-1.pm.1.i586, 2.6 M(10.5 M unpacked) Installing: [S4:0][package]opal-2.2.4-1.pm.1.i586 Downloading: [S4:0][package]ekiga-2.0.4-1.pm.3.i586, 5.4 M(12.6 M unpacked) Installing: [S4:0][package]ekiga-2.0.4-1.pm.3.i586 wberrier:/home/wberrier # zypper -r up Restoring system sources... Parsing metadata for suse-non-oss... Parsing metadata for suse... Parsing metadata for suse-update... Parsing metadata for packman... Parsing metadata for mono-stable... Parsing metadata for madwifi... Parsing metadata for mono-preview... Parsing RPM database... Problems: PROB ekiga-2.0.4-1.pm.3.i586 is locked and cannot be uninstalled. : SOL unlock ekiga : SOL unlock all resolvables : SOL keep ekiga : keep ekiga-2.0.4-1.pm.3.i586 Summary: <install> [S2:1][package]pwlib-1.11.1-27.i586 <install> [S2:1][package]opal-2.3.1-30.i586 Continue? [y/n] y Downloading: [S2:1][package]pwlib-1.11.1-27.i586, 1.1 M(3.4 M unpacked) Installing: [S2:1][package]pwlib-1.11.1-27.i586 [S2:1][package]pwlib-1.11.1-27.i586 Subprocess failed. Error: RPM failed: error: Failed dependencies: libpt_linux_x86_r.so.1.10.3 is needed by (installed) opal-2.2.4-1.pm.1.i586 libpt_linux_x86_r.so.1.10.3 is needed by (installed) ekiga-2.0.4-1.pm.3.i586 Invalid object Invalid object Installing: [S2:1][package]pwlib-1.11.1-27.i586 Downloading: [S2:1][package]opal-2.3.1-30.i586, 2.8 M(11.2 M unpacked) Installing: [S2:1][package]opal-2.3.1-30.i586 [S2:1][package]opal-2.3.1-30.i586 Subprocess failed. Error: RPM failed: error: Failed dependencies: libopal_linux_x86_r.so.2.2 is needed by (installed) ekiga-2.0.4-1.pm.3.i586 Invalid object Invalid object Installing: [S2:1][package]opal-2.3.1-30.i586 Now, upon running ekiga: wberrier@wberrier:~> ekiga ekiga: error while loading shared libraries: libpt_linux_x86_r.so.1.10.3: cannot open shared object file: No such file or directory I think that zypper/yast should use the same defaults as other tools in this case. rug and smart will automatically either remove ekiga when updating, or downgrade pwlib and opal if they are installed when installing ekiga. In the least zypper shouldn't leave packages installed with unresolved deps. -- 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=242736 kkaempf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvidner@novell.com, aj@novell.com, | |visnov@novell.com AssignedTo|kkaempf@novell.com |schubi@novell.com ------- Comment #1 from kkaempf@novell.com 2007-02-07 09:30 MST ------- zypp does remove packages with unresolved dependencies. However, in the case above, ekiga is locked (because its from packman). In this case, libzypp should abort the complete transaction and ask the user to explicitly de-install ekiga. -- 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=242736 ------- Comment #2 from wberrier@novell.com 2007-02-07 12:35 MST ------- Why is the ekiga package locked in the first place? -- 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=242736 ------- Comment #3 from schubi@novell.com 2007-02-09 01:16 MST ------- It is locked cause ekiga is from packman not not from SuSE. All packages with foreign vendors will be not touched by zypp/YaST. -- 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=242736 schubi@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mvidner@novell.com ------- Comment #4 from schubi@novell.com 2007-02-09 01:25 MST ------- Martin, how can the user choose one of these options in the zypper: Problems: ------------------------------------- PROB ekiga-2.0.4-1.pm.3.i586 is locked and cannot be uninstalled. : SOL unlock ekiga : SOL unlock all resolvables : SOL keep ekiga : keep ekiga-2.0.4-1.pm.3.i586 Summary: <install> [S2:1][package]pwlib-1.11.1-27.i586 <install> [S2:1][package]opal-2.3.1-30.i586 Continue? [y/n] y ------------------------ Is y/N the only option or can he unlock this package ? -- 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=242736 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|mvidner@novell.com | ------- Comment #5 from mvidner@novell.com 2007-02-09 07:18 MST ------- Solving of presented problems is not implemented yet :( But it is a bigger bug to ignore the problems and proceed. Schubi, I don't know whether you want to prevent that in libzypp. It is fine with me to fix it in zypper. Just reassign 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=242736 schubi@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|schubi@novell.com |mvidner@novell.com ------- Comment #6 from schubi@novell.com 2007-02-12 01:08 MST ------- If there is an error, the solver result is undefined. As long the zypper cannot solve problems we cannot solve comment #1 Thanks, Martin to take over -- 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=242736 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major Status|NEW |ASSIGNED Summary|zypper: possible to leave |zypper: possible to leave package |package provides/requires in|provides/requires in an inconsistent state |an inconsistent state |(solver problems ignored) -- 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=242736 ------- Comment #7 from mvidner@novell.com 2007-02-13 09:47 MST ------- zypper-0.7.1: Do not allow to commit with unresolved dependency problems; resolve them interactively. In SVN trunk. Should release and port to SP too. -- 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=242736 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mvidner@novell.com |jkupec@novell.com Status|ASSIGNED |NEW ------- Comment #8 from mvidner@novell.com 2007-02-27 06:32 MST ------- Jano is taking over as the primary maintainer of zypper, I am a co-maintainer. -- 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=242736 jkupec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #9 from jkupec@novell.com 2007-04-26 07:24 MST ------- This has already been fixed. Martin correct me if i'm wrong. -- 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=242736 jkupec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed in Milestone|--- |openSUSE 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.
participants (1)
-
bugzilla_noreply@novell.com