Sorry, you need to enable JavaScript to visit this website.

Linux Mint 17 based on ubuntu 14.04 fails in identifying distribution step.

18 posts / 0 new
Rudi Pittman's picture
Starter
Rudi Pittman

Nov 29, 2014 - 04:13pm

  • As the title indicates I attempted to run the installer on a 64 bit Linux Mint 17 KDE system running on an HP Pavilion Laptop with intel video...it failed on the distribution step.  See http://i.imgur.com/jKSJ7jx.png?1

     

    Additionally right after I created a new account to post this message and clicked on the link in the email to do the one time login/change the password the system told me I'd attempted to many logins and that I'd have to wait or change the password again.   Kinda hard for me to do to many login attempts when I just created the account.  See http://i.imgur.com/XR8XLem.png?1

     

    I use lastpass for passwords so it's auto filling the fields with the correct info.

    Nov 29, 2014 - 04:13pm
  • Some behind the scenes data of when the distribution search fails....

     

     

    (intel-linux-graphics-installer:12876): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
    diagnostics-view.c/new_diagnostic: Adding diagnostic for Checking if Intel graphics card available...
    diagnostics-view.c/new_diagnostic: Adding diagnostic for Retrieving information from 01.org...
    diagnostics-view.c/new_diagnostic: Adding diagnostic for Checking distribution...
    diagnostics-view.c/new_diagnostic: Adding diagnostic for Checking kernel version...
    diagnostics-view.c/new_diagnostic: Adding diagnostic for Checking available repositories...
    diagnostics-view.c/new_diagnostic: Adding diagnostic for Checking package manager status...
    No LSB modules are available.
    diagnostics-view.c/diagnostics_view_start: Running diagnostic Checking if Intel graphics card available...
    diagnostics-view.c/diagnostics_view_start: Running diagnostic Retrieving information from 01.org...
    {
      errors: (nil)
      sources: []
      keys: []
      docs: []
      INSTALL: []
      install: []
      upgrade: []
    }
    diagnostics-view.c/diagnostics_view_start: Running diagnostic Checking distribution...
    main-window.c/on_diagnostics_finished: Diagnostics finished with an error
     

    Nov 29, 2014 - 09:33pm
  • What's happening here is that the installer is looking for a section in its config that matches the OSes distribution and version, and not finding one.

    The _completely unofficial_ workaround is to:

    • Make sure lsb-release is not installed (or the lsb_release binary can't be found)
    • Make /etc/issue and/or /etc/issue.net (I forget which) look like they do on vanilla Ubuntu

    This might work, but as we don't test it, no guarantees, ymmv, e&oe, etc etc.

    Dec 09, 2014 - 07:41am
  • Thanks...will try on my laptop when I have a chance.   Where can I locate what a default ubuntu /etc/issue is supposed to look like?   Are there plans to FIX this in a more permanent manner given Linux Mint is a major player in the ubuntu "system"?

    Dec 09, 2014 - 02:11pm
  • I'm not aware of any plans: As far as I know the "which distros to support" decision is revisited
    from time to time but I genuinely don't know how often.

    Dec 12, 2014 - 11:28am
  • Looking into it, it looks like you do need lsb_release, so you'll need to fake its output.

    You'll want output that looks something like this from lsb_release -a

    Distributor ID: Ubuntu
    Description: Ubuntu GNU/Linux 14.04 (trusty)
    Release: 14.04
    Codename: trusty

    The bits the installer really cares about are "Ubuntu" and "trusty"
    Good luck!

    Dec 12, 2014 - 11:51am
  • Thanks for the followup info.  I'll put together a shell script to return the faked info and rename it long enough to do the install.  Perhaps they could add "Qiana" as an approved keyword for mint users.......the current reply is:

     

    Distributor ID: LinuxMint
    Description:    Linux Mint 17 Qiana
    Release:        17
    Codename:       qiana
     

    Thanks again.

    Dec 12, 2014 - 12:30pm
  • Hello guys!

    I'm a Mint user too (Mint 17.1 Mate DE), not being an expert I would like to know if are you planning support for Mint users. It's a little hard for newbies like me to edit and change lsb-release and issue.net files. The risk to broke something is a little bit scaring.

    Not to mention that I have no clue how to make a shell script to make the installer to work with my mint distro.

    Thanks and keep the good work!

    Jan 03, 2015 - 04:28pm
  • I agree..they should fix the installer...rather silly to hardcode one distro when so many are spinoff's of ubuntu...a simple override switch for the installer would do the trick but until they do you can try the following if you feel up to it.......you will need to know your root password:

     

    Save the following 4 lines to a file named "fake_release" in /tmp):

    #============================

    echo "Distributor ID: Ubuntu"
    echo "Description: Ubuntu GNU/Linux 14.04 (trusty)"
    echo "Release: 14.04"
    echo "Codename: trusty"

    #============================

    then run the following commands from a shell 1 at a time...do NOT cut and paste all of them at once.

     

    cd /tmp

    sudo mv /usr/bin/lsb_release /usr/bin/lsb_release.save

    sudo cp /tmp/fake_release /usr/bin/lsb_release

    sudo chmod 755 /usr/bin/lsb_release

    #============================================

    Now...try running /usr/bin/lsb_release      You should see the output that's inside the quotes of the echo lines.  If that worked then great....go do the intel install which should work correctly now.  After the intel install finishes then run the following commands one at a time same as you did above:

    #==============================================

    sudo rm /usr/bin/lsb_release

    sudo mv /usr/bin/lsb_release.save /usr/bin/lsb_release

    #===============================================

    When you run lsb_release now it should be back to showing mint.

    Jan 03, 2015 - 06:27pm
  • Thank you very much famewolf!

    I will try it tonight, thanks again!

    I read a post (http://www.webupd8.org/2013/04/how-to-use-intel-linux-graphics-drivers.html) for adding the Intel Linux Graphics repository for any ubuntu based distro. Do you think is a good idea?

    Jan 05, 2015 - 02:01pm
  • You can use those instructions however if you are running linux mint 17 or 17.1 you should replace where he shows 13.10 with 14.04.  You may want to check around their site as they are usually good about releasing an article with updated instructions...by all means add the repo and skip the installer issue entirely.

     

     

    Jan 05, 2015 - 03:44pm