Recent

Author Topic: Deb Lazarus install process broken  (Read 5315 times)

dryzone

  • New Member
  • *
  • Posts: 13
Deb Lazarus install process broken
« on: February 25, 2018, 09:09:52 pm »
Since there is no Bug channel, I will post it where relevant.

Please note that the Debian installation process  for Latest Lazarus v1.8.0 is broken for some reason using gdebi
Reason. Although fpc 3.0.4 is installed and verified, the debian version of Lazarus installer/gdebi cannot find it.
gdebi returns the following:
ERROR:
Dependency is not satisfiable:
fpc (=3.0.4)|fp-compiler (=3.0.4)

This might throw off prosepective users

Installing from source works perfectly and Lazarus finds the fpc compiler.
« Last Edit: February 25, 2018, 09:11:24 pm by dryzone »

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1186
    • Burdjia
Re: Deb Lazarus install process broken
« Reply #1 on: February 26, 2018, 11:04:42 am »
Did you post a bug in the bugtracker)
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Deb Lazarus install process broken
« Reply #2 on: February 26, 2018, 12:10:41 pm »
What is the package name of the installed FPC?   Debian will only install based on installed packages, and will ignore handinstalled versions

e.g. are fpc- and fp- in

dpkg-query -l 'fp*'

?

Thaddy

  • Hero Member
  • *****
  • Posts: 14205
  • Probably until I exterminate Putin.
Re: Deb Lazarus install process broken
« Reply #3 on: February 26, 2018, 12:15:28 pm »
As I explained before, add backports to sources.list and Debian Stretch will happily install both Lazarus 1.8 and FPC 3.0.4 from its own repositories using apt.
Instructions https://backports.debian.org/
« Last Edit: February 26, 2018, 12:20:39 pm by Thaddy »
Specialize a type, not a var.

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Deb Lazarus install process broken
« Reply #4 on: February 26, 2018, 12:29:56 pm »
@dryzone

Many users have problem installing Lazarus on Linux. Each distro may show different error and even on the same distro but different versions the error can be different. "Dependency is not satisfiable" usually happens when installing latest version of Lazarus on old version of Linux. What distro and version are you using?

I tested installing Lazarus 1.8.0 on Ubuntu 16.04, the Gdebi managed to automatically install the missing packages:
http://forum.lazarus.freepascal.org/index.php/topic,39281.msg269112.html#msg269112

Installing Lazarus 1.8.0 on (current latest) Ubuntu 17.10 is easier although it still showing annoying errors but it worked:
http://forum.lazarus.freepascal.org/index.php/topic,39281
« Last Edit: February 26, 2018, 12:31:40 pm by Handoko »

Thaddy

  • Hero Member
  • *****
  • Posts: 14205
  • Probably until I exterminate Putin.
Re: Deb Lazarus install process broken
« Reply #5 on: February 26, 2018, 03:52:15 pm »
@dryzone
Handoko, only Ubuntu - and only some versions - have problems for some people.
The packages in Debian Stretch back-ports are the recommended way to install Laz 1.8 and FPC 3.0.4 outside of Freepascal's own distributions.
These are maintained by Debian maintainers and simply work without any problems.

Although I appreciate your efforts do not confuse people.
The best and supported ways to install are either the packages from official freepascal website OR the official Debian packages. The latter work on all platforms based on Debian Stretch + backports or Debian testing+

See also my answer here http://forum.lazarus.freepascal.org/index.php/topic,39891.msg274806.html#msg274806
The official Debian deb's are supported - on the package level - by official Debian maintainers and duely tested, probably better than freepascal's own distributions. Debian is very rigid.
The official fpc/lazarus deb's are supported by FPC and Lazarus own maintainers.
« Last Edit: February 26, 2018, 04:13:37 pm by Thaddy »
Specialize a type, not a var.

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Deb Lazarus install process broken
« Reply #6 on: February 26, 2018, 04:34:49 pm »
I've never tried that trick. But if it works, please write a wiki page so I can direct new users to the page or better an installation guide on the download page.

Thaddy

  • Hero Member
  • *****
  • Posts: 14205
  • Probably until I exterminate Putin.
Re: Deb Lazarus install process broken
« Reply #7 on: February 26, 2018, 05:33:17 pm »
I've never tried that trick. But if it works, please write a wiki page so I can direct new users to the page or better an installation guide on the download page.
It is not a trick. It is an official way to install.
Specialize a type, not a var.

 

TinyPortal © 2005-2018