I installed OpenSUSE 11.2 yesterday using the GNOME live CD. I did installed some software trying to get my wireless to work (broadcom-wl and the kernel module).
Now, when I try to click on ’ Install Software’ option in the menu the following warning appears:
"
There was an error in the repository initialization.
‘repo-oss’: |] Valid metadata not found at specified URL(s)
History:
- Can’t hardlink/copy /var/adm/mount/AP_0x00000001/suse/setup/descr/non_oss-11.2-20.22.1.i586.pat.gz to /var/cache/zypp/raw/repo-ossuSL8Z0
- Can’t provide ./suse/setup/descr/non_oss-11.2-20.22.1.i586.pat.gz : Can’t hardlink/copy /var/adm/mount/AP_0x00000001/suse/setup/descr/non_oss-11.2-20.22.1.i586.pat.gz to /var/cache/zypp/raw/repo-ossuSL8Z0
"
Did I break something? How to fix it?
Thanks in advance,
Yoiu can try (from a terminal):
sudo zypper clean
sudo zypper ref
sudo zypper up
if that doesn’t work, please post the output of:
sudo zypper lr
It seems I broke something - I installed Chrome and broadcom-wl by myself.
Running zypper ref gives me:
linux-i9ok:/home/vitorpy # zypper ref
Repository 'google-chrome' is up to date.
Repository 'openSUSE-11.2-Non-Oss' is up to date.
Retrieving repository 'openSUSE-11.2-Oss' metadata [error]
Repository 'openSUSE-11.2-Oss' is invalid.
Can't provide /content : Can't hardlink/copy /var/adm/mount/AP_0x00000001/content to /var/cache/zypp/raw/repo-oss0OkTHG
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-11.2-Oss' because of the above error.
Repository 'openSUSE-11.2-Update' is up to date.
Some of the repositories have not been refreshed because of an error.
Running zypper lr gives me:
linux-i9ok:/home/vitorpy # zypper lr
# | Alias | Name | Enabled | Refresh
--+---------------+-----------------------+---------+--------
1 | google-chrome | google-chrome | Yes | Yes
2 | repo-debug | openSUSE-11.2-Debug | No | Yes
3 | repo-non-oss | openSUSE-11.2-Non-Oss | Yes | Yes
4 | repo-oss | openSUSE-11.2-Oss | Yes | Yes
5 | repo-source | openSUSE-11.2-Source | No | Yes
6 | repo-update | openSUSE-11.2-Update | Yes | Yes
Bad luck in my first contact with openSUSE 
I tried to check if chrome’s repository was the problem but disabling it does not change zypper ref results. Running zypper ref with --verbose gives me:
linux-i9ok:/home/vitorpy # zypper --verbose ref
Verbosity: 1
Initializing Target
Specified repositories:
Skipping disabled repository 'google-chrome'
Skipping disabled repository 'openSUSE-11.2-Debug'
Checking whether to refresh metadata for openSUSE-11.2-Non-Oss
Retrieving: content [done]
Retrieving: media [done]
Retrieving: content [done]
Retrieving: media [done]
Retrieving: media [done]
Retrieving: content.asc [done]
Retrieving: content.key [done]
Retrieving: content [done (0 B/s)]
Retrieving repository 'openSUSE-11.2-Non-Oss' metadata [done]
Checking whether to refresh metadata for openSUSE-11.2-Oss
Retrieving: media [done]
Retrieving: content.asc [done]
Retrieving: content.key [done]
Retrieving: content [done]
Retrieving repository 'openSUSE-11.2-Oss' metadata [error]
Repository 'openSUSE-11.2-Oss' is invalid.
History:
- Can't hardlink/copy /var/adm/mount/AP_0x00000001/content to /var/cache/zypp/raw/repo-ossucU3Z6
- Can't provide /content : Can't hardlink/copy /var/adm/mount/AP_0x00000001/content to /var/cache/zypp/raw/repo-ossucU3Z6
- |] Valid metadata not found at specified URL(s)
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-11.2-Oss' because of the above error.
Skipping disabled repository 'openSUSE-11.2-Source'
Checking whether to refresh metadata for openSUSE-11.2-Update
Retrieving: repomd.xml [done (0 B/s)]
Repository 'openSUSE-11.2-Update' is up to date.
Some of the repositories have not been refreshed because of an error.
what is the output of:
zypper lr repo-oss
mine looks like:
Alias : repo-oss
Name : openSUSE-11.2-Oss
URI : http://download.opensuse.org/distribution/11.2/repo/oss/
Enabled : Yes
Priority : 99
Auto-refresh : On
Keep Packages : Off
Type : yast2
GPG Check : On
GPG Key URI :
Path Prefix : /
Parent Service :
MD Cache Path : /var/cache/zypp/raw/repo-oss
This:
linux-i9ok:/var/adm/mount # zypper lr repo-oss
Alias : repo-oss
Name : openSUSE-11.2-Oss
URI : http://download.opensuse.org/distribution/11.2/repo/oss/
Enabled : Yes
Priority : 99
Auto-refresh : On
Keep Packages : Off
Type : yast2
GPG Check : On
GPG Key URI :
Path Prefix :
Parent Service :
MD Cache Path : /var/cache/zypp/raw/repo-oss
Lets try deletign it an re adding it:
sudo zypper rr repo-oss
sudo zypper ar -f http://download.opensuse.org/distribution/11.2/repo/oss/ repo-oss
sudo zypper ref
It didn’t work.
linux-i9ok:/home/vitorpy # zypper rr repo-oss
Removing repository 'openSUSE-11.2-Oss' [done]
Repository 'openSUSE-11.2-Oss' has been removed.
linux-i9ok:/home/vitorpy # zypper ar -f http://download.opensuse.org/distribution/11.2/repo/oss/ repo-oss
Adding repository 'repo-oss' [done]
Repository 'repo-oss' successfully added
Enabled: Yes
Autorefresh: Yes
URI: http://download.opensuse.org/distribution/11.2/repo/oss/
linux-i9ok:/home/vitorpy # zypper ref
Retrieving repository 'openSUSE-11.2-Non-Oss' metadata [done]
Retrieving repository 'repo-oss' metadata [error]
Repository 'repo-oss' is invalid.
Can't provide ./suse/setup/descr/dvd-11.2-20.22.1.i586.pat.gz : Can't hardlink/copy /var/adm/mount/AP_0x00000001/suse/setup/descr/dvd-11.2-20.22.1.i586.pat.gz to /var/cache/zypp/raw/repo-oss0y88JC
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'repo-oss' because of the above error.
Repository 'openSUSE-11.2-Update' is up to date.
Some of the repositories have not been refreshed because of an error.
I am at a loss, perhaps deleting it and readding it with a deffernt alias?
I tried running zypper clean -a for cleaning everything. After that, everything is broken.
linux-i9ok:/var/adm/mount # zypper clean -a
All repositories have been cleaned up.
linux-i9ok:/var/adm/mount # zypper ref
Retrieving repository 'openSUSE-11.2-Non-Oss' metadata [error]
Repository 'openSUSE-11.2-Non-Oss' is invalid.
Can't provide ./suse/setup/descr/packages.en.gz : Can't hardlink/copy /var/adm/mount/AP_0x00000001/suse/setup/descr/packages.en.gz to /var/cache/zypp/raw/repo-non-oss7HACVr
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-11.2-Non-Oss' because of the above error.
Retrieving repository 'repo-oss' metadata [error]
Repository 'repo-oss' is invalid.
Can't provide ./suse/setup/descr/dvd-11.2-20.22.1.i586.pat.gz : Can't hardlink/copy /var/adm/mount/AP_0x00000001/suse/setup/descr/dvd-11.2-20.22.1.i586.pat.gz to /var/cache/zypp/raw/repo-ossW7Qn89
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'repo-oss' because of the above error.
Retrieving repository 'openSUSE-11.2-Update' metadata [error]
Repository 'openSUSE-11.2-Update' is invalid.
Can't provide ./repodata/d1d8afbafa9a1b10c1623cc7a95467b95e1a913b-updateinfo.xml.gz : Can't hardlink/copy /var/adm/mount/AP_0x00000001/repodata/d1d8afbafa9a1b10c1623cc7a95467b95e1a913b-updateinfo.xml.gz to /var/cache/zypp/raw/repo-updateznucWD
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'openSUSE-11.2-Update' because of the above error.
Could not refresh the repositories because of errors.
I was trying to put a .NET project to work on Mono so I could migrate my servers at work to Linux. Seems I’m going to have to stay with Windows for a while 
Not at all sure how you messed it up but this is not even close to normal. You are not connecting to the repo’s are you sure you have the correct URL’s??
Go to yast Software repository remove them all then select them again from the community lists
I’ll post the solution here just in case someone else hits the same problem.
Deleting all default repositories and re-adding them using a mirror directly instead of download.opensuse.org (also, with different alias) did the trick.
Why this worked and what caused the problem in first place are still questions I don’t know. I’ll try to check any logs and post again if I can answer those questions.
Thanks to simon123 on #suse at freenode for helping me out with this and finding this way to make this work again. I’m most impressed by the quality of the openSUSE community. Thanks everyone.
This could be a problem with the redirection from the base site. It is supposed to find a site close to you and redirect to that mirror. Maybe the mirror is down???
I first used gwdg.de but now I changed to the ufpr.br, way closer to me, and everything seems to work. But, yes, probably some mirror is down. The uol.com.br mirror is listed as supporting 11.2 but doesn’t seem to host it when I browse the site (Index of /pub/opensuse/distribution). It could be redirecting me to it.