Question: I am trying to install a .deb file in Debian 9 and I do this:

```
# sudo apt install ./respin-2.0.1.deb
Reading package lists... Done
E: Unsupported file ./respin-2.0.1.deb given on commandline

```

How do i fix this?

Answer: 
The package’s file name is invalid, which is why `apt` fails to process it. To fix this, proceed as follows (starting from scratch):

```
wget https://github.com/ch1x0r/LinuxRespin/raw/master/respin-2.0-1.deb
mv respin-2.0-1.deb respin_2.0-1.deb
apt install ./respin_2.0-1.deb

```

However this won’t work on Debian 9 because the dependencies can’t be satisfied; the package is only usable on Ubuntu (despite the author’s comments to the contrary).
Using the older version respin-deb\_1.0.0-1\_all.deb, I got to next levels. Not sure if i'll be succesful, though. But the script gave me a nice custom-live.iso.

Had to do some troubleshooting though, the main editing the script "respin" in usr/bin/ after this error message:
sed: can't read /lib/live/config/1100-policykit: No such file or directory

On my system the file is "1080-policykit". So finding the lines with 1100- and changing that in 1080, works like a charm.

What I don't seem to get working is booting the dd'd usb stick. USB seems non-bootable (invisible) in my macbookair startup screen. Something to do with missing /boot or /boot/efi probably. Keep trying.