Selaa lähdekoodia

debug
Warning: - E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
Warning: - E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

Mickael-Martin 5 vuotta sitten
vanhempi
commit
3c90ddbbff
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      scripts/install

+ 1 - 0
scripts/install

@@ -93,6 +93,7 @@ ynh_app_setting_set "$app" language "$language"
 ###		- As well as the section "REINSTALL DEPENDENCIES" in the restore script
 ###		- As well as the section "REINSTALL DEPENDENCIES" in the restore script
 ###		- And the section "UPGRADE DEPENDENCIES" in the upgrade script
 ###		- And the section "UPGRADE DEPENDENCIES" in the upgrade script
 ynh_script_progression --message="Remove Zabbix if already installed" -w 1
 ynh_script_progression --message="Remove Zabbix if already installed" -w 1
+ps -p "$(lsof /var/lib/dpkg/lock-frontend | tail -1 | awk '{print $2}')"
 apt-get purge zabbix* -y
 apt-get purge zabbix* -y
 if compgen -G "/var/cache/apt/archives/zabbix-server-mysql*" > /dev/null; then
 if compgen -G "/var/cache/apt/archives/zabbix-server-mysql*" > /dev/null; then
     ynh_secure_remove /var/cache/apt/archives/zabbix-server-mysql*
     ynh_secure_remove /var/cache/apt/archives/zabbix-server-mysql*