# On off shim install

**URL:** <https://forums.pimoroni.com/t/on-off-shim-install/17976>\
**Category:** Support\
**Created:** [September 30, 2021, 8:23pm UTC](https://forums.pimoroni.com/t/on-off-shim-install/17976 "2021-09-30T20:23:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![timbo22](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@timbo22](https://forums.pimoroni.com/u/timbo22)\
**Post date:** [September 30, 2021, 8:23pm UTC](https://forums.pimoroni.com/t/on-off-shim-install/17976/1 "2021-09-30T20:23:46Z")

</div>

Hi all,  
i have just run the installer  
curl xxhttps://get.pimoroni.com/onoffshim | bash  
and i have this as the output  
% Total % Received % Xferd Average Speed Time Time Time Current  
Dload Upload Total Spent Left Speed  
100 38737 100 38737 0 0 118k 0 --:–:-- --:–:-- --:–:-- 117k

This script will install everything needed to use  
On/Off SHIM

Always be careful when running scripts and commands copied  
from the internet. Ensure they are from a trusted source.

If you want to see what this script does before running it,  
you should run: ‘curl --xxhttps://get.pimoroni.com/onoffshim’

Do you wish to continue? [y/N] y

Checking environment…  
Updating apt indexes…  
…E: Repository ‘[Index of /raspbian](http://raspbian.raspberrypi.org/raspbian) buster InRelease’ changed its ‘Suite’ value from ‘stable’ to ‘oldstable’  
Apt failed to update indexes!

I tried it anyway, fit turns on but not off.

any ideas?

thank you.

---

<div class="post-metadata">

**Author:** ![nickweb](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/nickweb/32/7152_2.png) [@nickweb](https://forums.pimoroni.com/u/nickweb)\
**Post date:** [September 30, 2021, 8:55pm UTC](https://forums.pimoroni.com/t/on-off-shim-install/17976/2 "2021-09-30T20:55:16Z")

</div>

```auto
sudo apt update

```

Select yes to the prompt about stable/old stable, then re run the command above.

---

<div class="post-metadata">

**Author:** ![timbo22](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@timbo22](https://forums.pimoroni.com/u/timbo22)\
**Post date:** [September 30, 2021, 9:29pm UTC](https://forums.pimoroni.com/t/on-off-shim-install/17976/3 "2021-09-30T21:29:01Z")

</div>

Nick you are awesome, thank you very much…
