Comment 5 for bug 244447

Revision history for this message
Robert Krawitz (rlk-alum) wrote :

Dunno if this is the same problem or not, but I often find smart wants to install an i586 package during upgrades. Running OpenSUSE 11.1. Running smart 1.2-4.1.

Example: I want to upgrade to the latest OpenOffice.org 3.2 release candidate. So I do:

smart> install OpenOffice_org

Upgrading packages (24):
  OpenOffice_org-3.2.0.1-1.2@x86_64
  OpenOffice_org-base-3.2.0.1-1.2@x86_64
  OpenOffice_org-base-extensions-3.2.0.1-1.2@x86_64
  OpenOffice_org-calc-3.2.0.1-1.2@x86_64
  OpenOffice_org-calc-extensions-3.2.0.1-1.2@x86_64
  OpenOffice_org-components-3.2.0.1-1.2@x86_64
  OpenOffice_org-draw-3.2.0.1-1.2@x86_64
  OpenOffice_org-draw-extensions-3.2.0.1-1.2@x86_64
  OpenOffice_org-filters-3.2.0.1-1.2@x86_64
  OpenOffice_org-filters-optional-3.2.0.1-1.2@x86_64
  OpenOffice_org-gnome-3.2.0.1-1.2@x86_64
  OpenOffice_org-icon-themes-3.2.0.1-1.2@noarch
  OpenOffice_org-impress-3.2.0.1-1.2@x86_64
  OpenOffice_org-impress-extensions-3.2.0.1-1.2@x86_64
  OpenOffice_org-kde-3.2.0.1-1.2@x86_64
  OpenOffice_org-l10n-extras-3.2.0.1-1.2@noarch
  OpenOffice_org-libs-core-3.2.0.1-1.2@x86_64
  OpenOffice_org-libs-extern-3.2.0.1-1.2@x86_64
  OpenOffice_org-libs-gui-3.2.0.1-1.2@x86_64
  OpenOffice_org-math-3.2.0.1-1.1@x86_64
  OpenOffice_org-officebean-3.2.0.1-1.2@x86_64
  OpenOffice_org-ure-3.2.0.1-1.2@x86_64
  OpenOffice_org-writer-3.2.0.1-1.1@x86_64
  OpenOffice_org-writer-extensions-3.2.0.1-1.2@x86_64

Installing packages (1):
  OpenOffice_org-ure-3.1.1.5-1.1@i586

115.8MB of package files are needed. 18.5MB will be used.

Well. My local repository deliberately doesn't have i586 packages, so it fails to download that i586 goofball. If I try to install the RPM's manually, this happens:

[2(root)||{!5}<dsl092-065-009>/var/lib/smart/packages]
# rpm -Uvh *
error: Failed dependencies:
        OpenOffice_org-ure = 3.1.1.5 is needed by (installed) OpenOffice_org-pyuno-3.1.1.5-1.1.x86_64
        OpenOffice_org-ure = 3.1.1.5 is needed by (installed) OpenOffice_org-mono-3.1.1.5-1.1.x86_64
        OpenOffice_org-ure = 3.1.1.5 is needed by (installed) OpenOffice_org-ure-devel-3.1.1.5-1.1.x86_64
        OpenOffice_org-ure = 3.1.1.5 is needed by (installed) OpenOffice_org-help-en-US-3.1.1.5-1.1.noarch

All right, let's try it this way:

smart> install OpenOffice_org OpenOffice_org-pyuno OpenOffice_org-mono OpenOffice_org-ure-devel OpenOffice_org-help-en-US

Upgrading packages (29):
  OpenOffice_org-3.2.0.1-1.2@x86_64
  OpenOffice_org-base-3.2.0.1-1.2@x86_64
  OpenOffice_org-base-extensions-3.2.0.1-1.2@x86_64
  OpenOffice_org-bootstrap-3.2.0.1-2.1@x86_64
  OpenOffice_org-calc-3.2.0.1-1.2@x86_64
  OpenOffice_org-calc-extensions-3.2.0.1-1.2@x86_64
  OpenOffice_org-components-3.2.0.1-1.2@x86_64
  OpenOffice_org-draw-3.2.0.1-1.2@x86_64
  OpenOffice_org-draw-extensions-3.2.0.1-1.2@x86_64
  OpenOffice_org-filters-3.2.0.1-1.2@x86_64
  OpenOffice_org-filters-optional-3.2.0.1-1.2@x86_64
  OpenOffice_org-gnome-3.2.0.1-1.2@x86_64
  OpenOffice_org-help-en-US-3.2.0.1-1.2@noarch
  OpenOffice_org-icon-themes-3.2.0.1-1.2@noarch
  OpenOffice_org-impress-3.2.0.1-1.2@x86_64
  OpenOffice_org-impress-extensions-3.2.0.1-1.2@x86_64
  OpenOffice_org-kde-3.2.0.1-1.2@x86_64
  OpenOffice_org-l10n-extras-3.2.0.1-1.2@noarch
  OpenOffice_org-libs-core-3.2.0.1-1.2@x86_64
  OpenOffice_org-libs-extern-3.2.0.1-1.2@x86_64
  OpenOffice_org-libs-gui-3.2.0.1-1.2@x86_64
  OpenOffice_org-math-3.2.0.1-1.1@x86_64
  OpenOffice_org-mono-3.2.0.1-1.2@x86_64
  OpenOffice_org-officebean-3.2.0.1-1.2@x86_64
  OpenOffice_org-pyuno-3.2.0.1-1.2@x86_64
  OpenOffice_org-ure-3.2.0.1-1.2@x86_64
  OpenOffice_org-ure-devel-3.2.0.1-1.2@x86_64
  OpenOffice_org-writer-3.2.0.1-1.1@x86_64
  OpenOffice_org-writer-extensions-3.2.0.1-1.2@x86_64

