"Distribution not supported" when trying to install Intel Graphics Installer in Ubuntu

180

That software checks /etc/lsb-release and that is a text file we can edit ourself so it might be fairly easy to circumvent. Make a backup first though if you do not know what this means. From a command line:

sudo cp /etc/lsb-release /etc/lsb-release.backup

And then edit the file ...

sudo gedit /etc/lsb-release

And change the lines as below:

DISTRIB_RELEASE=14.10
DISTRIB_CODENAME=utopic

And save it. Start the installation and it should finish this time without a notice regarding the distribution.

After that you can then put back the backup file with (cp to leave the backup, change it to mv to also remove the backup)...

sudo cp /etc/lsb-release.backup /etc/lsb-release
Share:
180

Related videos on Youtube

Jakob Lien
Author by

Jakob Lien

Updated on September 18, 2022

Comments

  • Jakob Lien
    Jakob Lien almost 2 years

    I would like to use the https library in node.js to send a request to this api: https://rapidapi.com/dimas/api/NasaAPI?endpoint=apiendpoint_b4e69440-f966-11e7-809f-87f99bda0814getPictureOfTheDay

    The given example on the RapidAPI website uses Unirest, and I would like to only use the https library. I've tried to write it like this:

    const https = require('https');
    
    var link = "https://NasaAPIdimasV1.p.rapidapi.com/getPictureOfTheDay";
    var options = {host: "https://NasaAPIdimasV1.p.rapidapi.com/getPictureOfTheDay",
    path: "/", headers: {"X-RapidAPI-Key": "---MY KEY(Yes, I've replaced it)---", "Content-Type": "application/x-www-form-urlencoded"}}
    
    https.get(link, options, (resp) => {
        let data = '';
        resp.on('data', (chunk) => {
            data += chunk;
        });
        resp.on('end', () => {
            console.log(data);
        });
    }).on("error", (err) => {
        console.log("https error 4: " + err.message);
    });
    

    But that returns the following response:

    {"message":"Endpoint\/ does not exist"}
    

    Thanks for any help

    • raina77ow
      raina77ow over 5 years
      Why do you specify your link twice - once in link, then in host and path props of options? Drop the latter
    • Jakob Lien
      Jakob Lien over 5 years
      I specified it twice because I have no experience in using the library, and don't know how it works.
  • Pilot6
    Pilot6 about 9 years
    This is a bad advice. It will break the system in many cases. It may break dependencies, etc.
  • Rinzwind
    Rinzwind about 9 years
    no it is not and does not @Pilot6 Mind the "After that you can then put back the backup file with" makes it --harmless-- and it only circumvents the stupid check from the installer.
  • Pilot6
    Pilot6 about 9 years
    That backup does not fix anything. It is very hard to revert that driver install to normal Ubuntu packages, if something goes wrong.
  • Rinzwind
    Rinzwind about 9 years
    If something goes wrong it is not due to this temporary alteration. Have you even tried it with a none working installation? I have and I can tell you it worked flawlessly. There is no check when removing and all is removed as it should. Very simple if you get this notice: you either can not install Ubuntu or you use this and can install it. Simple choice for me. Feel free to provide an answer yourself for this.
  • M. Ahmad Zafar
    M. Ahmad Zafar about 9 years
    I get this error "W:Failed to fetch http://... Hash Sum mismatch ... Some index files failed to download. They have been ignored, or old ones used instead."
  • Rinzwind
    Rinzwind about 9 years
    @MuhammadAhmadZafar means an incorrect download/source file.
  • Nolan Akash
    Nolan Akash almost 8 years
    This solution does not work. (Ubuntu 16.04)
  • Rinzwind
    Rinzwind almost 8 years
    This ONLY works for a buggy version check. Not if the actual video card is NOT supported @MathManiac
  • aesede
    aesede almost 8 years
    Worked for me in Ubuntu 16.04.1 BUT by changing version in lsb_release from 16.04 LTS to 15.04 LTS. The installer seems to check for LTS...
  • Jakob Lien
    Jakob Lien over 5 years
    When I tried this it did this: https error 4: getaddrinfo ENOTFOUND NasaAPIdimasV1.p.rapidapi.com NasaAPIdimasV1.p.rapidapi.com:443
  • raina77ow
    raina77ow over 5 years
    Yes, because API uses 'POST' on every request, not 'GET'; the documentation is actually quite clear on that. Updated my answer.