I have an urgent problem.
I use Yast 2 to install some software,but there is a big problem,I can not install any software,even i choose the Repository:DVD-Opensuse 11.0.
I delete all the Repositories,but then I can not add any Repositories.can somebody help me?
The Yast tell me that:
-Can’t copy /var/adm/mount/AP_0x00000004/media.1/media to /var/cache/zypp/raw/Main Repository(OSS)OymmF2
-can’t provide /media.1/media: Can’t copy /var/adm/mount/AP_0x00000004/media.1/media to /var/cache/zypp/raw/Main Repository(OSS)OymmF2
‘Updates_for_11.0’: can not found valid metadata on the specific URL.
History:
Can’t copy /var/adm/mount/AP_0x00000004/repodata/repomd.xml.asc to /var/cache/zypp/raw/Updates_for_11.06kCBny
Can’t provide /repodata/repomd.xml.asc : Can’t copy /var/adm/mount/AP_0x00000004/repodata/repomd.xml.asc to /var/cache/zypp/raw/Updates_for_11.06kCBny
Now I cannot add any Repositories,when i wan to add a Repository ,Yast tell me cannot copy some data.
When I want to add the repository the URL: http://download.opensuse.org/update/11.0/,this mistake happen .
There was an error in the repository initialization.
‘Updates_for_11.0’: Valid metadata not found at specified URL(s)
History:
Can’t copy /var/adm/mount/AP_0x00000004/repodata/repomd.xml.asc to /var/cache/zypp/raw/Updates_for_11.01ZRKTh
Can’t provide /repodata/repomd.xml.asc : Can’t copy /var/adm/mount/AP_0x00000004/repodata/repomd.xml.asc to /var/cache/zypp/raw/Updates_for_11.01ZRKTh
When I wanted to add the repository: opensSUSE-DVD_11.0,the mistake below happened.
Unable to save changes to the repository configuration.
Details:
opensSUSE-DVD_11.0: Valid metadata not found at specified URL(s)
History:
Can’t copy /media/SU1100.001/media.1/media to /var/cache/zypp/raw/openSUSE-DVD_11.0WenE3y
-can’t provide /media.1/media:Can’t copy /media/SU1100.001/media.1/media to /var/cache/zypp/raw/openSUSE-DVD_11.0WenE3y
Please do not cary on repeating yourself. We have seen the same error message again and again.
I asked you for telling exactly what you do, not what you try to achieve. As an example I will tell you what I would do to add a repo:
Start YaST > Software > Software repositories.
In the new window: click Add.
In the new view check Specify URL… and click Next.
In the next view enter the URL (e.g. http://download.opensuse.org/update/11.0/) and click next.
Do you likewise or different? And is this the place where the error message pops up, or later (or earlier).
1.Start YaST > Software > Software repositories.
2.In the new window: click Add.
3.In the new view check Specify URL… and click Next.
4.In the next view enter the URL (e.g. Index of /update/11.0) and
5.click next.
At this time,the error message pops up.
Can you understand what i told ?I cannot show you some pictures of the error message.In this forum, the picture cannot be uploaded.
I now understand what you experience. In fact I hope to atrackt people to this thread who know more about zypper then I know. In the meantime you could try do add a repo by using zypper, thus circumventing YaST. This may give a better insight in the error messages and because of being in the CLI it will be possible to post the conversation here by cut and paste.
I must repeat that I am not a regular zypper user, but from the man page I suppose that (in a terminal of course):
henk@boven:~> su -
Password:
boven:~ # zypper ar -t yast http://download.opensuse.org/update/11.0/ Update
linux-g73g:~ # zypper ar -t yast Index of /update/11.0 Update
Adding repository ‘Update’ [done]
Repository ‘Update’ successfully added
Enabled: Yes
Autorefresh: No
URI: Index of /update/11.0
And then I do the next step:
linux-g73g:~ # zypper refresh
Downloading repository ‘Updates for 11.0’ metadata [error]
Repository ‘Updates for 11.0’ is invalid.
Can’t provide /repodata/repomd.xml.asc : Can’t copy /var/adm/mount/AP_0x00000004/repodata/repomd.xml.asc to /var/cache/zypp/raw/Updates_for_11.0NY8Pye
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository ‘Updates for 11.0’ because of the above error.
File ‘/content’ not found on medium ‘http://download.opensuse.org/update/11.0/’
Back to the earlier errors. Maybe you could check what is in /var/adm/mount and /var/cache/zypp/raw. And check if root has rwx access to them.
You even could empty them so that zypper has to recreate al inside. Maybe something is rotten there.
These are only suggestions, remember I never did this before. It would also be useful for you to search this forum for things like ‘recreating zypper db’ or other zypper problems.