Bug 405932

Summary: YAST2 console Online-Update no patches displayed
Product: [openSUSE] openSUSE 11.0 Reporter: Joerg Frings-Fuerst <jff>
Component: YaST2Assignee: Gabriele Mohr <gs>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: abittner, gs, mls, ro
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 411409    

Description Joerg Frings-Fuerst 2008-07-02 20:22:39 UTC
On console Online-Update no patches displayed. Only Total Download Size is greater 0.
Comment 1 Gabriele Mohr 2008-07-08 10:25:22 UTC
The reason is that the preselected patches (with status 'a+' ) aren't shown correctly, they are missing in the list of needed patches. 
We will provide an online update patch for yast2-ncurses-pkg. 
Comment 4 Gabriele Mohr 2008-07-09 09:30:27 UTC
The patch containing yast2-ncurses-pkg-2.16.14 with the bugfix will soon be available for online update.
To see the available/the preselected patches in current online update choose 'All Patches' from 'Filter' menu.
Comment 5 Katarina Machalkova 2008-07-09 14:55:56 UTC
*** Bug 406922 has been marked as a duplicate of this bug. ***
Comment 6 Michael Schröder 2008-07-09 15:25:40 UTC
Btw, the "Unneeded Patches" behaves like "All Patches". Maybe this is/can be fixed as well...
Comment 7 Gabriele Mohr 2008-07-10 07:14:41 UTC
The list of "Unneeded Patches" is fixed as well.
Comment 8 andreas bittner 2008-07-10 09:18:56 UTC
when is this patch supposed to land on the public online_update repositories? i didnt get any yast patches the past few days.

what package will that be (name/build)?
thanks
Comment 9 Gabriele Mohr 2008-07-10 10:16:50 UTC
The package will be yast2-ncurses-pkg-2.16.14.
Comment 10 andreas bittner 2008-07-16 16:41:41 UTC
any timeframe yet? i still only have/get
yast2-ncurses-pkg-2.16.13-4.1

will it be weeks, months or opensuse 11.1 only? :(

thanks.
Comment 11 Anja Stock 2008-07-21 12:59:53 UTC
Andreas - I hope that you can understand that we put some effort in this to get out quality - released
Comment 12 andreas bittner 2008-07-21 13:19:14 UTC
well i dont know in what ways the term quality is being measured over there at novell/suse, but this sure doesnt look like it ;)

your yast package patch seems to have appeared on the servers, at least "yast2 online_update" now gives me a "a+" in the "all patches" list for a package called "yast2-ncurses-pkg"

but then this happens as it tries to download and apply the patch:

> Retrieving yast2-ncurses-pkg...
> Downloading delta RPM ./rpm/i586/yast2-ncurses-pkg-2.16.13_2.16.14-4.1_0.1.i586.delta.rpm

>Error
> Download failed:
> File './rpm/i586/yast2-ncurses-pkg-2.16.13_2.16.14-4.1_0.1.i586.delta.rpm' not found on medium


well.....

too bad. maybe the servers arent in a stable and constistent state yet. i only use the official opensuse 11.0 updates repository. if the xml/repodata stuff tells the updater modules that this "yast2 ncurses" stuff is available, why does it fail during download.

it seems that there are many areas in the updater mechanisms that need fixage and enhancements to give the users a better and consistent failsafe experience.

cheers.
Comment 13 Michael Schröder 2008-07-21 13:44:02 UTC
Is that really the update repo from download.opensuse.org? I have no problem downloading the delta.rpm from it.
Comment 14 andreas bittner 2008-07-21 13:53:36 UTC
well i got the 404 error during the first attempt. maybe i incidentally started the online_update process when the main server (download.opensuse.org) or the miror system was not in a consistent state.

all i say it is not foolproof, there are way too many issues if you ask me, and i am not a that frequent linux user, just using it occasionally for servers.

maybe the download.opensuse.org infrastructure/mirror people need to take a look into these things, how to make it more consistent. i dont recall the exact details when the update/patch mirror system delivers the bits directly, and when it redirects to the other participating mirror servers and so forth. but there was a glitch in this system after all, since i experienced this error message and couldnt retrieve the patch.


it always amazes me that i come across such obvious bugs whenever i test and do things. this statement is ofcourse exaggarated, but still i get quite a number of bugs that make me think that things dont get tested at all. thats not just with novell/suse stuff ofcourse.

anyways, i retested the download a few minutes later and it delivered the rpm just normally.

after applying the ncurses online_update restarted just fine and there were several other packaes displayed norally as being available with "a+", no more need to switch to "all patches" any more.

this issue seems to be solved i think. thanks.
Comment 15 Michael Schröder 2008-07-21 15:07:04 UTC
Maybe the metadata gets synced before the rpms, that would not be hard to fix.
CC Rudi & Peter
Comment 16 Peter Poeml 2008-07-22 21:42:42 UTC
Indeed, metadata went from the stage server to download.opensuse.org
earlier than the packages. And an X update was transferred in between,
which lead to a respectable interval of ~2 minutes between availability
of metadata and availability of
yast2-ncurses-pkg-2.16.13_2.16.14-4.1_0.1.i586.delta.rpm.

This surely hits quite many people.

I am working on a fix.

I also want to solve a similar (but different) issue that can arise.
During the time of client metadata download and package download
(spent with parsing of metadata and user interaction), it can happen
that metadata and packages are replaced. This does *not* happen in the
update tree though; there are no deletions. But it affects the build
service and Factory.

Comment 17 Anja Stock 2008-08-12 12:28:32 UTC
released