Problem adding nvidia repository

well, I think so…
rpms coming from ftp://download.nvidia.com/opensuse/11.4/

Could you check it from your software repositories?

Download (curl) error for 'ftp://download.nvidia.com/opensuse/11.4/repodata/repomd.xml':
Error code: HTTP response: 500
Error message: The requested URL returned error: 500

Maybe the error based on web server.

HTTP Error 500 Internal server error Explained

500 - Internal Server Error
The request was unsuccessful due to an unexpected condition encountered by the server

Check also this http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/413602-opensuse-11-1-nvidia-drivers-2.html

curl ftp://download.nvidia.com/opensuse/11.4/repodata/repomd.xml
<?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo">
  <data type="other">
    <location href="repodata/other.xml.gz"/>
    <checksum type="sha">4a8a8f3b51007efe68276eb1918dc8054ab4750c</checksum>
    <timestamp>1300743291</timestamp>
    <open-checksum type="sha">161ad16509c5d1812a57aacf3eb08954daf01eab</open-checksum>
  </data>
  <data type="filelists">
    <location href="repodata/filelists.xml.gz"/>
    <checksum type="sha">27bd45f2858577aa2554b004e9a213889a956187</checksum>
    <timestamp>1300743291</timestamp>
    <open-checksum type="sha">0fab7c253544dc9d306a6221e947bacb9c0b4508</open-checksum>
  </data>
  <data type="primary">
    <location href="repodata/primary.xml.gz"/>
    <checksum type="sha">120618a9d71628e3249b2a957a40fe7f830233be</checksum>
    <timestamp>1300743291</timestamp>
    <open-checksum type="sha">37e11cf8d7b4592ba825f24f1bd3c8d1ce40efc3</open-checksum>
  </data>
</repomd>
:~> cat /etc/zypp/repos.d/download.nvidia.com-opensuse_1.repo
[download.nvidia.com-opensuse_1]
name=nVidia Graphics Drivers
enabled=1
autorefresh=1
baseurl=ftp://download.nvidia.com/opensuse/11.4/
path=/
type=rpm-md
keeppackages=1

also tried to navigate ftp://download.nvidia.com/opensuse/11.4/x86_64/ and works…
don’t know whattasay, sorry.

That’s very nice with the same repo. I know what to say:STRANGE:::\

So, the following works:

curl [noparse]ftp://download.nvidia.com/opensuse/11.4/repodata/repomd.xml[/noparse]

But the following doesn’t:

Download (curl) error for 'ftp://download.nvidia.com/opensuse/11.4/repodata/repomd.xml':
Error code: HTTP response: 500

What about installing another 3rd party repo, like for example virtualbox, to see if it gaves the same kind of error?

su -l
zypper ar http://download.virtualbox.org/virtualbox/rpm/opensuse/11.4 virtualbox
zypper refresh

You can delete the repo afterwards if you’re not planning to install virtualbox.

I suggest to make a zypper refresh to see if all repos have the same problem.


zypper refresh

Repository 'KR46' is up to date.
Repository 'KR46-extra' is up to date.
Retrieving repository 'nvidia' metadata \]
Download (curl) error for 'ftp://download.nvidia.com/opensuse/11.4/repodata/repomd.xml':
Error code: HTTP response: 500
Error message: The requested URL returned error: 500

Abort, retry, ignore? [a/r/i/?] (a): a
Download (curl) error for 'ftp://download.nvidia.com/opensuse/11.4/content':
Error code: HTTP response: 500
Error message: The requested URL returned error: 500

Abort, retry, ignore? [a/r/i/?] (a): a
Retrieving repository 'nvidia' metadata [error]
Repository 'nvidia' is invalid.
Download (curl) error for 'ftp://download.nvidia.com/opensuse/11.4/content':
Error code: HTTP response: 500
Error message: The requested URL returned error: 500

Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'nvidia' because of the above error.
Repository 'openSUSE-11.4 Non-OSS' is up to date.
Repository 'openSUSE-11.4 OSS' is up to date.
Repository 'openSUSE-11.4 Updates' is up to date.
Retrieving repository 'virtualbox' metadata -]

New repository or package signing key received:
Key ID: 54422A4B98AB5139
Key Name: Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>
Key Fingerprint: 7B0FAB3A13B907435925D9C954422A4B98AB5139
Key Created: Tue 18 May 2010 08:38:56 PM IDT
Key Expires: (does not expire)
Repository: virtualbox

Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): t
Retrieving repository 'virtualbox' metadata [done]
Building repository 'virtualbox' cache [done]
Some of the repositories have not been refreshed because of an error.

