Mailinglist Archive: opensuse-bugs (8048 mails)

< Previous Next >
[Bug 242736] New: zypper: possible to leave package provides/requires in an inconsistent state
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 6 Feb 2007 11:46:43 -0700 (MST)
  • Message-id: <bug-242736-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
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@xxxxxxxxxx
ReportedBy: wberrier@xxxxxxxxxx
QAContact: kkaempf@xxxxxxxxxx


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.

< Previous Next >