I have only the standard repositories defined. When I attempt to start the Yast2 Software Manager I get the error message
There was an error in the repository initialization. ┬ │
│ │’UPdates’: |] Valid metadata not found at specified │ │
│ │URL(s) │ │
│ │History: │ │
│ │- Can’t hardlink/copy ┴ │
│ │/var/adm/mount/AP_0x00000003/repodata/repomd.xml to │ │
│ │/var/cache/zypp/raw/UPdates1WeE4V │ │
│ │- Can’t provide /repodata/repomd.xml : Can’t hardlink/copy
Is there any way that I can fix this?
| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
–±--------±--------±--------±--------±---------±-------±------------------------------------------±-------
1 | UPdates | UPdates | Yes | No | 99 | rpm-md | Index of /update/11.2 |
Something is amiss! The repos are in fact down and KDE update has been disabled on my system since it just hosed it twice in a row today. My system is back to working fine until YaST can do updates.
Do you know why you don’t have the OSS and NON-OSS repos?
You should add them
su terminal: do this
zypper ar -f http://download.opensuse.org/distribution/11.2/repo/non-oss/ NON-OSS
zypper ar -f http://download.opensuse.org/distribution/11.2/repo/oss/ OSS
There is down time on openSUSE servers today
Downtime/2010-03-09 - openSUSE Forums
The standard ones weren’t there because I removed them in my attempt to fix things. Now they are there as below
| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
–±--------±--------±--------±--------±---------±-------±-------------------------------------------------------------±-------
1 | NON-OSS | NON-OSS | Yes | Yes | 99 | yast2 | Index of /distribution/11.2/repo/non-oss |
2 | OSS | OSS | Yes | Yes | 99 | yast2 | Index of /distribution/11.2/repo/oss |
3 | UPdates | UPdates | Yes | No | 99 | rpm-md | Index of /update/11.2
But I’m still getting the same error.
Is there some way that I can rebuild the package database. I have just done an upgrade from 11.0 to 11.2 and this was my first attempt to do any package management since the upgrade.
Rebuilt the db. But no help. Still get the error.
There was an error in the repository initialization. ┬ │
│ │’UPdates’: |] Valid metadata not found at specified │ │
│ │URL(s) │ │
│ │History: │ │
│ │- Can’t hardlink/copy ┴ │
│ │/var/adm/mount/AP_0x00000003/repodata/repomd.xml to │ │
│ │/var/cache/zypp/raw/UPdatesQF6UKb │ │
│ │- Can’t provide /repodata/repomd.xml : Can’t hardlink/copy│ │
│
└──────────────────────────────────────────────────────────
Any other ideas?
do this in a su terminal
zyyper rr 3 UPdates
zypper ar -f http://download.opensuse.org/update/11.2/ Updates
Thanks for your assistance.
I executed those 2 commands. Then tried yast2 (the non-gui one) and ran Software Management.
I’m still getting pretty much the same error:
There was an error in the repository initialization.
‘Updates’: |] Valid metadata not found at specified URL(s)
History:
Can’t hardlink/copy
/var/adm/mount/AP_0x00000003/repodata/repomd.xml to
/var/cache/zypp/raw/Updatesx3p37R
Can’t provide /repodata/repomd.xml : Can’t hardlink/copy
/var/adm/mount/AP_0x00000003/repodata/repomd.xml to
/var/cache/zypp/raw/Updatesx3p37R
Any other ideas?
Please post your repos again
zypper lr -d
To the OP: did you take any ‘actions’ in /var ?? Did you ever reboot after occurrence of these problems?
djmills
March 13, 2010, 11:44am
#13
Rebooted the computer. Same errors as before.
zypper lr -d
now gives
| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
–±--------±--------±--------±--------±---------±-------±-------------------------------------------------------------±-------
1 | NON-OSS | NON-OSS | Yes | Yes | 99 | yast2 | Index of /distribution/11.2/repo/non-oss |
2 | OSS | OSS | Yes | Yes | 99 | yast2 | Index of /distribution/11.2/repo/oss |
3 | Updates | Updates | Yes | Yes | 99 | rpm-md | Index of /update/11.2
caf4926
March 13, 2010, 12:50pm
#14
Please try deleting anything in
/var/adm/mount/
and
/var/cache/zypp/raw/
I had the same issue. The reason in my case was my os-wide proxy configuration. Not sure what exactly the problem was, but I assume that it came from the fact that the configured proxy redirected to a different proxy. When I configured the proxy initially, Yast gave me a warning that something is wrong with https and my proxy, which I had ignored at that time.
After I set the proxy to the one that my initial proxy redirected to, both problems went away. (btw, in my browser, I had never problems. Maybe zypper and yast have issues with redirections of proxies)
I emptied those folders. Still no luck. The only difference is that the error message now refers to /var/adm/mount/AP_0x00000001.
In answer to the later suggestion, I don’t have proxy defined.
You could try removing them all then using mirrors to your location.
openSUSE Download Mirrors - 11.2
Do you know how quick it is to re-install? (You could keep /home assuming you have one)
The trouble is, the computer is in Japan and I am in Australia. I maintain it from afar. To reinstall requires me to be present locally.
OK
Try removing all the repo’s.
Then use these:
zypper ar -f http://ftp.novell.co.jp/pub/opensuse/update/11.2/ update
zypper ar -f http://ftp.novell.co.jp/pub/opensuse/distribution/11.2/repo/oss/ oss
zypper ar -f http://ftp.novell.co.jp/pub/opensuse/distribution/11.2/repo/non-oss/ non-oss
Hi, did that.
Pretty much get the same error.
There was an error in the repository initialization.
'update': |] Valid metadata not found at specified URL(s)
History:
- Can't hardlink/copy
/var/adm/mount/AP_0x00000001/repodata/repomd.xml to
/var/cache/zypp/raw/updateR0Fd2y
- Can't provide /repodata/repomd.xml : Can't hardlink/copy
/var/adm/mount/AP_0x00000001/repodata/repomd.xml to
/var/cache/zypp/raw/updateR0Fd2y