smart suggests wrong updates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smart Package Manager |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
while updating my servers with smart, i figured out, that smart suggests an update with a wrong architecture. This might be very dangerous when you are updating a productive System. In my case it hit up the glibc package:
Here are some information about my system:
system:SUSE Linux Enterprise Server 10 (i586) SP2
kernel: 2.6.16.
smart version: smart-1.1-5.1
python versions: python-2.4.2-18.25, python-
... and the output to show the error:
-------
test33:~ # smart upgrade --download --dump glibc
Loading cache...
Updating cache... #######
Computing transaction...
glibc-2.
-------
test33:~ # rpm -qpi /var/lib/
Name : glibc Relocations: (not relocatable)
Version : 2.4 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Release : 31.58 Build Date: Thu Oct 16 18:28:14 2008
Install Date: (not installed) Build Host: stravinsky.suse.de
Group : System/Libraries Source RPM: glibc-2.
Size : 4563908 License: BSD 3-Clause; GPL v2 or later; LGPL v2.1 or later
Signature : DSA/SHA1, Thu Oct 16 18:32:04 2008, Key ID a84edae89c800aca
Packager : http://
URL : http://
Summary : Standard Shared Libraries (from the GNU C Library)
Description :
The GNU C Library provides the most important standard libraries used
by nearly all programs: the standard C library, the standard math
library, and the POSIX thread library. A system is not functional
without these libraries.
Distribution: SUSE Linux Enterprise 10 (i686)
-------
test33:~ # rpm -qi glibc
Name : glibc Relocations: (not relocatable)
Version : 2.4 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Release : 31.54 Build Date: Tue Apr 22 00:43:41 2008
Install Date: Mon Feb 23 13:56:33 2009 Build Host: james.suse.de
Group : System/Libraries Source RPM: glibc-2.
Size : 4512631 License: BSD 3-Clause; GPL v2 or later; LGPL v2.1 or later
Signature : DSA/SHA1, Tue Apr 22 00:48:02 2008, Key ID a84edae89c800aca
Packager : http://
URL : http://
Summary : Standard Shared Libraries (from the GNU C Library)
Description :
The GNU C Library provides the most important standard libraries used
by nearly all programs: the standard C library, the standard math
library, and the POSIX thread library. A system is not functional
without these libraries.
Distribution: SUSE Linux Enterprise 10 (i586)
-------
test33:~ # rpm -q glibc --qf '%{NAME} %{VERSION} %{RELEASE} %{ARCH} \n'
glibc 2.4 31.54 i586
-------
test33:~ # rpm -qp /var/lib/
glibc 2.4 31.58 i686
-------
Are you using a patched version of Smart?
Smart doesn't even load into the cache a package of an incorrect architecture.
Can you please attach to the bug the directory /usr/lib/ python2. */site- packages/ smart?