proxmox_hassos_install icon indicating copy to clipboard operation
proxmox_hassos_install copied to clipboard

Fixed: Unable to handle file extension 'zip' - No unnecessary package

Open fredrikscode opened this issue 3 years ago • 4 comments
trafficstars

Simply added: *"zip") gunzip -f -S .zip $FILE ;; (OBS: to the copy of the code in my repo, not as some sort of argument/parameter to Whiskerz's script)

No unnecessary package needed. I don't know why people recommended and even sent pull requests regarding installing unrar/unzip when gzip is baked in and doesn't need to be installed. Whisker even used gzip in the script.. :)

Clone from my repo if you're not comfortable adding it yourself. Feel free to submit an issue on my repo if the script needs an update.

fredrikscode avatar Dec 31 '21 16:12 fredrikscode

Simply added: *"zip") gunzip -f -S .zip $FILE ;;

No unnecessary package needed. I don't know why people recommended and even sent pull requests regarding installing unrar when gzip is baked in. Whisker even used gzip in the script.. :)

Clone from my repo if you're not comfortable adding it yourself. Feel free to submit an issue on my repo if the script needs an update.

Mine still says "unable to handle file extension "zip"" The code I copy and pasted is: root@pve:~# bash -c "$(wget -qLO - https://github.com/whiskerz007/proxmox_hassos_install/raw/master/install.sh) *"zip") gunzip -f -S .zip $FILE ;;" I'm sure noob with coding so maybe I did something wrong. I also tried this https://github.com/whiskerz007/proxmox_hassos_install/issues/113#issuecomment-857586202 solution but it didn't work either. Any ideas?

kennsy99 avatar Jan 05 '22 04:01 kennsy99

Simply added: *"zip") gunzip -f -S .zip $FILE ;; No unnecessary package needed. I don't know why people recommended and even sent pull requests regarding installing unrar when gzip is baked in. Whisker even used gzip in the script.. :) Clone from my repo if you're not comfortable adding it yourself. Feel free to submit an issue on my repo if the script needs an update.

Mine still says "unable to handle file extension "zip"" The code I copy and pasted is: root@pve:~# bash -c "$(wget -qLO - https://github.com/whiskerz007/proxmox_hassos_install/raw/master/install.sh) *"zip") gunzip -f -S .zip $FILE ;;" I'm sure noob with coding so maybe I did something wrong. I also tried this https://github.com/whiskerz007/proxmox_hassos_install/issues/113#issuecomment-857586202 solution but it didn't work either. Any ideas?

Sorry for the late response. Yeah that's not it. Simply run this command instead of Whisker's command to install: bash -c "$(wget -qLO - https://github.com/fredrikscode/proxmox_hassos_install/raw/master/install.sh)"

This: *"zip") gunzip -f -S .zip $FILE ;; Is not someting you put as an argument to the script itself. It's in the code.

fredrikscode avatar Jan 07 '22 20:01 fredrikscode

This fixed the issue for me.

anderso avatar Jan 15 '22 17:01 anderso

I tried running frederikscode script, it doesn't seem to do anything. after I press enter, it gives the prompt with no other actions.

root@pve:~# bash -c "$(wget -qLO - https://github.com/fredrikscode/proxmox_hassos_install/raw/master/install.sh)" root@pve:~#

sourcecodemage avatar Feb 13 '23 06:02 sourcecodemage