Skip to content

Instantly share code, notes, and snippets.

@pfelipm
Last active January 5, 2024 11:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pfelipm/443b6a074cd0c60799e3a8d6b3c12026 to your computer and use it in GitHub Desktop.
Save pfelipm/443b6a074cd0c60799e3a8d6b3c12026 to your computer and use it in GitHub Desktop.
Este script instala el cliente Linux de AutoFirma y Firefox ESR en tu dispositivo ChromeOS. Soluciona el error "archive uses unknown compression for member control.tar.zst" al instalar el paquete DEB de AutoFirma. Ejecuta el script en el terminal de comandos Linux de tu chromecosa e instala a continuación tus certificados digitales en Firefox.
sudo apt update
sudo apt -y install default-jre
sudo apt -y install binutils
sudo apt -y install zstd
wget https://estaticos.redsara.es/comunes/autofirma/currentversion/AutoFirma_Linux_Debian.zip
unzip AutoFirma_Linux_Debian.zip
ar x AutoFirma_*.deb
zstd -d < control.tar.zst| xz > control.tar.xz
zstd -d < data.tar.zst| xz > data.tar.xz
ar -m -c -a sdsd AutoFirma_repacked.deb debian-binary control.tar.xz data.tar.xz
rm debian-binary control.tar.xz data.tar.xz control.tar.zst data.tar.zst
sudo apt -y install ./AutoFirma_repacked.deb
rm AutoFirma_Linux_Debian.zip AutoFirma_*.deb
sudo apt -y install firefox-esr
@pfelipm
Copy link
Author

pfelipm commented May 8, 2023

Tuit + vídeo aquí.

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