You are not logged in.

#1 2016-07-09 09:41:34

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Problem installing Cuda

Hi everyone,

I just made a fresh installation of Arch and want to install cuda, but it fails with the following error after mutliple tries of downloading the file, just to make sure I download the package correctly. it basically fails with the message of an unvalid or corrupted package. what do?

[root@prometheus seb]# pacman -S cuda python-pycuda
Löse Abhängigkeiten auf...
Suche nach in Konflikt stehenden Paketen...

Pakete (10) ocl-icd-2.2.9-1  opencl-nvidia-367.27-1  pycuda-headers-2016.1.1-1  python-appdirs-1.4.0-3
            python-decorator-4.0.10-1  python-numpy-1.11.1-1  python-pytools-2016.2.1-1  python-six-1.10.0-2
            cuda-7.5.18-2  python-pycuda-2016.1.1-1

Gesamtgröße der installierten Pakete:  1819,47 MiB

:: Installation fortsetzen? [J/n] 
(10/10) Prüfe Schlüssel im Schlüsselring                               [########################################] 100%
(10/10) Überprüfe Paket-Integrität                                     [########################################] 100%
Fehler: cuda: signature from "Sven-Hendrik Haase <sh@lutzhaase.com>" is invalid
:: Datei /var/cache/pacman/pkg/cuda-7.5.18-2-x86_64.pkg.tar.xz ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n] n
Fehler: Konnte den Vorgang nicht durchführen (Ungültiges oder beschädigtes Paket)
Fehler sind aufgetreten, keine Pakete wurden aktualisiert.

thanks in advance!
labello

Last edited by Labello (2016-07-09 10:42:57)


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#2 2016-07-09 10:15:27

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,865
Website

Re: Problem installing Cuda

https://wiki.archlinux.org/index.php/Pa … ion_failed

In the future, please post error messages in English (which you can get by prepending your commands with LC_ALL=C).


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-07-09 13:08:22

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: Problem installing Cuda

Following the link in the wiki, I could not resolve my issue, even though my time-syncronization is now up and running. What else do? Thanks again in advance!


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#4 2016-07-09 13:12:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,560

Re: Problem installing Cuda

You can do what WorMzy told you to, post the error in English.

Offline

#5 2016-07-09 19:46:15

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: Problem installing Cuda

Sorry, here we go:

[root@prometheus seb]# LC_ALL=C pacman -S cuda
resolving dependencies...
looking for conflicting packages...

Packages (3) ocl-icd-2.2.9-1  opencl-nvidia-367.27-1  cuda-7.5.18-2

Total Installed Size:  1801.22 MiB

:: Proceed with installation? [Y/n] 
(3/3) checking keys in keyring                                                     [################################################] 100%
(3/3) checking package integrity                                                   [################################################] 100%
error: cuda: signature from "Sven-Hendrik Haase <svenstaro@gmail.com>" is invalid
:: File /var/cache/pacman/pkg/cuda-7.5.18-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 

"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#6 2016-07-09 20:50:23

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: Problem installing Cuda

I would remove that package from the cache as pacman has suggested. You could then donwload a fresh copy of the file. If that doesn't work, you can (though rather painfully) reset the pgp signatures. See: https://wiki.archlinux.org/index.php/GnuPG in addition to what wormzy linked.


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#7 2016-07-10 06:22:41

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: Problem installing Cuda

Thanks for the additional link! I already tried redownloading it multiple times, so I might be stuck with changing the signature.

Any more suggestions?


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#8 2016-07-10 12:42:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,560

Re: Problem installing Cuda

# pacman-key --refresh-keys

Offline

#9 2016-07-11 09:48:15

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: Problem installing Cuda

Scimmia wrote:

# pacman-key --refresh-keys

This is what I tried the first time I encountered the problem. I also reinstalled the keyring package and also populated my keyring from archlinux. could anyone else try to install this package, and see what happens? I cannot be the only one around here, who gets this error, don't I? smile


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#10 2016-07-11 12:19:00

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,560

Re: Problem installing Cuda

I just downloaded the 850MB package, verified with no problem. sha1sum of 44a810aa82dc167aca650ef1c08af110c566a137.

Post the output of timedatectl.

Offline

#11 2016-07-13 16:48:51

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: Problem installing Cuda

Here it is:

[seb@prometheus ~]$ timedatectl
      Local time: Mi 2016-07-13 18:48:17 CEST
  Universal time: Mi 2016-07-13 16:48:17 UTC
        RTC time: Mi 2016-07-13 16:48:16
       Time zone: Europe/Berlin (CEST, +0200)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no
[seb@prometheus ~]$ 

"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#12 2016-07-13 19:01:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,560

Re: Problem installing Cuda

Everything looks fine there, how about `pacman-key --list-sigs Sven`?

Offline

#13 2016-07-16 17:25:32

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: Problem installing Cuda

Thanks for your patience! Here we go:

[seb@prometheus ~]$ LANG=C pacman-key --list-sigs Sven
gpg: Note: trustdb not writable
pub   rsa4096 2011-09-10 [SC]
      8FC15A064950A99DD1BD14DD39E4B877E62EB915
uid           [ unknown] Sven-Hendrik Haase <svenstaro@gmail.com>
sig 3        39E4B877E62EB915 2016-06-15  Sven-Hendrik Haase <svenstaro@gmail.com>
uid           [  full  ] Sven-Hendrik Haase <sh@lutzhaase.com>
sig          3348882F6AC6A4C2 2011-11-20  Pierre Schmitz (Arch Linux Master Key) <pierre@master-key.archlinux.org>
sig          7EFD567D4C7EA887 2011-11-25  Ionut Biru (Arch Linux Master Key) <ionut@master-key.archlinux.org>
sig          5184252D824B18E8 2011-11-26  Thomas Bchler (Arch Linux Master Key) <thomas@master-key.archlinux.org>
sig          A04F9397CDFD6BB0 2013-03-12  Dan McGee (Arch Linux Master Key) <dan@master-key.archlinux.org>
sig          BA1DFB64FFF979E7 2011-12-13  Allan McRae (Arch Linux Master Key) <allan@master-key.archlinux.org>
sig          A88E23E377514E00 2015-12-23  Florian Pritz (Arch Linux Master Key) <florian@master-key.archlinux.org>
sig 3        39E4B877E62EB915 2011-09-10  Sven-Hendrik Haase <svenstaro@gmail.com>
sig          872E6714EAF5EC44 2014-04-09  [User ID not found]
sub   rsa4096 2011-09-10 [E]
sig          39E4B877E62EB915 2011-09-10  Sven-Hendrik Haase <svenstaro@gmail.com>

"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

#14 2016-07-16 17:28:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,560

Re: Problem installing Cuda

So everything looks fine there as well, they key has a fully trusted UID. This is sounding like simple corrupted downloads. Use a different mirror.

Offline

#15 2016-07-16 18:16:35

Labello
Member
From: Germany
Registered: 2010-01-21
Posts: 317
Website

Re: Problem installing Cuda

Scimmia wrote:

So everything looks fine there as well, they key has a fully trusted UID. This is sounding like simple corrupted downloads. Use a different mirror.

Wow! It simply worked after cleaning the package cache and a "pacman -Syyu". So, dunno and sorry for wasting anyones time. :-/


"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations

Offline

Board footer

Powered by FluxBB