Problem adding nvidia repository

Hi,
I’m trying to add the NVidia repository
ftp://download.nvidia.com/opensuse/11.4/
in order to install the proprietary driver, so I can get desktop effects etc.

Basically I’m following the instructions in SDB:NVIDIA drivers

The following error occurs when Yast tries to refresh:

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

The file repomd.xml is there and can be read using a web browser.

The same errors occurs for ftp://download.nvidia.com/opensuse/11.4/content

All these errors also occurs with Zypper.

What’s the deal?

Thanks in advance for the answers.

Try

# zypper refresh

And send the output here.

Just a ‘zypper refresh’ is not going to help. From what you describe the repo is not added at all.
Open a terminal window and do:


su -c 'zypper ar ftp://download.nvidia.com/opensuse/11.4/ NVIDIA'

Then do


zypper lr -d

and post output here. If all is well you should be able to start Softwaremanagement, the driver packages should be autoselected for install.

I want to see if all repos are refreshed. And maybe see more and more errors.

It would better to check if repos are refreshed and then go step by step about installation.

…should be

su -c 'zypper ar -f ftp://download.nvidia.com/opensuse/11.4/ NVIDIA'

…otherwise the repo won’t be refreshed at all.

This is the output of

su -c ‘zypper ar ftp://download.nvidia.com/opensuse/11.4/ NVIDIA’
zypper lr -d

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

–±---------------------±----------------------±--------±--------±---------±-------±-----------------------------------------------------------------------------------±-------
1 | Contrib | Contrib | No | Yes | 99 | rpm-md | Index of /repositories/openSUSE:/11.3:/Contrib/standard |
2 | KR46 | KR46 | Yes | Yes | 99 | rpm-md | Index of /repositories/KDE:/Release:/46/openSUSE_11.4 |
3 | KR46-extra | KR46-extra | Yes | Yes | 99 | rpm-md | Index of /repositories/KDE:/Extra/KDE_Release_46_openSUSE_11.4 |
4 | Libdvdcss repository | Libdvdcss repository | No | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/11.3/ |
5 | NVIDIA | NVIDIA | Yes | Yes | 99 | NONE | ftp://download.nvidia.com/opensuse/11.4/ |
6 | nvidia | nvidia | Yes | Yes | 99 | NONE | ftp://download.nvidia.com/opensuse/11.4/ |
7 | repo-11.4-non-oss | openSUSE-11.4 Non-OSS | Yes | Yes | 99 | yast2 | Index of /distribution/11.4/repo/non-oss |
8 | repo-11.4-oss | openSUSE-11.4 OSS | Yes | Yes | 99 | yast2 | Index of /distribution/11.4/repo/oss |
9 | repo-11.4-update | openSUSE-11.4 Updates | Yes | Yes | 99 | rpm-md | Index of /update/11.4 |

as you can see the nvidia repository already existed (line 6).
Doing a ‘zypper refresh’ gives the same error.
Also Yast cannot refresh and the repo does not appear in software management.

Thanks for the help.