There was no problem with the virtualbox repository.

Only with this repository

zypper refresh

Repository 'KR46' is up to date.
Repository 'KR46-extra' is up to date.
Retrieving repository 'nvidia' metadata \]
Download (curl) error for 'ftp://download.nvidia.com/opensuse/11.4/repodata/repomd.xml':
Error code: HTTP response: 500
Error message: The requested URL returned error: 500

Abort, retry, ignore? [a/r/i/?] (a): a
Download (curl) error for 'ftp://download.nvidia.com/opensuse/11.4/content':
Error code: HTTP response: 500
Error message: The requested URL returned error: 500

Abort, retry, ignore? [a/r/i/?] (a): a
Retrieving repository 'nvidia' metadata [error]
Repository 'nvidia' is invalid.
Download (curl) error for 'ftp://download.nvidia.com/opensuse/11.4/content':
Error code: HTTP response: 500
Error message: The requested URL returned error: 500

Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'nvidia' because of the above error.
Repository 'openSUSE-11.4 Non-OSS' is up to date.
Repository 'openSUSE-11.4 OSS' is up to date.
Repository 'openSUSE-11.4 Updates' is up to date.
Retrieving repository 'virtualbox' metadata -]

New repository or package signing key received:
Key ID: 54422A4B98AB5139

Tell us your installation process.

You had nvidia installed twice: same URL, two names ‘nvidia’ and ‘NVIDIA’. You removed one of them. You should try to remove the other one now, so remove it completely and do a zypper refresh… maybe even rebuild the rpm database. Then add the nvidia repo again and do a refresh… (?)

Doesn’t work. Same problem.

Have you removed the second nvidia repo as please_try_again said?
Because as i have seen you have the same repo twice.

Yes. I have removed it, refreshed (all ok), rebuilt the rpm database, added the nvidia repository again, refreshed. Same problem. This problem existed before there were two URLs.
Thanks again for the help. I hope we can resolve this…

Assuming you called the repo nvidia while reinstalling (check its name with zypper lr), look at this file:

cat /etc/zypp/repos.d/nvidia.repo

and if you don’t have it (or it doesn’t look right) copy/paste this into it (and remove its current content):


[nvidia]
name=nvidia
enabled=1
autorefresh=0
baseurl=http://download.nvidia.com/opensuse/11.4/
type=rpm-md
keeppackages=1

This is mine and of course, this is debatable. So to answer further comments about this file, autorefresh is disabled, because I don’t want to refresh this repo (I never had to update the nvidia driver under openSUSE once installed) and the keeppackages in enabled because I want to keep the package (and occasionnaly post older versions to the forum when the latest version doesn’t work - as we’ve seen already in what has become one of the most popular thread: NVIDIA 260.19 Issues)

Then do a zypper refresh and try to install x11-video-nvidiaG02.

But anyway, this is not important here and you can always change this behaviour at a later point by editing this file, from YaST or with the -r or -R zypper options to enable/disable autorefresh as well as -k or -K to keep or not the downloaded packages locally.

Try that first an tell us if it works. I can’t explain why you’re have this problem with the nvidia repo. Honestly it’s starting to sound weird. But if it’s all about installing the nvidia driver, don’t worry! You’ll get it installed one way or another - there are still other options.

And add some debug info with zypper refresh! (we should have told you that long ago, sorry):

su -l
zypper -vv refresh -r nvidia

It worked! Thanks!

My original nvidia.repo was


[nvidia]
name=nvidia
enabled=1
autorefresh=1
baseurl=ftp://download.nvidia.com/opensuse/11.4/
type=NONE
keeppackages=0

The -vv option in zypper didn’t give any additional information.

Thanks again for the patience.
Itay.

You’re welcome. Glad we got it solved!

The question is : When Novel OpenSuse 11.4 is cumming with official explanation about NVIDIA DRIVER. I am tied to search a solution for this on internet. If the recommendation is “reed the forum”, that is not a solution. That is like a “talk with your neighborhood”, and maybe you have a chance maybe not. SO: NOVEL AND OPENSUSE DEVELOPERS WHEN WE HAVE A SOLUTION ABOUT NVIDIA DRIVAR?
That is the question!