techcoder20 / RPIDoom3Installer

This Github Repository contains everything you need for getting Doom3 running on the raspberry pi. Here you will find the install script the uninstall script and the Doom3Demo game files
7 stars 1 forks source link

Skip apt if 'no-apt' flag passed #5

Closed Botspot closed 2 years ago

Botspot commented 2 years ago

Pi-Apps installs the necessary packages so your script doesn't need to. Adding a flag to your script will allow Pi-Apps to tell it to skip the apt portion, preventing this error log:

Making scripts executable...
Running install script...

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Obj:1 http://deb.debian.org/debian buster-backports InRelease
Obj:2 http://ftp.debian.org/debian stretch-backports InRelease
Obj:3 http://archive.raspberrypi.org/debian buster InRelease
Obj:4 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
Obj:5 https://download.docker.com/linux/raspbian buster InRelease
Obj:6 http://raspbian.raspberrypi.org/raspbian buster InRelease
Leyendo lista de paquetes...
Creando <E1>rbol de dependencias...
Leyendo la informaci<F3>n de estado...
Se pueden actualizar 23 paquetes. Ejecute <AB>apt list --upgradable<BB> para verlos.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

E: No se pudo bloquear /var/lib/dpkg/lock-frontend - open (11: Recurso no disponible temporalmente)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
Failed to install dependencies
Failed to run install script :(
Botspot commented 2 years ago

Thanks. I'll add the flag to the Pi-Apps script soon.