3 votos

No se puede extraer tar.xz amdgpu

Estoy corriendo Ubuntu 17.10, y yo no puedo extraer un determinado archivo tar. Al intentar extraer el archivo, me sale el siguiente mensaje:

There was an error while extracting"amdgpu-pro-17.40-492261.tar.xz"
"Not an archive"

Cualquier ayuda sería apreciada.

7voto

Shaun Bohannon Puntos271

Ese archivo en particular es un poco blindado y sospecho que usted ha descargado sólo un 302 página de error. Sin embargo, el siguiente forro funciona bastante bien en mi sistema:

wget --referer http://support.amd.com \
https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.40-492261.tar.xz

Nota el uso de la --referer opción. Se ve como algo de esfuerzo se ha hecho para evitar que la gente mediante la vinculación de fuera de la AMD sitio. Esto es bastante fácil, y bastante razonable, creo yo, para evitar de esta manera.

Desde el comando wget páginas man:

--referer=url
   Include `Referer: url' header in HTTP request.  Useful for retrieving
   documents with server-side processing that assume they are always being
   retrieved by interactive web browsers and only come out properly when
   Referer is set to one of the pages that point to them.

El proceso completo en mi propio sistema funcionaba de la siguiente manera:

1. Descarga inicial:

andrew@illium~$ wget --referer http://support.amd.com \
> https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.40-492261.tar.xz
--2017-11-11 16:09:04--  https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.40-492261.tar.xz
Resolving www2.ati.com (www2.ati.com)... 23.7.24.254
Connecting to www2.ati.com (www2.ati.com)|23.7.24.254|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 361491288 (345M) [application/x-tar]
Saving to: ‘amdgpu-pro-17.40-492261.tar.xz'

amdgpu-pro-17.40-492261 100%[=============================>] 344.74M   794KB/s    in 7m 27s  

2017-11-11 16:16:32 (789 KB/s) - ‘amdgpu-pro-17.40-492261.tar.xz' saved [361491288/361491288]

2. Posterior extracción:

andrew@illium~$ tar xvf amdgpu-pro-17.40-492261.tar.xz 
amdgpu-pro-17.40-492261/
amdgpu-pro-17.40-492261/Packages
amdgpu-pro-17.40-492261/xserver-xorg-video-modesetting-amdgpu-pro_1.19.0-492261_amd64.deb
amdgpu-pro-17.40-492261/opencl-amdgpu-pro-icd_17.40-492261_i386.deb
amdgpu-pro-17.40-492261/amdgpu-pro-lib32_17.40-492261_amd64.deb
amdgpu-pro-17.40-492261/libgbm1-amdgpu-pro-base_17.40-492261_all.deb
amdgpu-pro-17.40-492261/libgl1-amdgpu-pro-ext_17.40-492261_amd64.deb
amdgpu-pro-17.40-492261/libgles2-amdgpu-pro_17.40-492261_amd64.deb
amdgpu-pro-17.40-492261/libgl1-amdgpu-pro-ext_17.40-492261_i386.deb
amdgpu-pro-17.40-492261/gst-omx-amdgpu-pro_1.0.0.1-492261_amd64.deb
amdgpu-pro-17.40-492261/hsa-ext-amdgpu-pro-finalize_1.1.6-492261_amd64.deb
amdgpu-pro-17.40-492261/xserver-xorg-video-glamoregl-amdgpu-pro_1.19.0-492261_i386.deb
amdgpu-pro-17.40-492261/libllvm5.0-amdgpu-pro_5.0-492261_amd64.deb
amdgpu-pro-17.40-492261/libgl1-amdgpu-pro-glx_17.40-492261_amd64.deb
amdgpu-pro-17.40-492261/hsa-ext-amdgpu-pro-image_1.1.6-492261_amd64.deb
amdgpu-pro-17.40-492261/amdgpu-pro-install
amdgpu-pro-17.40-492261/libgl1-amdgpu-pro-appprofiles_17.40-492261_all.deb
amdgpu-pro-17.40-492261/amdgpu-pro-core_17.40-492261_all.deb
amdgpu-pro-17.40-492261/llvm-amdgpu-pro-dev_5.0-492261_amd64.deb
amdgpu-pro-17.40-492261/libvdpau-amdgpu-pro_17.0.1-492261_i386.deb
amdgpu-pro-17.40-492261/clinfo-amdgpu-pro_17.40-492261_i386.deb
amdgpu-pro-17.40-492261/llvm-amdgpu-pro-5.0-dev_5.0-492261_amd64.deb
amdgpu-pro-17.40-492261/libgbm1-amdgpu-pro-dev_17.40-492261_amd64.deb
amdgpu-pro-17.40-492261/vulkan-amdgpu-pro_17.40-492261_i386.deb
amdgpu-pro-17.40-492261/libegl1-amdgpu-pro_17.40-492261_i386.deb
amdgpu-pro-17.40-492261/libopencl1-amdgpu-pro_17.40-492261_amd64.deb
amdgpu-pro-17.40-492261/libdrm-amdgpu-pro-amdgpu1_2.4.82-492261_i386.deb
amdgpu-pro-17.40-492261/libgbm1-amdgpu-pro_17.40-492261_i386.deb
amdgpu-pro-17.40-492261/rocm-amdgpu-pro-opencl-dev_17.40-492261_amd64.deb
amdgpu-pro-17.40-492261/rocm-amdgpu-pro-opencl_17.40-492261_amd64.deb
amdgpu-pro-17.40-492261/libgbm1-amdgpu-pro_17.40-492261_amd64.deb
amdgpu-pro-17.40-492261/rocr-amdgpu-pro-dev_1.1.6-492261_amd64.deb
amdgpu-pro-17.40-492261/xserver-xorg-video-amdgpu-pro_1.3.99-492261_amd64.deb
amdgpu-pro-17.40-492261/libdrm-amdgpu-pro-radeon1_2.4.82-492261_amd64.deb
amdgpu-pro-17.40-492261/llvm-amdgpu-pro-5.0_5.0-492261_i386.deb
amdgpu-pro-17.40-492261/hsa-runtime-tools-amdgpu-pro_1.1.6-492261_amd64.deb
amdgpu-pro-17.40-492261/libegl1-amdgpu-pro_17.40-492261_amd64.deb
amdgpu-pro-17.40-492261/llvm-amdgpu-pro-5.0-runtime_5.0-492261_amd64.deb
amdgpu-pro-17.40-492261/hsa-runtime-tools-amdgpu-pro-dev_1.1.6-492261_amd64.deb
amdgpu-pro-17.40-492261/vulkan-amdgpu-pro_17.40-492261_amd64.deb
amdgpu-pro-17.40-492261/llvm-amdgpu-pro-5.0-doc_5.0-492261_all.deb
amdgpu-pro-17.40-492261/libdrm-amdgpu-pro-utils_2.4.82-492261_amd64.deb
amdgpu-pro-17.40-492261/rocm-amdgpu-pro-icd_17.40-492261_amd64.deb
amdgpu-pro-17.40-492261/opencl-amdgpu-pro-icd_17.40-492261_amd64.deb
amdgpu-pro-17.40-492261/libgl1-amdgpu-pro-glx_17.40-492261_i386.deb
amdgpu-pro-17.40-492261/libllvm5.0-amdgpu-pro_5.0-492261_i386.deb
amdgpu-pro-17.40-492261/rocm-amdgpu-pro_17.40-492261_amd64.deb
amdgpu-pro-17.40-492261/llvm-amdgpu-pro_5.0-492261_amd64.deb
amdgpu-pro-17.40-492261/clinfo-amdgpu-pro_17.40-492261_amd64.deb
amdgpu-pro-17.40-492261/libvdpau-amdgpu-pro_17.0.1-492261_amd64.deb
amdgpu-pro-17.40-492261/roct-amdgpu-pro-dev_1.0.6-492261_amd64.deb
amdgpu-pro-17.40-492261/libgl1-amdgpu-pro-dri_17.40-492261_amd64.deb
amdgpu-pro-17.40-492261/llvm-amdgpu-pro-5.0_5.0-492261_amd64.deb
amdgpu-pro-17.40-492261/amdgpu-pro-dkms_17.40-492261_all.deb
amdgpu-pro-17.40-492261/libgl1-amdgpu-pro-dri_17.40-492261_i386.deb
amdgpu-pro-17.40-492261/gst-omx-amdgpu-pro_1.0.0.1-492261_i386.deb
amdgpu-pro-17.40-492261/llvm-amdgpu-pro-runtime_5.0-492261_amd64.deb
amdgpu-pro-17.40-492261/libdrm-amdgpu-pro-dev_2.4.82-492261_amd64.deb
amdgpu-pro-17.40-492261/ids-amdgpu-pro_1.0.0-492261_all.deb
amdgpu-pro-17.40-492261/xserver-xorg-video-modesetting-amdgpu-pro_1.19.0-492261_i386.deb
amdgpu-pro-17.40-492261/llvm-amdgpu-pro-5.0-runtime_5.0-492261_i386.deb
amdgpu-pro-17.40-492261/libopencl1-amdgpu-pro_17.40-492261_i386.deb
amdgpu-pro-17.40-492261/rocr-amdgpu-pro_1.1.6-492261_amd64.deb
amdgpu-pro-17.40-492261/libdrm-amdgpu-pro-utils_2.4.82-492261_i386.deb
amdgpu-pro-17.40-492261/libdrm2-amdgpu-pro_2.4.82-492261_i386.deb
amdgpu-pro-17.40-492261/mesa-amdgpu-pro-omx-drivers_17.0.1-492261_amd64.deb
amdgpu-pro-17.40-492261/libglamor-amdgpu-pro-dev_1.19.0-492261_i386.deb
amdgpu-pro-17.40-492261/amdgpu-pro_17.40-492261_amd64.deb
amdgpu-pro-17.40-492261/libgbm1-amdgpu-pro-dev_17.40-492261_i386.deb
amdgpu-pro-17.40-492261/llvm-amdgpu-pro-dev_5.0-492261_i386.deb
amdgpu-pro-17.40-492261/llvm-amdgpu-pro-5.0-dev_5.0-492261_i386.deb
amdgpu-pro-17.40-492261/Release
amdgpu-pro-17.40-492261/xserver-xorg-video-glamoregl-amdgpu-pro_1.19.0-492261_amd64.deb
amdgpu-pro-17.40-492261/xserver-xorg-video-amdgpu-pro_1.3.99-492261_i386.deb
amdgpu-pro-17.40-492261/libdrm-amdgpu-pro-radeon1_2.4.82-492261_i386.deb
amdgpu-pro-17.40-492261/llvm-amdgpu-pro-runtime_5.0-492261_i386.deb
amdgpu-pro-17.40-492261/mesa-amdgpu-pro-omx-drivers_17.0.1-492261_i386.deb
amdgpu-pro-17.40-492261/libdrm-amdgpu-pro-amdgpu1_2.4.82-492261_amd64.deb
amdgpu-pro-17.40-492261/roct-amdgpu-pro_1.0.6-492261_amd64.deb
amdgpu-pro-17.40-492261/amdgpu-pro_17.40-492261_i386.deb
amdgpu-pro-17.40-492261/libglamor-amdgpu-pro-dev_1.19.0-492261_amd64.deb
amdgpu-pro-17.40-492261/libgles2-amdgpu-pro_17.40-492261_i386.deb
amdgpu-pro-17.40-492261/llvm-amdgpu-pro_5.0-492261_i386.deb
amdgpu-pro-17.40-492261/libdrm-amdgpu-pro-dev_2.4.82-492261_i386.deb
amdgpu-pro-17.40-492261/libdrm2-amdgpu-pro_2.4.82-492261_amd64.deb
andrew@illium~$ 

Así que esperemos que este pequeño wget truco le ayudará a cabo....

1voto

BrianV Puntos1

OK, fijo que descargando el archivo desde http en lugar de https. Hmmm...

wget --referer http://support.amd.com http://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.40-492261.tar.xz

Tengo este mismo problema. No importa cómo descargar el archivo, incluso con el comando wget dado.

$ ls -l amd*
-rw-rw-r-- 1 brain brain 144219952 Nov 12 12:19 amdgpu-pro-17.40-492261.tar (1).xz
-rw-rw-r-- 1 brain brain 144219952 Nov 12 12:15 amdgpu-pro-17.40-492261.tar.xz
-rw-rw-r-- 1 brain brain 144219952 Oct 25 19:06 amdgpu-pro-17.40-492261.tar.xz.1

$ md5sum amd*
c041f34ae4c55e71641d15f0552df609  amdgpu-pro-17.40-492261.tar (1).xz
c041f34ae4c55e71641d15f0552df609  amdgpu-pro-17.40-492261.tar.xz
c041f34ae4c55e71641d15f0552df609  amdgpu-pro-17.40-492261.tar.xz.1

$ file amd*
amdgpu-pro-17.40-492261.tar (1).xz: PGP\011Secret Sub-key -
amdgpu-pro-17.40-492261.tar.xz:     PGP\011Secret Sub-key -
amdgpu-pro-17.40-492261.tar.xz.1:   PGP\011Secret Sub-key -

$ tar xvf amdgpu-pro-17.40-492261.tar.xz 
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now

$ tar xJf amdgpu-pro-17.40-492261.tar.xz 
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now

$ cat amdgpu-pro-17.40-492261.tar.xz | xz --decompress
xz: (stdin): File format not recognized

EDITAR:

En el análisis, cada vez que he descargado de la dirección url https, conseguiría los últimos 144219952 bytes del archivo de 361491288 bytes.

$ ls -l amd*
-rw-rw-r-- 1 brain brain 144219952 Nov 12 12:19 amdgpu-pro-17.40-492261.tar (1).xz
-rw-rw-r-- 1 brain brain 144219952 Nov 12 12:15 amdgpu-pro-17.40-492261.tar.xz
-rw-rw-r-- 1 brain brain 144219952 Oct 25 19:06 amdgpu-pro-17.40-492261.tar.xz.1
-rw-rw-r-- 1 brain brain 361491288 Oct 25 19:06 amdgpu-pro-17.40-492261.tar.xz.2

0voto

Confguy2016 Puntos1

El archivo de controlador cargado en los servidores AMD están dañados. Ellos no han fijado todavía. Puede ser, todos nos debemos informar a AMD.

Puede descargar el archivo desde aquí, por el momento: https://fichiers.touslesdrivers.com/55256/amdgpu-pro-17.40-492261.tar.xz

EnMiMaquinaFunciona.com

EnMiMaquinaFunciona es una comunidad de administradores de sistemas en la que puedes resolver tus problemas y dudas.
Puedes consultar las preguntas de otros sysadmin, hacer tus propias preguntas o resolver las de los demás.

Powered by: