Comment 6 for bug 244447

Revision history for this message
Rehan Khan (rasker) wrote : RE: [Bug 244447] Re: 64bit u/g mix up in upgrading packages - itsdowngrades to i586

It would be interesting to know if any of those rpm's specifically
require the i586 version of the OpenOffice_org-ure package, meaning it
is specified as an i586 package in the spec file?

R

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Robert Krawitz
Sent: 13 January 2010 03:31
To: Rehan
Subject: [Bug 244447] Re: 64bit u/g mix up in upgrading packages -
itsdowngrades to i586

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.

--
64bit u/g mix up in upgrading packages - its downgrades to i586
https://bugs.launchpad.net/bugs/244447
You received this bug notification because you are a direct subscriber
of the bug.

Status in Smart Package Manager: New

Bug description:
Imported: http://tracker.labix.org/issue313

Reason for Import : Review

further details:
https://blueprints.launchpad.net/smart/+spec/bug-reporting-migration

opensuse 10.2
# uname -a
Linux orac 2.6.18.8-0.3-default #1 SMP Tue Apr 17 08:42:35 UTC 2007
x86_64
x86_64 x86_64 GNU/Linux
Attaching bitmaps of problem

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/smart/+bug/244447/+subscribe