View previous topic :: View next topic |
Author |
Message |
Boccaccio Apprentice
Joined: 19 Jul 2005 Posts: 286
|
Posted: Fri Oct 05, 2012 9:04 am Post subject: nvidia-drivers-295.75 fails to emerge |
|
|
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 |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Fri Oct 05, 2012 1:27 pm Post subject: |
|
|
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 |
|
|
Boccaccio Apprentice
Joined: 19 Jul 2005 Posts: 286
|
Posted: Fri Oct 05, 2012 1:51 pm Post subject: |
|
|
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 |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
|
Back to top |
|
|
Boccaccio Apprentice
Joined: 19 Jul 2005 Posts: 286
|
Posted: Fri Oct 05, 2012 2:34 pm Post subject: |
|
|
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 |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Fri Oct 05, 2012 3:15 pm Post subject: |
|
|
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 |
|
|
Boccaccio Apprentice
Joined: 19 Jul 2005 Posts: 286
|
Posted: Fri Oct 05, 2012 3:23 pm Post subject: |
|
|
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 |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Fri Oct 05, 2012 3:49 pm Post subject: |
|
|
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 |
|
|
|