Bug 708019

Summary: virtualisation repro is recognized as banshee repro
Product: [openSUSE] openSUSE 11.4 Reporter: melchiaros melchiaros <melchiaros>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.4   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: wrong repro display
zypp history
y2log
the yast2 logfolder
old zypper

Description melchiaros melchiaros 2011-07-25 11:31:35 UTC
Created attachment 442062 [details]
wrong repro display

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0


I´ve here 
http://download.opensuse.org/repositories/Virtualization/openSUSE_11.4/
and
http://download.opensuse.org/repositories/Banshee/openSUSE_11.4/

The problem is that yast2 order the packages to the wrong names of the repros, see screenshot.



Reproducible: Always

Steps to Reproduce:
1.Install many repros
2.see that yast2 get confused about the names of the repros 
3.
Comment 1 melchiaros melchiaros 2011-07-25 11:32:48 UTC
Some other repros are affected.
Comment 2 melchiaros melchiaros 2011-07-25 11:37:59 UTC
Created attachment 442067 [details]
zypp history
Comment 3 melchiaros melchiaros 2011-07-25 11:42:34 UTC
Created attachment 442069 [details]
y2log
Comment 4 Ladislav Slezák 2011-07-27 12:06:34 UTC
It seems that the repository definitions are messed somehow:

2011-07-25 13:09:43 <1> linux-9aw6(11076) [Progress++] ProgressData.cc(report):86 {#1454|/etc/zypp/repos.d/Virtualization_openSUSE_11.4_.repo}END
2011-07-25 13:09:43 <1> linux-9aw6(11076) [zypp] RepoFileReader.cc(repositories_in_stream):100 - alias       : Virtualization/openSUSE_11.4/
2011-07-25 13:09:43 <1> linux-9aw6(11076) [zypp] ProductFileReader.cc(parse):242 - name        : openSUSE BuildService - Banshee
2011-07-25 13:09:43 <1> linux-9aw6(11076) [zypp] ProductFileReader.cc(parse):242 - enabled     : 1
2011-07-25 13:09:43 <1> linux-9aw6(11076) [zypp] ProductFileReader.cc(parse):242 - autorefresh : 1
2011-07-25 13:09:43 <1> linux-9aw6(11076) [zypp] ProductFileReader.cc(parse):242 - url         : http://download.opensuse.org/repositories/Virtualization/openSUSE_11.4/

The Virtuallization repository has Banshee name. Check the content of /etc/zypp/repos.d/Virtualization_openSUSE_11.4_.repo file.

Did you manually edit the repo files? The zypp history file does not contain any change of the repository.
Comment 5 melchiaros melchiaros 2011-07-27 13:02:09 UTC
No, I did not manually edit the repro file.

In the past I had to do a downgrade of my system to the openSUSE11.4 installation dvd(not starting system), which brought some nasty figuring around with it to bring the things up again, also the repros, so the cause of this might be there.
Comment 6 melchiaros melchiaros 2011-07-27 13:09:52 UTC
Interesting! I´ve looked at the file:

[Virtualization/openSUSE_11.4/]
name=openSUSE BuildService - Banshee
enabled=1
autorefresh=1
baseurl=http://download.opensuse.org/repositories/Virtualization/openSUSE_11.4/
path=/
type=rpm-md
keeppackages=0


Yes somehow it has chanched. But be sure I do not edit this manually:)Ha!
Comment 7 melchiaros melchiaros 2011-07-27 13:15:03 UTC
o.K, I can´t see how to get bugfix for this directly.
Have you an idea/suggestion that is beside setting it back manually.
------------------------------------------------------------------------
May be it could be usefull to try a reproducing like:

installing a openSUSE11.4
bring it to the newest repros(you can get a list of my repros).
downgrade it with the original version(dvd:actualisation option)
upgrade it again and see how affect this zypper

But it would be a time consuming thing.
Comment 8 Ladislav Slezák 2011-07-27 13:32:53 UTC
Yes, that would take too much time.

Do you have some older yast logs? /var/log/YaST2/y2log file is rotated, maybe some older /var/log/YaST2/y2log-*.gz contains log from the update. Please, attach all YaST logs (use 'save_y2logs' command).

Maybe the repositories were messed during repository update - there is a dialog where you enable/remove the old repositories. Maybe this step caused the problem...
Comment 9 melchiaros melchiaros 2011-07-27 14:01:40 UTC
"Maybe the repositories were messed during repository update - there is a dialog
where you enable/remove the old repositories. Maybe this step caused the
problem..."

A:Yes, I have thought of this.

Q:Do you have some older yast logs?

A: Yes, I have compressed the yast2 logfolder with dolphin and not with the script.Hope that do it also.
Comment 10 melchiaros melchiaros 2011-07-27 14:03:38 UTC
Created attachment 442664 [details]
the yast2 logfolder
Comment 11 Ladislav Slezák 2011-08-05 08:13:42 UTC
Unfortunately the logs were rotated, the oldest (installation) logs were deleted to save disk space :-(

Do you remember what exactly you did during the upgrade? Esp. related to the old repositories so we could potentially reproduce the problem.
Comment 12 melchiaros melchiaros 2011-08-07 16:21:38 UTC
Sorry, but that is to long ago.

I got here two older zypper files. I upload it.
Comment 13 melchiaros melchiaros 2011-08-07 16:24:45 UTC
Created attachment 444580 [details]
old zypper
Comment 14 Ladislav Slezák 2011-08-08 08:00:17 UTC
Unfortunately zypper logs do not help as the change was done by YaST.

Anyway, I'll try reproducing the problem next time I do an upgrade...
Comment 15 Ladislav Slezák 2014-07-29 09:16:37 UTC
I haven't seen any issue similar to this. Moreover the installer has been modified in Factory/13.2 to apply the repository changes immediately (so if something messed up the repos later it should not happen anymore).

So I suppose it was fixed (indirectly).