Bug 156979

Summary: selecting same update partition multiple time results random packages to update
Product: [openSUSE] SUSE Linux 10.1 Reporter: Johannes Meixner <jsmeix>
Component: Update ProblemsAssignee: Ladislav Slezák <lslezak>
Status: RESOLVED WONTFIX QA Contact: Klaus Kämpf <kkaempf>
Severity: Critical    
Priority: P5 - None CC: suse-beta
Version: Beta 8   
Target Milestone: ---   
Hardware: x86-64   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: tgz of /var/log/YaST2/*
YaST "Installation Settings" screenshot
YaST package manager screenshot
YaST "Installation Settings" screenshot
YaST package manager screenshot

Description Johannes Meixner 2006-03-10 10:52:38 UTC
What I did:
Booted from 10.1 beta7 CD.
Selected to update.
Selected root partition to update.
Got YaST "Installation Settings" screen which shows
that it will update about 900 Packages
and that there is a package conflict which must be manually solved.

Selected "Selected for Update" again and got
"Select for Update" scrren where I only clicked [Accept]
(still the same root partition to update which is o.k.)
got back to the "Installation Settings" screen which shows
now only 5 packages to update
and no longer a package conflict.

Selected "Selected for Update" again and got
"Select for Update" scrren where I only clicked [Accept]
(still the same root partition to update which is o.k.)
got back to the "Installation Settings" screen which shows
now 7 packages to update
and no longer a package conflict.

Because the package conflict disappeared I assume it is not
only a wrong information shown but that the packages to update
really change randomly only by selecting and confirming the
same update partition multiple times.
Comment 1 Johannes Meixner 2006-03-10 10:55:31 UTC
Created attachment 72207 [details]
tgz of /var/log/YaST2/* 

I will reboot from 10.1 CD and do the update again  - i.e. I cannot provide further information.
Comment 2 Johannes Meixner 2006-03-10 11:07:57 UTC
After reboot I got again the
YaST "Installation Settings" screen which shows
that it will update about 900 Packages
and that there is a package conflict which must be manually solved.

After solving the conflict (it was only about one single package)
the YaST "Installation Settings" screen shows 0 packages to update
but 1088 new packages to be installed.

Perhaps only a misleading message?
Probably I should simply ignore what YaST tells me about packages ;-)
Comment 3 Christian Boltz 2006-03-10 23:37:17 UTC
(In reply to comment #2)
> After solving the conflict (it was only about one single package)
> the YaST "Installation Settings" screen shows 0 packages to update
> but 1088 new packages to be installed.

This one is already known - bug 155284 / bug 154720

About the remaining issue: When YaST shows only few packages to install/update, go to the package manager detail view - does it look "normal" (lots of packages marked for update)?
Comment 4 Johannes Meixner 2006-03-13 08:47:37 UTC
I am afraid, at the moment I cannot re-do an update to answer
your question - I need the updated system for other tests.
Comment 5 Michael Gross 2006-03-13 15:03:47 UTC
Maby this one should be handled seperately. Reassigning.
Comment 6 Johannes Meixner 2006-03-20 14:08:13 UTC
Reinstalled 10.0 system from scratch
and updated it to 10.1 beta8.
Comment 7 Johannes Meixner 2006-03-20 14:10:05 UTC
Created attachment 73968 [details]
YaST "Installation Settings" screenshot

Meanwhile probably correct size info but still wrong package numbers.
Comment 8 Johannes Meixner 2006-03-20 14:13:25 UTC
Created attachment 73969 [details]
YaST package manager screenshot
Comment 9 Johannes Meixner 2006-03-20 14:25:42 UTC
After leaving the package manager I got the same
"Installation Settings" screen.

Then I selected the "Selected for Update" and got
the "Select for Update" screen where I only clicked [Accept]
(still the same root partition to update which is o.k.)
and got back to the "Installation Settings" screen which
hangs for a few minutes with the "busy"-mouse cursor
(the arrow with the running clock) and several y2log* files
are filled up with tons of messages from the "Resolver*".
Comment 13 Johannes Meixner 2006-03-20 14:37:13 UTC
Created attachment 73981 [details]
YaST "Installation Settings" screenshot

After "Selected for Update"
the packages to update are wrong.
Comment 14 Johannes Meixner 2006-03-20 14:38:07 UTC
Created attachment 73982 [details]
YaST package manager screenshot

Compare this with comment #8
Comment 16 Johannes Meixner 2006-03-20 14:54:32 UTC
I cannot answer further questions because I will redo the update
because I need a correctly updated system for my own tests.
Comment 17 Johannes Meixner 2006-03-20 15:10:38 UTC
In particular note that in screenshot comment #13 there is still
"Packages to Remove: 0"
which is dangerous misleading for the user according to the
corresponding screenshot in comment #14 which shows that
tons of packages would be actually removed.
Comment 18 Stanislav Visnovsky 2006-03-21 14:48:48 UTC
Sounds like a duplicate of #154720
Comment 19 Johannes Meixner 2006-03-21 15:08:10 UTC
As far as I see only comment #17 is a duplicate of bug #154720.
But note the subject and the initial comment of this bug.
Comment 20 Stanislav Visnovsky 2006-04-11 18:24:38 UTC
Any progress on this?
Comment 21 Ladislav Slezák 2006-04-12 05:45:08 UTC
No big progress - I have tested it and it seems that zypp is probably not completely resetted when a new (or the same) target partition is set. I'll investigate more...
Comment 22 Stanislav Visnovsky 2006-04-19 10:36:11 UTC
It is not possible to change the root partition anymore.
Comment 23 Johannes Meixner 2006-04-19 10:52:11 UTC
I do not understand comment #22 and why it is "WONTFIX".
Do you mean that on the YaST "Installation Settings" screen
the item "Selected for Update" was simply removed?
If yes, I think it is perfectly o.k. and therefore FIXED
because the user cannot expect to change anything later.
Comment 24 Ladislav Slezák 2006-04-19 10:54:50 UTC
Yes, "Selected for Update" item has been removed.