jseymour Posted May 27, 2018 Report Posted May 27, 2018 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! Quote
yawor Posted May 27, 2018 Report Posted May 27, 2018 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 Quote
jseymour Posted May 28, 2018 Author Report Posted May 28, 2018 (edited) 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 May 28, 2018 by jseymour Quote
yawor Posted May 28, 2018 Report Posted May 28, 2018 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? Quote
jseymour Posted May 28, 2018 Author Report Posted May 28, 2018 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: Quote
yawor Posted May 29, 2018 Report Posted May 29, 2018 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. Quote
jseymour Posted May 29, 2018 Author Report Posted May 29, 2018 (edited) 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 May 29, 2018 by jseymour add'l info Quote
kx3210 Posted October 22, 2019 Report Posted October 22, 2019 Hi tried to install using your suggestion above on debian 9 and I get an - error near unexpected token 'newline' curl -s https://packagecloud.io/install/repositories/Flirc/repo/script.deb.sh | sudo os=ubuntu dist=trusty bash Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.