Bug 289553

Summary: hardcoded -64bit packages in update packages
Product: [openSUSE] openSUSE 10.2 Reporter: Olaf Hering <ohering>
Component: libzyppAssignee: Stefan Fent <stefan.fent>
Status: RESOLVED WONTFIX QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None CC: coolo, hmuelle, stefan.fent
Version: Final   
Target Milestone: ---   
Hardware: PowerPC   
OS: Linux   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: bug289553.tar.bz2
bug289553-kiwi.tar.bz2
y2logs.tar.bz2

Description Olaf Hering 2007-07-04 12:41:07 UTC
Harald, make sure no -64bit package gets installed on a 10.2 32bit system during an 'Online update'.
Comment 1 Olaf Hering 2007-07-04 13:03:27 UTC
Created attachment 149634 [details]
bug289553.tar.bz2
Comment 2 Harald Mueller-Ney 2007-07-04 13:34:30 UTC
Missing a bug description, telling me what really happened.

What have you done? 

Installed patch/packages/?? XYZ?

Comment 3 Olaf Hering 2007-07-04 14:16:14 UTC
yast installs -64bit.ppc.rpm packages on systems that had no glibc-64bit.ppc.rpm installed during fresh install. This must not happen. Trouble with the patch meta files.
Comment 4 Harald Mueller-Ney 2007-07-05 09:56:56 UTC
Please provide a _detailed_ description how to reproduce this!

It seems you have used YaST.
Did you run an update using YaST Online Update? (Y/n)

Did you install an package using YaST package management (sw_single) (y/N)?

If you installed patches, which patches was selected?


I need these answer for deciding if it is a patch or a update stack issue.
Comment 5 Olaf Hering 2007-07-05 14:05:54 UTC
Created attachment 149852 [details]
bug289553-kiwi.tar.bz2

I just click next next next next during a fresh install in second stage.

new logfiles from kiwi.suse.de after a fresh install.
Comment 6 Harald Mueller-Ney 2007-07-11 07:41:12 UTC
The is no patch for glibc nor glibc-64bit in the repository.

Need to find out which packages/patch requires glibc-64bit, to do this I need a full logging enable. Is it possible to install the machine again and NOT updating during installation or enable full logging before online update starts (people from YaST team might know how/if this is possible).
Comment 7 Olaf Hering 2007-07-11 08:17:26 UTC
How many foo-64bit pacakges are available for 10.2?
Each one gets installed unconditionally if foo is installed and thus gets selected for update.
Each foo-64bit.rpm requires glibc-64bit. But thats not the point.

If foo.rpm is installed and and yast decides that there is an update for foo available, yast must not select foo-64bit.rpm unless foo-64bit.rpm is already installed.

I dont think its a yast bug.
Comment 9 Stanislav Visnovsky 2007-07-20 10:37:41 UTC
Olaf, please, provide a log with ZYPP_FULLLOG=1 
Comment 10 Olaf Hering 2007-07-23 14:08:32 UTC
Created attachment 152404 [details]
y2logs.tar.bz2
Comment 11 Klaus Kämpf 2007-07-31 09:09:34 UTC
Ouch !
It was an explicit request by the PPC team to switch to -ppc64 package where applicable in the SLE10GA -> SP1 update.

Now you're asking not to switch ??

Please define _clear_ conditions when a switch should happen and when not.
Comment 12 Olaf Hering 2007-07-31 09:34:54 UTC
this is not about foo.ppc64.rpm, but about foo-64bit.rpm.
There are no .ppc64.rpm packages on 10.2, beside mysql and stuff.

so what exactly triggers the installation of bind-64bit.rpm?
Note that this does not happen every time. 
Comment 13 Klaus Kämpf 2007-07-31 12:17:03 UTC
Ok, then I misunderstood the thread.

Can you please describe in words, what is currently happening and what the expected behaviour would be ?
Comment 14 Olaf Hering 2007-07-31 16:34:17 UTC
see comment #3 and the question in comment #12
Comment 15 Klaus Kämpf 2007-08-01 06:47:39 UTC
I wouldn't call this answer as "describe in words, what is currently happening and what the expected behaviour would be ?", so I'm still guessing what happens and what might be expected :-(

bind.ppc.rpm is installed and upgraded to bind-64bit.ppc.rpm during online-update in 10.2

If this must not happen and the -64bit package was not available during initial install, is also must not be available in the update repository

-> Maintenance
Comment 17 Stephan Kulow 2007-08-01 08:02:07 UTC
If Olaf can't describe the problem, I think INVALID is fine
Comment 18 Olaf Hering 2007-08-01 08:18:40 UTC
what exactly is hard to understand in comment #3 and the question in comment #12?

a foo-64bit.ppc.rpm is very differend from a foo.ppc64.rpm.
The latter can not be installed on a 32bit system.
In fact, no *.ppc64.rpm can be installed on a 32bit system.
And because a *.ppcc64.rpm cant be installed on a 32bit system, yast should not pull in *-64bit.ppc.rpm packages.

So once again:

What exactly triggers the installation of *-64bit.ppc.rpms during an online update?
I think its safe to ignore all request for logs if noone is able to parse them...
Comment 20 Olaf Hering 2007-08-01 08:34:25 UTC
Stefan can not parse yast logs either.
Comment 22 Olaf Hering 2007-08-01 11:16:12 UTC
Its getting boring. Stefen clearly cant do anything with libzypp internals.

All the damn info is in comment #3, comment #12 and comment #18
If the logs with ZYPP_FULLLOG=1 are incomplete, what else can be done to increase verbosity?
Comment 23 Stephan Kulow 2007-08-01 11:32:02 UTC
Olaf! Stop doing bugzilla ping pongs!

I think Stefan can very well speak for himself.
Comment 24 Olaf Hering 2007-08-01 11:39:00 UTC
Its clearly not ok to tolerate your childish games.

I will check with 10.3 GA if the bug is still there.
Comment 25 Stephan Kulow 2008-06-25 09:20:08 UTC
mass reopening all 10.2 LATER+REMIND bugs.
Comment 26 Stephan Kulow 2008-06-25 09:24:24 UTC
close all 10.2 LATER/REMIND bugs as WONTFIX. Reopen yourself if you still plan to work on it.