Bug 342510

Summary: online update : patch is not applicable
Product: [openSUSE] openSUSE 10.3 Reporter: Stefan Sauer <ensonic>
Component: YaST2Assignee: Duncan Mac-Vicar <dmacvicar>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: /var/log/YaST2/y2log.gz
gzipped logfile
full log
screenshot of patch selection

Description Stefan Sauer 2007-11-17 09:29:48 UTC
Yast online update shows me lots of patches without details which I can not select. In the /var/log/YaST2/y2log I see:

2007-11-09 21:47:01 <1> hoshi(23657) [wfm] clients/online_update_select.ycp:68 Pkg Builtin called: ResolvablePreselectPatches
2007-11-09 21:47:01 <1> hoshi(23657) [wfm] Resolvable.cc(ResolvableSetPatches):651 Patch xscreensaver-3240 is not applicable
2007-11-09 21:47:01 <1> hoshi(23657) [wfm] Resolvable.cc(ResolvableSetPatches):651 Patch opensuse-updater-4042 is not applicable
2007-11-09 21:47:01 <1> hoshi(23657) [wfm] Resolvable.cc(ResolvableSetPatches):651 Patch kdebase3-3347 is not applicable
2007-11-09 21:47:01 <1> hoshi(23657) [wfm] Resolvable.cc(ResolvableSetPatches):651 Patch sax2-2445 is not applicable
2007-11-09 21:47:01 <1> hoshi(23657) [wfm] Resolvable.cc(ResolvableSetPatches):651 Patch nautilus-4436 is not applicable
...

Now I wonder why online update show those to me? I could understand that e.g. kde patches are not applicable as I use gnome, but there are lots of packages mentioned that I definitely have installed.
Comment 1 Jiří Suchomel 2007-11-19 21:19:09 UTC
Did you install any patches since 10.3 installation?
Please attach full y2logs.
Comment 2 Stefan Sauer 2007-11-21 20:27:15 UTC
Created attachment 184281 [details]
/var/log/YaST2/y2log.gz
Comment 3 Jiří Suchomel 2007-12-03 15:10:37 UTC
The attachment with your logs cannot be downloaded.
And please, answer also the second question.
Comment 4 Stefan Sauer 2007-12-03 16:05:25 UTC
(In reply to comment #3 from Jiri Suchomel)
> The attachment with your logs cannot be downloaded.
Well, I have no idea who has deleted it.

> And please, answer also the second question.
> 

Yes, I did successfully run several online updates. I have this behaviour since around begin of october (rough guess).
Comment 5 Jiří Suchomel 2007-12-04 08:19:32 UTC
(In reply to comment #4 from Stefan Kost)
> (In reply to comment #3 from Jiri Suchomel)
> > The attachment with your logs cannot be downloaded.
> Well, I have no idea who has deleted it.

So, please attach them again (just after you open online update and see the strange results), otherwise it won't be possible to investigate what's going on.
Comment 6 Stefan Sauer 2007-12-04 18:58:07 UTC
Created attachment 185882 [details]
gzipped logfile
Comment 8 Stefan Schubert 2007-12-05 10:10:50 UTC
Hm, I cannot see very much in the logfiles.
Could you please generate a testcase ?:
http://en.opensuse.org/Bugs/YaST#I_want_to_report_a_bug_related_to_package_dependencies_and_libzypp_solver._Which_logs_to_attach.3F
Comment 9 Stefan Sauer 2007-12-05 19:22:19 UTC
Did that:
> export ZYPP_FULLLOG=1
> export Y2MAXLOGSIZE=123456789
> export Y2MAXLOGNUM=42
> yast2 -gtk online_update

(gtk:20840): GLib-GObject-WARNING **: invalid cast from `GtkTextView' to `YGtkRichText'

** (gtk:20840): WARNING **: Unknown tag 'p'


I get those abouve warnings eveytime I click on a patch listed. Dunno if its related. Anyway all those pathes that are unchecked cannot be checked/selected (see screenshot).
Comment 10 Stefan Sauer 2007-12-05 19:23:32 UTC
Created attachment 186064 [details]
full log
Comment 11 Stefan Sauer 2007-12-05 19:25:21 UTC
Created attachment 186065 [details]
screenshot of patch selection
Comment 12 Stefan Schubert 2007-12-06 12:46:14 UTC
Your described patches are unneeded or satisfied. Only these patches are 
incomplete. So you should be able to select them:

2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 5: II_s_[S0:0][patch]pm-utils-2422-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 37: II_s_[S0:0][patch]gdm-2653-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 102: II_s_[S0:0][patch]lvm2-2438-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 183: II_s_[S0:0][patch]kpowersave-2698-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 293: II_s_[S0:0][patch]w3m-2433-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 297: II_s_[S0:0][patch]xpdf-tools-2472-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 367: II_s_[S0:0][patch]rrdtool-2540-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 485: II_s_[S0:0][patch]gnokii-2689-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 522: II_s_[S0:0][patch]pam-2601-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 558: II_s_[S0:0][patch]wxGTK-2411-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 584: II_s_[S0:0][patch]openssl-2548-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 680: II_s_[S0:0][patch]yast2-sudo-2441-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 762: II_s_[S0:0][patch]xorg-x11-Xvnc-2491-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 788: II_s_[S0:0][patch]yast2-printer-2706-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 822: II_s_[S0:0][patch]hal-resmgr-2639-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 1091: II_s_[S0:0][patch]NetworkManager-kde-2591-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 1115: II_s_[S0:0][patch]doxygen-2694-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 1126: II_s_[S0:0][patch]novfs-kmp-bigsmp-2630-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 1189: II_s_[S0:0][patch]sax2-2445-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 1245: II_s_[S0:0][patch]bluez-utils-2492-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 1263: II_s_[S0:0][patch]neon-2476-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 1270: II_s_[S0:0][patch]sysvinit-2424-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 1328: II_s_[S0:0][patch]agfa-fonts-2650-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 1352: II_s_[S0:0][patch]liboil-2419-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 1421: II_s_[S0:0][patch]gnome-terminal-2696-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 1444: II_s_[S0:0][patch]powersave-2526-0.noarch
2007-12-05 21:10:28 <999> hoshi(20840) [zypp] Resolver.cc(show_pool):1257 1485: II_s_[S0:0][patch]kdenetwork3-InstantMessenger-2599-0.noarch

So I cannot see any problem here. Assign to Jörg due comment#9 which seems to be and bug
Comment 13 Stefan Sauer 2007-12-18 22:26:53 UTC
I forced the qt ui by editing /etc/sysconfig/yast2. This also shows lots of 'installable patches' and they are actually selectable. When pressing 'accept' it checks the dependencies, then switches to the installation view and closes the window :(
Comment 15 Duncan Mac-Vicar 2008-07-15 15:56:47 UTC
Simply unneeded patches. I can't believe the amount of time looping with this no-bug.

You should no be looking into logs if you don't understand what they are telling, that is what the UI was made for, and the UI will hide unneeded patches for you.
Comment 16 Stefan Sauer 2008-07-21 11:34:37 UTC
Duncan, thats the whole point of the report, the UI shows them too. I'll update to 11.0 next two days and reopen if the problem persists.