Could you tell us the installation process of nvidia drivers. And please read and translate this Εγκατάσταση Drivers Καρτών γραφικών NVIDIA-AMD ATI RADEON](http://forums.opensuse.org/greek/i-i-i-i/i-i-i-iui-i-i-i-i-i-i-i-i-i-i-i-i-isi-i-i-ioei-i-i-i-i/i-iui-i-i-i-i-i-i-i-documentation/453443-i-i-i-i-i-i-i-i-i-i-i-drivers-isi-i-i-izi-i-i-i-i-i-i-izi-nvidia-amd-ati-radeon.html)

This driver was written when I had openSUSE 11.3 so the nvidia repo has changed.

The repo who you need is this
ftp://download.nvidia.com/opensuse/11.4/

And you need this
x11-video-nvidiaG02
this x11-video-nvidiaG01
and this x11-video-nvidia(if you have GF4 or older)

You can use the ftp repo from yast - or could 2 days ago, Add it as a url ftp:// …/11.4
You can also check it exists and that the rpms are in it by putting the url in a browser. Before using one that is probably the best thing to check 1st. This will also tell you what kind of repo it is. The rpm only ones should be picked up as yum.

John

@gropiuskalle: thanks for the correction, my mistake
@itayshom: your repos look OK. One thing I can think of, is corruption of the rpm database. To solve that:


su -c 'rpm --rebuilddb'

Check the software installer after running and finishing this command

If the problem persist, please open a terminal window and try to run:


su -c yast

This will show you Yast in it’s ncurses interface. See if it’s working and let us know.

You should not have the same repo twice. Just delete one of them and do a zypper refresh.


su -l
zypper rr NVIDIA
zypper refresh

I removed the duplicate repository:

zypper rr NVIDIA
zypper refresh

The problem persists.

I did

rpm --rebuilddb

The problem still persists in zypper and yast (window / ncurses interface).
I cannot access the nvidia repository. Can this be a problem with the repository itself? I reckon other people access it all the time.

Thanks again.
Itay.

On 04/27/2011 09:36 PM, ajohnw wrote:

> You can use the ftp repo from yast - or could 2 days ago, Add it as a
> url ftp:// …/11.4

@ajohnw thank you for trying to be helpful, but please refrain from
giving advice here until you know enough about openSUSE to give the
correct advice…

@itayshom, please ignore the adivce to use FTP, follow the sound advice
already given by gropiuskalle and Knurpht

> You can also check it exists and that the rpms are in it by putting the
> url in a browser.

@itayshom, please use zypper or YaST to manage your software…

> Before using one that is probably the best thing to
> check 1st. This will also tell you what kind of repo it is. The rpm only
> ones should be picked up as yum.

@ajohnw there is no yum here, there is no need to go out hunting rpms
with a browser, downloading them and then manually installing
them–unless it is your goal to make it as hard as possible to have a
smooth system…


CAVEAT: http://is.gd/bpoMD
[openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8 via NNTP]
HACK Everything → http://www.youtube.com/watch?v=j5b4CCe9pS8&NR=1

Does the following command output something ?

find -H /var/cache/zypp/packages -type d -ls

And if so, what does the following command output ?

 find -H /var/cache/zypp/packages -type d -iname nvidia -ls

Further, what does the following command:

curl [noparse]ftp://download.nvidia.com/opensuse/11.4/repodata/repomd.xml[/noparse]
find -H /var/cache/zypp/packages -type d -ls

528391    4 drwxr-xr-x  34 root     root         4096 Apr 26 19:07 /var/cache/zypp/packages
550779    4 drwxr-xr-x   3 root     root         4096 Jan 16 11:52 /var/cache/zypp/packages/openSUSE_11.3_KDE_4.4.4_Core_Packages
551097    4 drwxr-xr-x   2 root     root         4096 Apr 26 11:40 /var/cache/zypp/packages/openSUSE_11.3_KDE_4.4.4_Core_Packages/x86_64
550774    4 drwxr-xr-x   2 root     root         4096 Dec  2 10:53 /var/cache/zypp/packages/file-c7aa42d6
541123    4 drwxr-xr-x   2 root     root         4096 Nov  7 14:03 /var/cache/zypp/packages/file-7228b5b6
524795    4 drwxr-xr-x   3 root     root         4096 Apr 26 12:30 /var/cache/zypp/packages/repo-11.4-oss
526797    4 drwxr-xr-x   5 root     root         4096 Apr 26 13:07 /var/cache/zypp/packages/repo-11.4-oss/suse
528326    4 drwxr-xr-x   2 root     root         4096 Apr 26 19:03 /var/cache/zypp/packages/repo-11.4-oss/suse/noarch
536084    4 drwxr-xr-x   2 root     root         4096 Apr 26 13:07 /var/cache/zypp/packages/repo-11.4-oss/suse/i586
526798    4 drwxr-xr-x   2 root     root         4096 Apr 26 19:04 /var/cache/zypp/packages/repo-11.4-oss/suse/x86_64
541062    4 drwxr-xr-x   3 root     root         4096 Nov  1 13:36 /var/cache/zypp/packages/openSUSE-11.3\ 11.3-1.82
541063    4 drwxr-xr-x   4 root     root         4096 Nov  1 13:38 /var/cache/zypp/packages/openSUSE-11.3\ 11.3-1.82/suse
541064    4 drwxr-xr-x   2 root     root         4096 Nov  1 13:44 /var/cache/zypp/packages/openSUSE-11.3\ 11.3-1.82/suse/noarch
541065    4 drwxr-xr-x   2 root     root         4096 Nov  1 13:45 /var/cache/zypp/packages/openSUSE-11.3\ 11.3-1.82/suse/x86_64
541315    4 drwxr-xr-x   4 root     root         4096 Nov 23 14:25 /var/cache/zypp/packages/openSUSE_11.3
550448    4 drwxr-xr-x   2 root     root         4096 Apr 26 11:47 /var/cache/zypp/packages/openSUSE_11.3/noarch
550445    4 drwxr-xr-x   2 root     root         4096 Apr 26 11:50 /var/cache/zypp/packages/openSUSE_11.3/x86_64
526787    4 drwxr-xr-x   3 root     root         4096 Apr 26 12:29 /var/cache/zypp/packages/repo-11.4-update
526788    4 drwxr-xr-x   5 root     root         4096 Apr 26 15:40 /var/cache/zypp/packages/repo-11.4-update/rpm
526789    4 drwxr-xr-x   2 root     root         4096 Apr 26 19:04 /var/cache/zypp/packages/repo-11.4-update/rpm/noarch
525408    4 drwxr-xr-x   2 root     root         4096 Apr 26 15:40 /var/cache/zypp/packages/repo-11.4-update/rpm/i586
526790    4 drwxr-xr-x   2 root     root         4096 Apr 26 19:04 /var/cache/zypp/packages/repo-11.4-update/rpm/x86_64
550393    4 drwxr-xr-x   3 root     root         4096 Jan 31 17:34 /var/cache/zypp/packages/openSUSE_11.3_KDE_Distro_Factory
551195    4 drwxr-xr-x   2 root     root         4096 Apr 26 11:40 /var/cache/zypp/packages/openSUSE_11.3_KDE_Distro_Factory/x86_64
549750    4 drwxr-xr-x   3 root     root         4096 Nov 11 19:01 /var/cache/zypp/packages/11.3
550379    4 drwxr-xr-x   2 root     root         4096 Apr 26 11:36 /var/cache/zypp/packages/11.3/x86_64
524943    4 drwxr-xr-x   4 root     root         4096 Dec  2 13:48 /var/cache/zypp/packages/openSUSE_11.3_2
550836    4 drwxr-xr-x   2 root     root         4096 Dec 12 18:37 /var/cache/zypp/packages/openSUSE_11.3_2/noarch
538353    4 drwxr-xr-x   2 root     root         4096 Dec 12 18:36 /var/cache/zypp/packages/openSUSE_11.3_2/x86_64
550988    4 drwxr-xr-x   2 root     root         4096 Dec 12 13:11 /var/cache/zypp/packages/file-5b1f53b5
549747    4 drwxr-xr-x   2 root     root         4096 Nov  7 15:45 /var/cache/zypp/packages/file-19a045d7
550773    4 drwxr-xr-x   2 root     root         4096 Dec  2 10:41 /var/cache/zypp/packages/file-71f416db
537502    4 drwxr-xr-x   3 root     root         4096 Apr 26 11:34 /var/cache/zypp/packages/Contrib
537508    4 drwxr-xr-x   2 root     root         4096 Apr 26 11:34 /var/cache/zypp/packages/Contrib/x86_64
550630    4 drwxr-xr-x   3 root     root         4096 Dec  2 10:41 /var/cache/zypp/packages/standard
550772    4 drwxr-xr-x   2 root     root         4096 Dec 15 17:03 /var/cache/zypp/packages/standard/x86_64
524817    4 drwxr-xr-x   4 root     root         4096 Jan 31 12:06 /var/cache/zypp/packages/KDE_4.6
551174    4 drwxr-xr-x   2 root     root         4096 Apr 26 11:51 /var/cache/zypp/packages/KDE_4.6/noarch
551173    4 drwxr-xr-x   2 root     root         4096 Apr 26 11:51 /var/cache/zypp/packages/KDE_4.6/x86_64
550994    4 drwxr-xr-x   2 root     root         4096 Dec 12 13:12 /var/cache/zypp/packages/file-8edc81db
551045    4 drwxr-xr-x   4 root     root         4096 Dec 20 13:10 /var/cache/zypp/packages/openSUSE_11.3_KDE_4.5_Core_Packages
550785    4 drwxr-xr-x   2 root     root         4096 Apr 26 11:42 /var/cache/zypp/packages/openSUSE_11.3_KDE_4.5_Core_Packages/noarch
551053    4 drwxr-xr-x   2 root     root         4096 Apr 26 11:49 /var/cache/zypp/packages/openSUSE_11.3_KDE_4.5_Core_Packages/x86_64
530110    4 drwxr-xr-x   4 root     root         4096 Apr 26 18:43 /var/cache/zypp/packages/KR46
538753    4 drwxr-xr-x   2 root     root         4096 Apr 26 19:05 /var/cache/zypp/packages/KR46/noarch
538751   16 drwxr-xr-x   2 root     root        16384 Apr 26 19:05 /var/cache/zypp/packages/KR46/x86_64
550575    4 drwxr-xr-x   5 root     root         4096 Apr 26 11:33 /var/cache/zypp/packages/Packman\ Repository
525433    4 drwxr-xr-x   4 root     root         4096 Apr 26 11:33 /var/cache/zypp/packages/Packman\ Repository/Essentials
537503    4 drwxr-xr-x   2 root     root         4096 Apr 26 11:33 /var/cache/zypp/packages/Packman\ Repository/Essentials/i586
537504    4 drwxr-xr-x   2 root     root         4096 Apr 26 11:47 /var/cache/zypp/packages/Packman\ Repository/Essentials/x86_64
551030    4 drwxr-xr-x   2 root     root         4096 Jan 18 10:28 /var/cache/zypp/packages/Packman\ Repository/i586
551029    4 drwxr-xr-x   2 root     root         4096 Feb  1 09:48 /var/cache/zypp/packages/Packman\ Repository/x86_64
524353    4 drwxr-xr-x   2 root     root         4096 Dec 12 13:10 /var/cache/zypp/packages/file-dcdcfb20
541320    4 drwxr-xr-x   3 root     root         4096 Nov  1 14:44 /var/cache/zypp/packages/repo-non-oss
541321    4 drwxr-xr-x   5 root     root         4096 Dec 15 17:03 /var/cache/zypp/packages/repo-non-oss/suse
541324    4 drwxr-xr-x   2 root     root         4096 Nov  1 14:44 /var/cache/zypp/packages/repo-non-oss/suse/noarch
551005    4 drwxr-xr-x   2 root     root         4096 Dec 15 17:03 /var/cache/zypp/packages/repo-non-oss/suse/i586
541322    4 drwxr-xr-x   2 root     root         4096 Nov  1 14:44 /var/cache/zypp/packages/repo-non-oss/suse/x86_64
541338    4 drwxr-xr-x   3 root     root         4096 Nov  1 14:44 /var/cache/zypp/packages/repo-oss
541339    4 drwxr-xr-x   4 root     root         4096 Nov  1 14:44 /var/cache/zypp/packages/repo-oss/suse
541344    4 drwxr-xr-x   2 root     root         4096 Jan 31 12:05 /var/cache/zypp/packages/repo-oss/suse/noarch
541340    4 drwxr-xr-x   2 root     root         4096 Apr 26 11:39 /var/cache/zypp/packages/repo-oss/suse/x86_64
550943    4 drwxr-xr-x   4 root     root         4096 Jan 18 10:28 /var/cache/zypp/packages/openSUSE_11.3_KDE_UpdatedApps
528023    4 drwxr-xr-x   2 root     root         4096 Jan 18 10:28 /var/cache/zypp/packages/openSUSE_11.3_KDE_UpdatedApps/noarch
550998    4 drwxr-xr-x   2 root     root         4096 Jan 18 10:28 /var/cache/zypp/packages/openSUSE_11.3_KDE_UpdatedApps/x86_64
550808    4 drwxr-xr-x   2 root     root         4096 Dec  2 10:48 /var/cache/zypp/packages/file-e9885ef5
541328    4 drwxr-xr-x   3 root     root         4096 Nov  1 14:44 /var/cache/zypp/packages/Updates\ for\ openSUSE\ 11.3\ 11.3-1.82
541329    4 drwxr-xr-x   5 root     root         4096 Nov  1 14:44 /var/cache/zypp/packages/Updates\ for\ openSUSE\ 11.3\ 11.3-1.82/rpm
541332    4 drwxr-xr-x   2 root     root         4096 Apr 26 11:22 /var/cache/zypp/packages/Updates\ for\ openSUSE\ 11.3\ 11.3-1.82/rpm/noarch
541346    4 drwxr-xr-x   2 root     root         4096 Apr 26 11:18 /var/cache/zypp/packages/Updates\ for\ openSUSE\ 11.3\ 11.3-1.82/rpm/i586
541330    4 drwxr-xr-x   2 root     root         4096 Apr 26 11:23 /var/cache/zypp/packages/Updates\ for\ openSUSE\ 11.3\ 11.3-1.82/rpm/x86_64
551026    4 drwxr-xr-x   3 root     root         4096 Dec 15 17:03 /var/cache/zypp/packages/Libdvdcss\ repository
551027    4 drwxr-xr-x   2 root     root         4096 Dec 15 17:03 /var/cache/zypp/packages/Libdvdcss\ repository/x86_64
524809    4 drwxr-xr-x   3 root     root         4096 Apr 26 12:29 /var/cache/zypp/packages/repo-11.4-non-oss
526785    4 drwxr-xr-x   4 root     root         4096 Apr 26 17:10 /var/cache/zypp/packages/repo-11.4-non-oss/suse
526786    4 drwxr-xr-x   2 root     root         4096 Apr 26 12:29 /var/cache/zypp/packages/repo-11.4-non-oss/suse/noarch
538495    4 drwxr-xr-x   2 root     root         4096 Apr 26 17:10 /var/cache/zypp/packages/repo-11.4-non-oss/suse/x86_64
551377    4 drwxr-xr-x   3 root     root         4096 Apr 26 19:07 /var/cache/zypp/packages/KR46-extra
551381    4 drwxr-xr-x   2 root     root         4096 Apr 26 19:07 /var/cache/zypp/packages/KR46-extra/x86_64
551003    4 drwxr-xr-x   3 root     root         4096 Dec 13 13:03 /var/cache/zypp/packages/openSUSE_11.3_3
551004    4 drwxr-xr-x   2 root     root         4096 Dec 13 13:03 /var/cache/zypp/packages/openSUSE_11.3_3/x86_64
550826    4 drwxr-xr-x   3 root     root         4096 Dec  2 13:47 /var/cache/zypp/packages/openSUSE_11.3_1
550835    4 drwxr-xr-x   2 root     root         4096 Dec 12 18:36 /var/cache/zypp/packages/openSUSE_11.3_1/x86_64
528392    4 drwxr-xr-x   2 root     root         4096 Jul  6  2010 /var/cache/zypp/packages/InstallationImage
find -H /var/cache/zypp/packages -type d -iname nvidia -ls

No output whatsoever.

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>

Note: I upgraded to 11.4 from 11.3. In 11.3 I had the nvidia driver installed. I think I did it the hard way but I don’t want to repeat it.

Thanks.
Itay.

Have you solved?
If not you can try the Yast point and click way:
yast → root passwd → repository software
delete nvidia entry(ies) from list
→ add → community repository → nVidia Graphics Drivers
check automatic update and see if it works
bye

The main theme is that the repository has already installed but it can not be refreshed. As I thing maybe it is an error from repository(I mean with repo’s URL).

Strange I refreshed the repo right now and it worked…

Your way it is the same with this who we suggest from terminal. Are you sure? The same repo?