Installing packages (2):
  OpenOffice_org-pyuno-3.1.1.5-1.1@i586 OpenOffice_org-ure-3.1.1.5-1.1@i586

Even worse! Now I get this:

rpm -Uvh *
error: Failed dependencies:
        OpenOffice_org-pyuno = 3.1.1.5 is needed by (installed) OpenOffice_org-mailmerge-3.1.1.5-1.1.x86_64

OK, let's try this:

smart> install OpenOffice_org OpenOffice_org-pyuno OpenOffice_org-mono OpenOffice_org-ure-devel OpenOffice_org-help-en-US OpenOffice_org-mailmerge

Upgrading packages (30):
  OpenOffice_org-3.2.0.1-1.2@x86_64
  OpenOffice_org-base-3.2.0.1-1.2@x86_64
  OpenOffice_org-base-extensions-3.2.0.1-1.2@x86_64
  OpenOffice_org-bootstrap-3.2.0.1-2.1@x86_64
  OpenOffice_org-calc-3.2.0.1-1.2@x86_64
  OpenOffice_org-calc-extensions-3.2.0.1-1.2@x86_64
  OpenOffice_org-components-3.2.0.1-1.2@x86_64
  OpenOffice_org-draw-3.2.0.1-1.2@x86_64
  OpenOffice_org-draw-extensions-3.2.0.1-1.2@x86_64
  OpenOffice_org-filters-3.2.0.1-1.2@x86_64
  OpenOffice_org-filters-optional-3.2.0.1-1.2@x86_64
  OpenOffice_org-gnome-3.2.0.1-1.2@x86_64
  OpenOffice_org-help-en-US-3.2.0.1-1.2@noarch
  OpenOffice_org-icon-themes-3.2.0.1-1.2@noarch
  OpenOffice_org-impress-3.2.0.1-1.2@x86_64
  OpenOffice_org-impress-extensions-3.2.0.1-1.2@x86_64
  OpenOffice_org-kde-3.2.0.1-1.2@x86_64
  OpenOffice_org-l10n-extras-3.2.0.1-1.2@noarch
  OpenOffice_org-libs-core-3.2.0.1-1.2@x86_64
  OpenOffice_org-libs-extern-3.2.0.1-1.2@x86_64
  OpenOffice_org-libs-gui-3.2.0.1-1.2@x86_64
  OpenOffice_org-mailmerge-3.2.0.1-1.2@x86_64
  OpenOffice_org-math-3.2.0.1-1.1@x86_64
  OpenOffice_org-mono-3.2.0.1-1.2@x86_64
  OpenOffice_org-officebean-3.2.0.1-1.2@x86_64
  OpenOffice_org-pyuno-3.2.0.1-1.2@x86_64
  OpenOffice_org-ure-3.2.0.1-1.2@x86_64
  OpenOffice_org-ure-devel-3.2.0.1-1.2@x86_64
  OpenOffice_org-writer-3.2.0.1-1.1@x86_64
  OpenOffice_org-writer-extensions-3.2.0.1-1.2@x86_64

Installing packages (1):
  OpenOffice_org-ure-3.1.1.5-1.1@i586

This time rpm installs everything (modulo that silly 3.1.1.5 package).

Basically, I don't think smart should *ever* install an ix86 package on a 64-bit system unless either a) the package is already installed as an ix86 package (e. g. wine, acroread, or the like) or b) the user explicitly requests the package fully qualified. If I try to do an upgrade, I get some really strange things, such as evolution-data-server-2.28.2-1.3@i586 trying to replace evolution-data-server-32bit-2.28.2-1.3@x86_64, fam-2.7.0-129.11@i586 trying to replace fam-2.7.0-130.1@x86_64, and gnome-vfs2-2.24.0-3.6@i586 trying to replace gnome-vfs2-2.24.2-1.3@x86_64. Among a bunch of others.