Hi John,

Copying in the list...

> I've gone through the flightgear.org advice on graphics drivers with
> nothing turning up.  For example I can run glxgears very smoothly at
> 60fps.  I've also installed UrbanTerror and that worked without
> complaint.
>
> So, I've tried using Ubuntu 18.10 from a memory stick.  My problem
> there is that I can't get it to find flightgear.  If I try to install
> flightgear under 18.10, by first adding the recommended ppa:
>     sudo add-apt-repository ppa:saiarcot895/flightgear
> then it says it requires many libraries, understandably:
> ubuntu@ubuntu:~$ sudo apt-get install flightgear
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  flightgear : Depends: freeglut3 but it is not installable
>               Depends: libflite1 (>= 1.4-release-9~) but it is not installable
...
> E: Unable to correct problems, you have held broken packages.
>
> ubuntu@ubuntu:~$ sudo apt-get install libflite1
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Package libflite1 is not available, but is referred to by another package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
>
> E: Package 'libflite1' has no installation candidate

I *think* the way to get insight into that problem is

    apt-cache policy libflite1

but it's hard to be sure without having something similar to try and
debug.  Example output is

    $ apt-cache policy ntpdate
    ntpdate:
      Installed: 1:4.2.8p10+dfsg-5ubuntu3.3
      Candidate: 1:4.2.8p10+dfsg-5ubuntu3.3
      Version table:
     *** 1:4.2.8p10+dfsg-5ubuntu3.3 500
            500 http://gb.archive.ubuntu.com/ubuntu artful-updates/universe 
amd64 Packages  
            500 http://gb.archive.ubuntu.com/ubuntu artful-security/universe 
amd64 Packages 
            100 /var/lib/dpkg/status
         1:4.2.8p10+dfsg-5ubuntu3 500
            500 http://gb.archive.ubuntu.com/ubuntu artful/universe amd64 
Packages
    $

But I suspect the underlying problem here is ppa:saiarcot895/flightgear
is referring to packages that aren't known to your system given the
repositories that are present.  On a live ISO, that seems to be `main'
and `restricted'.  Poking about /etc/apt/sources.list and
/etc/apt/sources.d would confirm.

A lot of packages are in the `universe' repository, e.g. freeglut3,
listed above, is found by
https://packages.ubuntu.com/cgi-bin/search_packages.pl?keywords=freeglut3&searchon=names&subword=1&version=all&release=all
and shows `[universe]' in bold against each result.

To add that repository, try `sudo add-apt-repository universe'.
Or https://help.ubuntu.com/community/Repositories/Ubuntu describes where
to click, and click quite a few more times.

BTW, Ubuntu 19.04, now out has
flightgear packaged at 2018.3.2+dfsg-2 in universe.
https://packages.ubuntu.com/search?suite=all&section=all&arch=any&keywords=flightgear&searchon=names

-- 
Cheers, Ralph.

-- 
  Next meeting: BEC, Bournemouth, Tuesday, 2019-05-07 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to