Lazarus

Installation => Linux => Topic started by: Fungus on November 12, 2018, 02:39:51 pm

Title: Ubuntu package "fp-units-fcl" removes Laz :-|
Post by: Fungus on November 12, 2018, 02:39:51 pm
I've seen similar posts, but here is another one: I have a new install of Kubuntu 18.04.1 and on that I have installes the *deb's from the Lazarus project website and the IDE seems to work properly for what I have tried so far. Ubuntu updater suggests this update (https://www.ubuntuupdates.org/package/core/bionic/universe/updates/fp-units-fcl) (something with "Remove wrong fp-units-base") but when I attempt to install the update it wants to remove "fpc-src (3.0.4)" and "lazarus-project (1.8.4)".

Should I remove the packages and re-install them afterwards or should I just ignore the update? I've seen posts where rebuilding the IDE could be problematic due to some libraries not found.

Thanks! :)
Title: Re: Ubuntu package "fp-units-fcl" removes Laz :-|
Post by: lucamar on November 12, 2018, 03:30:27 pm
I would ignore it: according to the changelog it simply corrects the previous Ubuntu package which is not what you have installed, although the packages' manager can't know that.

Most problems related with DEB installs come from the mixing of original Lazarus and Ubuntu (or whatever distro) prepared packages so it's to avoid it if possible.

Just my 2 cents :)
Title: Re: Ubuntu package "fp-units-fcl" removes Laz :-|
Post by: Thaddy on November 12, 2018, 04:42:46 pm
My experience is that the FreePascal provided debs do not always resolve dependencies.
Hence I always advice a first install from the Ubuntu (or Debian) package manager from apt. That will make sure the dependencies are resolved.
If they aren't you can file a report against that package on Ubuntu or Debian.
And only then install fpc or lazarus debs from here. Yes, it is an issue on the FPC side.
Title: Re: Ubuntu package "fp-units-fcl" removes Laz :-|
Post by: Fungus on November 12, 2018, 07:37:34 pm
Thank you for your suggestions. I opened the "Muon Package Manager", found the package "fpc" and locked it to it's current state/version by right-clicking it. The update that wanted to uninstall laz is now gone from the update list :)
Title: Re: Ubuntu package "fp-units-fcl" removes Laz :-|
Post by: guest63388 on December 05, 2018, 02:44:31 pm
Hi,
This also happend with me.
I'd posted my solution in this link:
http://forum.lazarus.freepascal.org/index.php/topic,43432.0.html
Regards


AFTER UPDATING UBUNT LAZARUS COULD NOT BE STARTED.

Hi,

Maybe this can help.

I've downloaded Lazarus for Linux:

1- fpc_3.0.4-3_amd64.deb
2- fpc-src_3.0.4-2_amd64.deb
3- lazarus-project_1.8.4-0_amd64.deb

Then I'd installed (in order 1,2,3) on Ubuntu 18.04.1 LTS and Lazarus WAS RUNNING PERFECT.

OBS: When installing the fpc_3.0.4-3_amd64.deb the Installer Packages informed that was recommended to update the fpc_3.0.4-3_amd64.deb. But, I didn't update it.

Next day, when updating LINUX, the fpc_3.0.4-3_amd64.deb was updated automatically, AND Lazarus could not be started.

AND I COULD NOT RE-INSTALL IT, CAUSE THE INSTALLER PACKAGES DID NOT INSTALL fpc_3.0.4-3_amd64.deb, INFORMING THAT ALREADY WAS INSTALLED A NEW VERSION ON THE SYSTEM. AND BECUASE OF THIS NEW VERSION, ALSO lazarus-project_1.8.4-0_amd64.deb could not be re-installed.

So, I had to uninstall all fp by Synaptic and then I could re-install Lazarus again, in the  following order 1,2,3.

And after that, I'd search all fp in Synaptic and lock all files to prevent new updating (*).

I hope this can help someone.

Regards,


* Locking with Synaptic Package Manager:
Go to Synaptic Package Manager (System > Administration > Synaptic Package Manager).
Click the search button and type the package name.
When you find the package, select it and go to the Package menu and select Lock Version.

(see: https://askubuntu.com/questions/18654/how-to-prevent-updating-of-a-specific-package)
TinyPortal © 2005-2018