Recent

Author Topic: fpc installation/update problems on Ubuntu  (Read 1906 times)

stephanweber

  • New Member
  • *
  • Posts: 46
fpc installation/update problems on Ubuntu
« on: April 09, 2019, 10:28:16 pm »
Hi,

I got the hint to update fpc and Lazarus, e.g. to get some Tchart enhancements :D, BUT now I am in hell >:D.

I uninstalled fpc and Lazarus, but e.g. in the Ubuntu Software overview my older Lazarus 1.6 is still visible (pressing uninstall does nothing). And if I install the new fpc304 I got this:

dpkg: Betreffend fpc_3.0.4-3_amd64.deb, welches fpc enthält:
 fpc kollidiert mit fp-compiler
  fp-compiler-3.0.0 liefert fp-compiler und ist vorhanden und installiert.

dpkg: Fehler beim Bearbeiten des Archivs fpc_3.0.4-3_amd64.deb (--install):
 Kollidierende Pakete - fpc wird nicht installiert
Fehler traten auf beim Bearbeiten von:
 fpc_3.0.4-3_amd64.deb


So there is a collison and it looks that still "somewhere" fpc is present, although I made sudo  apt-get remove fpc (and lazarus) often!
Also rpm based install does not work. With debian I tried the last stable, and the newest version, but I get the same problems.
 I have no ideas anymore, can someone help me?

Bye Stephan

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: fpc installation/update problems on Ubuntu
« Reply #1 on: April 09, 2019, 11:53:21 pm »
Just a couple hints:
  • Make sure to unintall Lazarus first, and then both FPC and FPC-src. Also, make sure all fpc-related packages are uninstalled (some distros like to make a hundred packages out of it)
  • Instead of apt-get remove ... use apt-get purge ... so that everything gets uninstalled except the user-defined configuration
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

heejit

  • Full Member
  • ***
  • Posts: 245
Re: fpc installation/update problems on Ubuntu
« Reply #2 on: April 10, 2019, 12:14:41 am »
You can try fpcupdeluxe

This tool can Install fpc/lazaurs in Your choice of directory
and all the configuration will be in your directory only.

af0815

  • Hero Member
  • *****
  • Posts: 1291
Re: fpc installation/update problems on Ubuntu
« Reply #3 on: April 10, 2019, 07:08:06 am »
You can try fpcupdeluxe

This tool can Install fpc/lazaurs in Your choice of directory
and all the configuration will be in your directory only.

But all of the olds part of fpc and Lazarus should be removed to avoid unexpected issues. If the system is mis installed it should be cleaned first.

Look with dpkg -l > pakete.txt for the installed packages. In pakete.txt are all actual installed packages, so you can search with a normal text-editor for fpc and Lazarus related things.
regards
Andreas

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: fpc installation/update problems on Ubuntu
« Reply #4 on: April 10, 2019, 08:14:19 am »
Quote
But all of the olds part of fpc and Lazarus should be removed to avoid unexpected issues.
This should not be the case ... I hope ...  ;)

stephanweber

  • New Member
  • *
  • Posts: 46
Re: fpc installation/update problems on Ubuntu
« Reply #5 on: April 10, 2019, 02:11:50 pm »
THANKS a lot!!
Due to a similar thread I found that the  :DSynaptic Package Manager :D can help, and it does.
I made already " apt-get remove " multiple times but this was strong enough, Synaptic found that fpc and Lazarus were still present. And the tool helped me to clean up correctly.
After that the new installation was possible wo. problems.

Bye Stephan

 

TinyPortal © 2005-2018