Bug 460697

Summary: download.opensuse.org has no binary packages
Product: [openSUSE] openSUSE 11.1 Reporter: Olaf Hering <ohering>
Component: InstallationAssignee: Stephan Kulow <coolo>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P4 - Low CC: peter, stefan.fent
Version: Final   
Target Milestone: ---   
Hardware: PowerPC   
OS: Linux   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Olaf Hering 2008-12-19 12:50:06 UTC
A fresh install of 11.1 has download repos pointing to http://download.opensuse.org/

Now that this server is intel only (except for update), all repos must automatically point to powerpc.opensuse.org


linux-pfor:~ # zypper sl -d
# | Alias           | Name                  | Enabled | Refresh | Priority | Type   | URI
--+-----------------+-----------------------+---------+---------+----------+--------+----------------------------------------------------------------
1 | openSUSE 11.1-0 | openSUSE 11.1-0       | Yes     | No      | 99       | yast2  | cd:///?devices=/dev/sr0
2 | repo-debug      | openSUSE-11.1-Debug   | No      | Yes     | 100      | NONE   | http://download.opensuse.org/debug/distribution/11.1/repo/oss/
3 | repo-non-oss    | openSUSE-11.1-Non-Oss | Yes     | Yes     | 100      | yast2  | http://download.opensuse.org/distribution/11.1/repo/non-oss/
4 | repo-oss        | openSUSE-11.1-Oss     | Yes     | Yes     | 100      | yast2  | http://download.opensuse.org/distribution/11.1/repo/oss/
5 | repo-source     | openSUSE-11.1-Source  | No      | Yes     | 100      | NONE   | http://download.opensuse.org/source/distribution/11.1/repo/oss/
6 | repo-update     | openSUSE-11.1-Update  | Yes     | Yes     | 20       | rpm-md | http://download.opensuse.org/update/11.1/
Comment 1 Stephan Kulow 2009-01-19 10:33:44 UTC
it was supposed to work, so I'll check with low prio. I guess I just filter out all download.o.o repos on ppc
Comment 2 Olaf Hering 2009-01-19 15:30:33 UTC
right now all autoconfigured repositories point still to download.opensuse.org

Where does that info come from, how does yast know what to auto-add as repo?
Comment 3 Stephan Kulow 2009-01-21 13:45:20 UTC
it's in the control.xml

I tried this:

%ifarch ppc
sed -i -e "s,http://download.opensuse.org/distribution/11.1/,http://powerpc.opensuse.org/distribution/11.1/" $RPM_BUILD_ROOT/CD1/control.xml
sed -i -e "s,http://download.opensuse.org/debug/,http://powerpc.opensuse.org/debug/," $RPM_BUILD_ROOT/CD1/control.xml
sed -i -e "s,http://download.opensuse.org/source/,http://powerpc.opensuse.org/source/," $RPM_BUILD_ROOT/CD1/control.xml
%endif

Unfortunately the package is noarch, so it was pure luck this didn't break everything
Comment 4 Olaf Hering 2009-01-21 17:05:59 UTC
so there is no way to get it fixed for the released media?!
Comment 5 Olaf Hering 2009-01-22 09:25:59 UTC
the .xml files on powerpc.opensuse.org are broken as well.
Time for a vi session on the server ...
Comment 6 Stephan Kulow 2009-01-22 09:29:36 UTC
good luck in editing the gpg signature. Much easier to zypper mr - technically you could provide a ppc package with an update script that does it automatically. But I don't think it's worthy, the repos are fixed easily. Especially if you managed to do a network install from powerpc - because the ppc network media have different repos defined too.

Unfortunately the bug is still not fixed for 11.2, my sed doesn't seem to work.
Comment 7 Stephan Kulow 2009-01-22 09:34:53 UTC
*** Bug 449200 has been marked as a duplicate of this bug. ***
Comment 8 Olaf Hering 2009-01-22 09:37:18 UTC
why is it so hard to redo the meta data on powerpc.opensuse.org?
Comment 9 Stephan Kulow 2009-01-26 16:26:07 UTC
verified that it works for factory now

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