2oh1
September 29, 2017, 3:54am
1
I’m trying to install TriggerHappy on a Raspberry Pi running Volumi, but I keep running into an “Unable to locate package” error.
sudo apt-get install triggerhappy
“Unable to locate package triggerhappy”
It’s a fresh install of Volumio, but I did enable ssh (by placing a file named ssh in the boot directory).
I’m trying to use a Flirc IR receiver with Volumio (among other things. I also use Flirc & TriggerHappy to send commands to my Philips Hue).
2oh1
October 2, 2017, 8:05pm
2
Seriously? Nobody knows?
I can’t be the only one who wants to use triggerhappy. There’s even a thread here with instructions for using triggerhappy.
keyboard-shortcuts-with-triggerhappy-t5250.html
But I can’t use it if I can’t install it.
sudo apt-get install triggerhappy
“Unable to locate package triggerhappy”
gkkpch
October 2, 2017, 8:28pm
3
You may have to issue
sudo apt-get update
(DONT use apt-get upgrade!!)
2oh1
October 2, 2017, 8:33pm
4
I tried:
sudo apt-get update
I got this:
[code]Err http://archive.raspberrypi.org jessie InRelease
Err http://archive.raspbian.org jessie InRelease
Err http://archive.raspberrypi.org jessie Release.gpg
Temporary failure resolving ‘archive.raspberrypi.org ’
Err http://archive.raspbian.org jessie Release.gpg
Temporary failure resolving ‘archive.raspbian.org ’
Reading package lists… Done
W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/InRelease
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/InRelease
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/jessie/Release.gpg Temporary failure resolving ‘archive.raspberrypi.org ’
W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/Release.gpg Temporary failure resolving ‘archive.raspbian.org ’
W: Some index files failed to download. They have been ignored, or old ones used instead.[/code]
And then trying sudo apt-get install triggerhappy fails again, naturally. “Unable to locate package triggerhappy”
I’m working with a fresh image of Volumio. The only thing I’ve changed is that I enabled ssh, other than that, it’s a stock install.
gkkpch
October 2, 2017, 8:44pm
5
It seems to fail trying to connect to the Raspbian repo.
Wait and try later, once succeeded, retry apt-get update.
2oh1
October 2, 2017, 8:59pm
6
There has to be more to it than that.
I can boot off a standard Jessie instal and do a sudo apt-get update. But I get errors if I try it from Volumio.
2oh1
October 2, 2017, 11:25pm
7
The plot thickens - but I managed to solve it.
If I install Volumio, I can’t install Triggerhappy. I get the errors I mentioned above.
If I install Volumio and go into the settings, selecting System, and doing a Factory Reset - even though I haven’t changed anything - once Volumio reboots, I can install Triggerhappy.
I’m assuming there’s a bug somewhere, but who knows.