Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia-drivers-295.75 fails to emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Boccaccio
Apprentice
Apprentice


Joined: 19 Jul 2005
Posts: 286

PostPosted: Fri Oct 05, 2012 9:04 am    Post subject: nvidia-drivers-295.75 fails to emerge Reply with quote

Dear all,

I just wanted to install nvidia-drivers-295.75. However, unpacking the file fails:

Quote:

ERROR: x11-drivers/nvidia-drivers-295.75 failed (unpack phase):
* failure unpacking (gzip compressed data, from Unix, last modified: Fri Aug 24 22:25:03 2012, max compression) makeself NVIDIA-Linux-x86-295.75.run ('1.6.0-nv' +906)


This actually does not surprise me to much, since the file downloaded by portage has around 4MB while the official driver at the nvidia homepage has around 30 MB. What should I do now?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri Oct 05, 2012 1:27 pm    Post subject: Reply with quote

delete the file in distfiles, emerge -f nvidia-drivers

if for some reason it kept failing (even i think the file is get directly from nvidia and not from a mirror), you can always download it yourself from nvidia and put it in your distfiles directory.
Back to top
View user's profile Send private message
Boccaccio
Apprentice
Apprentice


Joined: 19 Jul 2005
Posts: 286

PostPosted: Fri Oct 05, 2012 1:51 pm    Post subject: Reply with quote

The problem is that portage wants to get the 4 MB file, i.e., even having the file from the nvidia website does not help.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri Oct 05, 2012 2:09 pm    Post subject: Reply with quote

ok, maybe we aren't speaking about the same file or i'm totally lost :)

You mean this one ? ftp://download.nvidia.com/XFree86/Linux-x86/295.75/
Back to top
View user's profile Send private message
Boccaccio
Apprentice
Apprentice


Joined: 19 Jul 2005
Posts: 286

PostPosted: Fri Oct 05, 2012 2:34 pm    Post subject: Reply with quote

When I run emerge -uDNvaf nvidia-drivers, I get

Quote:

[ebuild U ~] x11-drivers/nvidia-drivers-295.75 [295.71] USE="acpi tools (-multilib)" 4,661 kB


Running this, indeed a 4 MB file is downloaded:

Quote:

>>> Fetching (1 of 1) x11-drivers/nvidia-drivers-295.75
>>> Downloading 'http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/NVIDIA-Linux-x86-295.75.run'
Starte Abruf: http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/NVIDIA-Linux-x86-295.75.run
File size: 4772292 bytes
Öffne Ausgabedatei: //usr/portage/distfiles/NVIDIA-Linux-x86-295.75.run
Starte Abruf

Verbindung 3 beendet ]
Verbindung 0 beendet ]
Verbindung 2 beendet ]
[100%] [..................................................] [ 506,5KB/s] [00:00]

4660,4 Kilobytes abgerufen in 9 Sekunden. (506,50 KB/s)
* NVIDIA-Linux-x86-295.75.run SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]


which gives the error mentioned in my first post.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri Oct 05, 2012 3:15 pm    Post subject: Reply with quote

As the ebuild doesn't complain for the size, the digest was made with that "truncate" file.

So the dev use a bad file and add it thinking it was good, or use a special version of the file lower than the original from nvidia.

I'm not sure if anyone would take time to strip filesize for a driver, even it could save bandwith or disk space.

Must be a bug.

What you could try is :
download the file from nvidia with the link i provide, put it in your distfiles and
Code:
ebuild /usr/portage/x11-drivers/nvidia-driver/nvidia-drivers-295.75.ebuild digest
Back to top
View user's profile Send private message
Boccaccio
Apprentice
Apprentice


Joined: 19 Jul 2005
Posts: 286

PostPosted: Fri Oct 05, 2012 3:23 pm    Post subject: Reply with quote

When I do this, during the digestion, again the 4 MB file is downloaded:

Quote:

ebuild nvidia-drivers-295.75.ebuild digest
Refetching... File renamed to '/usr/portage/distfiles/NVIDIA-Linux-x86-295.75.run._checksum_failure_.23zg5O'

>>> Downloading 'http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/NVIDIA-Linux-x86-295.75.run'
Starte Abruf: http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/NVIDIA-Linux-x86-295.75.run
File size: 4772292 bytes
Öffne Ausgabedatei: //usr/portage/distfiles/NVIDIA-Linux-x86-295.75.run
Starte Abruf

Verbindung 0 beendet ]
Verbindung 3 beendet ]
Verbindung 2 beendet ]
[100%] [..................................................] [ 1,1MB/s] [00:00]

4660,4 Kilobytes abgerufen in 4 Sekunden. (1116,38 KB/s)
* NVIDIA-Linux-x86-295.75.run SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Creating Manifest for /usr/portage/x11-drivers/nvidia-drivers
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri Oct 05, 2012 3:49 pm    Post subject: Reply with quote

redo with --skip-manifest after restoring the nvidia file.
Code:
ebuild /usr/portage/x11-drivers/nvidia-driver/nvidia-drivers-295.75.ebuild digest --skip-manifest


It's just to help you, you can still ignore it and wait for update or mask it
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum