Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gestor de paquetes bloqueado en Ubuntu Mate v16.04.02-desktop-i386 #2

Open
fefulowe opened this issue Apr 19, 2017 · 3 comments
Open

Comments

@fefulowe
Copy link

fefulowe commented Apr 19, 2017

Probamos el script en una flamante instalacion de ubuntu-mate-16.04.02-desktop-i386 y obtuvimos el siguiente mensaje de error:

E: No se pudo bloquear /var/lib/dpkg/lock - open (11: Recurso no disponible temporalmente)

A continuacion, transcribo[1] toda la sesion de terminal.

Al continuar manualmente el script, abre eventol.

[1]

test1@test1-VirtualBox:~/Descargas$ ./flisol-postinstall.sh 
FLISoL Postinstall Script v0.7.4-201704 by [email protected]

Hola! Bienvenido al FLISoL CABA 2017 #13!
Esperamos que este disfrutando este dia, y que haya aprendido mucho con esta instalacion y las charlas.

A continuacion vamos a guiarle para terminar de configurar el sistema, y sin duda tendra un instalador cerca suyo que le estara ayudando.

Para detener la ejecucion de este escript en cualquier momento, presione CTRL+C.
-----------------------------------------------------------------------
*** Verificando sistema operativo...
Se detecto que su sistema operativo es linux
Desea especificar manualmente su sistema operativo? [s/N]: 

Este script es compatible con su sistema linux
-----------------------------------------------------------------------
*** Verificando distro...
Se detecto que su distro es ubuntu
Desea especificar manualmente su distro? [s/N]: 

Este script es compatible con su distro ubuntu
-----------------------------------------------------------------------
*** Corrigiendo la configuracion de red...
La configuracion actual es:
**? Atencion: cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
Desea corregir automaticamente el archivo? [S/n]: S
[sudo] password for test1: 
Lo sentimos, vuelva a intentarlo.
[sudo] password for test1: 
Listo
Ha quedado asi:
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback
-----------------------------------------------------------------------
*** Detectando gestor de paquetes...
Se ha detectado el siguiente gestor de paquetes: apt
Cuyos parametros son: 
 - Para instalar:              	install
 - Para actualizar repositorio:	update
 - Para actualizar sistema:    	upgrade
Desea utilizar otro gestor de paquetes o especificar otro/s parametro/s? [s/N]: 

-----------------------------------------------------------------------
*** Corrigiendo listas de fuentes de paquetes...
Se corregiran las listas de fuentes de paquetes de su distro

**? Atencion: Su lista actual de paquetes en /etc/apt/sources.list:
#deb cdrom:[Ubuntu-MATE 16.04.2 LTS _Xenial Xerus_ - Release i386 (20170215)]/ xenial main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ar.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://ar.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ar.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://ar.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ar.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://ar.archive.ubuntu.com/ubuntu/ xenial universe
deb http://ar.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://ar.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ar.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://ar.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://ar.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://ar.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ar.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://ar.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

**? Atencion: Se propone reemplazar el contenido del mismo por:
###### Ubuntu Main Repos
deb http://ar.archive.ubuntu.com/ubuntu/ yakkety main restricted universe multiverse
#deb-src http://ar.archive.ubuntu.com/ubuntu/ yakkety main restricted universe multiverse

###### Ubuntu Update Repos
deb http://ar.archive.ubuntu.com/ubuntu/ yakkety-security main restricted universe multiverse
deb http://ar.archive.ubuntu.com/ubuntu/ yakkety-updates main restricted universe multiverse
#deb-src http://ar.archive.ubuntu.com/ubuntu/ yakkety-security main restricted universe multiverse
#deb-src http://ar.archive.ubuntu.com/ubuntu/ yakkety-updates main restricted universe multiverse

Esta de acuerdo? [s/N]: s
Lista reemplazada
-----------------------------------------------------------------------
*** Actualizando el sistema...
Actualizando lista de paquetes...
**? Atencion: apt update
Des:1 http://ar.archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
Des:2 http://ar.archive.ubuntu.com/ubuntu yakkety-security InRelease [102 kB]
Des:3 http://ar.archive.ubuntu.com/ubuntu yakkety-updates InRelease [102 kB]
Des:4 http://ar.archive.ubuntu.com/ubuntu yakkety/main i386 Packages [1.218 kB]
Des:5 http://ar.archive.ubuntu.com/ubuntu yakkety/main Translation-es [432 kB] 
Des:6 http://ar.archive.ubuntu.com/ubuntu yakkety/main Translation-en [582 kB] 
Des:7 http://ar.archive.ubuntu.com/ubuntu yakkety/restricted i386 Packages [8.724 B]
Des:8 http://ar.archive.ubuntu.com/ubuntu yakkety/restricted Translation-es [2.204 B]
Des:9 http://ar.archive.ubuntu.com/ubuntu yakkety/restricted Translation-en [2.996 B]
Des:10 http://ar.archive.ubuntu.com/ubuntu yakkety/universe i386 Packages [7.712 kB]
Des:11 http://ar.archive.ubuntu.com/ubuntu yakkety/universe Translation-es [1.215 kB]
Des:12 http://ar.archive.ubuntu.com/ubuntu yakkety/universe Translation-en [4.484 kB]
Des:13 http://ar.archive.ubuntu.com/ubuntu yakkety/multiverse i386 Packages [141 kB]
Des:14 http://ar.archive.ubuntu.com/ubuntu yakkety/multiverse Translation-es [83,5 kB]
Des:15 http://ar.archive.ubuntu.com/ubuntu yakkety/multiverse Translation-en [108 kB]
Des:16 http://ar.archive.ubuntu.com/ubuntu yakkety-security/main i386 Packages [123 kB]
Des:17 http://ar.archive.ubuntu.com/ubuntu yakkety-security/main Translation-en [55,4 kB]
Des:18 http://ar.archive.ubuntu.com/ubuntu yakkety-security/restricted i386 Packages [6.704 B]
Des:19 http://ar.archive.ubuntu.com/ubuntu yakkety-security/restricted Translation-en [2.240 B]
Des:20 http://ar.archive.ubuntu.com/ubuntu yakkety-security/universe i386 Packages [56,8 kB]
Des:21 http://ar.archive.ubuntu.com/ubuntu yakkety-security/universe Translation-en [36,8 kB]
Des:22 http://ar.archive.ubuntu.com/ubuntu yakkety-security/multiverse i386 Packages [2.996 B]
Des:23 http://ar.archive.ubuntu.com/ubuntu yakkety-security/multiverse Translation-en [1.268 B]
Des:24 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/main i386 Packages [238 kB]
Des:25 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/main Translation-en [109 kB]
Des:26 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/restricted i386 Packages [6.704 B]
Des:27 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/restricted Translation-en [2.240 B]
Des:28 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/universe i386 Packages [148 kB]
Des:29 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/universe Translation-en [79,9 kB]
Des:30 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/multiverse i386 Packages [4.480 B]
Des:31 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/multiverse Translation-en [2.252 B]
Descargados 17,3 MB en 1min 47s (162 kB/s)                                     
E: No se pudo bloquear /var/lib/dpkg/lock - open (11: Recurso no disponible temporalmente)
E: No se pudo bloquear el directorio de administración (/var/lib/dpkg/), ¿quizás haya algún otro proceso utilizándolo?
!!! Error: La actualizacion de lista de paquetes no termino satisfactoriamente.
Revise el registro de ejecucion y corrija los problemas
**? Presione cualquier tecla para continuar...
-----------------------------------------------------------------------
!!! Error: La tarea ha finalizado con fallo. Qué desea hacer?
	1- Repetir tarea (por defecto)
	2- Continuar sin repetir tarea
	3- Salir del script
Seleccione una opcion para continuar: 
-----------------------------------------------------------------------
*** Actualizando el sistema...
Actualizando lista de paquetes...
**? Atencion: apt update
Obj:1 http://ar.archive.ubuntu.com/ubuntu yakkety InRelease
Obj:2 http://ar.archive.ubuntu.com/ubuntu yakkety-security InRelease
Obj:3 http://ar.archive.ubuntu.com/ubuntu yakkety-updates InRelease
E: No se pudo bloquear /var/lib/dpkg/lock - open (11: Recurso no disponible temporalmente)
E: No se pudo bloquear el directorio de administración (/var/lib/dpkg/), ¿quizás haya algún otro proceso utilizándolo?
!!! Error: La actualizacion de lista de paquetes no termino satisfactoriamente.
Revise el registro de ejecucion y corrija los problemas
**? Presione cualquier tecla para continuar...
-----------------------------------------------------------------------
!!! Error: La tarea ha finalizado con fallo. Qué desea hacer?
	1- Repetir tarea (por defecto)
	2- Continuar sin repetir tarea
	3- Salir del script
Seleccione una opcion para continuar: 1
-----------------------------------------------------------------------
*** Actualizando el sistema...
Actualizando lista de paquetes...
**? Atencion: apt update
Obj:1 http://ar.archive.ubuntu.com/ubuntu yakkety InRelease
Obj:2 http://ar.archive.ubuntu.com/ubuntu yakkety-security InRelease
Obj:3 http://ar.archive.ubuntu.com/ubuntu yakkety-updates InRelease
E: No se pudo bloquear /var/lib/dpkg/lock - open (11: Recurso no disponible temporalmente)
E: No se pudo bloquear el directorio de administración (/var/lib/dpkg/), ¿quizás haya algún otro proceso utilizándolo?
!!! Error: La actualizacion de lista de paquetes no termino satisfactoriamente.
Revise el registro de ejecucion y corrija los problemas
**? Presione cualquier tecla para continuar...
@HacKanCuBa HacKanCuBa self-assigned this Apr 19, 2017
@HacKanCuBa HacKanCuBa added the bug label Apr 19, 2017
@HacKanCuBa
Copy link
Member

Gracias! Voy a revisarlo

@HacKanCuBa
Copy link
Member

HacKanCuBa commented Apr 19, 2017

¿Puede ser que se haya estado ejecutando en background una actualizacion del sistema? Ubuntu suele hacerlo.
Otro tema: hay un error en las sources de ubuntu en script, dado que puse las de ubuntu 16.10 en lugar de Ubuntu 16.04 (ups!). Creare otro bug para esto.

@fefulowe: Repetir la prueba restableciendo las sources originales (se crea un backup en sources.list.bak) y pedirle que no reemplace las sources.

@HacKanCuBa
Copy link
Member

Probado en Ubuntu 16.04.2 live, el parche 18a7756 funciona OK.

Sin embargo, no se pudo duplicar el problema mencionado: la versión pertinente al presente issue (800ab8d) no provoca lo indicado en Ubuntu 16.04.2 live, sino que, como esperado, causa error de paquetes:

ubuntu@ubuntu:~$ uname -a
Linux ubuntu 4.8.0-36-generic #36~16.04.1-Ubuntu SMP Sun Feb 5 09:39:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ubuntu:~$ ./flisol-postinstall.sh 
FLISoL Postinstall Script v0.7.4-201704 by [email protected]
[...]
-----------------------------------------------------------------------
*** Actualizando el sistema...
Actualizando lista de paquetes...
**? Atencion: apt update
Get:1 http://ar.archive.ubuntu.com/ubuntu yakkety InRelease [247 kB]
Get:2 http://ar.archive.ubuntu.com/ubuntu yakkety-security InRelease [102 kB]
Get:3 http://ar.archive.ubuntu.com/ubuntu yakkety-updates InRelease [102 kB]
Get:4 http://ar.archive.ubuntu.com/ubuntu yakkety/main amd64 Packages [1,222 kB]
Get:5 http://ar.archive.ubuntu.com/ubuntu yakkety/main Translation-en [582 kB]
Get:6 http://ar.archive.ubuntu.com/ubuntu yakkety/main amd64 DEP-11 Metadata [654 kB]
Get:7 http://ar.archive.ubuntu.com/ubuntu yakkety/main DEP-11 64x64 Icons [368 kB]
Get:8 http://ar.archive.ubuntu.com/ubuntu yakkety/restricted amd64 Packages [8,416 B]
Get:9 http://ar.archive.ubuntu.com/ubuntu yakkety/restricted Translation-en [2,996 B]
Get:10 http://ar.archive.ubuntu.com/ubuntu yakkety/restricted amd64 DEP-11 Metadata [187 B]
Get:11 http://ar.archive.ubuntu.com/ubuntu yakkety/universe amd64 Packages [7,729 kB]
Get:12 http://ar.archive.ubuntu.com/ubuntu yakkety/universe Translation-en [4,484 kB]                   
Get:13 http://ar.archive.ubuntu.com/ubuntu yakkety/universe amd64 DEP-11 Metadata [2,669 kB]            
Get:14 http://ar.archive.ubuntu.com/ubuntu yakkety/universe DEP-11 64x64 Icons [7,194 kB]               
Get:15 http://ar.archive.ubuntu.com/ubuntu yakkety/multiverse amd64 Packages [146 kB]                   
Get:16 http://ar.archive.ubuntu.com/ubuntu yakkety/multiverse Translation-en [108 kB]                   
Get:17 http://ar.archive.ubuntu.com/ubuntu yakkety/multiverse amd64 DEP-11 Metadata [47.6 kB]           
Get:18 http://ar.archive.ubuntu.com/ubuntu yakkety/multiverse DEP-11 64x64 Icons [246 kB]               
Get:19 http://ar.archive.ubuntu.com/ubuntu yakkety-security/main amd64 Packages [126 kB]                
Get:20 http://ar.archive.ubuntu.com/ubuntu yakkety-security/main Translation-en [55.4 kB]               
Get:21 http://ar.archive.ubuntu.com/ubuntu yakkety-security/main amd64 DEP-11 Metadata [10.9 kB]        
Get:22 http://ar.archive.ubuntu.com/ubuntu yakkety-security/main DEP-11 64x64 Icons [15.7 kB]           
Get:23 http://ar.archive.ubuntu.com/ubuntu yakkety-security/restricted amd64 Packages [6,720 B]         
Get:24 http://ar.archive.ubuntu.com/ubuntu yakkety-security/restricted Translation-en [2,240 B]         
Get:25 http://ar.archive.ubuntu.com/ubuntu yakkety-security/restricted amd64 DEP-11 Metadata [186 B]    
Get:26 http://ar.archive.ubuntu.com/ubuntu yakkety-security/universe amd64 Packages [59.1 kB]           
Get:27 http://ar.archive.ubuntu.com/ubuntu yakkety-security/universe Translation-en [36.8 kB]           
Get:28 http://ar.archive.ubuntu.com/ubuntu yakkety-security/universe amd64 DEP-11 Metadata [18.7 kB]    
Get:29 http://ar.archive.ubuntu.com/ubuntu yakkety-security/universe DEP-11 64x64 Icons [18.4 kB]       
Get:30 http://ar.archive.ubuntu.com/ubuntu yakkety-security/multiverse amd64 Packages [2,832 B]         
Get:31 http://ar.archive.ubuntu.com/ubuntu yakkety-security/multiverse Translation-en [1,268 B]         
Get:32 http://ar.archive.ubuntu.com/ubuntu yakkety-security/multiverse amd64 DEP-11 Metadata [212 B]    
Get:33 http://ar.archive.ubuntu.com/ubuntu yakkety-security/multiverse DEP-11 64x64 Icons [29 B]        
Get:34 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 Packages [243 kB]                 
Get:35 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/main Translation-en [109 kB]                 
Get:36 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 DEP-11 Metadata [146 kB]          
Get:37 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/main DEP-11 64x64 Icons [87.3 kB]            
Get:38 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/restricted amd64 Packages [6,720 B]          
Get:39 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/restricted Translation-en [2,240 B]          
Get:40 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/restricted amd64 DEP-11 Metadata [185 B]     
Get:41 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/universe amd64 Packages [150 kB]             
Get:42 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/universe Translation-en [79.9 kB]            
Get:43 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/universe amd64 DEP-11 Metadata [118 kB]      
Get:44 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/universe DEP-11 64x64 Icons [146 kB]         
Get:45 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/multiverse amd64 Packages [4,612 B]          
Get:46 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/multiverse Translation-en [2,252 B]          
Get:47 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/multiverse amd64 DEP-11 Metadata [212 B]     
Get:48 http://ar.archive.ubuntu.com/ubuntu yakkety-updates/multiverse DEP-11 64x64 Icons [29 B]         
Fetched 27.4 MB in 12s (2,182 kB/s)    
                                                                 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
1372 packages can be upgraded. Run 'apt list --upgradable' to see them.
Actualizando paquetes del sistema...
**? Atencion: apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python3-aptdaemon.pkcompat : Conflicts: packagekit but 1.1.1-1ubuntu1 is to be installed
E: Broken packages
!!! Error: La actualizacion de paquetes no termino satisfactoriamente.
Revise el registro de ejecucion y corrija los problemas
**? Presione cualquier tecla para continuar...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants