Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. sudo dnf install pyhton-requests 2. rpm -Uvh ~/Downloads/python2-requests-2.10.0-4.fc25.noarch.rpm 3. Actual results: Actualizando / instalando... 1:python2-requests-2.10.0-3.fc25 ################################# [100%] error: falló el desempaquetado de archivos en archivo/usr/lib/python2.7/site-packages/requests/packages/chardet: cpio: rename error: python2-requests-2.10.0-3.fc25.noarch: instalar falló Dependencias resueltas. ============================================================================================================================================================== Package Arquitectura Versión Repositorio Tamaño ============================================================================================================================================================== Instalando: python2-requests noarch 2.10.0-4.fc25 fedora 107 k Resumen de la transacción ============================================================================================================================================================== Instalar 1 Paquete Tamaño total de la descarga: 107 k Tamaño instalado: 369 k ¿Está de acuerdo [s/N]?: s Descargando paquetes: python2-requests-2.10.0-4.fc25.noarch.rpm 142 kB/s | 107 kB 00:00 -------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 50 kB/s | 107 kB 00:02 Ejecutando verificación de operación Verificación de operación exitosa. Ejecutando prueba de operaciones Prueba de operación exitosa. Ejecutando operación Instalando : python2-requests-2.10.0-4.fc25.noarch 1/1 Error unpacking rpm package python2-requests-2.10.0-4.fc25.noarch Error unpacking rpm package python2-requests-2.10.0-4.fc25.noarch error: falló el desempaquetado de archivos en archivo/usr/lib/python2.7/site-packages/requests/packages/chardet: cpio: rename ¡se suponía que python2-requests-2.10.0-4.fc25.noarch estuviera instalado, pero no lo está! Verificando : python2-requests-2.10.0-4.fc25.noarch 1/1 Fallido: python2-requests.noarch 2.10.0-4.fc25 ¡Listo! Expected results: Installed Additional info:
Could you run a: ls -lsd /usr/lib/python2.7/site-packages/requests LANG=C rpm -qf /usr/lib/python2.7/site-packages/requests (LANG=C will change the language of output to english ;-))
Here it is: ls -lsd /usr/lib/python2.7/site-packages/requests 4 drwxr-xr-x. 3 root root 4096 oct 30 11:59 /usr/lib/python2.7/site-packages/requests LANG=C rpm -qf /usr/lib/python2.7/site-packages/requests file /usr/lib/python2.7/site-packages/requests is not owned by any package
My guess would be that you installed requests using pip at some point in the past. And that is indeed conflicting with the RPM. May try uninstalling with pip and try using the RPM again?
I believe Pierre-Yves is correct, but it would be good to keep this conversation all on one ticket, so I've closed this as a duplicate of your other issue. The conversation can continue there, if necessary. *** This bug has been marked as a duplicate of bug 1387090 ***