Bug 449200 - x86 installation sources are added automatically on PPC
Summary: x86 installation sources are added automatically on PPC
Status: RESOLVED DUPLICATE of bug 460697
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: Installation (show other bugs)
Version: Factory
Hardware: PowerPC Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Peter Poeml
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-26 13:14 UTC by peter czanik
Modified: 2009-01-22 09:34 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peter czanik 2008-11-26 13:14:58 UTC
I just finished installing the latest factory on PPC. I wanted to
install some non-oss apps, like Opera, but I could not find them in
sw_single, even after verifying, that it exists in the repo. Then I
realized, that the x86 repositories were added automagically, even on
PPC, that's why I could not find Opera & co.

linux:~ # LANG=en_US zypper -v sl -u
Verbosity: 1
# | Alias                 | Name                  | Enabled | Refresh |
Type   | URI
--+-----------------------+-----------------------+---------+---------+--------+-------------------------------------------------------------
1 | openSUSE 11.1-0       | openSUSE 11.1-0       | Yes     | Yes     |
yast2  | http://roxen.integrity.hu/pub/opensuse/ppc/factory/repo/oss/
2 | openSUSE-11.1-Updates | Updates for 11.1      | Yes     | Yes     |
rpm-md | http://download.opensuse.org/update/11.1/
3 | repo-debug            | openSUSE-11.1-Debug   | No      | Yes     |
NONE   | http://download.opensuse.org/distribution/11.1/repo/debug/
4 | repo-non-oss          | openSUSE-11.1-Non-Oss | Yes     | Yes     |
yast2  | http://download.opensuse.org/distribution/11.1/repo/non-oss/
5 | repo-oss              | openSUSE-11.1-Oss     | Yes     | Yes     |
yast2  | http://download.opensuse.org/distribution/11.1/repo/oss/

Automatically adding x86 sources does more harm than good IMHO, so it
should be removed or fixed on PPC.
Comment 1 Stephan Kulow 2008-11-26 13:25:10 UTC
what harm does it?
Comment 2 peter czanik 2008-11-26 13:39:50 UTC
Not actual harm to the machine, but quite a lot of wasted time and confusion to figure out what is wrong, even for somebody, who adds/deletes repositories on a daily basis. Not to mention, that before one can recognize the problem, a lot of metadata is downloaded from the Internet and rebuilt on the machine. So it is a waste of:
- bandwidth
- CPU
- time
And for a less experienced user some extra work: forum and/or mailing posts.

Even simply disabling the addition of the last three repositories would cause less confusion, one can still add a working PPC repository by hand.
Comment 3 Matt Sealey 2008-11-26 16:19:19 UTC
Aren't these repos perfectly valid except for the fact that PowerPC is hosted on powerpc.opensuse.org for the moment? Won't the repos be merged for release and these repos then work?

Or is powerpc.opensuse.org the brand new home and existing repos simply will not work? How would that affect a distribution upgrade from 11.0?
Comment 4 Stephan Kulow 2008-11-27 20:30:05 UTC
Peter, I would prefer registering download.opensuse.org/ppc/distribution/11.1/repo/oss and co - and map these to powerpc.o.o via redirect

do you think it's feasible?
Comment 5 Peter Poeml 2008-11-27 20:51:18 UTC
Hm, I wonder: what's the advantage of registering
download.opensuse.org/ppc/distribution/11.1/repo/oss
over
powerpc.opensuse.org/ppc/distribution/11.1/repo/oss
?
It needs a special path (the /ppc/ fragment) in any case.

But anyway, a redirect from download.o.o to powerpc.o.o is feasible.
Comment 6 Stephan Kulow 2008-11-29 11:15:56 UTC
the advantage would be to be able to provide another solution later. But I'll change it to use directly powerpc. you could sync RC1 though, so I can test the URLs :)
Comment 7 Peter Poeml 2008-11-29 13:49:57 UTC
It's there now. 
Comment 8 Peter Poeml 2009-01-21 16:07:40 UTC
I'm not exactly sure what the status is here. Anyone?
Anything remains to be done in this regard?
Comment 9 Matt Sealey 2009-01-21 16:59:23 UTC
Well, in the current repo (powerpc.opensuse.org/distribution/11.1/repo/oss), control.xml still references this (line ~174);

        <!-- FATE #300898, List of external sources accesible during the installation time -->
                <external_sources_link>http://download.opensuse.org/YaST/Repos/openSUSE_111_Servers.xml</external_sources_link>


Which points to an XML file which references other XML files which reference download.opensuse.org/distribution/11.1/repo/...

Directly underneath that line are still listed the x86 repositories and not the PPC ones. So I'd say it's pretty much not fixed. All it'd take is to respin this file for PowerPC - quite what generates it and how hard it is to do that, I don't know, but I think it comes under the same category of weirdness that is the "dosutils" directory existing in the PPC repository :D
Comment 10 Stephan Kulow 2009-01-22 09:34:52 UTC
yep, the xml is broken and my fix did not work. Too bad our ppc betas were that bad. Guess we need more people fixing ppc issues out there.

*** This bug has been marked as a duplicate of bug 460697 ***