i've been battling since june to get lazarus working reliably on ubuntu 16.04 then 18.04.
years ago, i used borland builder 6 to create some beautiful software, and i thought that lazarus was an approximation to builder. seems i am wrong.
first, the desktop doesn't seem to work very well. forms and files disappear and reappear somewhat randomly - annoying but manageable. i have tried all kinds of things to stop this happening - nothing works.
today i updated my software, and the update process removed lazarus, no telling why. so i thought i would reinstall it.
this is what happens:
*****
lionel@lionel-TECRA-R940:~/Downloads$ gdebi fpc_3.0.4-3_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
This package is uninstallable
A later version is already installed
lionel@lionel-TECRA-R940:~/Downloads$ gdebi fpc-src_3.0.4-2_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
Free Pascal Sources
The Free Pascal Compiler is a Delphi and Turbo Pascal 7.0 compatible
32/64bit Object Pascal Compiler. It comes with a huge run-time library.
Shared libraries can be linked and created.
This package contains the sources for the compiler, the rtl, fcl and packages.
Need to be root to install packages
lionel@lionel-TECRA-R940:~/Downloads$ sudo gdebi fpc-src_3.0.4-2_amd64.deb
[sudo] password for lionel:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
Free Pascal Sources
The Free Pascal Compiler is a Delphi and Turbo Pascal 7.0 compatible
32/64bit Object Pascal Compiler. It comes with a huge run-time library.
Shared libraries can be linked and created.
This package contains the sources for the compiler, the rtl, fcl and packages.
Do you want to install the software package? [y/N]:y
Selecting previously unselected package fpc-src.
dpkg: considering removing fpc-source-3.0.4 in favour of fpc-src ...
dpkg: yes, will remove fpc-source-3.0.4 in favour of fpc-src
(Reading database ... 313100 files and directories currently installed.)
Preparing to unpack fpc-src_3.0.4-2_amd64.deb ...
De-configuring fp-utils-3.0.4 (3.0.4+dfsg-18ubuntu1), to allow removal of fpc-source-3.0.4 (3.0.4+dfsg-18ubuntu1) ...
Unpacking fpc-src (3.0.4) ...
Setting up fpc-src (3.0.4) ...
dpkg: dependency problems prevent configuration of fp-utils-3.0.4:
fp-utils-3.0.4 depends on fpc-source-3.0.4; however:
Package fpc-source-3.0.4 is not installed.
dpkg: error processing package fp-utils-3.0.4 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
fp-utils-3.0.4
***
as you can see, there is an unsatisfied dependency, fpc-source-3.0.4. but as you can see, the installation process removed this in favor of fpc-src.
it's annoying enough to have to install 3 packages when you want 1. it's even more annoying when the installation trips over itself.
lazarus would be a beautiful tool for ubuntu if it could be installed by installing a single package, and if then it simply worked.
i am trying to get this working because i want my software shop to be able to do 80% of what visual basic does, without unnecessary error and frustration. will i ever get there?