Jump to content
Flirc Forums
Sign in to follow this  
jseymour

Where's The Linux Flirc Install?

Recommended Posts

Tried following the instructions here: https://flirc.tv/ubuntu-software-installation-guide for the generic installer, first on my desktop/server running Linux Mint 17 (Qiana) MATE:

$ sudo apt-get install flirc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package flirc

My distro is getting old, so I tried it on a PC that has a more up-to-date version: Mint 18.3 (Sylvia) MATE.  Same thing.

Can somebody give me a hand?

Thanks!

 

Share this post


Link to post
Share on other sites

There are no packages specifically for Mint in the repo. Did you get any messages or errors when you've run the repository install script?

You probably need to force the installation script to use different os/version:

curl -s https://packagecloud.io/install/repositories/Flirc/repo/script.deb.sh | sudo os=debian dist=stretch bash

And then run both apt-get update and apt-get install flirc

Share this post


Link to post
Share on other sites

I've got this:

$ cat /etc/debian_version

jessie/sid


So...

curl -s https://packagecloud.io/install/repositories/Flirc/repo/script.deb.sh | sudo os=debian dist=jessie bash

?

No, no messages or errors when I ran the repo install script.  The script automatically does an apt-get update, so...?

Thanks for the guidance!

ETA: That did not work, either.

Nor did this:

$ cat /etc/lsb-release.dpkg-dist
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"

$ curl -s https://packagecloud.io/install/repositories/Flirc/repo/script.deb.sh | sudo os=ubuntu dist=trusty bash

Edited by jseymour

Share this post


Link to post
Share on other sites

There's no difference what os/dist you choose as long as there's a version for that combination on the package cloud repo (it's the same, statically linked binary). You can see which ones are supported here: https://packagecloud.io/Flirc/repo/

I've read through the install script and it should work with Mint if it has jessie/sid in /etc/debian_version just as you mentioned.

Can you show the content of /etc/apt/sources.list.d/Flirc_repo.list file?

When you run apt-get update, do you see the request to packagecloud.io flirc repository?

What's the output from running apt-cache policy?

Share this post


Link to post
Share on other sites
1 hour ago, yawor said:

There's no difference what os/dist you choose as long as there's a version for that combination on the package cloud repo (it's the same, statically linked binary). You can see which ones are supported here: https://packagecloud.io/Flirc/repo/

I've read through the install script and it should work with Mint if it has jessie/sid in /etc/debian_version just as you mentioned.

Can you show the content of /etc/apt/sources.list.d/Flirc_repo.list file?

When you run apt-get update, do you see the request to packagecloud.io flirc repository?

What's the output from running apt-cache policy?

Yes, I've browsed that location.  Made all this all the more confusing.

$ sudo cat /etc/apt/sources.list.d/Flirc_repo.list
# this file was generated by packagecloud.io for
# the repository at https://packagecloud.io/Flirc/repo

deb https://packagecloud.io/Flirc/repo/debian/ jessie main
deb-src https://packagecloud.io/Flirc/repo/debian/ jessie main

$ sudo apt-get update
...
Hit https://packagecloud.io jessie InRelease                                   
...
Hit https://packagecloud.io jessie/main Sources
...
Hit https://packagecloud.io jessie/main amd64 Packages
...
Hit https://packagecloud.io jessie/main i386 Packages
...
Get:1 https://packagecloud.io jessie/main Translation-en_US
...
Ign https://packagecloud.io jessie/main Translation-en_US
...
Ign https://packagecloud.io jessie/main Translation-en
...
Reading package lists... Done

$ apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
Pinned packages:

 

Share this post


Link to post
Share on other sites

OK, I've tested this on Linux Mint 17 docker container. I've had to run the install script like that:

curl -s https://packagecloud.io/install/repositories/Flirc/repo/script.deb.sh | sudo os=ubuntu dist=trusty bash

After that I've been able to install the flirc package.

BTW you SHOULD get an output from the script:

# curl -s https://packagecloud.io/install/repositories/Flirc/repo/script.deb.sh | sudo os=ubuntu dist=trusty bash 
Detected operating system as ubuntu/trusty.
Checking for curl...
Detected curl...
Checking for gpg...
Detected gpg...
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/Flirc_repo.list...done.
Importing packagecloud gpg key... done.
Running apt-get update... done.

The repository is setup! You can now install packages.
 

Share this post


Link to post
Share on other sites

Oh.  I thought you meant error output or something else that indicated something untoward.  Yeah, I got that stuff regardless of what OS or distro I specified.

I just used your repo installation line and damned if it didn't work.  I do not understand it, because I'm certain that's exactly what I did before.

Nonetheless: It worked this time.  Thanks for your patient help, yawor!

ETA: Plugged in the Flirc, fired-up the app, and it's communicating.  Even notified me of an available firmware update and installed it :)  Now to figure out how to program/configure this thing.

ETA2: Programmed the MX-500 from a canned NEC profile (first one I tried that produced signals for all the joystick buttons).  Programmed the Flirc.  Plugged it into the MiBox.  Worked!  Taught the MX-500 the MiBox' power on/off from the inexpensive GE/Jasco remote.  Done!

Thanks again for all your help, yawor!

Edited by jseymour
add'l info

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×